Comparing version 3.0.4 to 3.0.5
# Changelog | ||
## `3.0.5` | ||
- Rollback default `patch` flag value to `true`. | ||
## `3.0.0` | ||
New features 🎩: | ||
- Reimplemented `mustFind` and `mustGet` methods in Collection. | ||
@@ -10,2 +16,3 @@ - Brought back the `request` attribute in Model. The attribute tracks the last issued request. | ||
Solved bugs 🐛: | ||
- Fix https://github.com/masylum/mobx-rest/issues/47 | ||
@@ -15,2 +22,3 @@ - Fix https://github.com/masylum/mobx-rest/issues/41 | ||
What's changed 💅: | ||
- Migrated to Typescript | ||
@@ -20,2 +28,3 @@ - Made RPC label optional with a default `fetching` value | ||
Breaking changes ☢️: | ||
- Migrated to Mobx 5+ | ||
@@ -22,0 +31,0 @@ - Rollback default `keepChanges` flag value to `false`. |
@@ -409,3 +409,3 @@ 'use strict'; | ||
if (_a === void 0) { _a = {}; } | ||
var _b = _a.optimistic, optimistic = _b === void 0 ? true : _b, _c = _a.patch, patch = _c === void 0 ? false : _c, _d = _a.keepChanges, keepChanges = _d === void 0 ? false : _d, otherOptions = __rest(_a, ["optimistic", "patch", "keepChanges"]); | ||
var _b = _a.optimistic, optimistic = _b === void 0 ? true : _b, _c = _a.patch, patch = _c === void 0 ? true : _c, _d = _a.keepChanges, keepChanges = _d === void 0 ? false : _d, otherOptions = __rest(_a, ["optimistic", "patch", "keepChanges"]); | ||
var currentAttributes = this.toJS(); | ||
@@ -412,0 +412,0 @@ var label = this.isNew ? 'creating' : 'updating'; |
{ | ||
"name": "mobx-rest", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"description": "REST conventions for mobx.", | ||
@@ -5,0 +5,0 @@ "jest": { |
@@ -285,2 +285,3 @@ # mobx-rest | ||
only the changed attributes instead of the whole resource down the wire. | ||
- `keepChanges = false` Whether we want to keep the changes after the response from the API. | ||
@@ -287,0 +288,0 @@ Example: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62323
734