diff --git a/.changeset/short-badgers-wink.md b/.changeset/short-badgers-wink.md deleted file mode 100644 index f93e652f4..000000000 --- a/.changeset/short-badgers-wink.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"mobx-react": patch -"mobx-react-lite": patch ---- - -Fix names of UMD exports [#2517](https://github.com/mobxjs/mobx/issues/2617) diff --git a/.changeset/strange-coins-sin.md b/.changeset/strange-coins-sin.md deleted file mode 100644 index e58922e8d..000000000 --- a/.changeset/strange-coins-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"mobx": patch ---- - -Fix [#2614](https://github.com/mobxjs/mobx/issues/2614) - `makeObservable` does not respect `options.name` diff --git a/packages/mobx-react-lite/CHANGELOG.md b/packages/mobx-react-lite/CHANGELOG.md index 9241f4878..b34349516 100644 --- a/packages/mobx-react-lite/CHANGELOG.md +++ b/packages/mobx-react-lite/CHANGELOG.md @@ -1,5 +1,14 @@ # mobx-react-lite +## 3.1.6 + +### Patch Changes + +- [`2f3dcb27`](https://github.com/mobxjs/mobx/commit/2f3dcb274f795ffca4ae724b6b4795958620838d) Thanks [@FredyC](https://github.com/FredyC)! - Fix names of UMD exports [#2517](https://github.com/mobxjs/mobx/issues/2617) + +- Updated dependencies [[`79a09f49`](https://github.com/mobxjs/mobx/commit/79a09f49a9f2baddbab8d89e9a7ac07cffadf624)]: + - mobx@6.0.4 + ## 3.1.5 ### Patch Changes diff --git a/packages/mobx-react-lite/package.json b/packages/mobx-react-lite/package.json index 1dee0a089..a7711004b 100644 --- a/packages/mobx-react-lite/package.json +++ b/packages/mobx-react-lite/package.json @@ -1,6 +1,6 @@ { "name": "mobx-react-lite", - "version": "3.1.5", + "version": "3.1.6", "description": "Lightweight React bindings for MobX based on React 16.8+ and Hooks", "source": "src/index.ts", "main": "dist/index.js", @@ -39,7 +39,7 @@ "homepage": "https://mobx.js.org", "dependencies": {}, "peerDependencies": { - "mobx": "^6.0.0", + "mobx": "^6.0.4", "react": "^16.8.0 || ^17" }, "peerDependenciesMeta": { @@ -51,7 +51,7 @@ } }, "devDependencies": { - "mobx": "^6.0.0", + "mobx": "^6.0.4", "expose-gc": "^1.0.0" }, "keywords": [ diff --git a/packages/mobx-react/CHANGELOG.md b/packages/mobx-react/CHANGELOG.md index 0ee27f83a..030402855 100644 --- a/packages/mobx-react/CHANGELOG.md +++ b/packages/mobx-react/CHANGELOG.md @@ -1,5 +1,15 @@ # mobx-react +## 7.0.5 + +### Patch Changes + +- [`2f3dcb27`](https://github.com/mobxjs/mobx/commit/2f3dcb274f795ffca4ae724b6b4795958620838d) Thanks [@FredyC](https://github.com/FredyC)! - Fix names of UMD exports [#2517](https://github.com/mobxjs/mobx/issues/2617) + +- Updated dependencies [[`2f3dcb27`](https://github.com/mobxjs/mobx/commit/2f3dcb274f795ffca4ae724b6b4795958620838d), [`79a09f49`](https://github.com/mobxjs/mobx/commit/79a09f49a9f2baddbab8d89e9a7ac07cffadf624)]: + - mobx-react-lite@3.1.6 + - mobx@6.0.4 + ## 7.0.4 ### Patch Changes diff --git a/packages/mobx-react/package.json b/packages/mobx-react/package.json index 60241d9ec..d327cb47d 100644 --- a/packages/mobx-react/package.json +++ b/packages/mobx-react/package.json @@ -1,6 +1,6 @@ { "name": "mobx-react", - "version": "7.0.4", + "version": "7.0.5", "description": "React bindings for MobX. Create fully reactive components.", "source": "src/index.ts", "main": "dist/index.js", @@ -36,10 +36,10 @@ }, "homepage": "http://mobx.js.org/", "dependencies": { - "mobx-react-lite": "^3.1.4" + "mobx-react-lite": "^3.1.6" }, "peerDependencies": { - "mobx": "^6.0.0", + "mobx": "^6.0.4", "react": "^16.8.0 || ^17" }, "peerDependenciesMeta": { @@ -51,8 +51,8 @@ } }, "devDependencies": { - "mobx": "^6.0.0", - "mobx-react-lite": "^3.1.4" + "mobx": "^6.0.4", + "mobx-react-lite": "^3.1.6" }, "keywords": [ "mobx", diff --git a/packages/mobx/CHANGELOG.md b/packages/mobx/CHANGELOG.md index d6f896a91..c8c00f9fd 100644 --- a/packages/mobx/CHANGELOG.md +++ b/packages/mobx/CHANGELOG.md @@ -1,5 +1,11 @@ # mobx +## 6.0.4 + +### Patch Changes + +- [`79a09f49`](https://github.com/mobxjs/mobx/commit/79a09f49a9f2baddbab8d89e9a7ac07cffadf624) [#2615](https://github.com/mobxjs/mobx/pull/2615) Thanks [@urugator](https://github.com/urugator)! - Fix [#2614](https://github.com/mobxjs/mobx/issues/2614) - `makeObservable` does not respect `options.name` + ## 6.0.3 ### Patch Changes @@ -985,7 +991,7 @@ A deprecation message will now be printed if creating computed properties while ```javascript const x = observable({ - computedProp: function () { + computedProp: function() { return someComputation } }) @@ -1010,7 +1016,7 @@ or alternatively: ```javascript observable({ - computedProp: computed(function () { + computedProp: computed(function() { return someComputation }) }) @@ -1028,7 +1034,7 @@ N.B. If you want to introduce actions on an observable that modify its state, us ```javascript observable({ counter: 0, - increment: action(function () { + increment: action(function() { this.counter++ }) }) @@ -1154,10 +1160,10 @@ function Square() { extendObservable(this, { length: 2, squared: computed( - function () { + function() { return this.squared * this.squared }, - function (surfaceSize) { + function(surfaceSize) { this.length = Math.sqrt(surfaceSize) } ) diff --git a/packages/mobx/package.json b/packages/mobx/package.json index bfc0cbb4d..62be03c80 100644 --- a/packages/mobx/package.json +++ b/packages/mobx/package.json @@ -1,6 +1,6 @@ { "name": "mobx", - "version": "6.0.3", + "version": "6.0.4", "description": "Simple, scalable state management.", "source": "src/mobx.ts", "main": "dist/index.js",