Skip to content

Releases: alexhisen/mobx-form-store

v3.0.0

15 Jul 08:04
Compare
Choose a tag to compare

dev: Upgrade Babel, Mocha, set up mocharc.json to enable running individual tests in WebStorm easily. Remove webpack compiling, just babel. feat: deep-merge objects and arrays (plain or observable) when storing data coming from server and in the updates object sent to server
feat: support detecting if whole-object replaces actually have changed in their content

v2.3.0...v3.0.0

v2.3.0

09 Feb 23:04
Compare
Choose a tag to compare
  • feat: If data object is provided to reset(), dataServer will be set to it and store.isReady will be set to true, same as when providing data object to the constructor.

v2.2.1...v2.3.0

v2.2.1

09 Feb 02:52
Compare
Choose a tag to compare
  • feat: ignoreMinRefreshInterval option for refresh() to allow refresh() to proceed even it was refreshed less than minRefreshInterval ago.

v2.2.0...v2.2.1

v2.2.0

03 Feb 22:31
Compare
Choose a tag to compare
  • feat: allowIfMustCreate option for refresh() to allow refresh() to proceed even after store with idProperty isReady.

v2.1.1...v2.2.0

v2.1.1

27 Jan 00:10
Compare
Choose a tag to compare
  • feat: deactivate saveNotification prior to save unless keepServerError is true.

v2.1.0...v2.1.1

v2.1.0

26 Jan 23:47
Compare
Choose a tag to compare
  • feat: new constructor option - saveNotificationStatusOnError - if set and server.set/create throw an error in save(), the saveNotification will be activated with this string in status.

v2.0.0...v2.1.0

v2.0.0

04 Nov 00:19
Compare
Choose a tag to compare
  • feat: status.mustCreate returns true if idProperty is defined and it's falsy in dataServer (not data!)
  • fix: BREAKING CHANGE. Previously, server.create() was called (instead of server.set()) only when the property defined as the idProperty in store.data was falsy. This worked well if the idProperty was only returned by the server and was not user-enterable. Now whether server.create() is called is driven by status.mustCreate.

v1.4.2...v2.0.0

v1.4.2

30 Oct 18:56
Compare
Choose a tag to compare
  • fix: Convert mobx observable arrays to plain arrays in the updates object passed to server.set/create (cleaner this way)

v1.4.1...v1.4.2

v1.4.1

30 Oct 08:22
Compare
Choose a tag to compare
  • fix: Properly support mobx observable arrays in the isSame determination.

v1.4.0...v1.4.1

v1.4.0

30 Oct 06:54
Compare
Choose a tag to compare

feat: Support array-type properties in the isSame determination.
feat: reset() now clears lastSync to re-enable load().

v1.3.3...v1.4.0