Skip to content

Commit c1f3019

Browse files
Version release
1 parent 28f8a11 commit c1f3019

7 files changed

Lines changed: 66 additions & 31 deletions

File tree

‎.changeset/short-yaks-serve.md‎

Lines changed: 0 additions & 22 deletions
This file was deleted.

‎packages/mobx-react-lite/CHANGELOG.md‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# mobx-react-lite
22

3+
## 4.0.0
4+
5+
### Minor Changes
6+
7+
- [`28f8a11d`](https://github.com/mobxjs/mobx/commit/28f8a11d8b94f1aca2eec4ae9c5f45c5ea2f4362) [#2641](https://github.com/mobxjs/mobx/pull/2641) Thanks [@urugator](https://github.com/urugator)! - `action`, `computed`, `flow` defined on prototype can be overriden by subclass via `override` annotation/decorator. Previously broken.
8+
Overriding anything defined on instance itself (`this`) is not supported and should throw. Previously partially possible or broken.
9+
Attempt to re-annotate property always throws. Previously mostly undefined outcome.
10+
All annotated and non-observable props (action/flow) are non-writable. Previously writable.
11+
All annotated props of non-plain object are non-configurable. Previously configurable.
12+
Observable object should now work more reliably in various (edge) cases.
13+
Proxied objects now support `Object.defineProperty`. Previously unsupported/broken.
14+
`extendObservable/makeObservable/defineProperty` notifies observers/listeners/interceptors about added props. Peviously inconsistent.
15+
`keys/values/entries` works like `Object.keys/values/entries`. Previously included only observables.
16+
`has` works like `in`. Previously reported `true` only for existing own observable props.
17+
`set` no longer transforms existing non-observable prop to observable prop, but simply sets the value.
18+
`remove/delete` works with non-observable and computed props. Previously unsupported/broken.
19+
Passing `options` to `observable/extendObservable/makeObservable` throws if the object is already observable . Previously passed options were mostly ignored.
20+
`autoBind` option is now sticky - same as `deep` and `name` option.
21+
`observable/extendObservable` now also picks non-enumerable keys (same as `make[Auto]Observable`).
22+
Removed deprecated `action.bound("name")`
23+
Proxied objects should be compatible with `Reflect` API. Previously throwing instead of returning booleans.
24+
25+
### Patch Changes
26+
27+
- Updated dependencies [[`28f8a11d`](https://github.com/mobxjs/mobx/commit/28f8a11d8b94f1aca2eec4ae9c5f45c5ea2f4362)]:
28+
29+
330
## 3.1.7
431

532
### Patch Changes

‎packages/mobx-react-lite/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobx-react-lite",
3-
"version": "3.1.7",
3+
"version": "4.0.0",
44
"description": "Lightweight React bindings for MobX based on React 16.8+ and Hooks",
55
"source": "src/index.ts",
66
"main": "dist/index.js",
@@ -38,7 +38,7 @@
3838
"homepage": "https://mobx.js.org",
3939
"dependencies": {},
4040
"peerDependencies": {
41-
"mobx": "^6.0.5",
41+
"mobx": "^6.1.0",
4242
"react": "^16.8.0 || ^17"
4343
},
4444
"peerDependenciesMeta": {
@@ -50,7 +50,7 @@
5050
}
5151
},
5252
"devDependencies": {
53-
"mobx": "^6.0.5",
53+
"mobx": "^6.1.0",
5454
"expose-gc": "^1.0.0"
5555
},
5656
"keywords": [

‎packages/mobx-react/CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# mobx-react
22

3+
## 8.0.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`28f8a11d`](https://github.com/mobxjs/mobx/commit/28f8a11d8b94f1aca2eec4ae9c5f45c5ea2f4362)]:
8+
9+
10+
311
## 7.0.6
412

513
### Patch Changes

‎packages/mobx-react/package.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobx-react",
3-
"version": "7.0.6",
3+
"version": "8.0.0",
44
"description": "React bindings for MobX. Create fully reactive components.",
55
"source": "src/index.ts",
66
"main": "dist/index.js",
@@ -36,10 +36,10 @@
3636
},
3737
"homepage": "http://mobx.js.org/",
3838
"dependencies": {
39-
"mobx-react-lite": "^3.1.7"
39+
"mobx-react-lite": "^4.0.0"
4040
},
4141
"peerDependencies": {
42-
"mobx": "^6.0.5",
42+
"mobx": "^6.1.0",
4343
"react": "^16.8.0 || ^17"
4444
},
4545
"peerDependenciesMeta": {
@@ -51,8 +51,8 @@
5151
}
5252
},
5353
"devDependencies": {
54-
"mobx": "^6.0.5",
55-
"mobx-react-lite": "^3.1.7"
54+
"mobx": "^6.1.0",
55+
"mobx-react-lite": "^4.0.0"
5656
},
5757
"keywords": [
5858
"mobx",

‎packages/mobx/CHANGELOG.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# mobx
22

3+
## 6.1.0
4+
5+
### Minor Changes
6+
7+
- [`28f8a11d`](https://github.com/mobxjs/mobx/commit/28f8a11d8b94f1aca2eec4ae9c5f45c5ea2f4362) [#2641](https://github.com/mobxjs/mobx/pull/2641) Thanks [@urugator](https://github.com/urugator)! - `action`, `computed`, `flow` defined on prototype can be overriden by subclass via `override` annotation/decorator. Previously broken.
8+
Overriding anything defined on instance itself (`this`) is not supported and should throw. Previously partially possible or broken.
9+
Attempt to re-annotate property always throws. Previously mostly undefined outcome.
10+
All annotated and non-observable props (action/flow) are non-writable. Previously writable.
11+
All annotated props of non-plain object are non-configurable. Previously configurable.
12+
Observable object should now work more reliably in various (edge) cases.
13+
Proxied objects now support `Object.defineProperty`. Previously unsupported/broken.
14+
`extendObservable/makeObservable/defineProperty` notifies observers/listeners/interceptors about added props. Peviously inconsistent.
15+
`keys/values/entries` works like `Object.keys/values/entries`. Previously included only observables.
16+
`has` works like `in`. Previously reported `true` only for existing own observable props.
17+
`set` no longer transforms existing non-observable prop to observable prop, but simply sets the value.
18+
`remove/delete` works with non-observable and computed props. Previously unsupported/broken.
19+
Passing `options` to `observable/extendObservable/makeObservable` throws if the object is already observable . Previously passed options were mostly ignored.
20+
`autoBind` option is now sticky - same as `deep` and `name` option.
21+
`observable/extendObservable` now also picks non-enumerable keys (same as `make[Auto]Observable`).
22+
Removed deprecated `action.bound("name")`
23+
Proxied objects should be compatible with `Reflect` API. Previously throwing instead of returning booleans.
24+
325
## 6.0.5
426

527
### Patch Changes

‎packages/mobx/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobx",
3-
"version": "6.0.5",
3+
"version": "6.1.0",
44
"description": "Simple, scalable state management.",
55
"source": "src/mobx.ts",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)