-
-
Notifications
You must be signed in to change notification settings - Fork 43
chore: v1.7.0 #1578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
chore: v1.7.0 #1578
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* fix(pinia-orm-1569): Wrong behaviour of `$getOriginal` * refactor(pinia-orm-1569): fix build error * refactor(pinia-orm-1569): fix test * refactor(pinia-orm-1569): add clearing closes #1576
$getOriginal (#1576)# Conflicts: # packages/pinia-orm/src/model/Model.ts # packages/pinia-orm/src/store/Config.ts
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1578 +/- ##
==========================================
+ Coverage 99.67% 99.84% +0.17%
==========================================
Files 88 86 -2
Lines 5776 5873 +97
Branches 489 494 +5
==========================================
+ Hits 5757 5864 +107
+ Misses 17 6 -11
- Partials 2 3 +1
☔ View full report in Codecov by Sentry. |
* docs(pinia-orm-1333): Broken link or missing reference * docs(pinia-orm): update note display * docs(pinia-orm): wrong closing closes #1333
* feat: uid options * feat: uid options - nanoid custom alphabet support * feat: uid options - update docs * feat: uid options - fix tests * refactor(pinia-orm): linting * refactor(pinia-orm): fix rules correctly * refactor(pinia-orm): Add better types & test coverage * refactor(pinia-orm): linting --------- closes #1509 Co-authored-by: Sergey Danilchenko <s.danilchenko@ttbooking.ru> Co-authored-by: Gregor Becker <gregor.becker@bpcs-consult.com>
* feat: improve lookup performance and allow composite key lookup * test(pinia-orm): add find composite key test closes #1205 --------- Co-authored-by: Gregor Becker <gregor@codedredd.de> Co-authored-by: Gregor Becker <gregor.becker@bpcs-consult.com>
* chore(deps): update devdependency @types/node to ^18.17.13 * chore(deps): update devdependency @types/node to ^18.17.13 * chore(deps): update devdependency @iconify/json to ^2.2.110 * chore: update sponsors * chore(deps): update all non-major dependencies * chore(deps): update devdependency @types/node to ^18.17.14 * chore(deps): update devdependency unplugin-icons to ^0.17.0 * chore(deps): update devdependency @typescript-eslint/parser to ^6.5.1-alpha.18 * chore(deps): update devdependency @typescript-eslint/parser to ^6.5.1-alpha.19 * chore(deps): update devdependency @typescript-eslint/parser to ^6.5.1-alpha.20 * chore(deps): update devdependency @typescript-eslint/parser to ^6.5.1-alpha.21 * chore(deps): update devdependency @iconify/json to ^2.2.111 * chore(deps): update devdependency @typescript-eslint/parser to ^6.5.1-alpha.22 * chore(deps): update actions/checkout action to v4 * chore(deps): update devdependency @typescript-eslint/parser to ^6.6.0 * feat: improve performance by mutating the state --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Gregor Becker <gregor@codedredd.de>
…lso some code refactorings.
* feat(pinia-orm-1437): Add namespace option for the store * refactor(pinia-orm): change build command & fix small typo * ci(pinia-orm): change build:ci to build * ci(pinia-orm): change ci build steps * ci(pinia-orm): add stub build * ci(pinia-orm): fix build stub command * ci(pinia-orm): fix build prepare command * ci(pinia-orm): fix other commands * ci(pinia-orm): change size command * refactor(pinia-orm): linting closes #1437
* fixed vuex orm typo in the docs * added docs for composite primary key lookups
Contributor
|
When do you think you are going to release this? |
Owner
Author
|
@tintin10q i have 4 todos open:
So the "only" think left i have todo are docs ... 🙄 |
* docs: upgrade dependencies & improve styling * docs: fix search api & update index * docs: update yarn lock
* feat(axios): Create package * feat(axios): Create package * refactor(axios): update working axios plugin * feat(axios): add composables & axios repository * refactor(axios): make build work & correct typings * refactor(axios): update config * feat(pinia-orm): add plugins option * feat(pinia-orm): finish add plugin feature * test(axios): make tests work * refactor(pinia-orm): cleanup types * refactor(pinia-orm): linting * refactor(pinia-orm): fix build typings * refactor(pinia-orm): adjust size * refactor(axios): linting * test(axios): add test for extending repository * feat(axios): add first docs & add `define` function for plugins * docs(axios): continue writing * docs(axios): port more docs from vuex-orm axios * refactor(axios): linting * refactor(axios): vuex typos
# Conflicts: # package.json # packages/nuxt/package.json # pnpm-lock.yaml
This is handy if you want to create a custom `useRepo` composable
* Added pinia-orm playground to reproduction links * Removed confusing Could this feature be implemented as a module in feature request template. It is from nuxt and doesn't make sense in the pinia-orm repo * Added playground suggestion to enviroment in bug report template and made it optional because somethings it is just not needed
resolves #1645
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
setModelfor Repository (d0cd5e6)destroyandonDelete(feat(pinia-orm): Composite primary key can now be used withdestroyandonDelete#1671)🩹 Fixes
$getOriginal#1576)pinaStoreinstance was wrong on STI models (feat(pinia-orm): Add namespace option for the store #1618)Uncaught TypeError: parent.$fields()[key] is undefiedwhen inserting nested data with polymorphic relationships (fix(pinia-orm):Uncaught TypeError: parent.$fields()[key] is undefiedwhen inserting nested data with polymorphic relationships #1648)🔥 Performance
💅 Refactors
useRepowas having the wrong type for repositories (be3c4f4)📖 Documentation
🏡 Chore
❤️ Contributors