Description This is possibly the second last minor release before pinia-orm v2, and so many bug fixes and some new nice features are inside! ✨
If you wonder why i skipped v1.8.0...well that happend because i now implemented an auto changelog gen and i didn't wanted to change my git history because of a simple mistake. 😄
Big thanks @dev1437 for his prework
First of all some type fixes were made so you shouldn't get any errors anymore. Along of this there some nice type support features now
There is now a edge channel so you don't have to wait to try out new merged commits. The edge builds are also made for the other packages axios
, normalizr
& nuxt
Update pinia-orm
dependency inside package.json
:
package.json {
"devDependencies": {
- "pinia-orm": "^1.0.0"
+ "pinia-orm": "npm:pinia-orm-edge@latest"
}
}
Copy to clipboard Remove lockfile (package-lock.json
, yarn.lock
, or pnpm-lock.yaml
) and reinstall dependencies.
Update pinia-orm
dependency inside package.json
:
package.json {
"devDependencies": {
- "pinia-orm": "npm:pinia-orm-edge@latest"
+ "pinia-orm": "^1.0.0"
}
}
Copy to clipboard Remove lockfile (package-lock.json
, yarn.lock
, or pnpm-lock.yaml
) and reinstall dependencies.
compare changes
pinia-orm: Change orderBy execution (#1809 )pinia-orm: Improve DateCast & orderBy for Dates (#1825 )pinia-orm: Add where(Not)Null
and (or)where(Not)In
(#1831 )pinia-orm: : Attribute autocompletion in where and with (#816 )pinia-orm: Fallback added for not existing type prop in STI Models (#1835 )pinia-orm: Export for "dist" is broken (a3c734e )pinia-orm: Update vue 2 reactivity (#1773 )pinia-orm: Fix eager load relations with complex foreign/local keys (#1798 )nuxt: Import nuxt composables from #imports (#1729 )pinia-orm: Updates were wrong for hydrated cache for casts & mutators (#1823 )pinia-orm: Get mutators were wrong for updated models (#1824 )pinia-orm: saving
, updating
hooks second param had wrong values (#1826 )pinia-orm: Get mutator was called twice (#1827 )pinia-orm: Mutators still don't apply on update consistently (#1828 )pinia-orm: Relations don't use namespace to make/retrieve related model (#1834 )pinia-orm: $isDirty()
in hooks on model had wrong state (4ecf93f )pinia-orm: createORM()
had wrong type (#1830 )pinia-orm: Fix typo on axios setup guide (#1797 )Add edge channel to documentation (0696a1a ) Axios setup example was wrong (8cb2648 ) axios: Update docs and type descriptions for delete
(#1838 )Add edge release (6a0d649 ) Add changelogen config (401a35f ) Add bump and start 1.8.0 (ae3b7f2 ) Trigger edge release only on packages changes (a8f07ca ) Update linting so it works again (11ee966 ) axios: Build was failing cause of importing pinia (becc438 )axios: Linting (fc105f0 )Add changelog auto generation (67517dd ) Small fix changelog generation (89ad5c2 ) Wrong rep owner for changelog gen (35880c8 ) Change changelog gen condition (e0643e7 ) Broken workflow (b8cabe3 ) Add getContributors to utils (be51347 ) Clean up playgrounds (b4b0a4f ) Renovate should also include pin and digest (45f87aa ) Post more info for changelog generation for debugging (6ff54cd ) axios: Test were failing because pinia instance was not set (9c8f86d )pinia-orm: Add belongsToMany self relation test (#1807 )Fix workflow errors for cache (6b61206 ) Fix cache issue in workflows (b812020 ) Wrong versions (a7b864a ) Change branch master to main (ac1cc11 ) Wrong tag release branch (dba5cda ) Change node version (3728fc5 ) Add checkout (173a71c ) Fix build step in release ci (4a2ee8a ) Fix broken workflow (498b532 ) Fix broken workflow (934a436 ) Fix broken workflow (6d02a54 ) Update permission (c1cf3e6 ) Remove examples (db59d22 ) Add changelogen (c95f4c8 ) Update versions used for workflow (bbb8bab ) Fix changelog version check (4b0b95a ) Fix changeloggen currentPR not found (2ee4656 ) Remove currenPR console log (3da6251 ) Add release workflow (744fcaf ) Update changelog gen script to get the right PR (8ac3119 ) Script update changelog is failing (5e6a2f0 ) Ensure correct PR is found in changelog gen (de5a38e )