Skip to content

Releases: rawmodel/framework

3.3.0

03 Oct 15:58
07d9fb8
Compare
Choose a tag to compare
  • Renaming @prop interface properties.
  • Upgrade model's getRoot method to getAncestors.
  • Only enumerable properties are not populatable and serializable.

3.2.0

27 Sep 23:15
270ba24
Compare
Choose a tag to compare
  • Consolidating createModelClass configuration interfaces.

3.1.0

27 Sep 23:08
aabfeed
Compare
Choose a tag to compare
  • Adding createModelClass method to @rawmodel/core.

3.0.0

14 Sep 14:09
91ec097
Compare
Choose a tag to compare
  • Replacing typecasting with a new type parsing mechanism.
  • Removing methods model.collect, model.filter, model.scroll and prop.isModel.
  • Refactoring model.flatten() to return serialized data and support serialization strategies.
  • Now supporting validation on polymorphic arrays.
  • Adding createModelClass method to create model classes from a JSON definition.
  • Most of the validators do not trigger on null or undefined values anymore except special ones which verify presence.
  • Property error objects have a new structure.
  • Updating readme documentation.

2.4.0

12 Jul 18:02
b9a05cf
Compare
Choose a tag to compare
  • Now sharing model context with cast handlers.
  • Updating dependencies.

2.3.0

11 Apr 11:56
8c8e225
Compare
Choose a tag to compare
  • Fixing readme bugs.
  • Fixing property value (functions).

2.2.0: Merge pull request #54 from xpepermint/master

10 Apr 08:03
86a74fc
Compare
Choose a tag to compare
  • Fixing context of setters, getters, default values, fake values, validators, and handlers.
  • Updating dependencies.

2.1.0

04 Dec 14:05
9796c21
Compare
Choose a tag to compare
  • Optimized model initialization.
  • Fixing serialization strategy bug.

RawModel 2.0

19 Sep 07:10
02be1c6
Compare
Choose a tag to compare

This is a completely new version of the RawModel package. Almost all the source code was refactored. Here are some of the major changes:

  • Switching to monorepo project structure (root package is now @rawmodel/core).
  • No dependencies.
  • Smaller package size and performance boost.
  • Using decorators to define model properties.
  • Decoupling predefined validators and handlers.

See #27 for details.

1.33.0

25 Aug 09:23
Compare
Choose a tag to compare
  • Fix performance issue (by @leonpanjtar).
  • Dependencies update.