Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

v2.0.0

Choose a tag to compare

@rileytomasek rileytomasek released this 21 Apr 21:42
· 27 commits to master since this release
  • Make Model and Datastore immutable (#17) 75ad931

The values of a model or datastore class are now immutable and should be modified using .extend(), which will create a new instance with updated values. All of the methods for mutating a model or datastore have been removed.

Breaking Changes

Removed

  • Model.merge()
  • Model.setCache()
  • Model.getClient()
  • Model.setClient()
  • Model.getContext()
  • Model.updateContext()
  • Model.setContext()
  • Model.getParams()
  • Model.addParams()
  • Model.setParams()
  • Model.getEvents()
  • Model.addEvents()
  • Model.setEvents()

v1.2.12...v2.0.0