All Versions
Latest Version
Avg Release Cycle
51 days
Latest Release
18 days ago

Changelog History
Page 1

  • v4.1.0

    October 25, 2019
    • ➕ Add "module" to package.json. There are now three builds:
      • "main": ES5-compatible CJS build, suitable for most use cases with maximum compatibility.
      • For legacy reasons, this has exports of the following shape, which ensures no surprises in CJS or ESM polyfilled environments: js module.exports = Draggable; module.exports.default = Draggable; module.exports.DraggableCore = DraggableCore;
      • "web": Minified UMD bundle exporting to window.ReactDraggable with the same ES compatibility as the "main" build.
      • "module": ES6-compatible build using import/export.

    This should fix issues like while allowing modern bundlers to consume esm modules in the future.

    No compatibility changes are expected.

  • v4.0.3

    September 10, 2019
    • ➕ Add typings and sourcemap to published npm package.
      • This compresses well so it does not bloat the package by much. Would be nice if npm had another delivery mechanism for optional modes, like web/TS.
  • v4.0.2

    September 09, 2019
    • 🛠 Republish to fix packaging errors. Fixes #426
  • v4.0.1

    September 07, 2019
    • 🚀 Republish of 4.0.0 to fix a mistake where webpack working files were erroneously included in the package. Use this release instead as it is much smaller.
  • v4.0.0

    August 26, 2019

    🚀 > This is a major release due to a React compatibility change. If you are already on React >= 16.3, this upgrade is non-breaking.

    • *Requires React 16.3+ due to use of getDerivedStateFromProps.
    • ⬆️ Upgraded build environment to Babel 7.
    • 🏗 Switched build from rollup to webpack@4 to simplify.
    • ➕ Added CJS build that does not bundle classNames & prop-types into the build. This should result in marginally smaller bundle sizes for applications that use bundlers.
    • ✂ Removed Bower build.
  • v3.3.2

    August 16, 2019
  • v3.3.1

    August 12, 2019
    • 🛠 Fix React 16.9 componentWillMount deprecation.
  • v3.3.0

    April 19, 2019
    • ➕ Addition of positionOffset prop, which can be Numbers (px) or string percentages (like "10%"). See the README for more.
  • v3.2.0

    February 27, 2019

    🚀 > Note: this release has been pulled due to an inadvertent breaking change. See

    • 🔋 Feature: defaultPosition now allows string offsets (like {x: '10%', y: '10%'}) then calculates deltas from there. See the examples and the PR #361. Thanks to @tnrich and @eric-burel.
    • 🛠 Bugfix: Export DraggableEvent type for Flow consumers. Thanks @elie222.