Skip to content

Commit

Permalink
Version release (#3661)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 25, 2023
1 parent 44a2cf4 commit c794d3d
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 35 deletions.
5 changes: 0 additions & 5 deletions .changeset/brown-seals-worry.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/early-terms-bow.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/wise-waves-jam.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/mobx-react-lite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# mobx-react-lite

## 4.0.0

### Major Changes

- [`44a2cf42`](https://github.com/mobxjs/mobx/commit/44a2cf42dec7635f639ddbfb19202ebc710bac54) [#3590](https://github.com/mobxjs/mobx/pull/3590) Thanks [@urugator](https://github.com/urugator)! - Components now use `useSyncExternalStore`, which should prevent tearing - you have to update mobx, otherwise it should behave as previously.<br>
Improved displayName/name handling as discussed in #3438.<br>

## 3.4.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/mobx-react-lite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobx-react-lite",
"version": "3.4.3",
"version": "4.0.0",
"description": "Lightweight React bindings for MobX based on React 16.8+ and Hooks",
"source": "src/index.ts",
"main": "dist/index.js",
Expand Down Expand Up @@ -50,7 +50,7 @@
}
},
"devDependencies": {
"mobx": "^6.8.0",
"mobx": "^6.9.0",
"expose-gc": "^1.0.0",
"use-sync-external-store": "^1.2.0"
},
Expand Down
18 changes: 18 additions & 0 deletions packages/mobx-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# mobx-react

## 8.0.0

### Major Changes

- [`44a2cf42`](https://github.com/mobxjs/mobx/commit/44a2cf42dec7635f639ddbfb19202ebc710bac54) [#3590](https://github.com/mobxjs/mobx/pull/3590) Thanks [@urugator](https://github.com/urugator)! - Functional components now use `useSyncExternalStore`, which should prevent tearing - you have to update mobx, otherwise it should behave as previously.<br>
Improved displayName/name handling of functional components as discussed in #3438.<br>
Reactions of uncommited class components are now correctly disposed, fixes #3492.<br>
Reactions don't notify uncommited class components, avoiding the warning, fixes #3492.<br>
Removed symbol "polyfill" and replaced with actual Symbols.<br>
Removed `this.render` replacement detection + warning. `this.render` is no longer configurable/writable (possibly BC).<br>
Class component instance is no longer exposed as `component[$mobx]["reactcomponent"]` (possibly BC).<br>
Deprecated `disposeOnUnmount`, it's not compatible with remounting.<br>

### Patch Changes

- Updated dependencies [[`44a2cf42`](https://github.com/mobxjs/mobx/commit/44a2cf42dec7635f639ddbfb19202ebc710bac54)]:
- mobx-react-lite@4.0.0

## 7.6.0

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/mobx-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobx-react",
"version": "7.6.0",
"version": "8.0.0",
"description": "React bindings for MobX. Create fully reactive components.",
"source": "src/index.ts",
"main": "dist/index.js",
Expand Down Expand Up @@ -36,7 +36,7 @@
},
"homepage": "https://mobx.js.org",
"dependencies": {
"mobx-react-lite": "^3.4.3"
"mobx-react-lite": "^4.0.0"
},
"peerDependencies": {
"mobx": "^6.9.0",
Expand All @@ -51,8 +51,8 @@
}
},
"devDependencies": {
"mobx": "^6.8.0",
"mobx-react-lite": "^3.4.3",
"mobx": "^6.9.0",
"mobx-react-lite": "^4.0.0",
"expose-gc": "^1.0.0"
},
"keywords": [
Expand Down
16 changes: 11 additions & 5 deletions packages/mobx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# mobx

## 6.9.0

### Minor Changes

- [`44a2cf42`](https://github.com/mobxjs/mobx/commit/44a2cf42dec7635f639ddbfb19202ebc710bac54) [#3590](https://github.com/mobxjs/mobx/pull/3590) Thanks [@urugator](https://github.com/urugator)! - Better support for React 18: Mobx now keeps track of a global state version, which updates with each mutation.

## 6.8.0

### Minor Changes
Expand Down Expand Up @@ -1319,7 +1325,7 @@ A deprecation message will now be printed if creating computed properties while

```javascript
const x = observable({
computedProp: function () {
computedProp: function() {
return someComputation
}
})
Expand All @@ -1344,7 +1350,7 @@ or alternatively:

```javascript
observable({
computedProp: computed(function () {
computedProp: computed(function() {
return someComputation
})
})
Expand All @@ -1362,7 +1368,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++
})
})
Expand Down Expand Up @@ -1488,10 +1494,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)
}
)
Expand Down
2 changes: 1 addition & 1 deletion packages/mobx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobx",
"version": "6.8.0",
"version": "6.9.0",
"description": "Simple, scalable state management.",
"source": "src/mobx.ts",
"main": "dist/index.js",
Expand Down

0 comments on commit c794d3d

Please sign in to comment.