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.