Rawmodel Framework Versions Save

Strongly-typed JavaScript object with support for validation and error handling.

3.3.0

4 years ago
  • Renaming @prop interface properties.
  • Upgrade model's getRoot method to getAncestors.
  • Only enumerable properties are not populatable and serializable.

3.2.0

4 years ago
  • Consolidating createModelClass configuration interfaces.

3.1.0

4 years ago
  • Adding createModelClass method to @rawmodel/core.

3.0.0

4 years ago
  • 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

4 years ago
  • Now sharing model context with cast handlers.
  • Updating dependencies.

2.3.0

5 years ago
  • Fixing readme bugs.
  • Fixing property value (functions).

2.2.0

5 years ago
  • Fixing context of setters, getters, default values, fake values, validators, and handlers.
  • Updating dependencies.

2.1.0

5 years ago
  • Optimized model initialization.
  • Fixing serialization strategy bug.

2.0.0

5 years ago

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 https://github.com/rawmodel/framework/issues/27 for details.

1.33.0

5 years ago
  • Fix performance issue (by @leonpanjtar).
  • Dependencies update.