]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
thirdparty/vuejs/pinia.git
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

3 years agorefactor: innerPatch -> mergeReactiveObjects
Eduardo San Martin Morote [Mon, 25 Oct 2021 14:43:05 +0000 (16:43 +0200)] 
refactor: innerPatch -> mergeReactiveObjects

3 years agorefactor(ssr): pass storeState instead of store to hydrate
Eduardo San Martin Morote [Mon, 25 Oct 2021 14:37:40 +0000 (16:37 +0200)] 
refactor(ssr): pass storeState instead of store to hydrate

BREAKING CHANGE: the `hydrate()` option for stores defined with the
options api no longers passes the whole store instance. Instead, it
passes the `storeState` so it can be directly modified. This is because
it was currently necessary to hydrate the store by setting properties
onto `store.$state`. This change makes it impossible to make the mistake
anymore.
```diff
 defineStore('main', {
   state: () => ({
     customRef: useLocalStorage('key', 0)
   }),
-  hydrate(store) {
-    store.$state.customRef = useLocalStorage('key', 0)
+  hydrate(storeState) {
+    storeState.customRef = useLocalStorage('key', 0)
   }
 })
```

3 years agofeat(ssr): add skipHydrate to skip hydration on specific refs
Eduardo San Martin Morote [Mon, 25 Oct 2021 14:36:26 +0000 (16:36 +0200)] 
feat(ssr): add skipHydrate to skip hydration on specific refs

3 years agofix(types): remove unused option hydrate for setup stores
Eduardo San Martin Morote [Mon, 25 Oct 2021 14:23:17 +0000 (16:23 +0200)] 
fix(types): remove unused option hydrate for setup stores

3 years agotest: fix warning text
Eduardo San Martin Morote [Mon, 25 Oct 2021 13:42:15 +0000 (15:42 +0200)] 
test: fix warning text

3 years agochore: split message in multiple lines
Eduardo San Martin Morote [Mon, 25 Oct 2021 12:42:22 +0000 (14:42 +0200)] 
chore: split message in multiple lines

3 years agochore: typo
Eduardo San Martin Morote [Mon, 25 Oct 2021 12:40:51 +0000 (14:40 +0200)] 
chore: typo

3 years agotest: add ssr test for hydrate custom refs
Eduardo San Martin Morote [Mon, 25 Oct 2021 12:40:44 +0000 (14:40 +0200)] 
test: add ssr test for hydrate custom refs

3 years agochore: regen lock
Eduardo San Martin Morote [Mon, 25 Oct 2021 12:40:20 +0000 (14:40 +0200)] 
chore: regen lock

3 years agochore(deps): update all non-major dependencies (#741)
renovate[bot] [Mon, 25 Oct 2021 09:32:17 +0000 (11:32 +0200)] 
chore(deps): update all non-major dependencies (#741)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years agotest: fix dts
Eduardo San Martin Morote [Mon, 25 Oct 2021 08:14:02 +0000 (10:14 +0200)] 
test: fix dts

3 years agodocs: show more api docs
Eduardo San Martin Morote [Fri, 22 Oct 2021 10:18:21 +0000 (12:18 +0200)] 
docs: show more api docs

3 years agorelease: @pinia/nuxt@0.0.9 @pinia/testing@0.0.4 @pinia/nuxt@0.0.9 @pinia/testing@0.0.4
Eduardo San Martin Morote [Thu, 21 Oct 2021 15:21:56 +0000 (17:21 +0200)] 
release: @pinia/nuxt@0.0.9 @pinia/testing@0.0.4

3 years agofix: should work with nuxt
Eduardo San Martin Morote [Thu, 21 Oct 2021 15:19:52 +0000 (17:19 +0200)] 
fix: should work with nuxt

3 years agofix: correct peer deps and deps
Eduardo San Martin Morote [Thu, 21 Oct 2021 13:05:43 +0000 (15:05 +0200)] 
fix: correct peer deps and deps

3 years agorefactor: still trying to get this working...
Eduardo San Martin Morote [Thu, 21 Oct 2021 12:53:29 +0000 (14:53 +0200)] 
refactor: still trying to get this working...

3 years agofix: correct deps in nuxt plugin
Eduardo San Martin Morote [Thu, 21 Oct 2021 09:44:34 +0000 (11:44 +0200)] 
fix: correct deps in nuxt plugin

3 years agorelease: @pinia/nuxt@0.0.8 @pinia/nuxt@0.0.8
Eduardo San Martin Morote [Wed, 20 Oct 2021 18:39:41 +0000 (20:39 +0200)] 
release: @pinia/nuxt@0.0.8

3 years agofix: expose the plugin in mjs
Eduardo San Martin Morote [Wed, 20 Oct 2021 18:38:49 +0000 (20:38 +0200)] 
fix: expose the plugin in mjs

3 years agochore: up readme demo
Eduardo San Martin Morote [Wed, 20 Oct 2021 14:51:14 +0000 (16:51 +0200)] 
chore: up readme demo

3 years agorelease: @pinia/nuxt@0.0.7 pinia@2.0.0-rc.14 @pinia/nuxt@0.0.7 pinia@2.0.0-rc.14
Eduardo San Martin Morote [Tue, 19 Oct 2021 17:05:53 +0000 (19:05 +0200)] 
release: @pinia/nuxt@0.0.7 pinia@2.0.0-rc.14