]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
thirdparty/vuejs/pinia.git
22 months agodocs: remove metrics
Eduardo San Martin Morote [Thu, 7 Sep 2023 16:26:25 +0000 (18:26 +0200)] 
docs: remove metrics

22 months agodocs: update link to Nuxt website (#2400)
Kuizuo [Wed, 6 Sep 2023 18:36:49 +0000 (02:36 +0800)] 
docs: update link to Nuxt website (#2400)

22 months agodocs(zh): migration-vuex.md typo (#2391)
lqzhgood [Fri, 1 Sep 2023 10:10:35 +0000 (18:10 +0800)] 
docs(zh): migration-vuex.md typo (#2391)

22 months agodocs: remove outdated sentence (#2384)
zzuligy [Mon, 28 Aug 2023 08:05:34 +0000 (16:05 +0800)] 
docs: remove outdated sentence (#2384)

22 months agofeat(warn): improve getActivePinia warning
Eduardo San Martin Morote [Mon, 28 Aug 2023 07:46:22 +0000 (09:46 +0200)] 
feat(warn): improve getActivePinia warning

22 months agodocs(zh): mastering pinia
Eduardo San Martin Morote [Mon, 28 Aug 2023 07:45:58 +0000 (09:45 +0200)] 
docs(zh): mastering pinia

23 months agodocs: mastering pinia
Eduardo San Martin Morote [Thu, 24 Aug 2023 10:04:00 +0000 (12:04 +0200)] 
docs: mastering pinia

23 months agodocs: improved syntax (#2369)
Zhenghang Cai [Mon, 21 Aug 2023 15:48:59 +0000 (17:48 +0200)] 
docs: improved syntax (#2369)

23 months agodocs: Add Link to Vue.js Certification (#2362)
Nico Devs [Mon, 21 Aug 2023 11:57:25 +0000 (08:57 -0300)] 
docs: Add Link to Vue.js Certification (#2362)

23 months agodocs: broken play button on Vue School links (#2360)
Daniel Kelly [Fri, 18 Aug 2023 20:58:41 +0000 (15:58 -0500)] 
docs: broken play button on Vue School links (#2360)

23 months agodocs: add portuguese documentation link (#2345)
Nazaré da Piedade [Thu, 17 Aug 2023 05:47:18 +0000 (06:47 +0100)] 
docs: add portuguese documentation link (#2345)

23 months agodocs: fix fragment links in testing stores page (#2351)
Julian Schäfer [Tue, 15 Aug 2023 09:30:53 +0000 (11:30 +0200)] 
docs: fix fragment links in testing stores page (#2351)

Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
23 months agorefactor: run nested scopes within pinia
Eduardo San Martin Morote [Tue, 15 Aug 2023 09:29:22 +0000 (11:29 +0200)] 
refactor: run nested scopes within pinia

23 months agodocs: typo (#2347)
Keshav Sharma [Sat, 12 Aug 2023 15:11:25 +0000 (20:41 +0530)] 
docs: typo (#2347)

23 months agodocs: better slugify
Eduardo San Martin Morote [Thu, 3 Aug 2023 08:32:50 +0000 (10:32 +0200)] 
docs: better slugify

23 months agorefactor: internal var name
Eduardo San Martin Morote [Thu, 3 Aug 2023 08:21:14 +0000 (10:21 +0200)] 
refactor: internal var name

23 months agodocs: api updates
Eduardo San Martin Morote [Thu, 3 Aug 2023 08:20:45 +0000 (10:20 +0200)] 
docs: api updates

23 months agodocs: no longer needed patch for duplicated id
Eduardo San Martin Morote [Thu, 3 Aug 2023 08:18:33 +0000 (10:18 +0200)] 
docs: no longer needed patch for duplicated id

23 months agochore: up vitepress deps
Eduardo San Martin Morote [Thu, 3 Aug 2023 08:13:20 +0000 (10:13 +0200)] 
chore: up vitepress deps

23 months agodocs: VSCode to VS Code (#2337)
Burke Holland [Tue, 1 Aug 2023 16:41:20 +0000 (11:41 -0500)] 
docs: VSCode to VS Code (#2337)

23 months agochore: add playground files
Eduardo San Martin Morote [Mon, 31 Jul 2023 07:17:41 +0000 (09:17 +0200)] 
chore: add playground files

23 months agodocs: nested stores imports
Eduardo San Martin Morote [Mon, 31 Jul 2023 07:13:59 +0000 (09:13 +0200)] 
docs: nested stores imports

23 months agochore: playground tests
Eduardo San Martin Morote [Mon, 31 Jul 2023 07:03:54 +0000 (09:03 +0200)] 
chore: playground tests

23 months agofeat(imports): add storeDirs auto import
Eduardo San Martin Morote [Mon, 31 Jul 2023 06:59:19 +0000 (08:59 +0200)] 
feat(imports): add storeDirs auto import

Close #1604

BREAKING CHANGE: the option `autoImports` has been removed as it offered
no value comparetd to the existing `imports` option in Nuxt. Instead, we
are automatically adding `defineStore()`, and `acceptHMRUpdate()` to the
list of auto imported functions. We are also adding the `./stores` dirs
to auto imports now, so if you were manually adding that option, it can
be removed.

23 months agochore: pnpm version
Eduardo San Martin Morote [Mon, 31 Jul 2023 06:25:26 +0000 (08:25 +0200)] 
chore: pnpm version

2 years agofix(devtools): correctly load initial states
Eduardo San Martin Morote [Wed, 26 Jul 2023 19:04:01 +0000 (21:04 +0200)] 
fix(devtools): correctly load initial states

2 years agorelease: pinia@2.1.6 pinia@2.1.6
Eduardo San Martin Morote [Wed, 26 Jul 2023 14:38:55 +0000 (16:38 +0200)] 
release: pinia@2.1.6

2 years agofix(devtools): preserve store reactivity
Eduardo San Martin Morote [Wed, 26 Jul 2023 14:37:31 +0000 (16:37 +0200)] 
fix(devtools): preserve store reactivity

2 years agorelease: pinia@2.1.5 @pinia/testing@0.1.3 @pinia/testing@0.1.3 pinia@2.1.5
Eduardo San Martin Morote [Wed, 26 Jul 2023 14:31:28 +0000 (16:31 +0200)] 
release: pinia@2.1.5 @pinia/testing@0.1.3

2 years agofix(devtools): correctly load the state
Eduardo San Martin Morote [Wed, 26 Jul 2023 14:30:24 +0000 (16:30 +0200)] 
fix(devtools): correctly load the state

2 years agodocs: note about state in setup stores
Eduardo San Martin Morote [Tue, 25 Jul 2023 06:57:58 +0000 (08:57 +0200)] 
docs: note about state in setup stores

See vuejs/pinia#2324

2 years agodocs(ko): add ko-KR translation (#2320)
Niceplugin [Fri, 21 Jul 2023 12:40:00 +0000 (21:40 +0900)] 
docs(ko): add ko-KR translation (#2320)

2 years agodocs: add info about Nuxt 3 in README.md (#2315)
Markus Oberlehner [Wed, 19 Jul 2023 11:20:30 +0000 (13:20 +0200)] 
docs: add info about Nuxt 3 in README.md (#2315)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2 years agodocs(zh): add translation for `@pinia/nuxt.ModuleOptions` to avoid `404` (#2312)
Shizuku [Tue, 18 Jul 2023 16:05:07 +0000 (00:05 +0800)] 
docs(zh): add translation for `@pinia/nuxt.ModuleOptions` to avoid `404` (#2312)

2 years agochore: up sponsors
Eduardo San Martin Morote [Tue, 18 Jul 2023 08:43:25 +0000 (10:43 +0200)] 
chore: up sponsors

2 years agodocs: link to Spanish translation (#2003)
Raúl Aguilar [Tue, 18 Jul 2023 05:39:51 +0000 (07:39 +0200)] 
docs: link to Spanish translation (#2003)

2 years agodocs(zh): Update state.md (#2136)
培根666 [Sun, 16 Jul 2023 07:04:04 +0000 (15:04 +0800)] 
docs(zh): Update state.md (#2136)

2 years agodocs(zh): Update pinia.md about table header (#2143)
MENGKE [Sun, 16 Jul 2023 07:03:53 +0000 (15:03 +0800)] 
docs(zh): Update pinia.md about table header (#2143)

2 years agodocs(zh): update state.md about `$reset` (#2142)
daxiongz [Sun, 16 Jul 2023 07:03:44 +0000 (15:03 +0800)] 
docs(zh): update state.md about `$reset` (#2142)

Co-authored-by: zhangxiaoxiong <zhangxiaoxiong@MacBook-Pro.local>
2 years agochore: up vitest
Eduardo San Martin Morote [Mon, 3 Jul 2023 12:28:06 +0000 (14:28 +0200)] 
chore: up vitest

2 years agochore: up test utils
Eduardo San Martin Morote [Mon, 3 Jul 2023 12:14:56 +0000 (14:14 +0200)] 
chore: up test utils

2 years agodocs: up vitepress
Eduardo San Martin Morote [Mon, 3 Jul 2023 12:14:38 +0000 (14:14 +0200)] 
docs: up vitepress

2 years agoAdd missing comma (#2293)
Reza Rabbani [Fri, 30 Jun 2023 14:38:45 +0000 (16:38 +0200)] 
Add missing comma (#2293)

2 years agofix(devtools): wrong toast message (#2290)
Wilson [Thu, 29 Jun 2023 17:29:11 +0000 (01:29 +0800)] 
fix(devtools): wrong toast message (#2290)

2 years agobuild: fix banner
Eduardo San Martin Morote [Wed, 28 Jun 2023 09:49:57 +0000 (11:49 +0200)] 
build: fix banner

2 years agoExplicit title for store props destructuring (#2282)
Lou Rectoret [Wed, 28 Jun 2023 07:26:11 +0000 (09:26 +0200)] 
Explicit title for  store props destructuring (#2282)

* Explicit title for  store props destructuring

I' m pretty sure lots of people are googling how to destructure the store. Let's make it easy with a nice and beautiful title

* Update packages/docs/core-concepts/index.md

---------

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2 years agochore: up pnpm
Eduardo San Martin Morote [Mon, 26 Jun 2023 08:46:41 +0000 (10:46 +0200)] 
chore: up pnpm

2 years agostyle: lint
Eduardo San Martin Morote [Mon, 26 Jun 2023 08:44:31 +0000 (10:44 +0200)] 
style: lint

2 years agodocs: minor changes (#2273)
Abhay Chauhan [Sun, 25 Jun 2023 14:25:40 +0000 (19:55 +0530)] 
docs: minor changes (#2273)

* Changed comments for better readability

* Update packages/pinia/src/types.ts

---------

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2 years agotest: refactor to cover setup stores too
Eduardo San Martin Morote [Fri, 23 Jun 2023 09:46:50 +0000 (11:46 +0200)] 
test: refactor to cover setup stores too

2 years agorelease: pinia@2.1.4 pinia@2.1.4
Eduardo San Martin Morote [Wed, 14 Jun 2023 14:02:23 +0000 (16:02 +0200)] 
release: pinia@2.1.4

2 years agofix(devtools): group setup store sync actions mutations
Eduardo San Martin Morote [Wed, 14 Jun 2023 14:00:12 +0000 (16:00 +0200)] 
fix(devtools): group setup store sync actions mutations

2 years agodocs: kdb style
Eduardo San Martin Morote [Wed, 7 Jun 2023 12:17:48 +0000 (14:17 +0200)] 
docs: kdb style

2 years agodocs: upgrade typedoc
Eduardo San Martin Morote [Wed, 7 Jun 2023 12:02:55 +0000 (14:02 +0200)] 
docs: upgrade typedoc

2 years agodocs: add vscode snippets
Eduardo San Martin Morote [Wed, 7 Jun 2023 10:06:51 +0000 (12:06 +0200)] 
docs: add vscode snippets

2 years agodocs: remove reference to ViteSSR (#2083)
Simon [Wed, 7 Jun 2023 09:54:21 +0000 (11:54 +0200)] 
docs: remove reference to ViteSSR (#2083)

Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
2 years agoUpdate CHANGELOG.md [skip ci]
Eduardo San Martin Morote [Wed, 24 May 2023 08:49:04 +0000 (10:49 +0200)] 
Update CHANGELOG.md [skip ci]

2 years agorelease: pinia@2.1.3 pinia@2.1.3
Eduardo San Martin Morote [Thu, 18 May 2023 15:49:33 +0000 (17:49 +0200)] 
release: pinia@2.1.3

2 years agofix(types): revert declare module vue
Eduardo San Martin Morote [Thu, 18 May 2023 15:48:55 +0000 (17:48 +0200)] 
fix(types): revert declare module vue

This seems to be causing problems without fixing any. I'm reverting this
to avoid any more trouble until we can figure out a better rollout
strategy.

2 years agorelease: pinia@2.1.2 @pinia/testing@0.1.2 @pinia/testing@0.1.2 pinia@2.1.2
Eduardo San Martin Morote [Thu, 18 May 2023 13:26:25 +0000 (15:26 +0200)] 
release: pinia@2.1.2 @pinia/testing@0.1.2

2 years agochore: up deps
Eduardo San Martin Morote [Thu, 18 May 2023 13:25:24 +0000 (15:25 +0200)] 
chore: up deps

2 years agobuild: update peer dep
Eduardo San Martin Morote [Thu, 18 May 2023 13:14:44 +0000 (15:14 +0200)] 
build: update peer dep

2 years agorelease: pinia@2.1.1 pinia@2.1.1
Eduardo San Martin Morote [Wed, 17 May 2023 13:12:55 +0000 (15:12 +0200)] 
release: pinia@2.1.1

2 years agofix: expect Vue 3.3
Eduardo San Martin Morote [Wed, 17 May 2023 13:11:43 +0000 (15:11 +0200)] 
fix: expect Vue 3.3

2 years agorelease: @pinia/nuxt@0.4.11 pinia@2.1.0 @pinia/testing@0.1.1 @pinia/nuxt@0.4.11 @pinia/testing@0.1.1 pinia@2.1.0
Eduardo San Martin Morote [Wed, 17 May 2023 09:11:11 +0000 (11:11 +0200)] 
release: @pinia/nuxt@0.4.11 pinia@2.1.0 @pinia/testing@0.1.1

2 years agodocs: using inject within setup stores
Eduardo San Martin Morote [Wed, 17 May 2023 09:08:44 +0000 (11:08 +0200)] 
docs: using inject within setup stores

2 years agochore: imports
Eduardo San Martin Morote [Wed, 17 May 2023 08:59:21 +0000 (10:59 +0200)] 
chore: imports

2 years agotest: add test utils test
Eduardo San Martin Morote [Wed, 17 May 2023 08:52:47 +0000 (10:52 +0200)] 
test: add test utils test

2 years agochore: comment in testing
Eduardo San Martin Morote [Wed, 17 May 2023 08:40:21 +0000 (10:40 +0200)] 
chore: comment in testing

2 years agochore: add playground tests
Eduardo San Martin Morote [Wed, 17 May 2023 08:40:13 +0000 (10:40 +0200)] 
chore: add playground tests

2 years agochore: remove playground code
Eduardo San Martin Morote [Wed, 17 May 2023 08:19:55 +0000 (10:19 +0200)] 
chore: remove playground code

2 years agochore: remove old composables
Eduardo San Martin Morote [Wed, 17 May 2023 08:18:04 +0000 (10:18 +0200)] 
chore: remove old composables

2 years agochore: cleanup playground
Eduardo San Martin Morote [Wed, 17 May 2023 08:15:41 +0000 (10:15 +0200)] 
chore: cleanup playground

2 years agorefactor: types
Eduardo San Martin Morote [Wed, 17 May 2023 08:15:33 +0000 (10:15 +0200)] 
refactor: types

2 years agoci: pr for v2 only
Eduardo San Martin Morote [Wed, 17 May 2023 08:07:01 +0000 (10:07 +0200)] 
ci: pr for v2 only

2 years agorefactor: hasInjectionContext
Eduardo San Martin Morote [Wed, 17 May 2023 08:06:53 +0000 (10:06 +0200)] 
refactor: hasInjectionContext

2 years agotest: app level injections
Eduardo San Martin Morote [Wed, 17 May 2023 07:51:03 +0000 (09:51 +0200)] 
test: app level injections

2 years agotest: reenable test
Eduardo San Martin Morote [Wed, 17 May 2023 07:50:50 +0000 (09:50 +0200)] 
test: reenable test

2 years agodocs: ignore playground folder
Eduardo San Martin Morote [Wed, 17 May 2023 07:46:35 +0000 (09:46 +0200)] 
docs: ignore playground folder

2 years agochore: update vue to 3.3
Eduardo San Martin Morote [Wed, 17 May 2023 07:42:00 +0000 (09:42 +0200)] 
chore: update vue to 3.3

2 years agoRevert "chore: tmp upgrade to beta"
Eduardo San Martin Morote [Wed, 17 May 2023 07:09:58 +0000 (09:09 +0200)] 
Revert "chore: tmp upgrade to beta"

This reverts commit 660e513f7cdd67505497c56d3fa118f10b627531.

2 years agofeat: allow app injections in setup stores
Eduardo San Martin Morote [Mon, 8 May 2023 16:34:38 +0000 (18:34 +0200)] 
feat: allow app injections in setup stores

Close #1784

2 years agochore: tmp upgrade to beta
Eduardo San Martin Morote [Mon, 8 May 2023 16:32:55 +0000 (18:32 +0200)] 
chore: tmp upgrade to beta

2 years agofix(types): use declare module vue
Eduardo San Martin Morote [Wed, 17 May 2023 07:09:07 +0000 (09:09 +0200)] 
fix(types): use declare module vue

This has been the recommended approach for a while and supports more cases. See https://vuejs.org/guide/typescript/options-api.html#augmenting-global-properties for more information

2 years agorefactor: reduce the unnecessary use of `markRaw` (#2204)
Alex Liu [Tue, 16 May 2023 16:26:19 +0000 (00:26 +0800)] 
refactor: reduce the unnecessary use of `markRaw` (#2204)

2 years agodocs: update `$state` JSDoc to reflect internal patching (#2199)
Alex Liu [Mon, 15 May 2023 13:39:28 +0000 (21:39 +0800)] 
docs: update `$state` JSDoc to reflect internal patching (#2199)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2 years agodocs: update link to Nuxt website (#2200)
Michael Synan [Sat, 13 May 2023 14:06:49 +0000 (10:06 -0400)] 
docs: update link to Nuxt website (#2200)

* Update nuxt.md

Updated Nuxt URL

* docs: update name to just Nuxt

---------

Co-authored-by: Daniel Roe <daniel@roe.dev>
2 years agostyle: lint
Eduardo San Martin Morote [Thu, 11 May 2023 09:50:46 +0000 (11:50 +0200)] 
style: lint

2 years agodocs(testing): clarify createSpy docs (#2195)
Leon Heess [Thu, 11 May 2023 09:49:14 +0000 (11:49 +0200)] 
docs(testing): clarify createSpy docs (#2195)

2 years agodocs: unify naming of store (#2190)
Julian S [Wed, 10 May 2023 07:36:55 +0000 (09:36 +0200)] 
docs: unify naming of store (#2190)

2 years agofeat(devtools): allow resetting setup stores from inspector
Eduardo San Martin Morote [Mon, 8 May 2023 19:02:03 +0000 (21:02 +0200)] 
feat(devtools): allow resetting setup stores from inspector

Close #2189

2 years agochore: remove test code
Eduardo San Martin Morote [Mon, 8 May 2023 18:58:51 +0000 (20:58 +0200)] 
chore: remove test code

2 years agotest: names
Eduardo San Martin Morote [Mon, 8 May 2023 16:40:10 +0000 (18:40 +0200)] 
test: names

2 years agofeat(testing): restoreGetters function
Eduardo San Martin Morote [Mon, 8 May 2023 16:40:01 +0000 (18:40 +0200)] 
feat(testing): restoreGetters function

2 years agorelease: @pinia/nuxt@0.4.10 pinia@2.0.36 @pinia/testing@0.1.0 @pinia/nuxt@0.4.10 @pinia/testing@0.1.0 pinia@2.0.36
Eduardo San Martin Morote [Mon, 8 May 2023 15:06:17 +0000 (17:06 +0200)] 
release: @pinia/nuxt@0.4.10 pinia@2.0.36 @pinia/testing@0.1.0

2 years agotest: stubReset option
Eduardo San Martin Morote [Mon, 8 May 2023 15:04:34 +0000 (17:04 +0200)] 
test: stubReset option

2 years agofeat(testing): allow mocking $reset
Eduardo San Martin Morote [Mon, 8 May 2023 15:03:44 +0000 (17:03 +0200)] 
feat(testing): allow mocking $reset

Fix #2188

2 years agoRemove vuemastery banner (#2186)
Israel [Fri, 5 May 2023 17:12:48 +0000 (18:12 +0100)] 
Remove vuemastery banner (#2186)

2 years agochore(nuxt): bump nuxt core dev dependencies and reenable test (#2181)
Daniel Roe [Thu, 4 May 2023 10:12:05 +0000 (11:12 +0100)] 
chore(nuxt): bump nuxt core dev dependencies and reenable test (#2181)

2 years agochore: vitest run in test script
Eduardo San Martin Morote [Mon, 24 Apr 2023 08:02:00 +0000 (10:02 +0200)] 
chore: vitest run in test script