Releases: CodeDredd/pinia-orm
Releases · CodeDredd/pinia-orm
pinia-orm@1.5.0
v1.5.0 - 🦖
🚀 Enhancements
- pinia-orm: Support of composite key for some relations (#885)
🩹 Fixes
- pinia-orm:
newdoesnt fire creating or created hook (#808)
🔥 Performance
- pinia-orm: Querying models with belongsToMany relation are extremely slow (#876)
- pinia-orm: Improve caching for hydrated models #889
📖 Documentation
- Add missing
newto api (#808)
🏡 Chore
- normalizr: Add unpkg & jsdelivr support(c41f89d)
❤️ Contributors
- Gregor Becker
pinia-orm@1.4.0
v1.4.0 -🎄- Merry Christmas
🎁 Enhancements
- pinia-orm: add
hasManyThroughrelation (#678) - pinia-orm: Add the possibility to rollback changed models. Adding
$isDirty(),$getOriginal()and$refresh. (#757)
🕯️ Fixes
- pinis-orm: Update hook not triggered with
updatemethod (fb1694f) - pinis-orm:
@OnDeleteon same model attrs leads to undefined error (#754) - pinia-orm: Don't delete relations bind with
onDeleteif hook returns false (3531a06)
🤶 Performance
- pinia-orm: Improve hydrating check (#679)
- pinia-orm: Remove
JSON.stringfy()for comparing objects (300482d)
☃️ Refactors
- pinia-orm: Improve typescript handling with
piniaStore()(a8628c8)
🎅 Documentation
- Add some missing model functions to api (ce54b23)
❤️ Contributors
- Gregor Becker
- Santa Clause
pinia-orm@1.3.0
v1.3.0 - 🐲
🚀 Enhancements
- pinia-orm: Add the option to sort case insensitive with
sortBy(#636)
🩹 Fixes
- pinia-orm: Query constraints with nested relations in m:m relations broken (#625)
💅 Refactors
- normalizr: Reduce code used by orm (#641)
🔥 Performance
- pinia-orm: Save hydrated models if not updated (#671)
📖 Documentation
❤️ Contributors
- Gregor Becker
- yyydevf
pinia-orm@1.2.2
pinia-orm@1.2.1
pinia-orm@1.2.0
v1.2.0 - 🐉
🚀 Enhancements
- pinia-orm: Add the possibility to delete by cascade (#529)
- pinia-orm: Enhance
whereInto supportSetas values (#537) - pinia-orm: Attributes can now accept closures for default value (#544)
- pinia-orm: Add simple
DateCast(#546)
🩹 Fixes
- docs: Docs broken with nuxt3.0.0-rc.13 (#543)
- pinia-orm: Using childRepo (STI) for saving without type defined (#555)
💅 Refactors
- pinia-orm: Remove unnecessary fallback since config is always set (#555)
📖 Documentation
- Fixed some broken links (#529)
- Added missing
deleteanddestroymethods to api (#529) - Added decorator example for STI (#555)
- Fix broken cards on index (bb99b49)
✅ Tests
- pinia-orm: Add a missing test for
throwError(#529)
❤️ Contributors
- Gregor Becker
pinia-orm@1.1.0
v1.1.0 - 🐦
🚀 Enhancements
- pinia-orm: Add
recordfield to saving hooks (#491)
💅 Refactors
- pinia-orm: Made all relation class properties public so they can be accessed (#491)
📖 Documentation
- Updated to current docus version & using new nuxt static generate (#473)
- Wrong chaining example with
groupBy(#482) - Correct STI example for simple inhertance (09b9dcf)
📦 Build
- Removed Algolia CI Crawler since pages are crawled by generate now. (82b9cc4)
✅ Tests
- pinia-orm: Finish skipped test for error handling (40cf182)
❤️ Contributors
- Gregor Becker
- Thomas Klaas
pinia-orm@1.0.4
pinia-orm@1.0.3
🩹 Fixes
- pinia-orm: Multiple belongsToMany relations still wrong saved (#373)
❤️ Contributors
- Gregor Becker
pinia-orm@1.0.2
🩹 Fixes
- pinia-orm: Multiple belongsTo relationships between 2 entities lead to unintended outcome (#369)
❤️ Contributors
- Gregor Becker