From: Eduardo San Martin Morote Date: Wed, 15 Dec 2021 09:54:13 +0000 (+0100) Subject: refactor: move to vuejs org X-Git-Tag: @pinia/nuxt@0.1.7~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09e85dc6cb69492971e7796aec8b1a2b652c77b7;p=thirdparty%2Fvuejs%2Fpinia.git refactor: move to vuejs org --- diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 8f00c20c..5be82417 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,10 +1,10 @@ blank_issues_enabled: false contact_links: - name: Question - url: https://github.com/posva/pinia/discussions/new?category=Q-A + url: https://github.com/vuejs/pinia/discussions/new?category=Q-A about: Ask a question or discuss about Pinia - name: Ideas - url: https://github.com/posva/pinia/discussions/new?category=Ideas + url: https://github.com/vuejs/pinia/discussions/new?category=Ideas about: Start a discussion to improve Pinia - name: GitHub Sponsors url: https://github.com/sponsors/posva diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 0fe28e91..4eb4d08a 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -20,4 +20,4 @@ jobs: with: tag_name: ${{ github.ref }} body: | - Please refer to [CHANGELOG.md](https://github.com/posva/pinia/blob/v2/packages/pinia/CHANGELOG.md) for details. + Please refer to [CHANGELOG.md](https://github.com/vuejs/pinia/blob/v2/packages/pinia/CHANGELOG.md) for details. diff --git a/README.md b/README.md index 48f4cd8f..c6c78048 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@

npm package - build status - code coverage + build status + code coverage


