]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
thirdparty/vuejs/pinia.git
3 years agofix: allow using multiple `$onAction`, **ignore returned value**
Eduardo San Martin Morote [Mon, 13 Dec 2021 10:06:43 +0000 (11:06 +0100)] 
fix: allow using multiple `$onAction`, **ignore returned value**

Fix #893

This change removes the ability to return `false` to avoid an action to
throw because differently from `onErrorCaptured` from Vue 3, errors are
not propagated here and this behavior could lead to actions not throwing
inside components, which is is rather error-prone. This behavior can
still be achieved with a plugin that override every action in a store.
It also removes the ability to override the returned value with `after`,
which was error prone for the same arguments. Fortunately, these were
**undocumented features**, and should not be used. Revisitting the old
implementation could be revisited but should go through an RFC to
discuss different possibilities (e.g. should the returned value inside
`after` be passed to any other `after`?) to find the most one that makes
more sense for a default.

3 years agochore(deps): update dependency @vitejs/plugin-vue to v2 (#895)
renovate[bot] [Mon, 13 Dec 2021 08:05:07 +0000 (09:05 +0100)] 
chore(deps): update dependency @vitejs/plugin-vue to v2 (#895)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years agochore(deps): update all non-major dependencies
Renovate Bot [Mon, 13 Dec 2021 02:20:56 +0000 (02:20 +0000)] 
chore(deps): update all non-major dependencies

3 years agotest: await nextTick instead of unmount (#883)
Bodo Graumann [Tue, 7 Dec 2021 10:32:46 +0000 (11:32 +0100)] 
test: await nextTick instead of unmount (#883)

3 years agodocs: algolia update
Eduardo San Martin Morote [Mon, 6 Dec 2021 09:51:29 +0000 (10:51 +0100)] 
docs: algolia update

3 years agochore(deps): update all non-major dependencies
Renovate Bot [Mon, 6 Dec 2021 00:16:40 +0000 (00:16 +0000)] 
chore(deps): update all non-major dependencies

3 years agorelease: pinia@2.0.6 @pinia/testing@0.0.8 @pinia/testing@0.0.8 pinia@2.0.6
Eduardo San Martin Morote [Sat, 4 Dec 2021 08:33:57 +0000 (09:33 +0100)] 
release: pinia@2.0.6 @pinia/testing@0.0.8

3 years agofix: downgrade peerdep requirement for ts
Eduardo San Martin Morote [Sat, 4 Dec 2021 08:31:05 +0000 (09:31 +0100)] 
fix: downgrade peerdep requirement for ts

Close #874

3 years agofeat: can set an initialState for tests
Eduardo San Martin Morote [Fri, 3 Dec 2021 17:41:07 +0000 (18:41 +0100)] 
feat: can set an initialState for tests

3 years agoAdd punctuation (#865)
Emmanuel Akhigbe [Fri, 3 Dec 2021 09:17:08 +0000 (10:17 +0100)] 
Add punctuation (#865)

3 years agoAdd article to text (#866)
Emmanuel Akhigbe [Fri, 3 Dec 2021 09:16:32 +0000 (10:16 +0100)] 
Add article to text (#866)

3 years agoGrammatical Correction to Introduction Page (#867)
Emmanuel Akhigbe [Fri, 3 Dec 2021 09:16:13 +0000 (10:16 +0100)] 
Grammatical Correction to Introduction Page (#867)

3 years agoGrammatical corrections on Introduction Page (#868)
Emmanuel Akhigbe [Fri, 3 Dec 2021 09:15:56 +0000 (10:15 +0100)] 
Grammatical corrections on Introduction Page (#868)

3 years agoTypographical correction (#869)
Emmanuel Akhigbe [Fri, 3 Dec 2021 09:15:42 +0000 (10:15 +0100)] 
Typographical correction (#869)

3 years agorelease: @pinia/nuxt@0.1.6 pinia@2.0.5 @pinia/testing@0.0.7 @pinia/nuxt@0.1.6 @pinia/testing@0.0.7 pinia@2.0.5
Eduardo San Martin Morote [Wed, 1 Dec 2021 15:01:13 +0000 (16:01 +0100)] 
release: @pinia/nuxt@0.1.6 pinia@2.0.5 @pinia/testing@0.0.7

3 years agobuild: release script
Eduardo San Martin Morote [Wed, 1 Dec 2021 14:54:10 +0000 (15:54 +0100)] 
build: release script

3 years agochore: ignore yalc files [skip ci]
Eduardo San Martin Morote [Tue, 30 Nov 2021 14:56:29 +0000 (15:56 +0100)] 
chore: ignore yalc files [skip ci]

3 years agobuild: update to execa
Eduardo San Martin Morote [Mon, 29 Nov 2021 08:06:12 +0000 (09:06 +0100)] 
build: update to execa

3 years agochore(deps): update dependency execa to v6 (#849)
renovate[bot] [Mon, 29 Nov 2021 08:03:23 +0000 (09:03 +0100)] 
chore(deps): update dependency execa to v6 (#849)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years agochore(deps): update all non-major dependencies
Renovate Bot [Mon, 29 Nov 2021 00:15:35 +0000 (00:15 +0000)] 
chore(deps): update all non-major dependencies

3 years agofix: shouldHydrate if not in skipHydrateMap (#846)
Yasser Lahbibi [Sun, 28 Nov 2021 12:03:32 +0000 (13:03 +0100)] 
fix: shouldHydrate if not in skipHydrateMap (#846)

3 years agofix(testing): preserve non-enumerable properties of pinia instance in createTestingPi...
Kirill Romanov [Fri, 26 Nov 2021 17:28:09 +0000 (20:28 +0300)] 
fix(testing): preserve non-enumerable properties of pinia instance in createTestingPinia (#841)

3 years agoci: run on pull request
Eduardo San Martin Morote [Fri, 26 Nov 2021 17:26:59 +0000 (18:26 +0100)] 
ci: run on pull request

3 years agoUpdate actions.md (#836)
Martin Rojo [Thu, 25 Nov 2021 21:44:51 +0000 (21:44 +0000)] 
Update actions.md (#836)

3 years agodocs: Vuex Migration Docs (#795)
Ben Jones [Mon, 22 Nov 2021 13:42:42 +0000 (13:42 +0000)] 
docs: Vuex Migration Docs (#795)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
3 years agochore(deps): update all non-major dependencies (#816)
renovate[bot] [Mon, 22 Nov 2021 08:56:31 +0000 (09:56 +0100)] 
chore(deps): update all non-major dependencies (#816)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years agochore(deps): update dependency @vueuse/core to v7 (#817)
renovate[bot] [Mon, 22 Nov 2021 08:34:06 +0000 (09:34 +0100)] 
chore(deps): update dependency @vueuse/core to v7 (#817)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years agodocs: fix typo in testing.md (#815)
Jaka Stavanja [Sun, 21 Nov 2021 23:04:17 +0000 (00:04 +0100)] 
docs: fix typo in testing.md (#815)

3 years agofix: accept reactive with storeToRefs
Eduardo San Martin Morote [Fri, 19 Nov 2021 12:46:19 +0000 (13:46 +0100)] 
fix: accept reactive with storeToRefs

Close #799

3 years agorelease: pinia@2.0.4 @pinia/testing@0.0.6 @pinia/testing@0.0.6 pinia@2.0.4
Eduardo San Martin Morote [Fri, 19 Nov 2021 09:52:18 +0000 (10:52 +0100)] 
release: pinia@2.0.4 @pinia/testing@0.0.6

3 years agotest: add failing skipped test for storeToRefs and reactive
Eduardo San Martin Morote [Fri, 19 Nov 2021 09:49:28 +0000 (10:49 +0100)] 
test: add failing skipped test for storeToRefs and reactive

3 years agochore: fix type error in playground demo
Eduardo San Martin Morote [Fri, 19 Nov 2021 09:29:51 +0000 (10:29 +0100)] 
chore: fix type error in playground demo

3 years agofix(testing): typo when detecting jest existence (#811)
Bodo Graumann [Fri, 19 Nov 2021 09:27:35 +0000 (10:27 +0100)] 
fix(testing): typo when detecting jest existence (#811)

3 years agochore: more demo code
Eduardo San Martin Morote [Mon, 15 Nov 2021 16:27:32 +0000 (17:27 +0100)] 
chore: more demo code

3 years agochore: more demo code
Eduardo San Martin Morote [Mon, 15 Nov 2021 15:52:07 +0000 (16:52 +0100)] 
chore: more demo code

3 years agochore: rename view
Eduardo San Martin Morote [Mon, 15 Nov 2021 15:48:48 +0000 (16:48 +0100)] 
chore: rename view

3 years agochore: add talk demo
Eduardo San Martin Morote [Mon, 15 Nov 2021 15:48:16 +0000 (16:48 +0100)] 
chore: add talk demo

3 years agochore: add empty settings
Eduardo San Martin Morote [Mon, 15 Nov 2021 13:36:22 +0000 (14:36 +0100)] 
chore: add empty settings

3 years agofeat(devtools): allow resetting directly from devtools
Eduardo San Martin Morote [Mon, 15 Nov 2021 13:31:31 +0000 (14:31 +0100)] 
feat(devtools): allow resetting directly from devtools

3 years agofeat(devtools): display all getters in pinia root
Eduardo San Martin Morote [Mon, 15 Nov 2021 13:02:08 +0000 (14:02 +0100)] 
feat(devtools): display all getters in pinia root

3 years agochore(deps): update all non-major dependencies (#796)
renovate[bot] [Mon, 15 Nov 2021 10:46:50 +0000 (11:46 +0100)] 
chore(deps): update all non-major dependencies (#796)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years agochore(deps): update dependency lint-staged to v12 (#797)
renovate[bot] [Mon, 15 Nov 2021 09:40:08 +0000 (10:40 +0100)] 
chore(deps): update dependency lint-staged to v12 (#797)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years agorelease: @pinia/nuxt@0.1.5 @pinia/nuxt@0.1.5
Eduardo San Martin Morote [Thu, 11 Nov 2021 08:33:22 +0000 (09:33 +0100)] 
release: @pinia/nuxt@0.1.5

3 years agoperf: install plugins only once
Eduardo San Martin Morote [Thu, 11 Nov 2021 08:32:05 +0000 (09:32 +0100)] 
perf: install plugins only once

it was done once per request and was a noop after first install

3 years agorelease: @pinia/nuxt@0.1.4 @pinia/nuxt@0.1.4
Eduardo San Martin Morote [Wed, 10 Nov 2021 17:30:18 +0000 (18:30 +0100)] 
release: @pinia/nuxt@0.1.4

3 years agofix: workaround prod build bug
Eduardo San Martin Morote [Wed, 10 Nov 2021 17:28:16 +0000 (18:28 +0100)] 
fix: workaround prod build bug

3 years agorelease: @pinia/nuxt@0.1.3 pinia@2.0.3 @pinia/nuxt@0.1.3 pinia@2.0.3
Eduardo San Martin Morote [Wed, 10 Nov 2021 16:24:50 +0000 (17:24 +0100)] 
release: @pinia/nuxt@0.1.3 pinia@2.0.3

3 years agofix: install vue composition api for vue 2
Eduardo San Martin Morote [Wed, 10 Nov 2021 16:22:03 +0000 (17:22 +0100)] 
fix: install vue composition api for vue 2

3 years agobuild: fix release script [skip ci]
Eduardo San Martin Morote [Mon, 8 Nov 2021 10:26:22 +0000 (11:26 +0100)] 
build: fix release script [skip ci]

3 years agochore: regen lock
Eduardo San Martin Morote [Mon, 8 Nov 2021 10:22:01 +0000 (11:22 +0100)] 
chore: regen lock

3 years agobuild: ignore branch check
Eduardo San Martin Morote [Mon, 8 Nov 2021 10:13:59 +0000 (11:13 +0100)] 
build: ignore branch check

3 years agorefactor: remove kit dependency (#776)
Daniel Roe [Mon, 8 Nov 2021 10:18:45 +0000 (10:18 +0000)] 
refactor: remove kit dependency (#776)

3 years agochore(deps): update all non-major dependencies
Renovate Bot [Mon, 8 Nov 2021 01:42:54 +0000 (01:42 +0000)] 
chore(deps): update all non-major dependencies

3 years agorefactor: fix typo (#779)
reiya [Sun, 7 Nov 2021 14:28:19 +0000 (23:28 +0900)] 
refactor: fix typo (#779)

3 years agotest: add shallowRef test
Eduardo San Martin Morote [Fri, 5 Nov 2021 09:22:44 +0000 (10:22 +0100)] 
test: add shallowRef test

3 years agorelease: @pinia/nuxt@0.1.2 @pinia/nuxt@0.1.2
Eduardo San Martin Morote [Thu, 4 Nov 2021 08:17:16 +0000 (09:17 +0100)] 
release: @pinia/nuxt@0.1.2

3 years agofix(nuxt): correct build export
Eduardo San Martin Morote [Thu, 4 Nov 2021 08:15:52 +0000 (09:15 +0100)] 
fix(nuxt): correct build export

3 years agorelease: @pinia/nuxt@0.1.1 pinia@2.0.2 @pinia/testing@0.0.5 @pinia/nuxt@0.1.1 @pinia/testing@0.0.5 pinia@2.0.2
Eduardo San Martin Morote [Wed, 3 Nov 2021 19:37:26 +0000 (20:37 +0100)] 
release: @pinia/nuxt@0.1.1 pinia@2.0.2 @pinia/testing@0.0.5

3 years agotest: skip coverage on vue 2
Eduardo San Martin Morote [Wed, 3 Nov 2021 19:31:02 +0000 (20:31 +0100)] 
test: skip coverage on vue 2

3 years agofix(nuxt): migrate to unbuild (#765)
pooya parsa [Wed, 3 Nov 2021 19:30:38 +0000 (20:30 +0100)] 
fix(nuxt): migrate to unbuild (#765)

3 years agoci: remove deprecated codecov
Eduardo San Martin Morote [Wed, 3 Nov 2021 19:06:54 +0000 (20:06 +0100)] 
ci: remove deprecated codecov

3 years agofix(types): for devtools-api
Eduardo San Martin Morote [Wed, 3 Nov 2021 19:00:28 +0000 (20:00 +0100)] 
fix(types): for devtools-api

3 years agochore: ignore generated file
Eduardo San Martin Morote [Wed, 3 Nov 2021 19:00:09 +0000 (20:00 +0100)] 
chore: ignore generated file

3 years agochore: up deps
Eduardo San Martin Morote [Wed, 3 Nov 2021 18:41:41 +0000 (19:41 +0100)] 
chore: up deps

3 years agochore: remove auto generated file [skip ci]
Eduardo San Martin Morote [Wed, 3 Nov 2021 18:33:05 +0000 (19:33 +0100)] 
chore: remove auto generated file [skip ci]

3 years agofix(nuxt): use `@nuxt/kit` (#764)
pooya parsa [Wed, 3 Nov 2021 18:28:23 +0000 (19:28 +0100)] 
fix(nuxt): use `@nuxt/kit` (#764)

3 years agodocs: fix customProperties example
Eduardo San Martin Morote [Wed, 3 Nov 2021 18:25:18 +0000 (19:25 +0100)] 
docs: fix customProperties example

Close #761

3 years agorefactor: use PiniaPlugin
Eduardo San Martin Morote [Wed, 3 Nov 2021 15:14:16 +0000 (16:14 +0100)] 
refactor: use PiniaPlugin

3 years agofix(types): remove dependency on Vue 3 only Plugin type
Eduardo San Martin Morote [Wed, 3 Nov 2021 15:07:23 +0000 (16:07 +0100)] 
fix(types): remove dependency on Vue 3 only Plugin type

3 years agorelease: pinia@2.0.1 pinia@2.0.1
Eduardo San Martin Morote [Wed, 3 Nov 2021 14:22:11 +0000 (15:22 +0100)] 
release: pinia@2.0.1

3 years agodocs: list all deprecations
Eduardo San Martin Morote [Wed, 3 Nov 2021 14:18:45 +0000 (15:18 +0100)] 
docs: list all deprecations

3 years agochore(deps): update all non-major dependencies
Renovate Bot [Mon, 1 Nov 2021 01:54:48 +0000 (01:54 +0000)] 
chore(deps): update all non-major dependencies

3 years agoFix module import for createTestingPinia from @pinia/testing (#756)
Rijad Zuzo [Fri, 29 Oct 2021 20:29:53 +0000 (22:29 +0200)] 
Fix module import for createTestingPinia from  @pinia/testing (#756)

3 years agochore: up sponsors [skip ci]
Eduardo San Martin Morote [Fri, 29 Oct 2021 12:27:50 +0000 (14:27 +0200)] 
chore: up sponsors [skip ci]

3 years agochore: up sponsors [skip ci]
Eduardo San Martin Morote [Fri, 29 Oct 2021 10:32:29 +0000 (12:32 +0200)] 
chore: up sponsors [skip ci]

3 years agodocs: use new file
Eduardo San Martin Morote [Fri, 29 Oct 2021 09:36:03 +0000 (11:36 +0200)] 
docs: use new file

3 years agodocs: migration webpack 4
Eduardo San Martin Morote [Fri, 29 Oct 2021 09:12:12 +0000 (11:12 +0200)] 
docs: migration webpack 4

3 years agochore: up deps
Eduardo San Martin Morote [Fri, 29 Oct 2021 09:11:57 +0000 (11:11 +0200)] 
chore: up deps

3 years agodocs: fix import `useUserStore` (#754)
Tony OHagan [Fri, 29 Oct 2021 08:32:32 +0000 (18:32 +1000)] 
docs: fix import `useUserStore` (#754)

3 years agochore: issue repro [skip ci]
Eduardo San Martin Morote [Thu, 28 Oct 2021 14:52:25 +0000 (16:52 +0200)] 
chore: issue repro [skip ci]

3 years agofeat(warn): improve getActivePinia warn
Eduardo San Martin Morote [Thu, 28 Oct 2021 09:24:36 +0000 (11:24 +0200)] 
feat(warn): improve getActivePinia warn

3 years agochore: remove unused param
Eduardo San Martin Morote [Thu, 28 Oct 2021 09:24:12 +0000 (11:24 +0200)] 
chore: remove unused param

3 years agofix: use assign instead of spread for older browsers
Eduardo San Martin Morote [Thu, 28 Oct 2021 09:23:59 +0000 (11:23 +0200)] 
fix: use assign instead of spread for older browsers

3 years agorefactor: remove deprecations
Eduardo San Martin Morote [Thu, 28 Oct 2021 09:22:51 +0000 (11:22 +0200)] 
refactor: remove deprecations

3 years agodocs: redeploy
Eduardo San Martin Morote [Wed, 27 Oct 2021 18:08:28 +0000 (20:08 +0200)] 
docs: redeploy

3 years agorelease: pinia@2.0.0 pinia@2.0.0
Eduardo San Martin Morote [Wed, 27 Oct 2021 16:09:07 +0000 (18:09 +0200)] 
release: pinia@2.0.0

3 years agobuild: fix change check [skip ci]
Eduardo San Martin Morote [Wed, 27 Oct 2021 16:06:39 +0000 (18:06 +0200)] 
build: fix change check [skip ci]

3 years agobuild: only check src and package files
Eduardo San Martin Morote [Wed, 27 Oct 2021 15:55:49 +0000 (17:55 +0200)] 
build: only check src and package files

3 years agochore: add dispose in playground
Eduardo San Martin Morote [Wed, 27 Oct 2021 15:55:30 +0000 (17:55 +0200)] 
chore: add dispose in playground

3 years agodocs: better cross usage docs
Eduardo San Martin Morote [Wed, 27 Oct 2021 15:54:53 +0000 (17:54 +0200)] 
docs: better cross usage docs

3 years agochore: link to demo with vite
Eduardo San Martin Morote [Wed, 27 Oct 2021 15:07:42 +0000 (17:07 +0200)] 
chore: link to demo with vite

3 years agofix(ssr): make skipHydrate compatible with @vue/composition-api
Eduardo San Martin Morote [Wed, 27 Oct 2021 13:35:43 +0000 (15:35 +0200)] 
fix(ssr): make skipHydrate compatible with @vue/composition-api

3 years agochore: up deps
Eduardo San Martin Morote [Wed, 27 Oct 2021 13:17:43 +0000 (15:17 +0200)] 
chore: up deps

3 years agofix(devtools): root store access #732
Eduardo San Martin Morote [Wed, 27 Oct 2021 08:20:00 +0000 (10:20 +0200)] 
fix(devtools): root store access #732

3 years agofix(plugins): ensure plugins are used only once (#745)
Jesse van Assen [Tue, 26 Oct 2021 14:34:14 +0000 (16:34 +0200)] 
fix(plugins): ensure plugins are used only once (#745)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
3 years agodocs: typo
JustKirill [Tue, 26 Oct 2021 07:02:27 +0000 (12:02 +0500)] 
docs: typo

Fix typo

3 years agorelease: @pinia/nuxt@0.1.0 pinia@2.0.0-rc.15 @pinia/nuxt@0.1.0 pinia@2.0.0-rc.15
Eduardo San Martin Morote [Mon, 25 Oct 2021 15:47:35 +0000 (17:47 +0200)] 
release: @pinia/nuxt@0.1.0 pinia@2.0.0-rc.15

3 years agobuild: refactor exported files
Eduardo San Martin Morote [Mon, 25 Oct 2021 15:42:07 +0000 (17:42 +0200)] 
build: refactor exported files

3 years agodocs: typo
Eduardo San Martin Morote [Mon, 25 Oct 2021 14:55:11 +0000 (16:55 +0200)] 
docs: typo

3 years agodocs: hydrate example
Eduardo San Martin Morote [Mon, 25 Oct 2021 14:43:18 +0000 (16:43 +0200)] 
docs: hydrate example