All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Dependencies updated
- New method
postStructValidate
to add extra validation post struc validation
- Updated
api
dependency
- API post save hook
- Now
format
method can be asynchronous
- API upgraded to v4 (
api-session
injected) (BREAKING CHANGE) - Model v3 compatibility (
api-session
injection) (BREAKING CHANGE)
- README fixed for relationship models property
modelClass
- Relationships are now saved properly
- Empty relationships now works as expected instead of throwing an error
- Client models not work as expected
- Now the validation struct is defined as 3 optional getters (BREAKING CHANGE). See README for new documentation.
- Now the validation struct can return a simple object, not a struct function.
- README updated and improved
- Default struct fixed so it now returns no relationships
- Support for client specific models instanciation
- Now save APIs rely on API package, so they can be handled as common REST APIs
- README updated
- Browse APIs paths changed. Now MS_PATH env var is taken into account.
- Now relationships configurations receive a
modelClass
instead of amodel
- Version bump for already published version 1.1.1
- ApiSaveData now checks for not saved MainData
- ApiSaveData now accepts a
format()
hook to manipulate main data before saving
- ApiSave renamed to ApiSaveData
- Project inited
- API Handler
- Tests