Releases

pinia-orm@1.7.2

Description

v1.7.2

Hotfix release for v1.7.1 which broke imports for old "dist"

🩹 Fixes

  • pinia-orm: Proper exports for collection and uid helpers (a3c734e)

❤️ Contributors

pinia-orm@1.7.1

Description

v1.7.1

Hotfix release

🩹 Fixes

  • pinia-orm: Proper exports for collection and uid helpers (#1681)

❤️ Contributors

pinia-orm@1.7.0

Description

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

pinia-orm@1.6.7

Description

v1.6.7

🩹 Fixes

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

❤️ Contributors

  • Gregor Becker

pinia-orm@1.6.6

Description

v1.6.6

🩹 Fixes

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

❤️ Contributors

  • Gregor Becker

pinia-orm@1.6.5

Description

v1.6.5

🩹 Fixes

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

❤️ Contributors

  • Gregor Becker
  • sergerdn

pinia-orm@1.6.4

Description

v1.6.4

🩹 Fixes

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

❤️ Contributors

  • Gregor Becker

pinia-orm@1.6.3

Description

v1.6.3

🩹 Fixes

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

❤️ Contributors

  • Gregor Becker

pinia-orm@1.6.2

Description

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

pinia-orm@1.6.1

Description

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

pinia-orm@1.6.0

Description

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

pinia-orm@1.5.1

Description

v1.5.1

🔥 Performance

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

❤️ Contributors

  • Gregor Becker

pinia-orm@1.5.0

Description

v1.5.0 - 🦖

🚀 Enhancements

  • pinia-orm: Support of composite key for some relations (#885)

🩹 Fixes

  • pinia-orm: new doesnt 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 new to api (#808)

🏡 Chore

  • normalizr: Add unpkg & jsdelivr support(c41f89d)

❤️ Contributors

  • Gregor Becker

pinia-orm@1.4.0

Description

v1.4.0 -🎄- Merry Christmas

🎁 Enhancements

  • pinia-orm: add hasManyThrough relation (#678)
  • pinia-orm: Add the possibility to rollback changed models. Adding $isDirty(), $getOriginal() and $refresh. (#757)

🕯️ Fixes

  • pinis-orm: Update hook not triggered with update method (fb1694f)
  • pinis-orm: @OnDelete on same model attrs leads to undefined error (#754)
  • pinia-orm: Don't delete relations bind with onDelete if 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

Description

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

  • Add requirements info for nuxt 2 users (#638)
  • Typo in example of quick-start.md (#652)

❤️ Contributors

  • Gregor Becker
  • yyydevf

pinia-orm@1.2.2

Description

v1.2.2

🩹 Fixes

  • pinia-orm: null is casted in DateCast (#565)

📖 Documentation

✅ Tests

  • pinia-orm: Fix number cast test for notNullable (#564)

❤️ Contributors

  • Gregor Becker
  • Thomas Klaas

pinia-orm@1.2.1

Description

v1.2.1

🩹 Fixes

  • pinia-orm: Delete on cascade doesn't work with n:m relations (#562)

📖 Documentation

  • Fix typos + minor tweaks (#558)

📦 Build

  • Trigger only ci in packages directory (59d55c4)

❤️ Contributors

  • Gregor Becker
  • Paolo Dina

pinia-orm@1.2.0

Description

v1.2.0 - 🐉

🚀 Enhancements

  • pinia-orm: Add the possibility to delete by cascade (#529)
  • pinia-orm: Enhance whereIn to support Set as 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 delete and destroy methods 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

Description

v1.1.0 - 🐦

🚀 Enhancements

  • pinia-orm: Add record field 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

Description

🩹 Fixes

  • pinia-orm: pivot are not correctly loaded (#438)

🏡 Chore

  • nuxt: Updated files to new package versions (#438)

❤️ Contributors

  • Gregor Becker
  • Carsten Ruetz

pinia-orm@1.0.3

Description

🩹 Fixes

  • pinia-orm: Multiple belongsToMany relations still wrong saved (#373)

❤️ Contributors

  • Gregor Becker

pinia-orm@1.0.2

Description

🩹 Fixes

  • pinia-orm: Multiple belongsTo relationships between 2 entities lead to unintended outcome (#369)

❤️ Contributors

  • Gregor Becker

pinia-orm@1.0.1

Description

🩹 Fixes

  • pinia-orm: Fallback for "Buffer is not defined" & fix cache config (#360)

❤️ Contributors

  • Gregor Becker

pinia-orm@1.0.0

Description

v1.0.0 - 💯

Enjoy a stable and feature rich orm for pinia ! 🍍

🚀 Enhancements

  • pinia-orm: Add an option to make fields hidden (#240)
  • pinia-orm: Add _meta field for models containing metadata (#240)
  • pinia-orm: Add global configuration options (#240)
  • nuxt: Add global configuration options (#240)
  • pinia-orm: Add helper composables for collection (#259)

🩹 Fixes

  • pinia-orm: (where)has queries are not working with 1:1 relations (#342)
  • playground: Remove vue-hako since it breaks with new vueuse version (#343)

💅 Refactors

  • pinia-orm: Renamed internally ModelOption field from mutator to operation (#240)

📖 Documentation

  • Add configuration options to api (#266)
  • Add missing icons (#266)
  • Update readme comparison (#266)
  • Collapse side nav items (#266)

🔥 Performance

  • pinia-orm: Add optional caching for same get requests (#272)

✅ Tests

  • pinia-orm: Add missing tests for better coverage (#257)

❤️ Contributors

  • Gregor Becker

pinia-orm@1.0.0-rc.6

Description

Warning There are slight API changes with this release candidate.

🚀 Enhancements

  • pinia-orm: Add groupBy method to query (#213)
  • pinia-orm: Added bundles for uid libs nanoid & uuid (#215)
  • pinia-orm: Add the possibility to use useRepo outside of setup() (#228)

🩹 Fixes

  • pinia-orm: The set method of casts is not called (#215)
  • pinia-orm: Nuxt 2 has problems with nullish coalescing operator (#228)

💅 Refactors

  • pinia-orm: ⚠️ Moved decorators to pinia-orm/dist/decorators (#185)
  • pinia-orm: ⚠️ Moved casts to pinia-orm/dist/casts (#215)
  • pinia-orm: ⚠️ Removed "string casting" with string, array, number and boolean (#215)
  • pinia-orm: ⚠️ Make field per default nullable(#229)

📖 Documentation

  • Add playground (#157)
  • Add missing load to api (#153)
  • Fix small typo (6f26c40)

🔥 Performance

🏡 Chore

  • pinia-orm: Update package.json for better file imports (ac4dd70)
  • pinia-orm: Improve typings for piniaOptions, useDataStore, useStoreActions and piniaStore (#204)
  • Switch from lerna to lerna-lite for workspace support
  • nuxt: Dependencies updates
  • pinia-orm: Dependencies updates

📦 Build

  • normalizr: Added own normalizr package (#191 )
  • pinia-orm: move from normalizr to @pinia-orm/normalizr (#192)

✅ Tests

❤️ Contributors

  • Gregor Becker

v@pinia-orm/nuxt@1.0.18

Description

Please refer to CHANGELOG.md for details.

pinia-orm@1.0.0-rc.5

Description

Warning There are slight API changes with this release candidate.

🚀 Enhancements

  • pinia-orm: make in repositories can create now multiple records (#133)
  • pinia-orm: Add retrieved life cycle hook (#145)

🩹 Fixes

  • nuxt: Adept changes from @pinia/nuxt (#150)
  • docs: Invalid layout fluid selected in docs

💅 Refactors

  • pinia-orm: ⚠️ Change PiniaORM.install() to createORM() (902f4c2)
  • pinia-orm: ⚠️ Remove findIn since find does the same (#144)

📖 Documentation

  • Update documentation for nuxt2 (#137)
  • Adding algolia search (#139)

🔥 Performance

🏡 Chore

  • Update release script (0b71a7d)
  • Remove default export in indexes and create build config for cjs (#142)

📦 Build

  • Move to unbuild (#142)

✅ Tests

❤️ Contributors

  • Gregor Becker

Please refer to CHANGELOG.md for details.

pinia-orm@1.0.0-rc.4

Description

Please refer to CHANGELOG.md for details.

pinia-orm@1.0.0-rc.3

Description

Please refer to CHANGELOG.md for details.

v@pinia-orm/nuxt@1.0.17

Description

Please refer to CHANGELOG.md for details.

pinia-orm@1.0.0-rc.2

Description

Please refer to CHANGELOG.md for details.

pinia-orm@1.0.0-rc.1

Description

Please refer to CHANGELOG.md for details.

pinia-orm@1.0.0-alpha.2

Description

Please refer to CHANGELOG.md for details.

v@pinia-orm/nuxt@1.0.16

Description

Please refer to CHANGELOG.md for details.

pinia-orm@1.0.0-alpha.1

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.14.0

Description

Please refer to CHANGELOG.md for details.

v@pinia-orm/nuxt@1.0.15

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.13.0

Description

Please refer to CHANGELOG.md for details.

v@pinia-orm/nuxt@1.0.14

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.12.1

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.12.0

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.11.0

Description

Please refer to CHANGELOG.md for details.

v@pinia-orm/nuxt@1.0.13

Description

Please refer to CHANGELOG.md for details.

v@pinia-orm/nuxt@1.0.12

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.10.0

Description

Please refer to CHANGELOG.md for details.

v@pinia-orm/nuxt@1.0.11

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.9.3

Description

Please refer to CHANGELOG.md for details.

v@pinia-orm/nuxt@1.0.10

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.9.2

Description

Please refer to CHANGELOG.md for details.

v@pinia-orm/nuxt@1.0.9

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.9.1

Description

Please refer to CHANGELOG.md for details.

v@pinia-orm/nuxt@1.0.8

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.9.0

Description

Please refer to CHANGELOG.md for details.

v@pinia-orm/nuxt@1.0.7

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.8.4

Description

Please refer to CHANGELOG.md for details.

pinia-orm@0.8.0

Description

First release

v@pinia-orm/nuxt@1.0.5

Description

Please refer to CHANGELOG.md for details.