Skip to content

Latest commit

 

History

History
172 lines (89 loc) · 10.6 KB

CHANGELOG.md

File metadata and controls

172 lines (89 loc) · 10.6 KB

1.0.0-draft.16 (2021-11-19)

Bug Fixes

Features

1.0.0-draft.15 (2021-11-18)

Bug Fixes

Features

1.0.0-draft.14 (2021-05-31)

Bug Fixes

  • decorator: export HasManyBy decorator (#71) (08c1b4f)

Features

Breaking Changes

  • All persistent methods are now synchronous. Not async anymore.
  • All persistent methods returns either Model or Model[].
  • The save method is the only method that normalizes the given data. insert, fresh, update will not normalize data anymore.
  • Removing add, revise, replace method. Use insert, update, fresh instead.
  • the update method now only works with query constraints. userRepo.where('name', 'John').update({ name: 'Jane' }).

1.0.0-draft.13 (2021-05-10)

Features

  • add the new method to create and persist entry with default values (#57) (#68) (41d4c8c)

1.0.0-draft.12 (2021-05-07)

Bug Fixes

  • database type in repository is not correct due to wrong import path (7403ae7)
  • store is passed to the repository instead of database (4c8a573)

1.0.0-draft.11 (2021-05-06)

Bug Fixes

  • normalization error on nested relationship (#61) (239db67)

Features

  • add support for multiple databases (#53) (c319b3a)

1.0.0-draft.10 (2021-04-17)

Bug Fixes

  • repository: implement missing add & replace methods (#58) (09496aa)

1.0.0-draft.9 (2021-02-24)

Bug Fixes

  • nested relations not getting normalized correctly (#50) (ea6203b)

1.0.0-draft.8 (2021-01-28)

Features

  • fill relation on "make" (9c47d46)

1.0.0-draft.7 (2021-01-05)

Features

1.0.0-draft.6 (2020-11-16)

Features

  • add merge method to the repository (3fcbf6a)
  • add eager load constraints feature (ec7f274)

1.0.0-draft.5 (2020-11-16)

Bug Fixes

  • model: prevent _store from becoming a cyclic object value. (#11) (cc98785)

Features

Reverts

  • findin connection method (c78a13c)

1.0.0-draft.4 (2020-05-03)

Features

  • add mapRepos helper (#5) (4587db7)
  • add automatic database registration support (07c9915)

1.0.0-draft.3 (2020-05-03)

Bug Fixes

  • export missing use function (656618a)

1.0.0-draft.2 (2020-05-03)

Features

  • add make method to create a new model instance (538598a)
  • add custom repository support (#4) (6b768d9)
  • add plugin feature (#3) (4d4d5af)
  • throw error when accessing model.$store without store being injected (#2) (2e0f341)
  • model: add static fields method to define the model schema (9030c37)

1.0.0-draft.1 (2020-04-13)

Features

  • query: add primary closure support for the where clause (d41435a)
  • query: add secondary closure support for the where clause (a2e4c6c)
  • add order by feature (6fba9bc)

1.0.0-draft.0 (2020-04-10)

The fresh start.