react-beautiful-dnd migration
An optional Pragmatic drag and drop package that enables rapid migration from react-beautiful-dnd to Pragmatic drag and drop3.4.2
Patch Changes
- Updated dependencies
3.4.1
Patch Changes
6b274793c70be, (opens new window) - Experimental React 19 peer dependency support. Test coverage is partial.
3.4.0
Minor Changes
bd2c5b0112185, (opens new window) - Remove stale API report artifacts from published Platform packages.
Patch Changes
- Updated dependencies
3.3.0
Minor Changes
0075efb228821, (opens new window) - Autofix: barrel removal (imports + exports)
3.2.2
Patch Changes
- Updated dependencies
3.2.1
Patch Changes
2b6d25f854593, (opens new window) - Remove legacy ReactDOM.render/hydrate/unmountComponentAtNode usage from non-production code (tests, demo entries, VR fixtures) as part of the React 19 migration- Updated dependencies
3.2.0
Minor Changes
-
63844188fce2c, (opens new window) - Add a./typesentry point to@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migrationthat re-exports the react-beautiful-dnd types, and point leftover rbd type-only imports at it.The rbd→pdnd runtime migration left type-only imports on
react-beautiful-dnd; the migration layer only re-exported those types from its (prohibited-barrel) root, so consumers had no non-barrel path for them. The new./typessubpath provides one. Type-only change; no runtime or API impact, no feature gate.
3.1.1
Patch Changes
- Updated dependencies
3.1.0
Minor Changes
-
cd097a2111788, (opens new window) - Republish packages depending on@atlaskit/react-compiler-gatingso their published dependency reference is updated to the renamed@atlaskit/react-compiler-gatingscope.The earlier rename of
@atlassian/react-compiler-gatingto@atlaskit/react-compiler-gatingonly bumped the renamed package itself, so dependent packages were never republished and their published versions still referenced the old@atlassian/react-compiler-gatingname, which is not available in the public npm registry. This minor bump republishes all affected packages with the corrected dependency.
Patch Changes
- Updated dependencies
3.0.1
Patch Changes
ee28cf33718b0, (opens new window) - Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform gating.- Updated dependencies
3.0.0
Major Changes
-
f2dc9097319f0, (opens new window) - ### Dropped support for legacy Typescript 4 types. Typescript 5 is now the new minimum.Removes the
typesVersionsproperty anddist/types-ts4.5directory from the dist.Types are now exclusively via the
"types": "dist/types/index.d.ts"property.- "typesVersions": { - ">=4.5 <4.9": { - "*": [ - "dist/types-ts4.5/*", - "dist/types-ts4.5/index.d.ts" - ] - } - },
Patch Changes
- Updated dependencies
2.1.1
Patch Changes
72290778b16ca, (opens new window) - Enrol mixed platform packages into the React Compiler with platform gating via isReactCompilerActivePlatform
2.1.0
Minor Changes
ebab8f80bfc40, (opens new window) - Autofix: add explicit package exports (barrel removal)
2.0.19
Patch Changes
01bfb2823034b, (opens new window) - Expands automatic accessibility (a11y) Playwright test coverage for Platform- Updated dependencies
2.0.18
Patch Changes
- Updated dependencies
2.0.17
Patch Changes
- Updated dependencies
2.0.16
Patch Changes
be5ff878b4b9a, (opens new window) - Internal changes to remove unnecessary token fallbacks and imports from@atlaskit/theme- Updated dependencies
2.0.15
Patch Changes
acb61d1d6efd9, (opens new window) - Add dependency for a11y testing.- Updated dependencies
2.0.14
Patch Changes
- Updated dependencies
2.0.13
Patch Changes
d3ed1b65a2181, (opens new window) - Add @atlassian/a11y-jest-testing to devDependencies.
2.0.12
Patch Changes
aa9ff75020fcb, (opens new window) - Add @atlassian/a11y-jest-testing to devDependencies.- Updated dependencies
2.0.11
Patch Changes
- Updated dependencies
2.0.10
Patch Changes
- Updated dependencies
2.0.9
Patch Changes
- Updated dependencies
2.0.8
Patch Changes
4891ea5a24e1b, (opens new window) - Typescript changes.
2.0.7
Patch Changes
- Updated dependencies
2.0.6
Patch Changes
e8c312827c802, (opens new window) - Remove unnecessary files from published package
2.0.5
Patch Changes
- Updated dependencies
2.0.4
Patch Changes
- Updated dependencies
2.0.3
Patch Changes
- #150219, (opens new window)
8f6e3a7613db0, (opens new window) - Fixes invalid css comments in template literal styles
2.0.2
Patch Changes
- #127093, (opens new window)
1378ea7a99ce1, (opens new window) - Upgradesjscodeshiftto handle generics properly. - Updated dependencies
2.0.1
Patch Changes
-
#120533, (opens new window)
f1bec731e278f, (opens new window) - Adds asideEffectsfield to ensure this package does not have Compiled styles tree-shaken in the future to avoid an accidental regression.This is related to https://community.developer.atlassian.com/t/rfc-73-migrating-our-components-to-compiled-css-in-js/85953, (opens new window)
2.0.0
Major Changes
-
#117363, (opens new window)
10a0f7f6c2027, (opens new window) - This package'speerDependencieshave been adjusted forreactand/orreact-domto reflect the status of only supporting React 18 going forward. No explicit breaking change to React support has been made in this release, but this is to signify going forward, breaking changes for React 16 or React 17 may come via non-major semver releases.Please refer this community post for more details: https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026, (opens new window)
Patch Changes
- Updated dependencies
1.4.1
Patch Changes
- #113483, (opens new window)
e9c1247224a94, (opens new window) - Internal refactor to Draggable to resolve issue with React 18 strict mode re-running effects in development mode.
1.4.0
Minor Changes
- #109060, (opens new window)
4660ec858a305, (opens new window) - UpdateReactfrom v16 to v18
Patch Changes
- Updated dependencies
1.3.1
Patch Changes
- Updated dependencies
1.3.0
Minor Changes
- #168054, (opens new window)
6e5ded7326f80, (opens new window) - Removes dependency on @atlaskit/pragmatic-drag-and-drop-live-region and now maintains live region code internally.
1.2.4
Patch Changes
- #153912, (opens new window)
fb6d3603aa8df, (opens new window) - Internal fix to batched updates check that determines if React 16 is being used. Previously it assumed theversionexport fromreact-domwas always defined, but it was only introduced inreact-dom@16.13.0
1.2.3
Patch Changes
- #150464, (opens new window)
b813bd74ede6d, (opens new window) - Updates internal configuration files - Updated dependencies
1.2.2
Patch Changes
- Updated dependencies
1.2.1
Patch Changes
- #124164, (opens new window)
58941fa1d332a, (opens new window) - Allreactunit tests will now run againstreact@16andreact@18on CI.
1.2.0
Minor Changes
-
#116572, (opens new window)
98c65e7ff719c, (opens new window) - 🍯 Introducing "the honey pot fix" which is an improved workaround for a painful browser bug, (opens new window).Background
The browser bug causes the browser to think the users pointer is continually depressed at the point that the user started a drag. This could lead to incorrect events being triggered, and incorrect styles being applied to elements that the user is not currently over during a drag.
Outcomes
- Elements will no longer receive
MouseEvents (eg"mouseenter"and"mouseleave") during a drag (which is a violation of the drag and drop specification, (opens new window)) - Elements will no longer apply
:hoveror:activestyles during a drag. Previously consumers would need to disable these style rules during a drag to prevent these styles being applied. - Dramatically improved post drop performance. Our prior solution could require a noticeable delay due to a large style recalculation after a drop.
- Elements will no longer receive
Patch Changes
- #116984, (opens new window)
b13f5ee80ab4f, (opens new window) - Fixing event listener cleanup test - Updated dependencies
1.1.3
Patch Changes
- #114764, (opens new window)
ae20dac6e31c4, (opens new window) - Bump packages to use react-beautiful-dnd@12.2.0
1.1.2
Patch Changes
- #94316, (opens new window)
35fd5ed8e1d7, (opens new window) - Upgrading internal dependencybind-event-listenerto@^3.0.0
1.1.1
Patch Changes
-
#92913, (opens new window)
8f7e827e0978, (opens new window) - Some Pragmatic drag and drop packages did not have"author"and or"license"attributes set in theirpackage.jsonfile. These missing attributes have now been added where required.+ "author": "Atlassian Pty Ltd", + "license": "Apache-2.0",All Pragmatic drag and drop packages were already licensed under
Apache-2.0(seeLICENSEfiles), but the"license"attribute in somepackage.jsonfiles was missing. -
#92913, (opens new window)
96a6f6a19a73, (opens new window) - Adding missing Apache 2.0 license file. This package has always been licensed under Apache 2.0 (same as the other Pragmatic drag and drop packages).
1.1.0
Minor Changes
- #87853, (opens new window)
54e884fd8d96, (opens new window) - IncreasingreactpeerDependencyrange to includereact@17andreact@18.
Patch Changes
- Updated dependencies
1.0.3
Patch Changes
- #84250, (opens new window)
a1cc31800621, (opens new window) - Internal refactor: now relying on automatic fallback insertion fortoken(). This change provides an improved experience for consumers who don't have Atlassian Design tokens enabled.
1.0.2
Patch Changes
- #83702, (opens new window)
4d9e25ab4eaa, (opens new window) - Updating the descriptions of Pragmatic drag and drop packages, so they each provide a consistent description to various consumers, and so they are consistently formed amongst each other.package.jsondescriptionREADME.md- Website documentation
1.0.1
Patch Changes
- #83116, (opens new window)
8d4e99057fe0, (opens new window) - Upgrade Typescript from4.9.5to5.4.2
1.0.0
Major Changes
-
#70616, (opens new window)
42e57ea65fee, (opens new window) - This is our firstmajorrelease (1.0) for all Pragmatic drag and drop packages.For a detailed explanation of these changes, and how to upgrade (automatically) to
1.0please see our 1.0 upgrade guide, (opens new window)
Patch Changes
- Updated dependencies
0.17.7
Patch Changes
- Updated dependencies
0.17.6
Patch Changes
- Updated dependencies
0.17.5
Patch Changes
- Updated dependencies
0.17.4
Patch Changes
- Updated dependencies
0.17.3
Patch Changes
- Updated dependencies
0.17.2
Patch Changes
- Updated dependencies
0.17.1
Patch Changes
- Updated dependencies
0.17.0
Minor Changes
- #37394, (opens new window)
006a7d12e9a, (opens new window) - Internal folder name refactor
Patch Changes
- Updated dependencies
0.16.0
Minor Changes
- #36716, (opens new window)
d25fd8a9056, (opens new window) - React updates are now batched for React 16. Other optimizations have also been made to reduce the number of re-renders that occur.
0.15.0
Minor Changes
- #34585, (opens new window)
d71c9cef468, (opens new window) - [ux] The cross axis offset of keyboard drag previews is now a fixed value, instead of being percentage-based.
0.14.1
Patch Changes
- Updated dependencies
0.14.0
Minor Changes
- #35198, (opens new window)
f32aef7bfed, (opens new window) - [ux] Adds a grab cursor when hovering over draggable elements. Also adds other styles provided by thereact-beautiful-dndstyle marshal.
0.13.0
Minor Changes
- #35305, (opens new window)
5e58af07ce8, (opens new window) - [ux] Entering a droppable from the start will now target the first index instead of the last.
0.12.0
Minor Changes
- #34561, (opens new window)
9909027b163, (opens new window) - It is now possible to unmount a<Draggable/>in a virtual list at any time during a drag operation, including while it is still visible.
0.11.0
Minor Changes
- #34694, (opens new window)
07779f6c5f7, (opens new window) - Pointer drags are now blocked by interactive elements. This can be overriden using thedisableInteractiveElementBlockingprop. This behavior is consistent withreact-beautiful-dnd.
0.10.0
Minor Changes
- #34690, (opens new window)
245cc4ba6c3, (opens new window) - [ux] Drags will no longer start while holding down a modifier key. This change was done in order to match react-beautiful-dnd behaviour.
0.9.1
Patch Changes
- #34443, (opens new window)
61cb5313358, (opens new window) - Removing unused dependencies and dev dependencies
0.9.0
Minor Changes
- #34199, (opens new window)
541c0511010, (opens new window) - [ux] Dragging elements are now slightly transparent, to allow better visibility of drop indicators. This also better aligns with native browser drag previews.
0.8.0
Minor Changes
- #34030, (opens new window)
1af8b676f81, (opens new window) - When starting a keyboard drag, key bindings are now added synchronously. Previously, they were added in arequestAnimationFrame()callback.
0.7.0
Minor Changes
- #33945, (opens new window)
a12da51e227, (opens new window) - Makesreact-doma peer dependency instead of a direct dependency.
0.6.0
Minor Changes
- #33797, (opens new window)
b560a09202a, (opens new window) - Fixes a memoization issue, significantly improving rerender performance.
0.5.0
Minor Changes
- #33590, (opens new window)
69c2501037c, (opens new window) - Fixes a bug that caused parent scroll containers to jump to the top when returning to the source location during a keyboard drag.
Patch Changes
- #33793, (opens new window)
9d00501a414, (opens new window) - Ensure legacy types are published for TS 4.5-4.8
0.4.2
Patch Changes
- #33649, (opens new window)
41fae2c6f68, (opens new window) - Upgrade Typescript from4.5.5to4.9.5
0.4.1
Patch Changes
- #33561, (opens new window)
be8246510ed, (opens new window) - Ensures that keyboard drag event bindings are properly cleaned up when a drag is cancelled because of an unhandled error on the window.
0.4.0
Minor Changes
- #33344, (opens new window)
9fd8556db17, (opens new window) - Internal folder name structure change
Patch Changes
- Updated dependencies
0.3.0
Minor Changes
-
#33262, (opens new window)
34ed7b2ec63, (opens new window) - We have changed the name of our drag and drop packages to align on the single name of "Pragmatic drag and drop"- @atlaskit/drag-and-drop + @atlaskit/pragmatic-drag-and-drop - @atlaskit/drag-and-drop-autoscroll + @atlaskit/pragmatic-drag-and-drop-autoscroll - @atlaskit/drag-and-drop-hitbox + @atlaskit/pragmatic-drag-and-drop-hitbox - @atlaskit/drag-and-drop-indicator + @atlaskit/pragmatic-drag-and-drop-react-indicator # Note: `react` was added to this package name as our indicator package is designed for usage with `react`. - @atlaskit/drag-and-drop-live-region + @atlaskit/pragmatic-drag-and-drop-live-region - @atlaskit/drag-and-drop-react-beautiful-dnd-migration + @atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration - @atlaskit/drag-and-drop-docs + @atlaskit/pragmatic-drag-and-drop-docsThe new
@atlaskit/pragmatic-drag-and-drop*packages will start their initial versions from where the ``@atlaskit/drag-and-drop*` packages left off. Doing this will make it easier to look back on changelogs and see how the packages have progressed.
Patch Changes
- Updated dependencies
0.2.1
Patch Changes
- #33263, (opens new window)
16a901a9476, (opens new window) - - Fixes a bug that could lead to invalid syntax when inserting comments before aJSXExpressionContainernode. Comments will now be wrapped in a newJSXExpressionContainernode.- Adds a file filter to the codemod transformers, so that only files which import either
react-beautiful-dndorreact-beautiful-dnd-nextwill be processed.
- Adds a file filter to the codemod transformers, so that only files which import either
0.2.0
Minor Changes
- #33258, (opens new window)
56507598609, (opens new window) - Skip minor dependency bump
Patch Changes
- Updated dependencies
0.1.0
Minor Changes
- #32921, (opens new window)
6be2b5508a9, (opens new window) - Initial release