Skip to content

Commit

Permalink
6.1.1
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 28, 2021
1 parent 39eca50 commit b8863ca
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
7 changes: 0 additions & 7 deletions .changeset/odd-maps-dress.md

This file was deleted.

18 changes: 13 additions & 5 deletions packages/mobx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# mobx

## 6.1.1

### Patch Changes

- [`39eca50d`](https://github.com/mobxjs/mobx/commit/39eca50de3936807037cb1205bbab29a3e328bc0) [#2757](https://github.com/mobxjs/mobx/pull/2757) Thanks [@urugator](https://github.com/urugator)! - Fix error stringification on minified build
Fix `isObservableProp` not supporting `Symbols`
Fix `makeAutoObservable` not ignoring `inferredAnnotationsSymbol`

## 6.1.0

This release fixes a plethora of bugs related to sub-classing and reflecting / iterating on observable objects.
Expand Down Expand Up @@ -1047,7 +1055,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 @@ -1072,7 +1080,7 @@ or alternatively:

```javascript
observable({
computedProp: computed(function () {
computedProp: computed(function() {
return someComputation
})
})
Expand All @@ -1090,7 +1098,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 @@ -1216,10 +1224,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.1.0",
"version": "6.1.1",
"description": "Simple, scalable state management.",
"source": "src/mobx.ts",
"main": "dist/index.js",
Expand Down

0 comments on commit b8863ca

Please sign in to comment.