Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mobx-state-tree

Package Overview
Dependencies
Maintainers
8
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobx-state-tree - npm Package Versions

1
13

0.10.0-rc.1

Diff

mweststrate
published 0.9.5 •

Changelog

Source

0.9.5

  • Asynchronous actions are now a first class concept in mobx-state-tree. See the docs
mweststrate
published 0.9.4 •

Changelog

Source

0.9.4

  • Introduced types.null and types.undefined
  • Introduced types.enumeration(name?, options)
mattiamanzati
published 0.9.3 •

Changelog

Source

0.9.3

  • Fix note that a snapshot is compatible when assigning a type to an optional version of itself
  • Fix error when deleting a non existing item from a map #255
  • Now all required TypeScript interfaces are exported in the main mobx-state-tree package #256
mweststrate
published 0.9.2 •

Changelog

Source

0.9.2

Introduced the concept of reverse patches, see #231

  • Introduced the revertPatch operation, that takes a patch or list of patches, and reverse applies it to the target.
  • onPatch now takes a second argument, includeOldValue, defaulting to false, which, if set to true, includes in the patch any value that is being overwritten as result of the patch. Setting this option to true produces patches that can be used with revertPatch
  • patchRecorder now introduces additional fields / methods to be able to reverse apply changes: patchRecorder.cleanPatches, patchRecorder.undo
mattiamanzati
published 0.9.1 •

Changelog

Source

0.9.1

  • Applying a snapshot or patches will now emit an action as well. The name of the emitted action will be @APPLY_PATCHESresp @APPLY_SNAPSHOT. See #107
  • Fixed issue where same Date instance could'nt be used two times in the same state tree #229
  • Fixed issue with reapplying snapshots to Date field resulting in snapshot typecheck error#233
  • Declaring types.maybe(types.frozen) will now result into an error #224
  • Added support for Mobx observable arrays in type checks #221 (from alessioscalici)
mweststrate
published 0.9.0 •

Changelog

Source

0.9.0

  • BREAKING Removed applyPatches and applyActions. Use applyPatch resp. applyAction, as both will now also accept an array as argument
  • BREAKING unprotect and protect can only be applied at root nodes to avoid confusing scenarios Fixed #180
  • Fixed #141, actions / views are no longer wrapped in dynamically generated functions for a better debugging experience
  • Small improvements to typings, fixed compilation issues with TypeScript 2.4.1.
  • Fixed issues where compose couldn't overwrite getters. #209, by @homura
  • Fixed CDN links in readme
  • Added TodoMVC to the examples section
mattiamanzati
published 0.8.2 •

Changelog

Source

0.8.2

  • Fixed issue in rollup module bundle
mweststrate
published 0.7.3 •

Changelog

Source

0.7.3

  • Introduced the concept of volatile / local state in models. See #168, or docs
  • Fixed issue with types.map() with types.identifier(types.number) #191 reported by @boatkorachal
  • Fixed issue with reconciler that affected types.map when node already existed at that key reported by @boatkorachal #191
mattiamanzati
published 0.7.2 •

Changelog

Source

0.7.2

  • Fixed cannot read property resolve of undefined thanks to @cpunion for reporting, now value of dead nodes will be undefined. #186
  • Fixed [LateType] is not defined thanks to @amir-arad for reporting, when using late as model property type #187
  • Fixed Object.freeze can only be called on Object thanks to @ds300 for reporting, when using MST on a ReactNative environment #189
  • Now the entire codebase is prettier! :D #187
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc