Skip to content

Conversation

@CodeDredd
Copy link
Owner

@CodeDredd CodeDredd commented Aug 30, 2023

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

🩹 Fixes

🔥 Performance

💅 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

🏡 Chore

❤️ Contributors

* 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
@CodeDredd CodeDredd marked this pull request as draft August 30, 2023 20:52
@CodeDredd CodeDredd changed the title fix(pinia-orm-1569): Wrong behaviour of $getOriginal (#1576) chore: v1.7.0 Aug 30, 2023
# Conflicts:
#	packages/pinia-orm/src/model/Model.ts
#	packages/pinia-orm/src/store/Config.ts
@codecov-commenter
Copy link

codecov-commenter commented Sep 1, 2023

Codecov Report

Patch coverage: 99.28% and project coverage change: +0.17% 🎉

Comparison is base (894ea87) 99.67% compared to head (8a1e061) 99.84%.
Report is 19 commits behind head on master.

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     
Files Changed Coverage Δ
packages/pinia-orm/src/support/Utils.ts 98.47% <85.71%> (-0.01%) ⬇️
packages/pinia-orm/src/query/Query.ts 99.51% <97.14%> (+0.01%) ⬆️
packages/pinia-orm/src/composables/useRepo.ts 100.00% <100.00%> (ø)
...kages/pinia-orm/src/composables/useStoreActions.ts 100.00% <100.00%> (ø)
packages/pinia-orm/src/model/Model.ts 100.00% <100.00%> (ø)
...ckages/pinia-orm/src/model/attributes/types/Uid.ts 100.00% <100.00%> (ø)
...ackages/pinia-orm/src/model/casts/CastAttribute.ts 100.00% <100.00%> (ø)
...ckages/pinia-orm/src/model/decorators/Contracts.ts 100.00% <100.00%> (ø)
...a-orm/src/model/decorators/attributes/types/Uid.ts 100.00% <100.00%> (ø)
...s/pinia-orm/src/packages/nanoid/casts/AsyncCast.ts 100.00% <100.00%> (ø)
... and 14 more

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

* 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>
edusperoni and others added 5 commits September 4, 2023 17:24
* 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>
edusperoni and others added 6 commits September 5, 2023 22:12
* 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>
* 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
…d` when inserting nested data with polymorphic relationships (#1648)

* fix(pinia-orm): `Uncaught TypeError: parent.$fields()[key] is undefined` when inserting nested data with polymorphic relationships

* refactor(pinia-orm): linting

* refactor(pinia-orm): remove comment

closes #1635
@tintin10q
Copy link
Contributor

When do you think you are going to release this?

@CodeDredd
Copy link
Owner Author

CodeDredd commented Sep 13, 2023

@tintin10q i have 4 todos open:

  • STI docs update
  • plugin docs update
  • plugin axios docs
  • docs package update

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
tintin10q and others added 8 commits September 17, 2023 12:12
* 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
@CodeDredd CodeDredd marked this pull request as ready for review September 17, 2023 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants