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

mobx-state-tree

Package Overview
Dependencies
Maintainers
7
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

4.0.1-rc.0

Diff

bnaya
published 4.0.0-rc.0 •

bnaya
published 3.17.2 •

Changelog

Source

3.17.2

Fix incorrect access to global fail symbol #1549

bnaya
published 3.17.1 •

Changelog

Source

3.17.1

Re-release 3.17.0

mweststrate
published 3.16.0 •

Changelog

Source

3.16.0

  • Added search field to the docs
  • Custom types can now receive environments as second argument of the fromSnapshot option. #1410 by @k-g-a
  • Added option maxHistoryLength to the UndoManager, implements #1417 through #1426 by @tibotiber.
  • Improved TypeScript typings of flow, fixes #1378 through #1409 by @nulladdict
  • Fixed that calling createObservableInstanceIfNeeded would execute an action, even if the function immediately returned. (significant since the extraneous actions would pollute the mobx dev-tools on mere accesses, eg. by ComplexType.prototype.getValue) Fixes #1421 trough #1422 by @Venryx
  • Fix issue where snapshotProcessor.is does not correctly handle model instances. Fixes #1494 through #1495 by @KevinSjoberg
  • Make sure that MST no longer requires setImmediate to be present, but fallback to other solutions. #1501 by @isaachinman
xaviergonz
published 3.15.0 •

Changelog

Source

3.15.0

  • Fix for flow typings. This means that now using flows requires at least TypeScript v3.6 and that castFlowReturn becomes deprecated.
  • Fix for empty models / models with all properties set to optional being able to take any value in TypeScript through #1269 by @xaviergonz.
mweststrate
published 3.14.1 •

Changelog

Source

3.14.1

  • Made it possible to force full run-time type-checking (for better error messages) in production builds by setting ENABLE_TYPE_CHECK=true as environment variable. Fixes #1332 through #1337 by @OverseePublic
  • Fixed an issue where Type.is doesn't behave correctly for types that has snapshot processors. Fixes #1321 through #1323 by @Tucker-Eric
  • Changed the implementation of the internal STNValue type, to fix TS 3.5.3 compatibility. If somebody notices regressions in the TypeScript integration, please report. Fixes #1343, #1307
  • Added acceptsUndefined as option for safeReference so it is more suitable to be used inside arrays/maps, through #1245 by @xaviergonz.
xaviergonz
published 3.14.0 •

Changelog

Source

3.14.0

  • Fixed a regression with atomic middleware with async flows #1250.
  • Added filter function to recordActions to filter out recording some actions. Also added recording and resume methods.
  • Added getRunningActionContext() to get the currently executing MST action context (if any). Also added the action context helper functions isActionContextChildOf() and isActionContextThisOrChildOf.
  • Reduced type nesting to avoid Typescript 3.4 errors about infinite types. Sadly due to this change types.create is no longer smart enough in TS to know if skipping the snapshot parameter is valid or not. Through #1251 by @xaviergonz.
xaviergonz
published 3.13.0 •

Changelog

Source

3.13.0

  • Fixed Instance<typeof variable> not giving the proper type in Typescript when the type included both objects and primitives.
  • Through PR #1196 by @xaviergonz
    • Added createActionTrackerMiddleware2, a more easy to use version of the first one, which makes creating middlewares for both sync and async actions more universal.
    • Added an optional filter to recordPatches to be able to skip recording certain patches.
    • atomic now uses the new createActionTrackerMiddleware2.
    • UndoManager fixes and improvements:
      • Uses the new createActionTrackerMiddleware2.
      • Added clearUndo and clearRedo to only clear those.
      • Added undoLevels and redoLevels to know how many undo/redo actions are available.
      • Made undo manager actions atomic, so they won't actually do any partial changes if for some reason they fail.
      • Fix for withoutUndo so it will only skip recording what is inside, not the whole action - fixes #1195.
xaviergonz
published 3.12.2 •

Changelog

Source

3.12.2

  • Added more output formats for the library (common-js minified version and umd minified version). Note that now the umd version will be the development version while the new umd.min version will be the production version. This change is to keep it in sync with the parent mobx package. Also the npm package is now leaner since it mistakenly included separatedly compiled js files and source maps.
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