diff --git a/.changeset/activator-event-modifiers.md b/.changeset/activator-event-modifiers.md
deleted file mode 100644
index b2798533..00000000
--- a/.changeset/activator-event-modifiers.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@dnd-kit/core": minor
----
-
-Now passing `activatorEvent` as an argument to `modifiers`
diff --git a/.changeset/cancel-drag-events.md b/.changeset/cancel-drag-events.md
deleted file mode 100644
index 234f6269..00000000
--- a/.changeset/cancel-drag-events.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@dnd-kit/core": minor
----
-
-Mouse, Pointer, Touch sensors now cancel dragging on [visibility change](https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilitychange_event) and [window resize](https://developer.mozilla.org/en-US/docs/Web/API/Window/resize_event). The Keyboard sensor already cancelled dragging on window resize. It now also cancels dragging on visibility change.
diff --git a/.changeset/collision-detection-issues.md b/.changeset/collision-detection-issues.md
deleted file mode 100644
index 8dbf6085..00000000
--- a/.changeset/collision-detection-issues.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-"@dnd-kit/core": major
----
-
-React updates in non-synthetic event handlers are now batched to reduce re-renders and prepare for React 18.
-
-Also fixed issues with collision detection:
-- Defer measurement of droppable node rects until second render after dragging.
-- Use DragOverlay's width and height in collision rect (if it is used)
diff --git a/.changeset/droppablecontainers-map-refactor.md b/.changeset/droppablecontainers-map-refactor.md
deleted file mode 100644
index eec461af..00000000
--- a/.changeset/droppablecontainers-map-refactor.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-'@dnd-kit/core': major
-'@dnd-kit/sortable': patch
----
-
-Refactored `DroppableContainers` type from `Record
-}
-```
diff --git a/.changeset/move-shared-utilities.md b/.changeset/move-shared-utilities.md
deleted file mode 100644
index 44871cb2..00000000
--- a/.changeset/move-shared-utilities.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@dnd-kit/utilities": minor
----
-
-Move `Coordinates` interface along with `getEventCoordinates`, `isMouseEvent` and `isTouchEvent` helpers to @dnd-kit/utilities
diff --git a/.changeset/prevent-click-propagation.md b/.changeset/prevent-click-propagation.md
deleted file mode 100644
index 3be69593..00000000
--- a/.changeset/prevent-click-propagation.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@dnd-kit/core': minor
----
-
-Pointer, Mouse and Touch sensors now stop propagation of click events once activation constraints are met.
diff --git a/.changeset/prevent-context-menu.md b/.changeset/prevent-context-menu.md
deleted file mode 100644
index 0df6ba3e..00000000
--- a/.changeset/prevent-context-menu.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@dnd-kit/core": minor
----
-
-Prevent context menu from opening when pointer sensor is active
diff --git a/.changeset/refactor-collisiondetection-interface.md b/.changeset/refactor-collisiondetection-interface.md
deleted file mode 100644
index 164c761c..00000000
--- a/.changeset/refactor-collisiondetection-interface.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-"@dnd-kit/core": major
-"@dnd-kit/sortable": patch
----
-
-Breaking change: The `CollisionDetection` interface has been refactored. It now receives an object that contains the `active` draggable node, along with the `collisionRect` and an array of `droppableContainers`.
-
-If you've built custom collision detection algorithms, you'll need to update them. Refer to [this PR](https://github.com/clauderic/dnd-kit/pull/350) for examples of how to refactor collision detection functions to the new `CollisionDetection` interface.
-
-The `sortableKeyboardCoordinates` method has also been updated since it relies on the `closestCorners` collision detection algorithm. If you were using collision detection strategies in a custom `sortableKeyboardCoordinates` method, you'll need to update those as well.
diff --git a/.changeset/snap-center-modifier.md b/.changeset/snap-center-modifier.md
deleted file mode 100644
index 650457c2..00000000
--- a/.changeset/snap-center-modifier.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@dnd-kit/modifiers": minor
----
-
-Add `snapCenterToCursor` modifier
diff --git a/.changeset/sortable-transition-undefined.md b/.changeset/sortable-transition-undefined.md
deleted file mode 100644
index 24966226..00000000
--- a/.changeset/sortable-transition-undefined.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@dnd-kit/sortable": patch
----
-
-Return `undefined` instead of `null` for `transition` in `useSortable`
diff --git a/.changeset/utilities-peer-dependencies.md b/.changeset/utilities-peer-dependencies.md
deleted file mode 100644
index 4dd2ab21..00000000
--- a/.changeset/utilities-peer-dependencies.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@dnd-kit/utilities': major
----
-
-Added react to peerDependencies of @dnd-kit/utilities
diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md
index 513673a2..4e047611 100644
--- a/packages/core/CHANGELOG.md
+++ b/packages/core/CHANGELOG.md
@@ -1,5 +1,77 @@
# @dnd-kit/core
+## 4.0.0
+
+### Major Changes
+
+- [#337](https://github.com/clauderic/dnd-kit/pull/337) [`05d6a78`](https://github.com/clauderic/dnd-kit/commit/05d6a78a17cbaacd8dffed685dfea5a6ea3d38a8) Thanks [@clauderic](https://github.com/clauderic)! - React updates in non-synthetic event handlers are now batched to reduce re-renders and prepare for React 18.
+
+ Also fixed issues with collision detection:
+
+ - Defer measurement of droppable node rects until second render after dragging.
+ - Use DragOverlay's width and height in collision rect (if it is used)
+
+- [#372](https://github.com/clauderic/dnd-kit/pull/372) [`dbc9601`](https://github.com/clauderic/dnd-kit/commit/dbc9601c922e1d6944a63f66ee647f203abee595) Thanks [@clauderic](https://github.com/clauderic)! - Refactored `DroppableContainers` type from `Record;
+ }
+ ```
+
+- [#350](https://github.com/clauderic/dnd-kit/pull/350) [`a13dbb6`](https://github.com/clauderic/dnd-kit/commit/a13dbb66586edbf2998c7b251e236604255fd227) Thanks [@wmain](https://github.com/wmain)! - Breaking change: The `CollisionDetection` interface has been refactored. It now receives an object that contains the `active` draggable node, along with the `collisionRect` and an array of `droppableContainers`.
+
+ If you've built custom collision detection algorithms, you'll need to update them. Refer to [this PR](https://github.com/clauderic/dnd-kit/pull/350) for examples of how to refactor collision detection functions to the new `CollisionDetection` interface.
+
+ The `sortableKeyboardCoordinates` method has also been updated since it relies on the `closestCorners` collision detection algorithm. If you were using collision detection strategies in a custom `sortableKeyboardCoordinates` method, you'll need to update those as well.
+
+### Minor Changes
+
+- [#334](https://github.com/clauderic/dnd-kit/pull/334) [`13be602`](https://github.com/clauderic/dnd-kit/commit/13be602229c6d5723b3ae98bca7b8f45f0773366) Thanks [@trentmwillis](https://github.com/trentmwillis)! - Now passing `activatorEvent` as an argument to `modifiers`
+
+- [#376](https://github.com/clauderic/dnd-kit/pull/376) [`aede2cc`](https://github.com/clauderic/dnd-kit/commit/aede2cc42d488435cf65f19b63ba6bb7702b3fde) Thanks [@clauderic](https://github.com/clauderic)! - Mouse, Pointer, Touch sensors now cancel dragging on [visibility change](https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilitychange_event) and [window resize](https://developer.mozilla.org/en-US/docs/Web/API/Window/resize_event). The Keyboard sensor already cancelled dragging on window resize. It now also cancels dragging on visibility change.
+
+- [#377](https://github.com/clauderic/dnd-kit/pull/377) [`422d083`](https://github.com/clauderic/dnd-kit/commit/422d0831173a893099ba924bf7bbc465640fc15d) Thanks [@clauderic](https://github.com/clauderic)! - Pointer, Mouse and Touch sensors now stop propagation of click events once activation constraints are met.
+
+- [#375](https://github.com/clauderic/dnd-kit/pull/375) [`c4b21b4`](https://github.com/clauderic/dnd-kit/commit/c4b21b4ee17cba31c10928eb227848026f54222a) Thanks [@clauderic](https://github.com/clauderic)! - Prevent context menu from opening when pointer sensor is active
+
+### Patch Changes
+
+- [#371](https://github.com/clauderic/dnd-kit/pull/371) [`7006464`](https://github.com/clauderic/dnd-kit/commit/700646468683e4820269534c6352cca93bb5a987) Thanks [@clauderic](https://github.com/clauderic)! - fix: do not wrap consumer-defined handlers in batchedUpdates
+
+- Updated dependencies [[`13be602`](https://github.com/clauderic/dnd-kit/commit/13be602229c6d5723b3ae98bca7b8f45f0773366), [`1f5ca27`](https://github.com/clauderic/dnd-kit/commit/1f5ca27b17879861c2c545160c2046a747544846)]:
+ - @dnd-kit/utilities@3.0.0
+
## 3.1.1
### Patch Changes
diff --git a/packages/core/package.json b/packages/core/package.json
index 6a319609..5bd5b123 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@dnd-kit/core",
- "version": "3.1.1",
+ "version": "4.0.0",
"description": "dnd kit – a lightweight React library for building performant and accessible drag and drop experiences",
"author": "Claudéric Demers",
"license": "MIT",
@@ -32,7 +32,7 @@
"dependencies": {
"tslib": "^2.0.0",
"@dnd-kit/accessibility": "^3.0.0",
- "@dnd-kit/utilities": "^2.0.0"
+ "@dnd-kit/utilities": "^3.0.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/modifiers/CHANGELOG.md b/packages/modifiers/CHANGELOG.md
index f93470f8..3a4d0a4f 100644
--- a/packages/modifiers/CHANGELOG.md
+++ b/packages/modifiers/CHANGELOG.md
@@ -1,5 +1,17 @@
# @dnd-kit/modifiers
+## 4.0.0
+
+### Minor Changes
+
+- [#334](https://github.com/clauderic/dnd-kit/pull/334) [`13be602`](https://github.com/clauderic/dnd-kit/commit/13be602229c6d5723b3ae98bca7b8f45f0773366) Thanks [@trentmwillis](https://github.com/trentmwillis)! - Add `snapCenterToCursor` modifier
+
+### Patch Changes
+
+- Updated dependencies [[`13be602`](https://github.com/clauderic/dnd-kit/commit/13be602229c6d5723b3ae98bca7b8f45f0773366), [`aede2cc`](https://github.com/clauderic/dnd-kit/commit/aede2cc42d488435cf65f19b63ba6bb7702b3fde), [`05d6a78`](https://github.com/clauderic/dnd-kit/commit/05d6a78a17cbaacd8dffed685dfea5a6ea3d38a8), [`dbc9601`](https://github.com/clauderic/dnd-kit/commit/dbc9601c922e1d6944a63f66ee647f203abee595), [`7006464`](https://github.com/clauderic/dnd-kit/commit/700646468683e4820269534c6352cca93bb5a987), [`8d70540`](https://github.com/clauderic/dnd-kit/commit/8d70540771d1455c326310b438a198d2516e1d04), [`13be602`](https://github.com/clauderic/dnd-kit/commit/13be602229c6d5723b3ae98bca7b8f45f0773366), [`422d083`](https://github.com/clauderic/dnd-kit/commit/422d0831173a893099ba924bf7bbc465640fc15d), [`c4b21b4`](https://github.com/clauderic/dnd-kit/commit/c4b21b4ee17cba31c10928eb227848026f54222a), [`a13dbb6`](https://github.com/clauderic/dnd-kit/commit/a13dbb66586edbf2998c7b251e236604255fd227), [`1f5ca27`](https://github.com/clauderic/dnd-kit/commit/1f5ca27b17879861c2c545160c2046a747544846)]:
+ - @dnd-kit/core@4.0.0
+ - @dnd-kit/utilities@3.0.0
+
## 3.0.0
### Patch Changes
diff --git a/packages/modifiers/package.json b/packages/modifiers/package.json
index 58fa4685..9baa2a2c 100644
--- a/packages/modifiers/package.json
+++ b/packages/modifiers/package.json
@@ -1,6 +1,6 @@
{
"name": "@dnd-kit/modifiers",
- "version": "3.0.0",
+ "version": "4.0.0",
"description": "Translate modifier presets for use with `@dnd-kit` packages.",
"author": "Claudéric Demers",
"license": "MIT",
@@ -26,14 +26,14 @@
"dist"
],
"dependencies": {
- "@dnd-kit/utilities": "^2.0.0",
+ "@dnd-kit/utilities": "^3.0.0",
"tslib": "^2.0.0"
},
"peerDependencies": {
- "@dnd-kit/core": "^3.1.0"
+ "@dnd-kit/core": "^4.0.0"
},
"devDependencies": {
- "@dnd-kit/core": "^3.1.0"
+ "@dnd-kit/core": "^4.0.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/sortable/CHANGELOG.md b/packages/sortable/CHANGELOG.md
index c5fb38da..62ecb800 100644
--- a/packages/sortable/CHANGELOG.md
+++ b/packages/sortable/CHANGELOG.md
@@ -1,5 +1,25 @@
# @dnd-kit/sortable
+## 5.0.0
+
+### Patch Changes
+
+- [#372](https://github.com/clauderic/dnd-kit/pull/372) [`dbc9601`](https://github.com/clauderic/dnd-kit/commit/dbc9601c922e1d6944a63f66ee647f203abee595) Thanks [@clauderic](https://github.com/clauderic)! - Refactored `DroppableContainers` type from `Record=16.8.0",
- "@dnd-kit/core": "^3.1.0"
+ "@dnd-kit/core": "^4.0.0"
},
"devDependencies": {
- "@dnd-kit/core": "^3.1.0"
+ "@dnd-kit/core": "^4.0.0"
},
"publishConfig": {
"access": "public"
diff --git a/packages/utilities/CHANGELOG.md b/packages/utilities/CHANGELOG.md
index 3560118d..30bbcfec 100644
--- a/packages/utilities/CHANGELOG.md
+++ b/packages/utilities/CHANGELOG.md
@@ -1,5 +1,15 @@
# @dnd-kit/utilities
+## 3.0.0
+
+### Major Changes
+
+- [#373](https://github.com/clauderic/dnd-kit/pull/373) [`1f5ca27`](https://github.com/clauderic/dnd-kit/commit/1f5ca27b17879861c2c545160c2046a747544846) Thanks [@clauderic](https://github.com/clauderic)! - Added react to peerDependencies of @dnd-kit/utilities
+
+### Minor Changes
+
+- [#334](https://github.com/clauderic/dnd-kit/pull/334) [`13be602`](https://github.com/clauderic/dnd-kit/commit/13be602229c6d5723b3ae98bca7b8f45f0773366) Thanks [@trentmwillis](https://github.com/trentmwillis)! - Move `Coordinates` interface along with `getEventCoordinates`, `isMouseEvent` and `isTouchEvent` helpers to @dnd-kit/utilities
+
## 2.0.0
### Major Changes
diff --git a/packages/utilities/package.json b/packages/utilities/package.json
index 9dc433a2..441ebee1 100644
--- a/packages/utilities/package.json
+++ b/packages/utilities/package.json
@@ -1,6 +1,6 @@
{
"name": "@dnd-kit/utilities",
- "version": "2.0.0",
+ "version": "3.0.0",
"description": "Internal utilities to bee shared between `@dnd-kit` packages",
"author": "Claudéric Demers",
"license": "MIT",