Skip to content
Compare
Choose a tag to compare
@CodeDredd CodeDredd released this 17 Sep 12:52

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