Releases: Sharkitek/Core
Releases · Sharkitek/Core
4.1.0
- Add assign function to assign properties values using any object, silently ignoring fields which are not properties.
- Add from function to initialize a model and assign properties values using any object, silently ignoring fields which are not properties.
- Add applyPatch function to update models using objects returned by patch function.
- Add map type and document it.
- Add extend function to easily extend an inherited model.
- Change recommended model declaration.
- Improve code and tests style.
- Update dev dependencies.
- Improve README.
4.0.0
- Clone function
- Runtime type checking and errors when unexpected values are provided
- Rewrite model system
- Solve circular dependencies issues
- Better testing
3.3.0
Rename save function to patch to be less confusing (it doesn't actually save anything).
3.2.2
Objects, arrays and models changes deep checks when checking if a model is dirty.
3.2.1
Fix date property change detection.
3.2.0
Add a way to get the identifier name of a model.
3.1.0
Add models extension system.
3.0.2
Improve returned model type for deserialize function.
3.0.1
- Add a new model class type.
3.0.0
Models rewrite with new API for better typings and extensibility.