diff --git a/packages/docs/.vitepress/config.js b/packages/docs/.vitepress/config.js index 1aa62b08..2ea83e02 100644 --- a/packages/docs/.vitepress/config.js +++ b/packages/docs/.vitepress/config.js @@ -123,7 +123,7 @@ module.exports = { ], themeConfig: { - repo: 'posva/pinia', + repo: 'vuejs/pinia', logo: '/logo.svg', docsDir: 'packages/docs', docsBranch: 'v2', @@ -152,7 +152,7 @@ module.exports = { items: [ { text: 'Discussions', - link: 'https://github.com/posva/pinia/discussions', + link: 'https://github.com/vuejs/pinia/discussions', }, { text: 'Chat', @@ -164,7 +164,7 @@ module.exports = { }, { text: 'Changelog', - link: 'https://github.com/posva/pinia/blob/v2/packages/pinia/CHANGELOG.md', + link: 'https://github.com/vuejs/pinia/blob/v2/packages/pinia/CHANGELOG.md', }, ], }, diff --git a/packages/docs/cookbook/migration-0-0-7.md b/packages/docs/cookbook/migration-0-0-7.md index f5533753..54cc4d8a 100644 --- a/packages/docs/cookbook/migration-0-0-7.md +++ b/packages/docs/cookbook/migration-0-0-7.md @@ -2,10 +2,10 @@ The versions after `0.0.7`: `0.1.0`, and `0.2.0`, came with a few big breaking changes. This guide helps you migrate whether you use Vue 2 or Vue 3. The whole changelog can be found in the repository: -- [For Pinia <= 1 for Vue 2](https://github.com/posva/pinia/blob/v1/CHANGELOG.md) -- [For Pinia >= 2 for Vue 3](https://github.com/posva/pinia/blob/v2/packages/pinia/CHANGELOG.md) +- [For Pinia <= 1 for Vue 2](https://github.com/vuejs/pinia/blob/v1/CHANGELOG.md) +- [For Pinia >= 2 for Vue 3](https://github.com/vuejs/pinia/blob/v2/packages/pinia/CHANGELOG.md) -If you have questions or issues regarding the migration, feel free to [open a discussion](https://github.com/posva/pinia/discussions/categories/q-a) to ask for help. +If you have questions or issues regarding the migration, feel free to [open a discussion](https://github.com/vuejs/pinia/discussions/categories/q-a) to ask for help. ## No more `store.state` diff --git a/packages/docs/cookbook/migration-v1-v2.md b/packages/docs/cookbook/migration-v1-v2.md index 636543e5..72885d3d 100644 --- a/packages/docs/cookbook/migration-v1-v2.md +++ b/packages/docs/cookbook/migration-v1-v2.md @@ -1,6 +1,6 @@ # Migrating from 0.x (v1) to v2 -Starting at version `2.0.0-rc.4`, pinia supports both Vue 2 and Vue 3! This means, all new updates will be applied to this version 2 so both Vue 2 and Vue 3 users can benefit from it. If you are using Vue 3, this doesn't change anything for you as you were already using the rc and you can check [the CHANGELOG](https://github.com/posva/pinia/blob/v2/packages/pinia/CHANGELOG.md) for a detailed explanation of everything that changed. Otherwise, **this guide is for you**! +Starting at version `2.0.0-rc.4`, pinia supports both Vue 2 and Vue 3! This means, all new updates will be applied to this version 2 so both Vue 2 and Vue 3 users can benefit from it. If you are using Vue 3, this doesn't change anything for you as you were already using the rc and you can check [the CHANGELOG](https://github.com/vuejs/pinia/blob/v2/packages/pinia/CHANGELOG.md) for a detailed explanation of everything that changed. Otherwise, **this guide is for you**! ## Deprecations @@ -34,7 +34,7 @@ And start updating your code. ### Generic Store type -Added in [2.0.0-rc.0](https://github.com/posva/pinia/blob/v2/packages/pinia/CHANGELOG.md#200-rc0-2021-07-28) +Added in [2.0.0-rc.0](https://github.com/vuejs/pinia/blob/v2/packages/pinia/CHANGELOG.md#200-rc0-2021-07-28) Replace any usage of the type `GenericStore` with `StoreGeneric`. This is the new generic store type that should accept any kind of store. If you were writing functions using the type `Store` without passing its generics (e.g. `Store`), you should also use `StoreGeneric` as the `Store` type without generics creates an empty store type. diff --git a/packages/docs/cookbook/testing.md b/packages/docs/cookbook/testing.md index aeada324..6b6815a1 100644 --- a/packages/docs/cookbook/testing.md +++ b/packages/docs/cookbook/testing.md @@ -100,7 +100,7 @@ expect(store.someAction).toHaveBeenCalledTimes(1) expect(store.someAction).toHaveBeenLastCalledWith() ``` -You can find more examples in [the tests of the testing package](https://github.com/posva/pinia/blob/v2/packages/testing/src/testing.spec.ts). +You can find more examples in [the tests of the testing package](https://github.com/vuejs/pinia/blob/v2/packages/testing/src/testing.spec.ts). ## E2E tests diff --git a/packages/docs/core-concepts/actions.md b/packages/docs/core-concepts/actions.md index ee763f52..338bbb77 100644 --- a/packages/docs/core-concepts/actions.md +++ b/packages/docs/core-concepts/actions.md @@ -120,8 +120,6 @@ export default { ## Subscribing to actions -> [Give feedback on `$onAction()`](https://github.com/posva/pinia/issues/240) - It is possible to observe actions and their outcome with `store.$onAction()`. The callback passed to it is executed before the action itself. `after` handle promises and allows you to change the returned value of the action. `onError` allows you to stop the error from propagating. These are useful for tracking errors at runtime, similar to [this tip in the Vue docs](https://v3.vuejs.org/guide/tooling/deployment.html#tracking-runtime-errors). Here is an example that logs before running actions and after they resolve/reject. diff --git a/packages/docs/introduction.md b/packages/docs/introduction.md index 81d91d54..06d96b00 100644 --- a/packages/docs/introduction.md +++ b/packages/docs/introduction.md @@ -1,6 +1,6 @@ # Introduction -Pinia [started](https://github.com/posva/pinia/commit/06aeef54e2cad66696063c62829dac74e15fd19e) as an experiment to redesign what a Store for Vue could look like with the [Composition API](https://github.com/vuejs/composition-api) around November 2019. Since then, the initial principles are still the same, but Pinia works for both Vue 2 and Vue 3 **and doesn't require you to use the composition API**. The API is the same for both except for _installation_ and _SSR_, and these docs are targeted to Vue 3 **with notes about Vue 2** whenever necessary so it can be read by Vue 2 and Vue 3 users! +Pinia [started](https://github.com/vuejs/pinia/commit/06aeef54e2cad66696063c62829dac74e15fd19e) as an experiment to redesign what a Store for Vue could look like with the [Composition API](https://github.com/vuejs/composition-api) around November 2019. Since then, the initial principles are still the same, but Pinia works for both Vue 2 and Vue 3 **and doesn't require you to use the composition API**. The API is the same for both except for _installation_ and _SSR_, and these docs are targeted to Vue 3 **with notes about Vue 2** whenever necessary so it can be read by Vue 2 and Vue 3 users! ## Why should I use Pinia? diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md index 8c35ad34..3629ac86 100644 --- a/packages/nuxt/CHANGELOG.md +++ b/packages/nuxt/CHANGELOG.md @@ -1,103 +1,103 @@ -## [0.1.6](https://github.com/posva/pinia/compare/@pinia/nuxt@0.1.5...@pinia/nuxt@0.1.6) (2021-12-01) +## [0.1.6](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.1.5...@pinia/nuxt@0.1.6) (2021-12-01) Upgrade dependencies -## [0.1.5](https://github.com/posva/pinia/compare/@pinia/nuxt@0.1.4...@pinia/nuxt@0.1.5) (2021-11-11) +## [0.1.5](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.1.4...@pinia/nuxt@0.1.5) (2021-11-11) ### Performance Improvements -- install plugins only once ([1b8e363](https://github.com/posva/pinia/commit/1b8e36355d52eb0934364bf622846e3bceced590)) +- install plugins only once ([1b8e363](https://github.com/vuejs/pinia/commit/1b8e36355d52eb0934364bf622846e3bceced590)) -## [0.1.4](https://github.com/posva/pinia/compare/@pinia/nuxt@0.1.3...@pinia/nuxt@0.1.4) (2021-11-10) +## [0.1.4](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.1.3...@pinia/nuxt@0.1.4) (2021-11-10) ### Bug Fixes -- workaround prod build bug ([e1ebadb](https://github.com/posva/pinia/commit/e1ebadb4892608b02d370f18296a6bae256acd05)) +- workaround prod build bug ([e1ebadb](https://github.com/vuejs/pinia/commit/e1ebadb4892608b02d370f18296a6bae256acd05)) -## [0.1.3](https://github.com/posva/pinia/compare/@pinia/nuxt@0.1.2...@pinia/nuxt@0.1.3) (2021-11-10) +## [0.1.3](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.1.2...@pinia/nuxt@0.1.3) (2021-11-10) ### Bug Fixes -- install vue composition api for vue 2 ([1287916](https://github.com/posva/pinia/commit/12879168d7e6f252f67431f1df02a9002642281e)) +- install vue composition api for vue 2 ([1287916](https://github.com/vuejs/pinia/commit/12879168d7e6f252f67431f1df02a9002642281e)) -## [0.1.2](https://github.com/posva/pinia/compare/@pinia/nuxt@0.1.1...@pinia/nuxt@0.1.2) (2021-11-04) +## [0.1.2](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.1.1...@pinia/nuxt@0.1.2) (2021-11-04) ### Bug Fixes -- **nuxt:** correct build export ([b2229cc](https://github.com/posva/pinia/commit/b2229cc8b35ed3be453fded8a52366406b1963db)) +- **nuxt:** correct build export ([b2229cc](https://github.com/vuejs/pinia/commit/b2229cc8b35ed3be453fded8a52366406b1963db)) -## [0.1.1](https://github.com/posva/pinia/compare/@pinia/nuxt@0.1.0...@pinia/nuxt@0.1.1) (2021-11-03) +## [0.1.1](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.1.0...@pinia/nuxt@0.1.1) (2021-11-03) ### Bug Fixes -- **nuxt:** migrate to unbuild ([#765](https://github.com/posva/pinia/issues/765)) ([e8ccb71](https://github.com/posva/pinia/commit/e8ccb71e3ad5d1d5e55e1418e7c9f981f64c71ff)) -- **nuxt:** use `@nuxt/kit` ([#764](https://github.com/posva/pinia/issues/764)) ([3d6d3cb](https://github.com/posva/pinia/commit/3d6d3cb95e1e9adbbe22234a892c138d2a18c767)) +- **nuxt:** migrate to unbuild ([#765](https://github.com/vuejs/pinia/issues/765)) ([e8ccb71](https://github.com/vuejs/pinia/commit/e8ccb71e3ad5d1d5e55e1418e7c9f981f64c71ff)) +- **nuxt:** use `@nuxt/kit` ([#764](https://github.com/vuejs/pinia/issues/764)) ([3d6d3cb](https://github.com/vuejs/pinia/commit/3d6d3cb95e1e9adbbe22234a892c138d2a18c767)) -# [0.1.0](https://github.com/posva/pinia/compare/@pinia/nuxt@0.0.9...@pinia/nuxt@0.1.0) (2021-10-25) +# [0.1.0](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.0.9...@pinia/nuxt@0.1.0) (2021-10-25) - Adapt paths of dist files -## [0.0.9](https://github.com/posva/pinia/compare/@pinia/nuxt@0.0.8...@pinia/nuxt@0.0.9) (2021-10-21) +## [0.0.9](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.0.8...@pinia/nuxt@0.0.9) (2021-10-21) ### Bug Fixes -- correct deps in nuxt plugin ([8020f99](https://github.com/posva/pinia/commit/8020f996e2b3c32685c88d0652b23a86bdcba507)) -- correct peer deps and deps ([c83677a](https://github.com/posva/pinia/commit/c83677a9cf7a1cb20b2e6fed529f3c5500062648)) -- should work with nuxt ([03159a4](https://github.com/posva/pinia/commit/03159a440de0eb2b17c3c3bd30dc64223fe90648)) +- correct deps in nuxt plugin ([8020f99](https://github.com/vuejs/pinia/commit/8020f996e2b3c32685c88d0652b23a86bdcba507)) +- correct peer deps and deps ([c83677a](https://github.com/vuejs/pinia/commit/c83677a9cf7a1cb20b2e6fed529f3c5500062648)) +- should work with nuxt ([03159a4](https://github.com/vuejs/pinia/commit/03159a440de0eb2b17c3c3bd30dc64223fe90648)) -## [0.0.8](https://github.com/posva/pinia/compare/@pinia/nuxt@0.0.7...@pinia/nuxt@0.0.8) (2021-10-20) +## [0.0.8](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.0.7...@pinia/nuxt@0.0.8) (2021-10-20) ### Bug Fixes -- expose the plugin in mjs ([7a18af7](https://github.com/posva/pinia/commit/7a18af7dd7d40b491f01f7da4873733d56ded431)) +- expose the plugin in mjs ([7a18af7](https://github.com/vuejs/pinia/commit/7a18af7dd7d40b491f01f7da4873733d56ded431)) -## [0.0.7](https://github.com/posva/pinia/compare/@pinia/nuxt@0.0.6...@pinia/nuxt@0.0.7) (2021-10-19) +## [0.0.7](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.0.6...@pinia/nuxt@0.0.7) (2021-10-19) ### Bug Fixes -- **nuxt3:** Rename `app` to `vueApp` ([#731](https://github.com/posva/pinia/issues/731)) ([f78c289](https://github.com/posva/pinia/commit/f78c289c8b6c2f8f7657dc46290b022df65945d0)) -- transpile pinia for nuxt 2 ([7bf2e4a](https://github.com/posva/pinia/commit/7bf2e4a986d707dd3864a3dfc8933df0a683251e)) +- **nuxt3:** Rename `app` to `vueApp` ([#731](https://github.com/vuejs/pinia/issues/731)) ([f78c289](https://github.com/vuejs/pinia/commit/f78c289c8b6c2f8f7657dc46290b022df65945d0)) +- transpile pinia for nuxt 2 ([7bf2e4a](https://github.com/vuejs/pinia/commit/7bf2e4a986d707dd3864a3dfc8933df0a683251e)) -## [0.0.6](https://github.com/posva/pinia/compare/@pinia/nuxt@0.0.5...@pinia/nuxt@0.0.6) (2021-10-14) +## [0.0.6](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.0.5...@pinia/nuxt@0.0.6) (2021-10-14) ### Bug Fixes -- link to correct file [skip ci] ([c44b771](https://github.com/posva/pinia/commit/c44b771b6e3f538df6c9b2aab1beca7a681f7d9a)) +- link to correct file [skip ci] ([c44b771](https://github.com/vuejs/pinia/commit/c44b771b6e3f538df6c9b2aab1beca7a681f7d9a)) -## [0.0.5](https://github.com/posva/pinia/compare/@pinia/nuxt@0.0.4...@pinia/nuxt@0.0.5) (2021-10-14) +## [0.0.5](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.0.4...@pinia/nuxt@0.0.5) (2021-10-14) ### Bug Fixes -- **nuxt:** inject pinia after installing the plugin ([32dfdec](https://github.com/posva/pinia/commit/32dfdeca3d6413570d113f02314f57df9fecc42e)) -- **nuxt:** inject state for nuxt 3 ([14999ce](https://github.com/posva/pinia/commit/14999ceefe2a326dbfb720eedd0889a2ae9e4169)) -- **nuxt:** point to the correct dist file ([438b16d](https://github.com/posva/pinia/commit/438b16dfd3dd5052be437d2e7382f9f4f497eea3)) +- **nuxt:** inject pinia after installing the plugin ([32dfdec](https://github.com/vuejs/pinia/commit/32dfdeca3d6413570d113f02314f57df9fecc42e)) +- **nuxt:** inject state for nuxt 3 ([14999ce](https://github.com/vuejs/pinia/commit/14999ceefe2a326dbfb720eedd0889a2ae9e4169)) +- **nuxt:** point to the correct dist file ([438b16d](https://github.com/vuejs/pinia/commit/438b16dfd3dd5052be437d2e7382f9f4f497eea3)) ### Features -- **nuxt:** deprecate context.pinia in favor of context.$pinia ([7dbc8e8](https://github.com/posva/pinia/commit/7dbc8e864afcf2636f1c9aede0480c941ab2b4ef)) +- **nuxt:** deprecate context.pinia in favor of context.$pinia ([7dbc8e8](https://github.com/vuejs/pinia/commit/7dbc8e864afcf2636f1c9aede0480c941ab2b4ef)) -## [0.0.4](https://github.com/posva/pinia/compare/@pinia/nuxt@0.0.3...@pinia/nuxt@0.0.4) (2021-10-12) +## [0.0.4](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.0.3...@pinia/nuxt@0.0.4) (2021-10-12) ### Bug Fixes -- **nuxt:** use latest nuxt kit ([4892546](https://github.com/posva/pinia/commit/4892546395654772561be7d33101dc52b03ccdeb)), closes [#717](https://github.com/posva/pinia/issues/717) +- **nuxt:** use latest nuxt kit ([4892546](https://github.com/vuejs/pinia/commit/4892546395654772561be7d33101dc52b03ccdeb)), closes [#717](https://github.com/vuejs/pinia/issues/717) -## [0.0.3](https://github.com/posva/pinia/compare/@pinia/nuxt@0.0.2...@pinia/nuxt@0.0.3) (2021-10-03) +## [0.0.3](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.0.2...@pinia/nuxt@0.0.3) (2021-10-03) ### Bug Fixes -- export the module version in mjs ([cffc313](https://github.com/posva/pinia/commit/cffc3134ec4d44c7a0a1492d942d44dc5d838df1)) -- **nuxt:** correct build ([435b294](https://github.com/posva/pinia/commit/435b2948f2290407c03b9652c7a754192e3e912f)) +- export the module version in mjs ([cffc313](https://github.com/vuejs/pinia/commit/cffc3134ec4d44c7a0a1492d942d44dc5d838df1)) +- **nuxt:** correct build ([435b294](https://github.com/vuejs/pinia/commit/435b2948f2290407c03b9652c7a754192e3e912f)) -## [0.0.2](https://github.com/posva/pinia/compare/@pinia/nuxt@0.0.1...@pinia/nuxt@0.0.2) (2021-09-03) +## [0.0.2](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.0.1...@pinia/nuxt@0.0.2) (2021-09-03) ### Features -- add typedoc ([b98e23d](https://github.com/posva/pinia/commit/b98e23d5588925c6a0094a92067a3cc5784e965d)) +- add typedoc ([b98e23d](https://github.com/vuejs/pinia/commit/b98e23d5588925c6a0094a92067a3cc5784e965d)) ## 0.0.1 (2021-08-19) ### Features -- expose getActivePinia ([8b8d0c1](https://github.com/posva/pinia/commit/8b8d0c17958e3b4e2d9bc809c78a28931d1b00f0)) -- **nuxt:** nuxt plugin working with Vue 2 ([2b3aa5f](https://github.com/posva/pinia/commit/2b3aa5f4c1d83bd1955727656c8403b4e02f4b16)) +- expose getActivePinia ([8b8d0c1](https://github.com/vuejs/pinia/commit/8b8d0c17958e3b4e2d9bc809c78a28931d1b00f0)) +- **nuxt:** nuxt plugin working with Vue 2 ([2b3aa5f](https://github.com/vuejs/pinia/commit/2b3aa5f4c1d83bd1955727656c8403b4e02f4b16)) diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index a8d1827a..d4eb0e4b 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -9,13 +9,13 @@ "pinia", "nuxt" ], - "homepage": "https://github.com/posva/pinia/tree/v2/packages/nuxt#readme", + "homepage": "https://github.com/vuejs/pinia/tree/v2/packages/nuxt#readme", "bugs": { - "url": "https://github.com/posva/pinia/issues" + "url": "https://github.com/vuejs/pinia/issues" }, "repository": { "type": "git", - "url": "git+https://github.com/posva/pinia.git" + "url": "git+https://github.com/vuejs/pinia.git" }, "funding": "https://github.com/sponsors/posva", "license": "MIT", diff --git a/packages/pinia/CHANGELOG.md b/packages/pinia/CHANGELOG.md index fae9244a..11e15f11 100644 --- a/packages/pinia/CHANGELOG.md +++ b/packages/pinia/CHANGELOG.md @@ -1,73 +1,73 @@ -## [2.0.6](https://github.com/posva/pinia/compare/pinia@2.0.5...pinia@2.0.6) (2021-12-04) +## [2.0.6](https://github.com/vuejs/pinia/compare/pinia@2.0.5...pinia@2.0.6) (2021-12-04) ### Bug Fixes -- downgrade peerdep requirement for ts ([100a60d](https://github.com/posva/pinia/commit/100a60d648e246cbc67ffe63105e1a5b3bcb9b44)), closes [#874](https://github.com/posva/pinia/issues/874) +- downgrade peerdep requirement for ts ([100a60d](https://github.com/vuejs/pinia/commit/100a60d648e246cbc67ffe63105e1a5b3bcb9b44)), closes [#874](https://github.com/vuejs/pinia/issues/874) -## [2.0.5](https://github.com/posva/pinia/compare/pinia@2.0.4...pinia@2.0.5) (2021-12-01) +## [2.0.5](https://github.com/vuejs/pinia/compare/pinia@2.0.4...pinia@2.0.5) (2021-12-01) ### Bug Fixes -- accept reactive with storeToRefs ([3a2a334](https://github.com/posva/pinia/commit/3a2a334110dadb94cc1dddc10bd7673aa79b358f)), closes [#799](https://github.com/posva/pinia/issues/799) -- shouldHydrate if not in skipHydrateMap ([#846](https://github.com/posva/pinia/issues/846)) ([bcc44bc](https://github.com/posva/pinia/commit/bcc44bcedf2f127cf0218db4a89bb16b028a4ffc)) +- accept reactive with storeToRefs ([3a2a334](https://github.com/vuejs/pinia/commit/3a2a334110dadb94cc1dddc10bd7673aa79b358f)), closes [#799](https://github.com/vuejs/pinia/issues/799) +- shouldHydrate if not in skipHydrateMap ([#846](https://github.com/vuejs/pinia/issues/846)) ([bcc44bc](https://github.com/vuejs/pinia/commit/bcc44bcedf2f127cf0218db4a89bb16b028a4ffc)) -## [2.0.4](https://github.com/posva/pinia/compare/pinia@2.0.3...pinia@2.0.4) (2021-11-19) +## [2.0.4](https://github.com/vuejs/pinia/compare/pinia@2.0.3...pinia@2.0.4) (2021-11-19) ### Features -- **devtools:** allow resetting directly from devtools ([44fa896](https://github.com/posva/pinia/commit/44fa896213e855bb611e30f25b9cd7ffe4a1643e)) -- **devtools:** display all getters in pinia root ([ce8f1e5](https://github.com/posva/pinia/commit/ce8f1e5b87fa21c09b044be965e34d48b50a129b)) +- **devtools:** allow resetting directly from devtools ([44fa896](https://github.com/vuejs/pinia/commit/44fa896213e855bb611e30f25b9cd7ffe4a1643e)) +- **devtools:** display all getters in pinia root ([ce8f1e5](https://github.com/vuejs/pinia/commit/ce8f1e5b87fa21c09b044be965e34d48b50a129b)) -## [2.0.3](https://github.com/posva/pinia/compare/pinia@2.0.2...pinia@2.0.3) (2021-11-10) +## [2.0.3](https://github.com/vuejs/pinia/compare/pinia@2.0.2...pinia@2.0.3) (2021-11-10) - Updated peer deps for composition api and vue devtools -## [2.0.2](https://github.com/posva/pinia/compare/pinia@2.0.1...pinia@2.0.2) (2021-11-03) +## [2.0.2](https://github.com/vuejs/pinia/compare/pinia@2.0.1...pinia@2.0.2) (2021-11-03) ### Bug Fixes -- **types:** for devtools-api ([d856d5d](https://github.com/posva/pinia/commit/d856d5df5d8e7402749d0dc135a349e84f5c9e9d)) -- **types:** remove dependency on Vue 3 only Plugin type ([ee358a6](https://github.com/posva/pinia/commit/ee358a6428bf1f34e7c00415be56da9aecc739b0)) +- **types:** for devtools-api ([d856d5d](https://github.com/vuejs/pinia/commit/d856d5df5d8e7402749d0dc135a349e84f5c9e9d)) +- **types:** remove dependency on Vue 3 only Plugin type ([ee358a6](https://github.com/vuejs/pinia/commit/ee358a6428bf1f34e7c00415be56da9aecc739b0)) -## [2.0.1](https://github.com/posva/pinia/compare/pinia@2.0.0...pinia@2.0.1) (2021-11-03) +## [2.0.1](https://github.com/vuejs/pinia/compare/pinia@2.0.0...pinia@2.0.1) (2021-11-03) This release correctly removes the deprecated APIs as advertised in v2. The [documentation](https://pinia.esm.dev/cookbook/migration-v1-v2.html) contains a list of all the deprecations compared to v0.x. ### Bug Fixes -- use assign instead of spread for older browsers ([51cf9b6](https://github.com/posva/pinia/commit/51cf9b6e5a61d668a5e27b5e02833607ad0b5907)) +- use assign instead of spread for older browsers ([51cf9b6](https://github.com/vuejs/pinia/commit/51cf9b6e5a61d668a5e27b5e02833607ad0b5907)) ### Features -- **warn:** improve getActivePinia warn ([6a0a209](https://github.com/posva/pinia/commit/6a0a209faf42b149bcda1dd373e0b1e5bf426ce4)) +- **warn:** improve getActivePinia warn ([6a0a209](https://github.com/vuejs/pinia/commit/6a0a209faf42b149bcda1dd373e0b1e5bf426ce4)) -# [2.0.0](https://github.com/posva/pinia/compare/pinia@2.0.0-rc.15...pinia@2.0.0) (2021-10-27) +# [2.0.0](https://github.com/vuejs/pinia/compare/pinia@2.0.0-rc.15...pinia@2.0.0) (2021-10-27) 🎉 🎉 🎉 ### Bug Fixes -- **devtools:** root store access [#732](https://github.com/posva/pinia/issues/732) ([90d2c35](https://github.com/posva/pinia/commit/90d2c35d94ccb6e3991b99b181bfe3b360cfa289)) -- **plugins:** ensure plugins are used only once ([#745](https://github.com/posva/pinia/issues/745)) ([150fdfc](https://github.com/posva/pinia/commit/150fdfc8abe2577046af947b2e4fbbde2efb057e)) -- **ssr:** make skipHydrate compatible with @vue/composition-api ([71448b0](https://github.com/posva/pinia/commit/71448b008fc4517ab0036b98121a0346df75880e)) +- **devtools:** root store access [#732](https://github.com/vuejs/pinia/issues/732) ([90d2c35](https://github.com/vuejs/pinia/commit/90d2c35d94ccb6e3991b99b181bfe3b360cfa289)) +- **plugins:** ensure plugins are used only once ([#745](https://github.com/vuejs/pinia/issues/745)) ([150fdfc](https://github.com/vuejs/pinia/commit/150fdfc8abe2577046af947b2e4fbbde2efb057e)) +- **ssr:** make skipHydrate compatible with @vue/composition-api ([71448b0](https://github.com/vuejs/pinia/commit/71448b008fc4517ab0036b98121a0346df75880e)) ### BREAKING CHANGES All deprecated API have been removed. -# [2.0.0-rc.15](https://github.com/posva/pinia/compare/pinia@2.0.0-rc.14...pinia@2.0.0-rc.15) (2021-10-25) +# [2.0.0-rc.15](https://github.com/vuejs/pinia/compare/pinia@2.0.0-rc.14...pinia@2.0.0-rc.15) (2021-10-25) ### Bug Fixes -- **types:** remove unused option hydrate for setup stores ([37d07fb](https://github.com/posva/pinia/commit/37d07fb29ef2885d94cae3b3f212cea83772a073)) +- **types:** remove unused option hydrate for setup stores ([37d07fb](https://github.com/vuejs/pinia/commit/37d07fb29ef2885d94cae3b3f212cea83772a073)) ### Code Refactoring -- **ssr:** pass storeState instead of store to hydrate ([c85edac](https://github.com/posva/pinia/commit/c85edacefc8c69a54e84afbcd577b8d1027b3065)) +- **ssr:** pass storeState instead of store to hydrate ([c85edac](https://github.com/vuejs/pinia/commit/c85edacefc8c69a54e84afbcd577b8d1027b3065)) ### Features -- **ssr:** add skipHydrate to skip hydration on specific refs ([55deedb](https://github.com/posva/pinia/commit/55deedbc492a26ab98d96ed40ddfdf6ebac45aae)) +- **ssr:** add skipHydrate to skip hydration on specific refs ([55deedb](https://github.com/vuejs/pinia/commit/55deedbc492a26ab98d96ed40ddfdf6ebac45aae)) ### BREAKING CHANGES @@ -91,154 +91,154 @@ All deprecated API have been removed. }) ``` -# [2.0.0-rc.14](https://github.com/posva/pinia/compare/pinia@2.0.0-rc.13...pinia@2.0.0-rc.14) (2021-10-19) +# [2.0.0-rc.14](https://github.com/vuejs/pinia/compare/pinia@2.0.0-rc.13...pinia@2.0.0-rc.14) (2021-10-19) Readme update -# [2.0.0-rc.13](https://github.com/posva/pinia/compare/pinia@2.0.0-rc.12...pinia@2.0.0-rc.13) (2021-10-12) +# [2.0.0-rc.13](https://github.com/vuejs/pinia/compare/pinia@2.0.0-rc.12...pinia@2.0.0-rc.13) (2021-10-12) - bump vue-devtools-api version -# [2.0.0-rc.12](https://github.com/posva/pinia/compare/pinia@2.0.0-rc.11...pinia@2.0.0-rc.12) (2021-10-07) +# [2.0.0-rc.12](https://github.com/vuejs/pinia/compare/pinia@2.0.0-rc.11...pinia@2.0.0-rc.12) (2021-10-07) ### Features -- proper check of computed requiring @vue/composition-api@1.2.3 ([b099ef4](https://github.com/posva/pinia/commit/b099ef4ee143ba9cf44e08c1eb607de395563020)) -- **warn:** log store id with class constructor warning ([#702](https://github.com/posva/pinia/issues/702)) ([39eee6a](https://github.com/posva/pinia/commit/39eee6a48b5d84f916e90b513024e26e9c6d72c5)) +- proper check of computed requiring @vue/composition-api@1.2.3 ([b099ef4](https://github.com/vuejs/pinia/commit/b099ef4ee143ba9cf44e08c1eb607de395563020)) +- **warn:** log store id with class constructor warning ([#702](https://github.com/vuejs/pinia/issues/702)) ([39eee6a](https://github.com/vuejs/pinia/commit/39eee6a48b5d84f916e90b513024e26e9c6d72c5)) -# [2.0.0-rc.11](https://github.com/posva/pinia/compare/pinia@2.0.0-rc.10...pinia@2.0.0-rc.11) (2021-10-03) +# [2.0.0-rc.11](https://github.com/vuejs/pinia/compare/pinia@2.0.0-rc.10...pinia@2.0.0-rc.11) (2021-10-03) ### Bug Fixes -- **build:** expose mjs correctly ([2e9fe33](https://github.com/posva/pinia/commit/2e9fe33647f9b649e53841ec54f0df048835c1ba)) -- export the module version in mjs ([cffc313](https://github.com/posva/pinia/commit/cffc3134ec4d44c7a0a1492d942d44dc5d838df1)) -- **types:** correctly type global extensions ([cdbdba5](https://github.com/posva/pinia/commit/cdbdba5153198cde6b678cb96ab7948b351fd3cc)), closes [#630](https://github.com/posva/pinia/issues/630) -- **warn:** avoid toRefs warning for Vue 2 ([c174fe1](https://github.com/posva/pinia/commit/c174fe1dfa48569b1fc9e04f105832ab9a8e3824)), closes [#648](https://github.com/posva/pinia/issues/648) +- **build:** expose mjs correctly ([2e9fe33](https://github.com/vuejs/pinia/commit/2e9fe33647f9b649e53841ec54f0df048835c1ba)) +- export the module version in mjs ([cffc313](https://github.com/vuejs/pinia/commit/cffc3134ec4d44c7a0a1492d942d44dc5d838df1)) +- **types:** correctly type global extensions ([cdbdba5](https://github.com/vuejs/pinia/commit/cdbdba5153198cde6b678cb96ab7948b351fd3cc)), closes [#630](https://github.com/vuejs/pinia/issues/630) +- **warn:** avoid toRefs warning for Vue 2 ([c174fe1](https://github.com/vuejs/pinia/commit/c174fe1dfa48569b1fc9e04f105832ab9a8e3824)), closes [#648](https://github.com/vuejs/pinia/issues/648) -# [2.0.0-rc.10](https://github.com/posva/pinia/compare/pinia@2.0.0-rc.9...pinia@2.0.0-rc.10) (2021-09-30) +# [2.0.0-rc.10](https://github.com/vuejs/pinia/compare/pinia@2.0.0-rc.9...pinia@2.0.0-rc.10) (2021-09-30) ### Bug Fixes -- **ssr:** always call setActivePinia ([83d7d2f](https://github.com/posva/pinia/commit/83d7d2f4cabedf9c65ba90f2e18882261c49f71f)), closes [#665](https://github.com/posva/pinia/issues/665) -- use assign to set $state ([f3a732f](https://github.com/posva/pinia/commit/f3a732f86fbd0399f7b7ebc6a762a2425d08bb4c)), closes [#682](https://github.com/posva/pinia/issues/682) +- **ssr:** always call setActivePinia ([83d7d2f](https://github.com/vuejs/pinia/commit/83d7d2f4cabedf9c65ba90f2e18882261c49f71f)), closes [#665](https://github.com/vuejs/pinia/issues/665) +- use assign to set $state ([f3a732f](https://github.com/vuejs/pinia/commit/f3a732f86fbd0399f7b7ebc6a762a2425d08bb4c)), closes [#682](https://github.com/vuejs/pinia/issues/682) - fix mjs, cjs versions for webpack based builds ### Features -- **warn:** incorrect state value [#641](https://github.com/posva/pinia/issues/641) ([#646](https://github.com/posva/pinia/issues/646)) ([6fd3883](https://github.com/posva/pinia/commit/6fd3883100ccc5c11668c3b855ff0660dd8af9fe)) +- **warn:** incorrect state value [#641](https://github.com/vuejs/pinia/issues/641) ([#646](https://github.com/vuejs/pinia/issues/646)) ([6fd3883](https://github.com/vuejs/pinia/commit/6fd3883100ccc5c11668c3b855ff0660dd8af9fe)) -# [2.0.0-rc.9](https://github.com/posva/pinia/compare/pinia@2.0.0-rc.8...pinia@2.0.0-rc.9) (2021-09-12) +# [2.0.0-rc.9](https://github.com/vuejs/pinia/compare/pinia@2.0.0-rc.8...pinia@2.0.0-rc.9) (2021-09-12) ### Bug Fixes -- correct store in getters vue 2 ([3d4080b](https://github.com/posva/pinia/commit/3d4080b503292f1d711daa51fad204c5f8db223d)) -- **vue2:** delay getters until stores are ready when cross using them ([ed48b00](https://github.com/posva/pinia/commit/ed48b0093c2a58caf8bb4548cceb13eeaf5f1378)) -- **vue2:** fix isComputed check for getters ([307078b](https://github.com/posva/pinia/commit/307078bb7a485ec01ff50fdcd58138433662ade0)) +- correct store in getters vue 2 ([3d4080b](https://github.com/vuejs/pinia/commit/3d4080b503292f1d711daa51fad204c5f8db223d)) +- **vue2:** delay getters until stores are ready when cross using them ([ed48b00](https://github.com/vuejs/pinia/commit/ed48b0093c2a58caf8bb4548cceb13eeaf5f1378)) +- **vue2:** fix isComputed check for getters ([307078b](https://github.com/vuejs/pinia/commit/307078bb7a485ec01ff50fdcd58138433662ade0)) -# [2.0.0-rc.8](https://github.com/posva/pinia/compare/pinia@2.0.0-rc.7...pinia@2.0.0-rc.8) (2021-09-06) +# [2.0.0-rc.8](https://github.com/vuejs/pinia/compare/pinia@2.0.0-rc.7...pinia@2.0.0-rc.8) (2021-09-06) ### Bug Fixes -- correctly set the store properties in Vue 2 ([9e40309](https://github.com/posva/pinia/commit/9e40309e5bfc54f5f71178cf90d37ebcf8dd8dca)), closes [#657](https://github.com/posva/pinia/issues/657) +- correctly set the store properties in Vue 2 ([9e40309](https://github.com/vuejs/pinia/commit/9e40309e5bfc54f5f71178cf90d37ebcf8dd8dca)), closes [#657](https://github.com/vuejs/pinia/issues/657) -# [2.0.0-rc.7](https://github.com/posva/pinia/compare/pinia@2.0.0-rc.6...pinia@2.0.0-rc.7) (2021-09-03) +# [2.0.0-rc.7](https://github.com/vuejs/pinia/compare/pinia@2.0.0-rc.6...pinia@2.0.0-rc.7) (2021-09-03) ### Bug Fixes -- **ssr:** properly hydrate setup stores ([4fbacfc](https://github.com/posva/pinia/commit/4fbacfcd87362515902e3f98fd53a51a39216b9f)) +- **ssr:** properly hydrate setup stores ([4fbacfc](https://github.com/vuejs/pinia/commit/4fbacfcd87362515902e3f98fd53a51a39216b9f)) ### Features -- add typedoc ([b98e23d](https://github.com/posva/pinia/commit/b98e23d5588925c6a0094a92067a3cc5784e965d)) -- allow stores to be cross used ([cda3658](https://github.com/posva/pinia/commit/cda365875c599e9786ab3479d42e8e6b3bb0fc23)) -- deprecate PiniaPlugin in favor of PiniaVuePlugin ([c0495c0](https://github.com/posva/pinia/commit/c0495c0fe5710894ff04009f1f136cfb4d9241c4)) -- support TS 4.4 ([#656](https://github.com/posva/pinia/issues/656)) ([39b2e15](https://github.com/posva/pinia/commit/39b2e15c0a2782280bd0de44230d2f3dc624b3c6)) +- add typedoc ([b98e23d](https://github.com/vuejs/pinia/commit/b98e23d5588925c6a0094a92067a3cc5784e965d)) +- allow stores to be cross used ([cda3658](https://github.com/vuejs/pinia/commit/cda365875c599e9786ab3479d42e8e6b3bb0fc23)) +- deprecate PiniaPlugin in favor of PiniaVuePlugin ([c0495c0](https://github.com/vuejs/pinia/commit/c0495c0fe5710894ff04009f1f136cfb4d9241c4)) +- support TS 4.4 ([#656](https://github.com/vuejs/pinia/issues/656)) ([39b2e15](https://github.com/vuejs/pinia/commit/39b2e15c0a2782280bd0de44230d2f3dc624b3c6)) -# [2.0.0-rc.6](https://github.com/posva/pinia/compare/pinia@2.0.0-rc.5...pinia@2.0.0-rc.6) (2021-08-19) +# [2.0.0-rc.6](https://github.com/vuejs/pinia/compare/pinia@2.0.0-rc.5...pinia@2.0.0-rc.6) (2021-08-19) Fix missing types. -# [2.0.0-rc.5](https://github.com/posva/pinia/compare/v2.0.0-rc.4...v2.0.0-rc.5) (2021-08-19) +# [2.0.0-rc.5](https://github.com/vuejs/pinia/compare/v2.0.0-rc.4...v2.0.0-rc.5) (2021-08-19) ### Bug Fixes -- **ssr:** convert hydrated state to refs ([3f186a2](https://github.com/posva/pinia/commit/3f186a28e954cd4ccb48e4f26448a96cb0a0d7e1)), closes [#619](https://github.com/posva/pinia/issues/619) +- **ssr:** convert hydrated state to refs ([3f186a2](https://github.com/vuejs/pinia/commit/3f186a28e954cd4ccb48e4f26448a96cb0a0d7e1)), closes [#619](https://github.com/vuejs/pinia/issues/619) ### Features -- destroy a store with $dispose ([#597](https://github.com/posva/pinia/issues/597)) ([a563e6a](https://github.com/posva/pinia/commit/a563e6abd1e58e6bf810987dd520f754987c32d8)) -- expose getActivePinia ([8b8d0c1](https://github.com/posva/pinia/commit/8b8d0c17958e3b4e2d9bc809c78a28931d1b00f0)) -- **testing:** add testing package ([fc05376](https://github.com/posva/pinia/commit/fc053763752c2b11d7b851f95334034a1f9b8347)) +- destroy a store with $dispose ([#597](https://github.com/vuejs/pinia/issues/597)) ([a563e6a](https://github.com/vuejs/pinia/commit/a563e6abd1e58e6bf810987dd520f754987c32d8)) +- expose getActivePinia ([8b8d0c1](https://github.com/vuejs/pinia/commit/8b8d0c17958e3b4e2d9bc809c78a28931d1b00f0)) +- **testing:** add testing package ([fc05376](https://github.com/vuejs/pinia/commit/fc053763752c2b11d7b851f95334034a1f9b8347)) -# [2.0.0-rc.4](https://github.com/posva/pinia/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2021-08-09) +# [2.0.0-rc.4](https://github.com/vuejs/pinia/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2021-08-09) If you are using Vue 2, make sure your `@vue/composition-api` version is at least `1.1.0`, which is currently under the npm dist tag `next`, which means it has to be installed with `npm install @vue/composition-api@next`. ### Bug Fixes -- **types:** unwrap computed in store getters ([35d4f59](https://github.com/posva/pinia/commit/35d4f591cf48166466f4d4e414de8063d55e3811)), closes [#602](https://github.com/posva/pinia/issues/602) [#603](https://github.com/posva/pinia/issues/603) +- **types:** unwrap computed in store getters ([35d4f59](https://github.com/vuejs/pinia/commit/35d4f591cf48166466f4d4e414de8063d55e3811)), closes [#602](https://github.com/vuejs/pinia/issues/602) [#603](https://github.com/vuejs/pinia/issues/603) -# [2.0.0-rc.3](https://github.com/posva/pinia/compare/v2.0.0-rc.2...v2.0.0-rc.3) (2021-08-05) +# [2.0.0-rc.3](https://github.com/vuejs/pinia/compare/v2.0.0-rc.2...v2.0.0-rc.3) (2021-08-05) ### Bug Fixes -- set initial state in prod ([f8e3c83](https://github.com/posva/pinia/commit/f8e3c83a4c7be7bf537a5d6ffca97408263bc9a0)), closes [#598](https://github.com/posva/pinia/issues/598) +- set initial state in prod ([f8e3c83](https://github.com/vuejs/pinia/commit/f8e3c83a4c7be7bf537a5d6ffca97408263bc9a0)), closes [#598](https://github.com/vuejs/pinia/issues/598) -# [2.0.0-rc.2](https://github.com/posva/pinia/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2021-08-04) +# [2.0.0-rc.2](https://github.com/vuejs/pinia/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2021-08-04) -This version supports Vue 2! [Here](https://github.com/posva/pinia-vue-2-vite-example) is an example using Vue 2 and Vite for an optimal DX. **Note this version requires Vue Devtools 6**, and more specifically, they don't work with the current `@vue/devtools-api` (`6.0.0-beta.15`) because they require [this unreleased fix](https://github.com/vuejs/devtools/commit/3db47027d81c1701d2ddfe1dd86bae0d7ce63cef). To get all the goodness pinia has to offer **for Vue 2**, you will need to clone `vuejs/devtools`, run `yarn && yarn run build` and then _load an unpacked extension_ on a Chromium browser (after activating the developer mode in the extension panel). If you are using Vue 3, you can still use the Vue Devtools 6 regularly. +This version supports Vue 2! [Here](https://github.com/vuejs/pinia-vue-2-vite-example) is an example using Vue 2 and Vite for an optimal DX. **Note this version requires Vue Devtools 6**, and more specifically, they don't work with the current `@vue/devtools-api` (`6.0.0-beta.15`) because they require [this unreleased fix](https://github.com/vuejs/devtools/commit/3db47027d81c1701d2ddfe1dd86bae0d7ce63cef). To get all the goodness pinia has to offer **for Vue 2**, you will need to clone `vuejs/devtools`, run `yarn && yarn run build` and then _load an unpacked extension_ on a Chromium browser (after activating the developer mode in the extension panel). If you are using Vue 3, you can still use the Vue Devtools 6 regularly. ### Bug Fixes -- **devtools:** grouping of actions ([3d760f1](https://github.com/posva/pinia/commit/3d760f1c78936666174c1a352314081bccf11b01)) -- **devtools:** reflect changes on HMR ([aebc9a0](https://github.com/posva/pinia/commit/aebc9a0969bec40c06b28f96ff0d1d048f589f31)) +- **devtools:** grouping of actions ([3d760f1](https://github.com/vuejs/pinia/commit/3d760f1c78936666174c1a352314081bccf11b01)) +- **devtools:** reflect changes on HMR ([aebc9a0](https://github.com/vuejs/pinia/commit/aebc9a0969bec40c06b28f96ff0d1d048f589f31)) ### Features -- add support for Vue 2 ([e1ea1c8](https://github.com/posva/pinia/commit/e1ea1c8563816dd99963aae778c03335d0577266)) -- enable devtools with Vue 2 ([08cdff5](https://github.com/posva/pinia/commit/08cdff5be7415f8c635fe9431cb32931950e5fcb)) +- add support for Vue 2 ([e1ea1c8](https://github.com/vuejs/pinia/commit/e1ea1c8563816dd99963aae778c03335d0577266)) +- enable devtools with Vue 2 ([08cdff5](https://github.com/vuejs/pinia/commit/08cdff5be7415f8c635fe9431cb32931950e5fcb)) -# [2.0.0-rc.1](https://github.com/posva/pinia/compare/v2.0.0-rc.0...v2.0.0-rc.1) (2021-07-30) +# [2.0.0-rc.1](https://github.com/vuejs/pinia/compare/v2.0.0-rc.0...v2.0.0-rc.1) (2021-07-30) -Posted https://github.com/posva/pinia/issues/592 to help people installing or upgrading Pinia. +Posted https://github.com/vuejs/pinia/issues/592 to help people installing or upgrading Pinia. ### Bug Fixes -- collect reactive effects ran in plugins ([54cee00](https://github.com/posva/pinia/commit/54cee009cf15a5086ad031da65278a7689230587)) -- **devtools:** update when custom properties change ([7dcb71e](https://github.com/posva/pinia/commit/7dcb71e8182900c451a56f1ad9e0e931dba48dcb)) -- **store:** keep original refs with $reset ([a7dadff](https://github.com/posva/pinia/commit/a7dadfff8aae4abb83696a47904b030295408a09)), closes [#593](https://github.com/posva/pinia/issues/593) +- collect reactive effects ran in plugins ([54cee00](https://github.com/vuejs/pinia/commit/54cee009cf15a5086ad031da65278a7689230587)) +- **devtools:** update when custom properties change ([7dcb71e](https://github.com/vuejs/pinia/commit/7dcb71e8182900c451a56f1ad9e0e931dba48dcb)) +- **store:** keep original refs with $reset ([a7dadff](https://github.com/vuejs/pinia/commit/a7dadfff8aae4abb83696a47904b030295408a09)), closes [#593](https://github.com/vuejs/pinia/issues/593) -# [2.0.0-rc.0](https://github.com/posva/pinia/compare/v2.0.0-beta.5...v2.0.0-rc.0) (2021-07-28) +# [2.0.0-rc.0](https://github.com/vuejs/pinia/compare/v2.0.0-beta.5...v2.0.0-rc.0) (2021-07-28) ## Required Vue version ‼️ This release requires Vue 3.2.0, which is currently only available under the `beta` dist tag (`npm i vue@beta` or `yarn add vue@beta` + the corresponding packages like `@vue/compiler-sfc@beta`). -Follow the instructions at https://github.com/posva/pinia/issues/592 if you need help updating your package versions. +Follow the instructions at https://github.com/vuejs/pinia/issues/592 if you need help updating your package versions. It contains major improvements: - Performance: Pinia now uses `effectScope()`, effectively reducing memory consumption and removing the drawbacks mentioned in the Plugin section about `useStore()` creating multiple store instances (still sharing the state). - Devtools: Many improvements over the information displayed in devtools as well as a few bugfixes -- HMR (Hot Module Replacement): You can now modify your stores without reloading the page and losing the state, making development much easier. Until 3.2.0 (stable) is released, you can find an example [in the playground](https://github.com/posva/pinia/blob/2b98eafe441ea7e9a3ff3cef122c24eb5fa03f1d/playground/src/stores/counter.ts#L66-L68). After that, you can read up to date instructions [in the documentation](https://pinia.esm.dev/cookbook/hot-module-replacement.html). -- Setup syntax: You can now define stores with a function instead of options. This enables more complex patterns. See an example [in the playground](https://github.com/posva/pinia/blob/75f1fe6aa4ef2629ae1c9840a2d4542ac6e62686/playground/src/stores/jokes-swrv.ts). Setup Stores are unable to group actions like Option Stores due to their very permissive syntax. +- HMR (Hot Module Replacement): You can now modify your stores without reloading the page and losing the state, making development much easier. Until 3.2.0 (stable) is released, you can find an example [in the playground](https://github.com/vuejs/pinia/blob/2b98eafe441ea7e9a3ff3cef122c24eb5fa03f1d/playground/src/stores/counter.ts#L66-L68). After that, you can read up to date instructions [in the documentation](https://pinia.esm.dev/cookbook/hot-module-replacement.html). +- Setup syntax: You can now define stores with a function instead of options. This enables more complex patterns. See an example [in the playground](https://github.com/vuejs/pinia/blob/75f1fe6aa4ef2629ae1c9840a2d4542ac6e62686/playground/src/stores/jokes-swrv.ts). Setup Stores are unable to group actions like Option Stores due to their very permissive syntax. - Option syntax: we can now pass the `id` as the first parameter. This syntax is preferred over the object syntax to be consistent with the Setup syntax. ### Bug Fixes -- avoid modifying options argument ([59ac9b9](https://github.com/posva/pinia/commit/59ac9b962778f730ade9c2a8b1a575922957d907)) -- **devtools:** avoid grouping patches and mutations with finished actions ([18a87fe](https://github.com/posva/pinia/commit/18a87fe260317c679732d0ec271c036b9806448f)) -- **errors:** allow async errors to propagate ([17ee4e8](https://github.com/posva/pinia/commit/17ee4e85fb2c084ba27730dae4f21683686156c6)), closes [#576](https://github.com/posva/pinia/issues/576) -- **ssr:** delay getters read ([2f3bd53](https://github.com/posva/pinia/commit/2f3bd5330e853b8ef11b6364a3a86e780c5f309f)) -- **types:** actual generic store ([e4c541f](https://github.com/posva/pinia/commit/e4c541fdd17ea97e25dfd45bd3378732ff6a344d)) -- **types:** stricter types for mapState ([f702356](https://github.com/posva/pinia/commit/f702356a5549dfe184c4d3805757c494a7088b19)) +- avoid modifying options argument ([59ac9b9](https://github.com/vuejs/pinia/commit/59ac9b962778f730ade9c2a8b1a575922957d907)) +- **devtools:** avoid grouping patches and mutations with finished actions ([18a87fe](https://github.com/vuejs/pinia/commit/18a87fe260317c679732d0ec271c036b9806448f)) +- **errors:** allow async errors to propagate ([17ee4e8](https://github.com/vuejs/pinia/commit/17ee4e85fb2c084ba27730dae4f21683686156c6)), closes [#576](https://github.com/vuejs/pinia/issues/576) +- **ssr:** delay getters read ([2f3bd53](https://github.com/vuejs/pinia/commit/2f3bd5330e853b8ef11b6364a3a86e780c5f309f)) +- **types:** actual generic store ([e4c541f](https://github.com/vuejs/pinia/commit/e4c541fdd17ea97e25dfd45bd3378732ff6a344d)) +- **types:** stricter types for mapState ([f702356](https://github.com/vuejs/pinia/commit/f702356a5549dfe184c4d3805757c494a7088b19)) ### Features -- allow actions to be destructured ([859d094](https://github.com/posva/pinia/commit/859d094bd993f4714093af17182ed73dd98659c5)) -- **devtools:** display pinia without stores ([ca59257](https://github.com/posva/pinia/commit/ca59257a4ca3a37f54d6b9690a2ceedbc545dedd)) -- **devtools:** show hot update in timeline ([3b9ed17](https://github.com/posva/pinia/commit/3b9ed1777621b1c8c0f781f5c974357da042c6e7)) -- **types:** add StorState, StoreGetters, and StoreActions helpers ([47c0610](https://github.com/posva/pinia/commit/47c06101555328b6ca24e2f574f8f402b3bf1675)) +- allow actions to be destructured ([859d094](https://github.com/vuejs/pinia/commit/859d094bd993f4714093af17182ed73dd98659c5)) +- **devtools:** display pinia without stores ([ca59257](https://github.com/vuejs/pinia/commit/ca59257a4ca3a37f54d6b9690a2ceedbc545dedd)) +- **devtools:** show hot update in timeline ([3b9ed17](https://github.com/vuejs/pinia/commit/3b9ed1777621b1c8c0f781f5c974357da042c6e7)) +- **types:** add StorState, StoreGetters, and StoreActions helpers ([47c0610](https://github.com/vuejs/pinia/commit/47c06101555328b6ca24e2f574f8f402b3bf1675)) ### BREAKING CHANGES @@ -251,90 +251,90 @@ It contains major improvements: - **types** The existing `DefineStoreOptions` is no longer the one that should be extended to add custom options unless you only want them to be applied to Option Stores. Use `DefineStoreOptionsBase` instead. -# [2.0.0-beta.5](https://github.com/posva/pinia/compare/v2.0.0-beta.3...v2.0.0-beta.5) (2021-07-10) +# [2.0.0-beta.5](https://github.com/vuejs/pinia/compare/v2.0.0-beta.3...v2.0.0-beta.5) (2021-07-10) ### Bug Fixes -- **devtools:** avoid infinite loop when cross using stores ([55c651d](https://github.com/posva/pinia/commit/55c651d714a7d4083e4ef6369e3b5ab5dbf02182)), closes [#541](https://github.com/posva/pinia/issues/541) -- **devtools:** avoid warning ([399a930](https://github.com/posva/pinia/commit/399a93002b9b3627e636af191e64a7b56f82d2db)) -- **types:** forbid non existant access in getters and actions ([2ee058e](https://github.com/posva/pinia/commit/2ee058ef0264dddb367c53ce534f832bdb7b5fb0)) +- **devtools:** avoid infinite loop when cross using stores ([55c651d](https://github.com/vuejs/pinia/commit/55c651d714a7d4083e4ef6369e3b5ab5dbf02182)), closes [#541](https://github.com/vuejs/pinia/issues/541) +- **devtools:** avoid warning ([399a930](https://github.com/vuejs/pinia/commit/399a93002b9b3627e636af191e64a7b56f82d2db)) +- **types:** forbid non existant access in getters and actions ([2ee058e](https://github.com/vuejs/pinia/commit/2ee058ef0264dddb367c53ce534f832bdb7b5fb0)) ### Features -- mark testing as internal ([18c8ed6](https://github.com/posva/pinia/commit/18c8ed6769f0313cdcf6139027c6162e973c8e89)) -- **testing:** add createTestingPinia ([120ac9d](https://github.com/posva/pinia/commit/120ac9d98eca0e11f24c5334022ef9bc805371af)) -- **testing:** allow stubing $patch ([10bef8a](https://github.com/posva/pinia/commit/10bef8ab2fa951fbaab0afe38b58a1396f23db8b)) -- **testing:** allows faking an app ([0d00a27](https://github.com/posva/pinia/commit/0d00a2734fa11d8a4fad6c9fb796f8c9c3a25f83)) -- **testing:** bypass useStore(pinia) ([5a52fb3](https://github.com/posva/pinia/commit/5a52fb33a1799e145a8d3e3423105247bb6980e7)) +- mark testing as internal ([18c8ed6](https://github.com/vuejs/pinia/commit/18c8ed6769f0313cdcf6139027c6162e973c8e89)) +- **testing:** add createTestingPinia ([120ac9d](https://github.com/vuejs/pinia/commit/120ac9d98eca0e11f24c5334022ef9bc805371af)) +- **testing:** allow stubing $patch ([10bef8a](https://github.com/vuejs/pinia/commit/10bef8ab2fa951fbaab0afe38b58a1396f23db8b)) +- **testing:** allows faking an app ([0d00a27](https://github.com/vuejs/pinia/commit/0d00a2734fa11d8a4fad6c9fb796f8c9c3a25f83)) +- **testing:** bypass useStore(pinia) ([5a52fb3](https://github.com/vuejs/pinia/commit/5a52fb33a1799e145a8d3e3423105247bb6980e7)) ### Performance Improvements -- use esm version of file-saver ([49d1e38](https://github.com/posva/pinia/commit/49d1e38a808edbf58970ec2d47a1342d9a5229a1)) +- use esm version of file-saver ([49d1e38](https://github.com/vuejs/pinia/commit/49d1e38a808edbf58970ec2d47a1342d9a5229a1)) -# [2.0.0-beta.3](https://github.com/posva/pinia/compare/v2.0.0-beta.2...v2.0.0-beta.3) (2021-06-18) +# [2.0.0-beta.3](https://github.com/vuejs/pinia/compare/v2.0.0-beta.2...v2.0.0-beta.3) (2021-06-18) ### Bug Fixes -- **patch:** avoid merging reactive objects ([a6a75e8](https://github.com/posva/pinia/commit/a6a75e891d3fc4a7ec2c5dea3ac8081cf460c4d2)), closes [#528](https://github.com/posva/pinia/issues/528) +- **patch:** avoid merging reactive objects ([a6a75e8](https://github.com/vuejs/pinia/commit/a6a75e891d3fc4a7ec2c5dea3ac8081cf460c4d2)), closes [#528](https://github.com/vuejs/pinia/issues/528) ### Features -- **devtools:** display custom properties ([fd901cd](https://github.com/posva/pinia/commit/fd901cdf34d035289067a189a874b7e2df1cbe3e)) +- **devtools:** display custom properties ([fd901cd](https://github.com/vuejs/pinia/commit/fd901cdf34d035289067a189a874b7e2df1cbe3e)) -# [2.0.0-beta.2](https://github.com/posva/pinia/compare/v2.0.0-beta.1...v2.0.0-beta.2) (2021-06-03) +# [2.0.0-beta.2](https://github.com/vuejs/pinia/compare/v2.0.0-beta.1...v2.0.0-beta.2) (2021-06-03) ### Bug Fixes -- **devtools:** register stores ([5fcca78](https://github.com/posva/pinia/commit/5fcca788c1da61f2a406e2924fca3a8bed51b667)) +- **devtools:** register stores ([5fcca78](https://github.com/vuejs/pinia/commit/5fcca788c1da61f2a406e2924fca3a8bed51b667)) -# [2.0.0-beta.1](https://github.com/posva/pinia/compare/v2.0.0-alpha.19...v2.0.0-beta.1) (2021-06-03) +# [2.0.0-beta.1](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.19...v2.0.0-beta.1) (2021-06-03) ### Bug Fixes -- **types:** fix extension for TS 4.3 ([aff5c1e](https://github.com/posva/pinia/commit/aff5c1e6fb5c559d3cae103a3049046ee97ce3c0)) +- **types:** fix extension for TS 4.3 ([aff5c1e](https://github.com/vuejs/pinia/commit/aff5c1e6fb5c559d3cae103a3049046ee97ce3c0)) ### Features -- remove deprecated APIs ([239aec5](https://github.com/posva/pinia/commit/239aec50f270bc9025b1c28490dbdfbc720ab9d5)) -- **devtools:** add root state ([a75be78](https://github.com/posva/pinia/commit/a75be78e0d189d324c5f30ececb27cd1a61e7e77)) -- **devtools:** import/export global state ([b969f2a](https://github.com/posva/pinia/commit/b969f2a9884d0794733aea1162e0c154b34dee26)) -- **devtools:** load/save state ([9b503d6](https://github.com/posva/pinia/commit/9b503d6c81f45864eba299a20cfd2ec957c6884b)) +- remove deprecated APIs ([239aec5](https://github.com/vuejs/pinia/commit/239aec50f270bc9025b1c28490dbdfbc720ab9d5)) +- **devtools:** add root state ([a75be78](https://github.com/vuejs/pinia/commit/a75be78e0d189d324c5f30ececb27cd1a61e7e77)) +- **devtools:** import/export global state ([b969f2a](https://github.com/vuejs/pinia/commit/b969f2a9884d0794733aea1162e0c154b34dee26)) +- **devtools:** load/save state ([9b503d6](https://github.com/vuejs/pinia/commit/9b503d6c81f45864eba299a20cfd2ec957c6884b)) -# [2.0.0-alpha.19](https://github.com/posva/pinia/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) (2021-05-20) +# [2.0.0-alpha.19](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) (2021-05-20) ### Bug Fixes -- **devtools:** use older js ([e35da3b](https://github.com/posva/pinia/commit/e35da3be7a753ab5e4b1692395cf86cf0c314ba9)) +- **devtools:** use older js ([e35da3b](https://github.com/vuejs/pinia/commit/e35da3be7a753ab5e4b1692395cf86cf0c314ba9)) -# [2.0.0-alpha.18](https://github.com/posva/pinia/compare/v2.0.0-alpha.17...v2.0.0-alpha.18) (2021-05-17) +# [2.0.0-alpha.18](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.17...v2.0.0-alpha.18) (2021-05-17) ### Bug Fixes -- **types:** correct subtype Store ([48523da](https://github.com/posva/pinia/commit/48523da371ac291689b7a62b9ec433894a595827)), closes [#500](https://github.com/posva/pinia/issues/500) -- **types:** export types ([befc132](https://github.com/posva/pinia/commit/befc132bace0b6fdc063d25db20549faa51e50b7)) +- **types:** correct subtype Store ([48523da](https://github.com/vuejs/pinia/commit/48523da371ac291689b7a62b9ec433894a595827)), closes [#500](https://github.com/vuejs/pinia/issues/500) +- **types:** export types ([befc132](https://github.com/vuejs/pinia/commit/befc132bace0b6fdc063d25db20549faa51e50b7)) -# [2.0.0-alpha.17](https://github.com/posva/pinia/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2021-05-17) +# [2.0.0-alpha.17](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2021-05-17) ### Bug Fixes -- **types:** forbid non existent keys on store ([e747cba](https://github.com/posva/pinia/commit/e747cba7d90ebd9ef29a379d441744aecc31db80)) -- **types:** patch should unwrap refs ([b82eafc](https://github.com/posva/pinia/commit/b82eafc9e11ae820d5185359526d19dbbff0fa75)) -- **types:** unwrap refs passed to state ([b2d3ac9](https://github.com/posva/pinia/commit/b2d3ac994f0d1778d82fd0e5b14915fee4c5cb2b)), closes [#491](https://github.com/posva/pinia/issues/491) +- **types:** forbid non existent keys on store ([e747cba](https://github.com/vuejs/pinia/commit/e747cba7d90ebd9ef29a379d441744aecc31db80)) +- **types:** patch should unwrap refs ([b82eafc](https://github.com/vuejs/pinia/commit/b82eafc9e11ae820d5185359526d19dbbff0fa75)) +- **types:** unwrap refs passed to state ([b2d3ac9](https://github.com/vuejs/pinia/commit/b2d3ac994f0d1778d82fd0e5b14915fee4c5cb2b)), closes [#491](https://github.com/vuejs/pinia/issues/491) ### Features -- **devtools:** add more data to actions ([e8f4b0e](https://github.com/posva/pinia/commit/e8f4b0e95192ec7d10d380776e7e9e703fe31261)) -- **devtools:** allow editing state ([0bbbd69](https://github.com/posva/pinia/commit/0bbbd69db467d168770571ec0452630ff6409741)) -- **devtools:** allow editing stores from components ([b808fbc](https://github.com/posva/pinia/commit/b808fbcac9915d11f5979e1781ce125327a0e6ab)) -- **devtools:** display only relevant stores ([58f0af6](https://github.com/posva/pinia/commit/58f0af617b6516f69024cecb95ef8e0dd665104f)) -- **devtools:** group action and their changes ([ecd993a](https://github.com/posva/pinia/commit/ecd993abfcec2e95d63fe5ccfd64080d5c89cc0b)) -- **types:** allow defining custom state properties ([17fcbca](https://github.com/posva/pinia/commit/17fcbcafd30eec3af609bcc4549eee08968ea1a2)) -- **types:** infer args and returned value for onAction ([f3b3bcf](https://github.com/posva/pinia/commit/f3b3bcf52a8ba86bc0927f98f53045842905c216)) -- subscribe to actions with `$onAction` ([c9ce6ea](https://github.com/posva/pinia/commit/c9ce6ea55f225351bb95a47890f791134b233aad)), closes [#240](https://github.com/posva/pinia/issues/240) +- **devtools:** add more data to actions ([e8f4b0e](https://github.com/vuejs/pinia/commit/e8f4b0e95192ec7d10d380776e7e9e703fe31261)) +- **devtools:** allow editing state ([0bbbd69](https://github.com/vuejs/pinia/commit/0bbbd69db467d168770571ec0452630ff6409741)) +- **devtools:** allow editing stores from components ([b808fbc](https://github.com/vuejs/pinia/commit/b808fbcac9915d11f5979e1781ce125327a0e6ab)) +- **devtools:** display only relevant stores ([58f0af6](https://github.com/vuejs/pinia/commit/58f0af617b6516f69024cecb95ef8e0dd665104f)) +- **devtools:** group action and their changes ([ecd993a](https://github.com/vuejs/pinia/commit/ecd993abfcec2e95d63fe5ccfd64080d5c89cc0b)) +- **types:** allow defining custom state properties ([17fcbca](https://github.com/vuejs/pinia/commit/17fcbcafd30eec3af609bcc4549eee08968ea1a2)) +- **types:** infer args and returned value for onAction ([f3b3bcf](https://github.com/vuejs/pinia/commit/f3b3bcf52a8ba86bc0927f98f53045842905c216)) +- subscribe to actions with `$onAction` ([c9ce6ea](https://github.com/vuejs/pinia/commit/c9ce6ea55f225351bb95a47890f791134b233aad)), closes [#240](https://github.com/vuejs/pinia/issues/240) ### Performance Improvements -- **devtools:** avoid multiple subscriptions ([ea62f1d](https://github.com/posva/pinia/commit/ea62f1db8d82224ea0226fa5ec90da410ff31bda)) +- **devtools:** avoid multiple subscriptions ([ea62f1d](https://github.com/vuejs/pinia/commit/ea62f1db8d82224ea0226fa5ec90da410ff31bda)) ### BREAKING CHANGES @@ -342,41 +342,41 @@ It contains major improvements: - In `store.$subscribe()`'s first argument, the `storeName` property has been deprecated in favor of `storeId`. -# [2.0.0-alpha.16](https://github.com/posva/pinia/compare/v2.0.0-alpha.14...v2.0.0-alpha.16) (2021-05-04) +# [2.0.0-alpha.16](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.14...v2.0.0-alpha.16) (2021-05-04) ### Bug Fixes -- **devtools:** add all stores ([2a8515c](https://github.com/posva/pinia/commit/2a8515cef57dce9cb9d0d8f7a8a52bbc1d3b6082)), closes [#472](https://github.com/posva/pinia/issues/472) +- **devtools:** add all stores ([2a8515c](https://github.com/vuejs/pinia/commit/2a8515cef57dce9cb9d0d8f7a8a52bbc1d3b6082)), closes [#472](https://github.com/vuejs/pinia/issues/472) ### Features -- **devtools:** display getters in components ([810b969](https://github.com/posva/pinia/commit/810b9697fe639070c21a76119d7d7001b6db069e)) +- **devtools:** display getters in components ([810b969](https://github.com/vuejs/pinia/commit/810b9697fe639070c21a76119d7d7001b6db069e)) -# [2.0.0-alpha.15](https://github.com/posva/pinia/compare/v2.0.0-alpha.14...v2.0.0-alpha.15) (2021-05-04) +# [2.0.0-alpha.15](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.14...v2.0.0-alpha.15) (2021-05-04) ### Bug Fixes -- **devtools:** fix devtools attach ([017795a](https://github.com/posva/pinia/commit/017795aac3e654d6c67f99437851dcfe589d20b0)) +- **devtools:** fix devtools attach ([017795a](https://github.com/vuejs/pinia/commit/017795aac3e654d6c67f99437851dcfe589d20b0)) -# [2.0.0-alpha.14](https://github.com/posva/pinia/compare/v2.0.0-alpha.13...v2.0.0-alpha.14) (2021-05-03) +# [2.0.0-alpha.14](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.13...v2.0.0-alpha.14) (2021-05-03) ### Features -- **devtools:** work with stores added before app.use ([#444](https://github.com/posva/pinia/issues/444)) ([21f917f](https://github.com/posva/pinia/commit/21f917f057522b7e2ff70fa8517c5941c644a577)) -- **devtools:** add getters to devtools ([c4bf761](https://github.com/posva/pinia/commit/c4bf761e95b79a0831061e490ba1d69802bc9d95)) -- mark getters as readonly ([fcbeb95](https://github.com/posva/pinia/commit/fcbeb95cdd7f2b7d58731392d707183b311863ff)) -- **plugins:** allow chaining ([3a49d34](https://github.com/posva/pinia/commit/3a49d34f5d30c1d346243df0d043a0709b2a4861)) -- **mapHelpers:** warn on array mapStores ([d385bd9](https://github.com/posva/pinia/commit/d385bd98b136be15b6aa3ac6c2c8ca9261af4635)) -- pass options to context in plugins ([c8ad19f](https://github.com/posva/pinia/commit/c8ad19f6a959751d456aca93cd670d6b18064d50)) -- **types:** expose PiniaPluginContext ([94d12e7](https://github.com/posva/pinia/commit/94d12e7f127125c8aa915262471e07aae9d881bf)) -- add plugin api wip ([50bc807](https://github.com/posva/pinia/commit/50bc807dce932c5cbe02612505535f05dfe6325a)) -- **plugins:** allow void return ([5ef7140](https://github.com/posva/pinia/commit/5ef71407764384bef13a4f46fd001beade387d24)) -- **plugins:** pass a context object to plugins instead of app ([bcb4ec3](https://github.com/posva/pinia/commit/bcb4ec3422635dd57f655e58f72a9a7a1c7dba0d)) -- add plugin api wip ([b5c928d](https://github.com/posva/pinia/commit/b5c928da20efc532de84d8b8498d56f306a40e03)) +- **devtools:** work with stores added before app.use ([#444](https://github.com/vuejs/pinia/issues/444)) ([21f917f](https://github.com/vuejs/pinia/commit/21f917f057522b7e2ff70fa8517c5941c644a577)) +- **devtools:** add getters to devtools ([c4bf761](https://github.com/vuejs/pinia/commit/c4bf761e95b79a0831061e490ba1d69802bc9d95)) +- mark getters as readonly ([fcbeb95](https://github.com/vuejs/pinia/commit/fcbeb95cdd7f2b7d58731392d707183b311863ff)) +- **plugins:** allow chaining ([3a49d34](https://github.com/vuejs/pinia/commit/3a49d34f5d30c1d346243df0d043a0709b2a4861)) +- **mapHelpers:** warn on array mapStores ([d385bd9](https://github.com/vuejs/pinia/commit/d385bd98b136be15b6aa3ac6c2c8ca9261af4635)) +- pass options to context in plugins ([c8ad19f](https://github.com/vuejs/pinia/commit/c8ad19f6a959751d456aca93cd670d6b18064d50)) +- **types:** expose PiniaPluginContext ([94d12e7](https://github.com/vuejs/pinia/commit/94d12e7f127125c8aa915262471e07aae9d881bf)) +- add plugin api wip ([50bc807](https://github.com/vuejs/pinia/commit/50bc807dce932c5cbe02612505535f05dfe6325a)) +- **plugins:** allow void return ([5ef7140](https://github.com/vuejs/pinia/commit/5ef71407764384bef13a4f46fd001beade387d24)) +- **plugins:** pass a context object to plugins instead of app ([bcb4ec3](https://github.com/vuejs/pinia/commit/bcb4ec3422635dd57f655e58f72a9a7a1c7dba0d)) +- add plugin api wip ([b5c928d](https://github.com/vuejs/pinia/commit/b5c928da20efc532de84d8b8498d56f306a40e03)) ### Performance Improvements -- **store:** reuse store instances when possible ([14f5a5f](https://github.com/posva/pinia/commit/14f5a5fd21677e7e5673443c35eeadbe2bdd8f05)) +- **store:** reuse store instances when possible ([14f5a5f](https://github.com/vuejs/pinia/commit/14f5a5fd21677e7e5673443c35eeadbe2bdd8f05)) ### BREAKING CHANGES @@ -421,84 +421,84 @@ It contains major improvements: Check the new documentation for [Plugins](https://pinia.esm.dev/core-concepts/plugins.html)! -# [2.0.0-alpha.13](https://github.com/posva/pinia/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2021-04-10) +# [2.0.0-alpha.13](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2021-04-10) ### Bug Fixes -- **subscribe:** remove subscription when unmounted ([10e1c30](https://github.com/posva/pinia/commit/10e1c3069a23f3a9c0d1e32cbc1fbb074709173e)) +- **subscribe:** remove subscription when unmounted ([10e1c30](https://github.com/vuejs/pinia/commit/10e1c3069a23f3a9c0d1e32cbc1fbb074709173e)) ### Features -- **types:** fail on async patch ([c254a8a](https://github.com/posva/pinia/commit/c254a8abc73d7e2589acbffe432a33f985c1003d)) +- **types:** fail on async patch ([c254a8a](https://github.com/vuejs/pinia/commit/c254a8abc73d7e2589acbffe432a33f985c1003d)) -# [2.0.0-alpha.12](https://github.com/posva/pinia/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2021-04-09) +# [2.0.0-alpha.12](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2021-04-09) ### Bug Fixes -- **store:** avoid multiple subscriptions call ([71404cb](https://github.com/posva/pinia/commit/71404cb3ef6466c74b72c5fdb1075740a788a309)), closes [#429](https://github.com/posva/pinia/issues/429) [#430](https://github.com/posva/pinia/issues/430) +- **store:** avoid multiple subscriptions call ([71404cb](https://github.com/vuejs/pinia/commit/71404cb3ef6466c74b72c5fdb1075740a788a309)), closes [#429](https://github.com/vuejs/pinia/issues/429) [#430](https://github.com/vuejs/pinia/issues/430) -# [2.0.0-alpha.11](https://github.com/posva/pinia/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2021-04-09) +# [2.0.0-alpha.11](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2021-04-09) ### Bug Fixes -- **types:** enable autocomplete in object ([b299ff0](https://github.com/posva/pinia/commit/b299ff070101dc9d17ceb24bd43d697033695167)) +- **types:** enable autocomplete in object ([b299ff0](https://github.com/vuejs/pinia/commit/b299ff070101dc9d17ceb24bd43d697033695167)) ### Features -- mapWritableState ([3218bdb](https://github.com/posva/pinia/commit/3218bdbb916049bebf1416cef1c103ecda66274b)) -- **mapState:** accept functions ([e2f2b92](https://github.com/posva/pinia/commit/e2f2b92f41f1908bfa6614655e625cbfcae5a716)) -- **mapStores:** allow custom suffix ([c957fb9](https://github.com/posva/pinia/commit/c957fb97f1b1ffdb927f40dfa0abd0304a8eb998)) -- **types:** allow extending mapStores suffix ([f14c7b9](https://github.com/posva/pinia/commit/f14c7b996dd8232370033c671566c4cafdf535bc)) -- add mapActions ([b5d27fb](https://github.com/posva/pinia/commit/b5d27fbd34b006ae7aec01c091d4e246c3fa73fc)) -- add mapStores ([d3d9327](https://github.com/posva/pinia/commit/d3d9327918081feaffe63b7debf4e5dbbcf55890)) -- mapState with array ([0e05811](https://github.com/posva/pinia/commit/0e058113668f8c9a81d09e7175d89ea921142c31)) -- mapState with object ([06805db](https://github.com/posva/pinia/commit/06805db9b4526cc0741016e0632cd6fb353a9728)) -- **types:** expose DefineStoreOptions ([c727070](https://github.com/posva/pinia/commit/c72707070a5096df62a4bab269ce9087e2d9c102)) +- mapWritableState ([3218bdb](https://github.com/vuejs/pinia/commit/3218bdbb916049bebf1416cef1c103ecda66274b)) +- **mapState:** accept functions ([e2f2b92](https://github.com/vuejs/pinia/commit/e2f2b92f41f1908bfa6614655e625cbfcae5a716)) +- **mapStores:** allow custom suffix ([c957fb9](https://github.com/vuejs/pinia/commit/c957fb97f1b1ffdb927f40dfa0abd0304a8eb998)) +- **types:** allow extending mapStores suffix ([f14c7b9](https://github.com/vuejs/pinia/commit/f14c7b996dd8232370033c671566c4cafdf535bc)) +- add mapActions ([b5d27fb](https://github.com/vuejs/pinia/commit/b5d27fbd34b006ae7aec01c091d4e246c3fa73fc)) +- add mapStores ([d3d9327](https://github.com/vuejs/pinia/commit/d3d9327918081feaffe63b7debf4e5dbbcf55890)) +- mapState with array ([0e05811](https://github.com/vuejs/pinia/commit/0e058113668f8c9a81d09e7175d89ea921142c31)) +- mapState with object ([06805db](https://github.com/vuejs/pinia/commit/06805db9b4526cc0741016e0632cd6fb353a9728)) +- **types:** expose DefineStoreOptions ([c727070](https://github.com/vuejs/pinia/commit/c72707070a5096df62a4bab269ce9087e2d9c102)) -# [2.0.0-alpha.10](https://github.com/posva/pinia/compare/v2.0.0-alpha.9...v2.0.0-alpha.10) (2021-04-01) +# [2.0.0-alpha.10](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.9...v2.0.0-alpha.10) (2021-04-01) ### Features -- **patch:** allow passing a function ([8d545e4](https://github.com/posva/pinia/commit/8d545e427c6415df00254eb9638116e96e64d3b5)) -- **types:** generics on PiniaCustomProperties ([36129cf](https://github.com/posva/pinia/commit/36129cf415abb8efccda859cd6b787594fe46f00)) +- **patch:** allow passing a function ([8d545e4](https://github.com/vuejs/pinia/commit/8d545e427c6415df00254eb9638116e96e64d3b5)) +- **types:** generics on PiniaCustomProperties ([36129cf](https://github.com/vuejs/pinia/commit/36129cf415abb8efccda859cd6b787594fe46f00)) -# [2.0.0-alpha.9](https://github.com/posva/pinia/compare/v2.0.0-alpha.8...v2.0.0-alpha.9) (2021-03-31) +# [2.0.0-alpha.9](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.8...v2.0.0-alpha.9) (2021-03-31) ### Bug Fixes -- **types:** pass custom properties to stores ([d26df6e](https://github.com/posva/pinia/commit/d26df6e1133fc8dff58312df36ff2af6f129a560)) +- **types:** pass custom properties to stores ([d26df6e](https://github.com/vuejs/pinia/commit/d26df6e1133fc8dff58312df36ff2af6f129a560)) -# [2.0.0-alpha.8](https://github.com/posva/pinia/compare/v2.0.0-alpha.7...v2.0.0-alpha.8) (2021-03-29) +# [2.0.0-alpha.8](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.7...v2.0.0-alpha.8) (2021-03-29) ### Bug Fixes -- use assign instead of spread ([b2bb5ba](https://github.com/posva/pinia/commit/b2bb5ba4faf52c41479a7d77490b85016b853229)) -- **cjs:** ensure dev checks on cjs build ([a255735](https://github.com/posva/pinia/commit/a255735211b796120d5f76470ea18759f1eb5d97)) +- use assign instead of spread ([b2bb5ba](https://github.com/vuejs/pinia/commit/b2bb5ba4faf52c41479a7d77490b85016b853229)) +- **cjs:** ensure dev checks on cjs build ([a255735](https://github.com/vuejs/pinia/commit/a255735211b796120d5f76470ea18759f1eb5d97)) ### Features -- **devtools:** logo and titles ([0963fd0](https://github.com/posva/pinia/commit/0963fd0b647b0e5414782f78167c770cbab24a83)) +- **devtools:** logo and titles ([0963fd0](https://github.com/vuejs/pinia/commit/0963fd0b647b0e5414782f78167c770cbab24a83)) -# [2.0.0-alpha.7](https://github.com/posva/pinia/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2021-01-21) +# [2.0.0-alpha.7](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2021-01-21) ### Bug Fixes -- resilient _VUE_DEVTOOLS_TOAST_ ([#334](https://github.com/posva/pinia/issues/334)) ([c0cacd2](https://github.com/posva/pinia/commit/c0cacd2631d76d9d6de2b16d4106ad7decb51217)) +- resilient _VUE_DEVTOOLS_TOAST_ ([#334](https://github.com/vuejs/pinia/issues/334)) ([c0cacd2](https://github.com/vuejs/pinia/commit/c0cacd2631d76d9d6de2b16d4106ad7decb51217)) ### Features -- enable calling `useStore()` in client ([c949b80](https://github.com/posva/pinia/commit/c949b80391cae322f024b8cc369be351d5d6a693)) -- store plugins ([f027bf5](https://github.com/posva/pinia/commit/f027bf587b37c7fc30eba4da5f90d52d99e6536d)) +- enable calling `useStore()` in client ([c949b80](https://github.com/vuejs/pinia/commit/c949b80391cae322f024b8cc369be351d5d6a693)) +- store plugins ([f027bf5](https://github.com/vuejs/pinia/commit/f027bf587b37c7fc30eba4da5f90d52d99e6536d)) -# [2.0.0-alpha.6](https://github.com/posva/pinia/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2020-12-31) +# [2.0.0-alpha.6](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2020-12-31) ### Bug Fixes -- correct lifespan of stores ([483335c](https://github.com/posva/pinia/commit/483335c6660d593cf33468c1ab8c95da82cc392a)), closes [#255](https://github.com/posva/pinia/issues/255) +- correct lifespan of stores ([483335c](https://github.com/vuejs/pinia/commit/483335c6660d593cf33468c1ab8c95da82cc392a)), closes [#255](https://github.com/vuejs/pinia/issues/255) ### Features -- **types:** export used types ([dc56fba](https://github.com/posva/pinia/commit/dc56fbafa21d8efa2a4b61ffb464f1befa25e34c)), closes [#315](https://github.com/posva/pinia/issues/315) +- **types:** export used types ([dc56fba](https://github.com/vuejs/pinia/commit/dc56fbafa21d8efa2a4b61ffb464f1befa25e34c)), closes [#315](https://github.com/vuejs/pinia/issues/315) ### BREAKING CHANGES @@ -508,32 +508,32 @@ It contains major improvements: request). **This affects particularly users doing SSR** but also enables them to write universal code. -# [2.0.0-alpha.5](https://github.com/posva/pinia/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2020-10-09) +# [2.0.0-alpha.5](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2020-10-09) ### Code Refactoring -- prefix store properties with \$ ([#254](https://github.com/posva/pinia/issues/254)) ([751f286](https://github.com/posva/pinia/commit/751f2867b97f210488eb82bad1ec05af6ab6e72c)) +- prefix store properties with \$ ([#254](https://github.com/vuejs/pinia/issues/254)) ([751f286](https://github.com/vuejs/pinia/commit/751f2867b97f210488eb82bad1ec05af6ab6e72c)) ### BREAKING CHANGES - all store properties (`id`, `state`, `patch`, `subscribe`, and `reset`) are now prefixed with `$` to allow properties defined with the same type and avoid types breaking. Tip: you can refactor your whole codebase with F2 (or right-click + Refactor) on each of the store's properties -# [2.0.0-alpha.4](https://github.com/posva/pinia/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2020-09-29) +# [2.0.0-alpha.4](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2020-09-29) ### Bug Fixes -- detach stores creation from currentInstance ([dc31736](https://github.com/posva/pinia/commit/dc317360ebebc208ca31d819953c573f6a7ac3cc)) +- detach stores creation from currentInstance ([dc31736](https://github.com/vuejs/pinia/commit/dc317360ebebc208ca31d819953c573f6a7ac3cc)) -# [2.0.0-alpha.3](https://github.com/posva/pinia/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2020-09-28) +# [2.0.0-alpha.3](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2020-09-28) ### Code Refactoring -- rename createStore to defineStore ([a9ad160](https://github.com/posva/pinia/commit/a9ad160bb38d6bfae3a52c66ae28793937af05d6)) +- rename createStore to defineStore ([a9ad160](https://github.com/vuejs/pinia/commit/a9ad160bb38d6bfae3a52c66ae28793937af05d6)) ### Features -- deprecation message createStore ([3054251](https://github.com/posva/pinia/commit/30542514389e4b903e7726039b98324afdafcc24)) -- **ssr:** support ssr ([59709e0](https://github.com/posva/pinia/commit/59709e0851db66d337054e3aab0db987fab20f9d)) +- deprecation message createStore ([3054251](https://github.com/vuejs/pinia/commit/30542514389e4b903e7726039b98324afdafcc24)) +- **ssr:** support ssr ([59709e0](https://github.com/vuejs/pinia/commit/59709e0851db66d337054e3aab0db987fab20f9d)) ### BREAKING CHANGES @@ -541,18 +541,18 @@ It contains major improvements: will be marked as deprecated during the alpha releases and then be dropped. -# [2.0.0-alpha.2](https://github.com/posva/pinia/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) (2020-09-25) +# [2.0.0-alpha.2](https://github.com/vuejs/pinia/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) (2020-09-25) ### Features -- add devtools support ([849cb3f](https://github.com/posva/pinia/commit/849cb3f30559e312bf00625a42a7b697c68d9941)) +- add devtools support ([849cb3f](https://github.com/vuejs/pinia/commit/849cb3f30559e312bf00625a42a7b697c68d9941)) -# [2.0.0-alpha.1](https://github.com/posva/pinia/compare/0.1.0-alpha.1...2.0.0-alpha.1) (2020-09-22) +# [2.0.0-alpha.1](https://github.com/vuejs/pinia/compare/0.1.0-alpha.1...2.0.0-alpha.1) (2020-09-22) ### Features -- access the state and getters through `this` ([#190](https://github.com/posva/pinia/issues/190)) ([6df18ef](https://github.com/posva/pinia/commit/6df18ef49472b0348b09cb84801c9c69ae79b3d9)) -- merge all properties under this ([d5eaac1](https://github.com/posva/pinia/commit/d5eaac106c50be8febc25083839e7cb635ccfda7)) +- access the state and getters through `this` ([#190](https://github.com/vuejs/pinia/issues/190)) ([6df18ef](https://github.com/vuejs/pinia/commit/6df18ef49472b0348b09cb84801c9c69ae79b3d9)) +- merge all properties under this ([d5eaac1](https://github.com/vuejs/pinia/commit/d5eaac106c50be8febc25083839e7cb635ccfda7)) ### BREAKING CHANGES diff --git a/packages/pinia/__tests__/store.spec.ts b/packages/pinia/__tests__/store.spec.ts index cf90e68f..cdab3deb 100644 --- a/packages/pinia/__tests__/store.spec.ts +++ b/packages/pinia/__tests__/store.spec.ts @@ -95,7 +95,6 @@ describe('Store', () => { }, }) - // https://github.com/posva/pinia/issues/593 expect(store.nested.foo).toBe('bar') }) diff --git a/packages/pinia/package.json b/packages/pinia/package.json index 45f22a3c..5927571b 100644 --- a/packages/pinia/package.json +++ b/packages/pinia/package.json @@ -94,10 +94,10 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/posva/pinia.git" + "url": "git+https://github.com/vuejs/pinia.git" }, "bugs": { - "url": "https://github.com/posva/pinia/issues" + "url": "https://github.com/vuejs/pinia/issues" }, - "homepage": "https://github.com/posva/pinia#readme" + "homepage": "https://github.com/vuejs/pinia#readme" } diff --git a/packages/pinia/src/store.ts b/packages/pinia/src/store.ts index b5894384..c5697e06 100644 --- a/packages/pinia/src/store.ts +++ b/packages/pinia/src/store.ts @@ -527,7 +527,7 @@ function createSetupStore< } else { assign(store, setupStore) // allows retrieving reactive objects with `storeToRefs()`. Must be called after assigning to the reactive object. - // https://github.com/posva/pinia/issues/799 + // Make `storeToRefs()` work with `reactive()` #799 assign(toRaw(store), setupStore) } diff --git a/packages/playground/src/App.vue b/packages/playground/src/App.vue index ec095d4f..3f0e3f8c 100644 --- a/packages/playground/src/App.vue +++ b/packages/playground/src/App.vue @@ -38,9 +38,9 @@ const pages = router const sourceCodeLink = computed(() => { if (route.name) { - return `https://github.com/posva/pinia/blob/v2/packages/playground/src/views/${route.name}.vue` + return `https://github.com/vuejs/pinia/blob/v2/packages/playground/src/views/${route.name}.vue` } else { - return `https://github.com/posva/pinia/blob/v2/packages/playground/src/` + return `https://github.com/vuejs/pinia/blob/v2/packages/playground/src/` } }) diff --git a/packages/testing/CHANGELOG.md b/packages/testing/CHANGELOG.md index 269b0a4f..f638830a 100644 --- a/packages/testing/CHANGELOG.md +++ b/packages/testing/CHANGELOG.md @@ -1,38 +1,38 @@ -## [0.0.8](https://github.com/posva/pinia/compare/@pinia/testing@0.0.7...@pinia/testing@0.0.8) (2021-12-04) +## [0.0.8](https://github.com/vuejs/pinia/compare/@pinia/testing@0.0.7...@pinia/testing@0.0.8) (2021-12-04) ### Features -- can set an initialState for tests ([028e0ca](https://github.com/posva/pinia/commit/028e0cae2f46744f90c98914cfca13daa7ce36c1)) +- can set an initialState for tests ([028e0ca](https://github.com/vuejs/pinia/commit/028e0cae2f46744f90c98914cfca13daa7ce36c1)) -## [0.0.7](https://github.com/posva/pinia/compare/@pinia/testing@0.0.6...@pinia/testing@0.0.7) (2021-12-01) +## [0.0.7](https://github.com/vuejs/pinia/compare/@pinia/testing@0.0.6...@pinia/testing@0.0.7) (2021-12-01) ### Bug Fixes -- **testing:** preserve non-enumerable properties of pinia instance in createTestingPinia ([#841](https://github.com/posva/pinia/issues/841)) ([b130d6f](https://github.com/posva/pinia/commit/b130d6f648239293457f347b42a7f1b668748d30)) +- **testing:** preserve non-enumerable properties of pinia instance in createTestingPinia ([#841](https://github.com/vuejs/pinia/issues/841)) ([b130d6f](https://github.com/vuejs/pinia/commit/b130d6f648239293457f347b42a7f1b668748d30)) -## [0.0.6](https://github.com/posva/pinia/compare/@pinia/testing@0.0.5...@pinia/testing@0.0.6) (2021-11-19) +## [0.0.6](https://github.com/vuejs/pinia/compare/@pinia/testing@0.0.5...@pinia/testing@0.0.6) (2021-11-19) ### Bug Fixes -- **testing:** typo when detecting jest existence ([#811](https://github.com/posva/pinia/issues/811)) ([c1fd013](https://github.com/posva/pinia/commit/c1fd01350b12b09ce49f923ebc9fee992c2408fd)) +- **testing:** typo when detecting jest existence ([#811](https://github.com/vuejs/pinia/issues/811)) ([c1fd013](https://github.com/vuejs/pinia/commit/c1fd01350b12b09ce49f923ebc9fee992c2408fd)) -## [0.0.5](https://github.com/posva/pinia/compare/@pinia/testing@0.0.4...@pinia/testing@0.0.5) (2021-11-03) +## [0.0.5](https://github.com/vuejs/pinia/compare/@pinia/testing@0.0.4...@pinia/testing@0.0.5) (2021-11-03) Nothing new. -## [0.0.4](https://github.com/posva/pinia/compare/@pinia/testing@0.0.3...@pinia/testing@0.0.4) (2021-10-21) +## [0.0.4](https://github.com/vuejs/pinia/compare/@pinia/testing@0.0.3...@pinia/testing@0.0.4) (2021-10-21) ### Bug Fixes -- correct peer deps and deps ([c83677a](https://github.com/posva/pinia/commit/c83677a9cf7a1cb20b2e6fed529f3c5500062648)) +- correct peer deps and deps ([c83677a](https://github.com/vuejs/pinia/commit/c83677a9cf7a1cb20b2e6fed529f3c5500062648)) -## [0.0.3](https://github.com/posva/pinia/compare/@pinia/testing@0.0.2...@pinia/testing@0.0.3) (2021-09-03) +## [0.0.3](https://github.com/vuejs/pinia/compare/@pinia/testing@0.0.2...@pinia/testing@0.0.3) (2021-09-03) ### Features -- add typedoc ([b98e23d](https://github.com/posva/pinia/commit/b98e23d5588925c6a0094a92067a3cc5784e965d)) +- add typedoc ([b98e23d](https://github.com/vuejs/pinia/commit/b98e23d5588925c6a0094a92067a3cc5784e965d)) -## [0.0.2](https://github.com/posva/pinia/compare/@pinia/testing@0.0.1...@pinia/testing@0.0.2) (2021-08-19) +## [0.0.2](https://github.com/vuejs/pinia/compare/@pinia/testing@0.0.1...@pinia/testing@0.0.2) (2021-08-19) Small refactor with no effective changes. @@ -40,4 +40,4 @@ Small refactor with no effective changes. ### Features -- **testing:** add testing package ([fc05376](https://github.com/posva/pinia/commit/fc053763752c2b11d7b851f95334034a1f9b8347)) +- **testing:** add testing package ([fc05376](https://github.com/vuejs/pinia/commit/fc053763752c2b11d7b851f95334034a1f9b8347)) diff --git a/packages/testing/package.json b/packages/testing/package.json index 31c70251..01a05c25 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -11,13 +11,13 @@ "mock", "testing" ], - "homepage": "https://github.com/posva/pinia/tree/v2/packages/testing#readme", + "homepage": "https://github.com/vuejs/pinia/tree/v2/packages/testing#readme", "bugs": { - "url": "https://github.com/posva/pinia/issues" + "url": "https://github.com/vuejs/pinia/issues" }, "repository": { "type": "git", - "url": "git+https://github.com/posva/pinia.git" + "url": "git+https://github.com/vuejs/pinia.git" }, "funding": "https://github.com/sponsors/posva", "license": "MIT",