Skip to content

Releases: Sharkitek/Core

4.1.0

29 Jun 15:14
v4.1.0
e9cca58
Compare
Choose a tag to compare
  • 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

30 Mar 11:12
v4.0.0
8b1a1da
Compare
Choose a tag to compare
  • Clone function
  • Runtime type checking and errors when unexpected values are provided
  • Rewrite model system
  • Solve circular dependencies issues
  • Better testing

3.3.0

05 Oct 15:38
v3.3.0
6eee1b7
Compare
Choose a tag to compare

Rename save function to patch to be less confusing (it doesn't actually save anything).

3.2.2

05 Oct 14:57
v3.2.2
8f8dafe
Compare
Choose a tag to compare

Objects, arrays and models changes deep checks when checking if a model is dirty.

3.2.1

05 Oct 14:05
v3.2.1
ff9cb91
Compare
Choose a tag to compare

Fix date property change detection.

3.2.0

05 Oct 12:17
v3.2.0
e373efd
Compare
Choose a tag to compare

Add a way to get the identifier name of a model.

3.1.0

04 Oct 19:27
v3.1.0
4eb8b7d
Compare
Choose a tag to compare

Add models extension system.

3.0.2

04 Oct 15:46
v3.0.2
576338f
Compare
Choose a tag to compare

Improve returned model type for deserialize function.

3.0.1

04 Oct 15:09
v3.0.1
62e62f9
Compare
Choose a tag to compare
  • Add a new model class type.
  • Update branding.

3.0.0

04 Oct 13:01
v3.0.0
72df9f6
Compare
Choose a tag to compare

Models rewrite with new API for better typings and extensibility.