Skip to content

Releases: CodeDredd/pinia-orm

[email protected]

17 Sep 12:52
Compare
Choose a tag to compare

v1.7.0 - 🐦

This update is a huge one. I think the biggest change people always asked about is the axios plugin. It's fiinally there.
But most importantly now you are able to extend pinia-orm like you want with the plugin system.

🚀 Enhancements

  • pinia-orm: Add options for uid, nanoid/uid and uuid/uid (#1510)
  • pinia-orm: Allow composite key lookup (#1206)
  • pinia-orm: Add namespace option for the store (#1618)
  • pina-orm: Add plugin system (#1603)
  • axios: Create new plugin package for axios (#1603)
  • pinia-orm: Add setModel for Repository (d0cd5e6)
  • pinia-orm: Throw an error when trying to save a list into a 1:1 relationship (#1670)
  • pinia-orm: Add HMR support (dcbc02e)
  • pinia-orm: Composite primary key can now be used with destroy and onDelete (#1671)

🩹 Fixes

  • pinia-orm: Wrong behaviour of $getOriginal (#1576)
  • pinia-orm: Repository pinaStore instance was wrong on STI models (#1618)
  • pinia-orm: Uncaught TypeError: parent.$fields()[key] is undefied when inserting nested data with polymorphic relationships (#1648)

🔥 Performance

  • pinia-orm: Improve lookup performance for huge datasets (#1206)
  • pinia-orm: Improve performance by mutating the state (#1604)

💅 Refactors

  • pinia-orm: useRepo was having the wrong type for repositories (be3c4f4)
  • pinia-orm: Add correct operation for insert (25090ec)
  • pinia-orm: Make nanoid async uuid deprecated (4d1a21e)

📖 Documentation

  • Typo with vuex-orm instead of pinia-orm (#1577)
  • Removed duplicate Relationsihps > Getting Started > Loading Nested Relationship (#1369)
  • Couple of typos (#1183)
  • Typo in docs examples: form -> from (#1590)
  • Broken link or missing reference (#1596)
  • Fixed insert incorrect example (#1628)
  • Update dependencies & fix small display errors (#1627)
  • Adapt STI docs to be more correctly (7c5a23e)

🏡 Chore

  • Update lint rules & packages (be0ca45)
  • Remove lerna for building and just use pnpm (#1618)
  • Change renovate cycle (5284a7b)
  • Remove agolia workflow (43f0dcc)
  • Issue template improvement (#1636)

❤️ Contributors

[email protected]

28 Mar 18:15
Compare
Choose a tag to compare

v1.6.7

🩹 Fixes

  • pinia-orm: Build broken cause of missing files (ecaed0f)

❤️ Contributors

  • Gregor Becker

[email protected]

28 Mar 15:52
Compare
Choose a tag to compare

v1.6.6

🩹 Fixes

  • nuxt: Nuxt 3 throws error on build & dev (#1136)
  • nuxt: Types wrong exported (#1136)

❤️ Contributors

  • Gregor Becker

[email protected]

27 Mar 07:00
Compare
Choose a tag to compare

v1.6.5

🩹 Fixes

  • pinia-orm: Improve Date serialization in Model class (#1121)
  • pinia-orm: $refresh() is not working (#1125)

❤️ Contributors

  • Gregor Becker
  • sergerdn

[email protected]

24 Mar 16:30
Compare
Choose a tag to compare

v1.6.4

🩹 Fixes

  • pinia-orm: DateCast still causing unexpected result (519681c)

❤️ Contributors

  • Gregor Becker

[email protected]

24 Mar 16:10
Compare
Choose a tag to compare

v1.6.3

🩹 Fixes

  • pinia-orm: DateCast with null causes type error with empty object (2caa97a)

❤️ Contributors

  • Gregor Becker

[email protected]

24 Mar 13:03
Compare
Choose a tag to compare

v1.6.2

🩹 Fixes

  • pinia-orm: Shared hydration cache was not working correctly (#1113)
  • pinia-orm: Hooks are not triggering casts(#1113)
  • pinia-orm: new() is not cached in the hydration cache (#1113)
  • pinia-orm: save() results weren't cached in the hydration cache (#1113)

💅 Refactors

  • pinia-orm: use model $getKey for id creation instead of custom logic (#1113)

❤️ Contributors

  • Gregor Becker

[email protected]

22 Mar 19:26
Compare
Choose a tag to compare

v1.6.1

🚀 Enhancements

  • pinia-orm: Add the option for new() not to persist the model (#1107)

📖 Documentation

  • Add target blank to link
  • Fix query examples (d59ad1d)

❤️ Contributors

  • Gregor Becker

[email protected]

22 Mar 10:21
Compare
Choose a tag to compare

v1.6.0 - 🦕

🚀 Enhancements

  • pinia-orm: Add morphToMany relation (#1060)
  • pinia-orm: Pinia actions triggering repo actions (#1066)
  • nuxt: Add nuxt devtools support (#1100)
  • nuxt: Add autoimports with default useRepo (#1100)

🩹 Fixes

  • pinia-orm: Types in hooks were conflicting (#1074)
  • nuxt: Add missing config options (#1100)

🔥 Performance

  • pinia-orm: Shared hydration cache (#1066)

💅 Refactors

  • nuxt: Use nuxt kit resolver instead of node resolver (#1100)

📖 Documentation

  • Fixed syntax of 'Global Lifecycle Hooks' section (#1057)
  • Changed :::tip for ::alert{type='info'} (#1053)
  • Remove not correct await (#1087)
  • Add "what is pinia orm" (4ca4b8e)

🏡 Chore

  • pinia-orm: Resolve conflict with eslint config upgrade (#1092)
  • nuxt: Update build configuration (#1100)
  • Add Sponsorkit (#1097)

❤️ Contributors

  • Gregor Becker
  • Carlos Gamez

[email protected]

24 Jan 13:51
Compare
Choose a tag to compare

v1.5.1

🔥 Performance

  • pinia-orm: Improve find speed for huge data (1714d7a)

❤️ Contributors

  • Gregor Becker