Releases: Rekord/rekord
Releases · Rekord/rekord
Release 1.2.1
Major Changes
- Renamed Neuro[sync] to Rekord
- Added
rekord-validation
- Added
rekord-migrations
- Added
rekord-react
- Added batch operations
- Partial Documentation
- Promises integrated (custom implementation)
- Modularize code to download build based on desired features
- Added Static Analysis Tool (jshint)
Minor Changes
- Added files option
- Add Array prototype functions to Rekord.Collection
- Add an option which takes REST results and returns properties to apply to the model
- Create Rekord.Gate
- Add a filtered version of Rekord.ModelCollection
- Remove Query
- Add "Load More" functionality
- Add $autoRefresh function to Rekord.Model
- Add Rekord setRest, setLive, setDebug, setStore
- Removed having functions
- Add operations-started and operations-finished events to Model & Database
- Add eachWhere to Collection
- Add cascading push/pop/discard/cancel to ModelCollection
- Add cloneModels option to ModelCollection#clone
- Add refresh to ModelCollection
- Search[Paged] should trigger offline event if detected
- Add props and run options to search and searchPaged
- Replace timestampAsDate with timestampFormat and timestampType
- Replace loadRemote option with load
- Add Rekord.RestStatus to customize what HTTP status codes mean to the application
- Add persist and firstOrCreate plugins
- Added allComplete option
Important Testing
- Ensure when a remote call removes a related object, it only gets removed locally and not remotely.
- Ensure all remote failures pass the data returned by the server
- Ensure that querying and searching only look at the results of the latest request
Release 1.2.0
- Sharding for horizontal and vertical scalability added.
- Fetching model when loadRemote is false and it doesn't exist locally.
Release 1.1.14
- Add preserve option to relations
- Added model.search and model.searchPaged
Release 1.1.13
- Added transactions for listening when saving or removing have finished including all related models.
- Added test for a chain of cascading saves.
- Fixed removing model while iterating & added a test.
Release 1.1.12
Release 1.1.11
- Minor bug fixes
Release 1.1.10
- Fixed hasMany & hasManyThrough lazy loading
Release 1.1.9
- Pending operations occur after relationships have been loaded
- Added
$clone()
- Firefox testing
- Added
grab
andgrabAll
Release 1.1.8
- Added
find
refresh
to model. - Fixed $hasChanges() return true when ignored field has changed.
- Added offline events for saving, removing, and getting.
Release 1.1.7
- Minor bug fixes and improvements