diff --git a/.changeset/node-export-condition.md b/.changeset/node-export-condition.md deleted file mode 100644 index 35f9a1a5f..000000000 --- a/.changeset/node-export-condition.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"mobx": patch -"mobx-react": patch -"mobx-react-lite": patch ---- - -perf: add a `node` export condition that routes Node and Bun to the existing `dist/index.js` entry, which picks the prebaked development or production CJS build once at require time. `import`ing mobx in Node no longer executes the env-agnostic `dist/mobx.mjs` with per-call `NODE_ENV` checks, and mixing `import` and `require` in one Node app now yields a single mobx instance. diff --git a/packages/mobx-react-lite/CHANGELOG.md b/packages/mobx-react-lite/CHANGELOG.md index 11fdde76f..f621040bc 100644 --- a/packages/mobx-react-lite/CHANGELOG.md +++ b/packages/mobx-react-lite/CHANGELOG.md @@ -1,5 +1,11 @@ # mobx-react-lite +## 5.0.3 + +### Patch Changes + +- [`6f002b8e543ca39d3ee23681e28848d7f1724fae`](https://github.com/mobxjs/mobx/commit/6f002b8e543ca39d3ee23681e28848d7f1724fae) [#4696](https://github.com/mobxjs/mobx/pull/4696) Thanks [@gesposito](https://github.com/gesposito)! - perf: add a `node` export condition that routes Node and Bun to the existing `dist/index.js` entry, which picks the prebaked development or production CJS build once at require time. `import`ing mobx in Node no longer executes the env-agnostic `dist/mobx.mjs` with per-call `NODE_ENV` checks, and mixing `import` and `require` in one Node app now yields a single mobx instance. + ## 5.0.2 ### Patch Changes diff --git a/packages/mobx-react-lite/package.json b/packages/mobx-react-lite/package.json index 7db055669..957a066b1 100644 --- a/packages/mobx-react-lite/package.json +++ b/packages/mobx-react-lite/package.json @@ -1,6 +1,6 @@ { "name": "mobx-react-lite", - "version": "5.0.2", + "version": "5.0.3", "description": "Lightweight React bindings for MobX based on function components and Hooks", "source": "src/index.ts", "type": "commonjs", @@ -62,7 +62,7 @@ "react": "^18 || ^19" }, "devDependencies": { - "mobx": "^7.0.2" + "mobx": "^7.0.3" }, "keywords": [ "mobx", diff --git a/packages/mobx-react/CHANGELOG.md b/packages/mobx-react/CHANGELOG.md index 5b876b98e..c2a20f4be 100644 --- a/packages/mobx-react/CHANGELOG.md +++ b/packages/mobx-react/CHANGELOG.md @@ -1,5 +1,14 @@ # mobx-react +## 10.0.2 + +### Patch Changes + +- [`6f002b8e543ca39d3ee23681e28848d7f1724fae`](https://github.com/mobxjs/mobx/commit/6f002b8e543ca39d3ee23681e28848d7f1724fae) [#4696](https://github.com/mobxjs/mobx/pull/4696) Thanks [@gesposito](https://github.com/gesposito)! - perf: add a `node` export condition that routes Node and Bun to the existing `dist/index.js` entry, which picks the prebaked development or production CJS build once at require time. `import`ing mobx in Node no longer executes the env-agnostic `dist/mobx.mjs` with per-call `NODE_ENV` checks, and mixing `import` and `require` in one Node app now yields a single mobx instance. + +- Updated dependencies [[`6f002b8e543ca39d3ee23681e28848d7f1724fae`](https://github.com/mobxjs/mobx/commit/6f002b8e543ca39d3ee23681e28848d7f1724fae)]: + - mobx-react-lite@5.0.3 + ## 10.0.1 ### Patch Changes diff --git a/packages/mobx-react/package.json b/packages/mobx-react/package.json index a9eeee82c..0add700ca 100644 --- a/packages/mobx-react/package.json +++ b/packages/mobx-react/package.json @@ -1,6 +1,6 @@ { "name": "mobx-react", - "version": "10.0.1", + "version": "10.0.2", "description": "React bindings for MobX. Create fully reactive components.", "source": "src/index.ts", "type": "commonjs", @@ -59,15 +59,15 @@ }, "homepage": "https://mobx.js.org", "dependencies": { - "mobx-react-lite": "^5.0.2" + "mobx-react-lite": "^5.0.3" }, "peerDependencies": { "mobx": "^7.0.0", "react": "^18 || ^19" }, "devDependencies": { - "mobx": "^7.0.2", - "mobx-react-lite": "^5.0.2" + "mobx": "^7.0.3", + "mobx-react-lite": "^5.0.3" }, "keywords": [ "mobx", diff --git a/packages/mobx/CHANGELOG.md b/packages/mobx/CHANGELOG.md index 7a33afde1..68c2b9c4e 100644 --- a/packages/mobx/CHANGELOG.md +++ b/packages/mobx/CHANGELOG.md @@ -1,5 +1,11 @@ # mobx +## 7.0.3 + +### Patch Changes + +- [`6f002b8e543ca39d3ee23681e28848d7f1724fae`](https://github.com/mobxjs/mobx/commit/6f002b8e543ca39d3ee23681e28848d7f1724fae) [#4696](https://github.com/mobxjs/mobx/pull/4696) Thanks [@gesposito](https://github.com/gesposito)! - perf: add a `node` export condition that routes Node and Bun to the existing `dist/index.js` entry, which picks the prebaked development or production CJS build once at require time. `import`ing mobx in Node no longer executes the env-agnostic `dist/mobx.mjs` with per-call `NODE_ENV` checks, and mixing `import` and `require` in one Node app now yields a single mobx instance. + ## 7.0.2 ### Patch Changes diff --git a/packages/mobx/package.json b/packages/mobx/package.json index b2df69a43..c8a61b083 100644 --- a/packages/mobx/package.json +++ b/packages/mobx/package.json @@ -1,6 +1,6 @@ { "name": "mobx", - "version": "7.0.2", + "version": "7.0.3", "description": "Simple, scalable state management.", "source": "src/mobx.ts", "type": "commonjs",