Releases: infinum/datx
Releases · infinum/datx
v2.3.1
Changelog:
- all: fix the TypeScript typings issue from v2.3.0
- all: Use exact versions between dependencies
v2.3.0
Changelog:
- core: Add a map attribute property
- PR: #465
- Docs: https://datx.dev/docs/api-reference/attribute#map
- Example:
@Attribute({ map: 'first_name' }) public firstName: string;
instead of@Attribute({ parse: (value: string, data: Record<string, string>) => data.first_name }) public firstName: string;
v2.2.3
v2.2.2
v1.1.3
Changelog:
- core - Fix issue where the type was not updated on
updateModel
even if it wasn't a model type (just a regular prop) - jsonapi - Fixes the issue from core
v1.1.2
Changelog:
- core - Fix issue where all models that extends a custom model (e.g. BaseModel) share their props
v1.1.1
v2.2.0
v1.1.0
v2.1.1
Changelog:
- jsonapi: Fix issue where a model would be removed from the collection after the
save()
call