]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
thirdparty/vuejs/pinia.git
2 years agotest: types
Eduardo San Martin Morote [Wed, 3 Aug 2022 14:14:44 +0000 (16:14 +0200)] 
test: types

2 years agofix(ie): completely skip devtools in dev for IE
Eduardo San Martin Morote [Wed, 3 Aug 2022 14:14:31 +0000 (16:14 +0200)] 
fix(ie): completely skip devtools in dev for IE

Fix #1440

2 years agodocs: Fix incorrect hash anchor (#1507)
Niceplugin [Mon, 1 Aug 2022 13:53:15 +0000 (22:53 +0900)] 
docs: Fix incorrect hash anchor (#1507)

2 years agodocs: typo (#1499)
Levi [Sun, 31 Jul 2022 13:19:32 +0000 (21:19 +0800)] 
docs: typo (#1499)

3 years agodocs: From the `/packages/docs/core-concepts/getters.md` documentation: (#1488)
Niceplugin [Wed, 27 Jul 2022 20:25:17 +0000 (05:25 +0900)] 
docs: From the `/packages/docs/core-concepts/getters.md` documentation: (#1488)

- Fix old docs links not redirecting correctly.

Fixed minor typos in the example code.

3 years agodocs: Invalid Docs Link (#1487)
Niceplugin [Wed, 27 Jul 2022 13:27:50 +0000 (22:27 +0900)] 
docs: Invalid Docs Link (#1487)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
3 years agofix(build): raw esm for dev only
Eduardo San Martin Morote [Wed, 27 Jul 2022 07:43:54 +0000 (09:43 +0200)] 
fix(build): raw esm for dev only

Fix #1485

3 years agodocs(docs): Update Vue School summer banner (#1457)
Nico Devs [Mon, 25 Jul 2022 16:15:07 +0000 (13:15 -0300)] 
docs(docs): Update Vue School summer banner (#1457)

3 years agorelease: @pinia/nuxt@0.3.1 pinia@2.0.17 @pinia/testing@0.0.13 @pinia/nuxt@0.3.1 @pinia/testing@0.0.13 pinia@2.0.17
Eduardo San Martin Morote [Mon, 25 Jul 2022 12:03:58 +0000 (14:03 +0200)] 
release: @pinia/nuxt@0.3.1 pinia@2.0.17 @pinia/testing@0.0.13

3 years agodocs: fix hydration error
Eduardo San Martin Morote [Mon, 25 Jul 2022 10:05:00 +0000 (12:05 +0200)] 
docs: fix hydration error

3 years agodocs: fix links
Eduardo San Martin Morote [Mon, 25 Jul 2022 09:58:07 +0000 (11:58 +0200)] 
docs: fix links

3 years agodocs: update api
Eduardo San Martin Morote [Mon, 25 Jul 2022 09:36:02 +0000 (11:36 +0200)] 
docs: update api

3 years agofeat(devtools): allow resetting fromp pinia inspector
Eduardo San Martin Morote [Mon, 25 Jul 2022 09:34:13 +0000 (11:34 +0200)] 
feat(devtools): allow resetting fromp pinia inspector

3 years agofix(devtools): state formatting
Eduardo San Martin Morote [Mon, 25 Jul 2022 09:33:54 +0000 (11:33 +0200)] 
fix(devtools): state formatting

Fix #1358

3 years agodocs: upgrade api gen
Eduardo San Martin Morote [Mon, 25 Jul 2022 09:33:07 +0000 (11:33 +0200)] 
docs: upgrade api gen

3 years agochore: up deps
Eduardo San Martin Morote [Mon, 25 Jul 2022 09:14:31 +0000 (11:14 +0200)] 
chore: up deps

3 years agodocs: add composables entry
Eduardo San Martin Morote [Sun, 24 Jul 2022 20:16:07 +0000 (22:16 +0200)] 
docs: add composables entry

3 years agodocs: minor update of index.md to explain defineStore arguments (#1475) [skip ci]
Bashu Naimi-Roy [Sun, 24 Jul 2022 19:44:12 +0000 (15:44 -0400)] 
docs: minor update of index.md to explain defineStore arguments (#1475) [skip ci]

Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
3 years agodocs: nested stores example
Eduardo San Martin Morote [Sun, 24 Jul 2022 19:27:43 +0000 (21:27 +0200)] 
docs: nested stores example

3 years agodocs: clarify composing-stores.md, remove duplicate example (#1467) [skip ci]
Bashu Naimi-Roy [Sun, 24 Jul 2022 19:23:06 +0000 (15:23 -0400)] 
docs: clarify composing-stores.md, remove duplicate example (#1467) [skip ci]

3 years agofix: setupStore getter types (#1430) (#1444)
Derhelios66 [Sun, 24 Jul 2022 16:19:46 +0000 (18:19 +0200)] 
fix: setupStore getter types (#1430) (#1444)

Co-authored-by: Michael Seid <michael.seid@boerse-go.de>
3 years agodocs: review
Eduardo San Martin Morote [Sun, 24 Jul 2022 16:15:23 +0000 (18:15 +0200)] 
docs: review

Close #1471

3 years agodocs: update description
coderwhy [Sat, 23 Jul 2022 13:36:13 +0000 (21:36 +0800)] 
docs: update  description

3 years agodocs: ts examples for state
Eduardo San Martin Morote [Sun, 24 Jul 2022 16:08:35 +0000 (18:08 +0200)] 
docs: ts examples for state

Close #1466

3 years agodocs: fix typo (#1474)
codersjj [Sun, 24 Jul 2022 15:53:31 +0000 (23:53 +0800)] 
docs: fix typo (#1474)

3 years agorelease: @pinia/nuxt@0.3.0 @pinia/nuxt@0.3.0
Eduardo San Martin Morote [Wed, 13 Jul 2022 10:35:07 +0000 (12:35 +0200)] 
release: @pinia/nuxt@0.3.0

3 years agochore: up lock
Eduardo San Martin Morote [Wed, 13 Jul 2022 10:30:57 +0000 (12:30 +0200)] 
chore: up lock

3 years agochore: ok
Eduardo San Martin Morote [Wed, 13 Jul 2022 10:28:58 +0000 (12:28 +0200)] 
chore: ok

3 years agodocs: update version
Eduardo San Martin Morote [Wed, 13 Jul 2022 10:22:48 +0000 (12:22 +0200)] 
docs: update version

3 years agofix(nuxt): correct type for `$nuxt`
Eduardo San Martin Morote [Wed, 13 Jul 2022 10:11:33 +0000 (12:11 +0200)] 
fix(nuxt): correct type for `$nuxt`

BREAKING CHANGE: `$nuxt` usage in stores defaults to type `any` unless
you install the `@nuxt/types` package. This is because that package is
quite heavy and can cause conflicts in projects not requiring it. Note
`$nuxt` is deprecated and shouldn't be used (cf the other breaking
changes notes).

3 years agofeat(nuxt): add `autoImports` option in module
Eduardo San Martin Morote [Wed, 13 Jul 2022 10:11:22 +0000 (12:11 +0200)] 
feat(nuxt): add `autoImports` option in module

3 years agodocs: updated nuxt instructions
Eduardo San Martin Morote [Wed, 13 Jul 2022 10:11:04 +0000 (12:11 +0200)] 
docs: updated nuxt instructions

3 years agodocs: remove outdated nuxt section
Eduardo San Martin Morote [Wed, 13 Jul 2022 09:52:09 +0000 (11:52 +0200)] 
docs: remove outdated nuxt section

3 years agostyle: format comment
Eduardo San Martin Morote [Wed, 13 Jul 2022 09:51:00 +0000 (11:51 +0200)] 
style: format comment

3 years agofeat(nuxt): deprecate old `$nuxt` context
Eduardo San Martin Morote [Wed, 13 Jul 2022 09:45:58 +0000 (11:45 +0200)] 
feat(nuxt): deprecate old `$nuxt` context

BREAKING CHANGE: Starting on this version, `@pinia/nuxt` only works with
Nuxt 2 + Bridge and Nuxt 3, it no longer works with Nuxt 2 only. This is
necessary to have one single plugin that works well with the different
versions of Nuxt. If you aren't using bridge with Nuxt 2, check out the
[migration guide](https://v3.nuxtjs.org/bridge/overview) or pin your
`@pinia/nuxt` dependency in your:

```diff
-    "@pinia/nuxt": "^0.2.1",
+    "@pinia/nuxt": "0.2.1",
```

The `$nuxt` context usage should be replaced with globals like
`$fetch()` and `useNuxtApp()`. You can find more information about this
in Nuxt documentation:

- https://v3.nuxtjs.org/bridge/bridge-composition-api/
- https://v3.nuxtjs.org/bridge/overview

3 years agofeat(nuxt): remove wrong `$nuxt` in Nuxt 3
Eduardo San Martin Morote [Wed, 13 Jul 2022 09:42:46 +0000 (11:42 +0200)] 
feat(nuxt): remove wrong `$nuxt` in Nuxt 3

BREAKING CHANGE: in Nuxt 3, `$nuxt` is no longer available in stores.
This is because it was removed in Nuxt 3 and it is no longer the
_context_ as it used to be. Most of the features used there, like
`$fetch` are now globally available and therefore remove the need of it.
You can also use
[`useNuxtApp()`](https://v3.nuxtjs.org/bridge/bridge-composition-api/)
when necessary.

3 years agoadd missing peer dep
Pooya Parsa [Wed, 13 Jul 2022 08:56:02 +0000 (10:56 +0200)] 
add missing peer dep

3 years agotest: remove failing types
Eduardo San Martin Morote [Fri, 8 Jul 2022 15:27:09 +0000 (17:27 +0200)] 
test: remove failing types

3 years agochore: fix tsconfig
Eduardo San Martin Morote [Fri, 8 Jul 2022 15:25:53 +0000 (17:25 +0200)] 
chore: fix tsconfig

3 years agotest(ts): add src folder
Eduardo San Martin Morote [Fri, 8 Jul 2022 15:23:20 +0000 (17:23 +0200)] 
test(ts): add src folder

3 years agochore: format
Eduardo San Martin Morote [Fri, 8 Jul 2022 15:22:58 +0000 (17:22 +0200)] 
chore: format

3 years agoci: prepare types
Eduardo San Martin Morote [Fri, 8 Jul 2022 15:22:23 +0000 (17:22 +0200)] 
ci: prepare types

3 years agowip: add incomplete missing types
Eduardo San Martin Morote [Fri, 8 Jul 2022 15:12:26 +0000 (17:12 +0200)] 
wip: add incomplete missing types

3 years agochore: add back the name and missing configs
Eduardo San Martin Morote [Fri, 8 Jul 2022 15:11:56 +0000 (17:11 +0200)] 
chore: add back the name and missing configs

3 years agofix lint issues
Pooya Parsa [Fri, 8 Jul 2022 12:17:44 +0000 (14:17 +0200)] 
fix lint issues

3 years agorefactor: use resolver
Pooya Parsa [Fri, 8 Jul 2022 12:15:45 +0000 (14:15 +0200)] 
refactor: use resolver

3 years agofeat: usePinia composable
Pooya Parsa [Fri, 8 Jul 2022 12:12:21 +0000 (14:12 +0200)] 
feat: usePinia composable

3 years agosimplify injections
Pooya Parsa [Fri, 8 Jul 2022 12:07:10 +0000 (14:07 +0200)] 
simplify injections

3 years agoremove vue-demi
Pooya Parsa [Fri, 8 Jul 2022 12:03:15 +0000 (14:03 +0200)] 
remove vue-demi

3 years agofix build script
Pooya Parsa [Fri, 8 Jul 2022 11:37:44 +0000 (13:37 +0200)] 
fix build script

3 years agoadd vue-tsc devDependency
Pooya Parsa [Fri, 8 Jul 2022 11:30:53 +0000 (13:30 +0200)] 
add vue-tsc devDependency

3 years agouse nuxi to typecheck nuxt
Pooya Parsa [Fri, 8 Jul 2022 11:29:20 +0000 (13:29 +0200)] 
use nuxi to typecheck nuxt

3 years agolint
Pooya Parsa [Fri, 8 Jul 2022 11:12:59 +0000 (13:12 +0200)] 
lint

3 years agoupdate deps
Pooya Parsa [Fri, 8 Jul 2022 11:11:37 +0000 (13:11 +0200)] 
update deps

3 years agoauto imports
Pooya Parsa [Fri, 8 Jul 2022 11:05:42 +0000 (13:05 +0200)] 
auto imports

3 years agofeat(nuxt)!: rewrite with nuxt/kit
Pooya Parsa [Fri, 8 Jul 2022 10:59:17 +0000 (12:59 +0200)] 
feat(nuxt)!: rewrite with nuxt/kit

3 years agorelease: @pinia/nuxt@0.2.1 pinia@2.0.16 @pinia/nuxt@0.2.1 pinia@2.0.16
Eduardo San Martin Morote [Tue, 12 Jul 2022 16:36:02 +0000 (18:36 +0200)] 
release: @pinia/nuxt@0.2.1 pinia@2.0.16

3 years agofix: add missing require in exports
Eduardo San Martin Morote [Tue, 12 Jul 2022 16:33:58 +0000 (18:33 +0200)] 
fix: add missing require in exports

3 years agofix(nuxt): add back the nuxtState
Eduardo San Martin Morote [Tue, 12 Jul 2022 16:31:18 +0000 (18:31 +0200)] 
fix(nuxt): add back the nuxtState

Close #1447

3 years agochore(pinia): types when esm exports (#1443)
IU [Tue, 12 Jul 2022 09:18:53 +0000 (17:18 +0800)] 
chore(pinia): types when esm exports (#1443)

3 years agofix(nuxt): use context.payload
Eduardo San Martin Morote [Tue, 12 Jul 2022 09:18:20 +0000 (11:18 +0200)] 
fix(nuxt): use context.payload

Fix #1442

3 years agorelease: @pinia/nuxt@0.2.0 pinia@2.0.15 @pinia/nuxt@0.2.0 pinia@2.0.15
Eduardo San Martin Morote [Mon, 11 Jul 2022 13:33:22 +0000 (15:33 +0200)] 
release: @pinia/nuxt@0.2.0 pinia@2.0.15

3 years agobuild: release script
Eduardo San Martin Morote [Mon, 11 Jul 2022 13:32:26 +0000 (15:32 +0200)] 
build: release script

3 years agofix(nuxt): plugin injection on latest Nuxt 3 context (#1433)
Lay [Mon, 11 Jul 2022 13:28:47 +0000 (21:28 +0800)] 
fix(nuxt): plugin injection on latest Nuxt 3 context (#1433)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
3 years agodocs: typos and references
Eduardo San Martin Morote [Mon, 11 Jul 2022 09:29:47 +0000 (11:29 +0200)] 
docs: typos and references

Close #1441

3 years agochore: comment fix
Eduardo San Martin Morote [Fri, 8 Jul 2022 08:36:37 +0000 (10:36 +0200)] 
chore: comment fix

3 years agochore: up deps
Eduardo San Martin Morote [Fri, 8 Jul 2022 07:46:50 +0000 (09:46 +0200)] 
chore: up deps

3 years agochore: add test of whole store
Eduardo San Martin Morote [Fri, 8 Jul 2022 07:45:53 +0000 (09:45 +0200)] 
chore: add test of whole store

3 years agodocs: Add Vue School Sumer Sale banner (#1407)
Nico Devs [Wed, 29 Jun 2022 14:32:31 +0000 (11:32 -0300)] 
docs: Add Vue School Sumer Sale banner (#1407)

3 years agodocs: fix code block highlights (#1387)
shellingfordly [Wed, 22 Jun 2022 07:53:56 +0000 (15:53 +0800)] 
docs: fix code block highlights (#1387)

Co-authored-by: liuyao <liuyao@liuyaodeiMac.local>
3 years agochore: up deps
Eduardo San Martin Morote [Mon, 20 Jun 2022 14:31:40 +0000 (16:31 +0200)] 
chore: up deps

3 years agochore: up jest
Eduardo San Martin Morote [Mon, 20 Jun 2022 14:20:37 +0000 (16:20 +0200)] 
chore: up jest

3 years agofeat: warn when a getter conflicts with the state (#1356)
Pouya Mohammadkhani [Fri, 17 Jun 2022 09:13:27 +0000 (13:43 +0430)] 
feat: warn when a getter conflicts with the state (#1356)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
3 years agochore: fix script [skip ci]
Eduardo San Martin Morote [Thu, 16 Jun 2022 07:35:43 +0000 (09:35 +0200)] 
chore: fix script [skip ci]

3 years agodocs: line highlights
Eduardo San Martin Morote [Thu, 16 Jun 2022 07:22:01 +0000 (09:22 +0200)] 
docs: line highlights

3 years agodocs: create a pinia example (#1374) [skip ci]
Schalk Neethling [Thu, 16 Jun 2022 07:20:03 +0000 (09:20 +0200)] 
docs: create a pinia example (#1374) [skip ci]

Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
3 years agodocs: small update to follow conventions (#1373)
Schalk Neethling [Wed, 15 Jun 2022 20:43:59 +0000 (22:43 +0200)] 
docs: small update to follow conventions (#1373)

On https://pinia.vuejs.org/core-concepts/ it is mentioned that "Naming the returned function use... is a convention across composables to make its usage idiomatic.". In this example though, the returned function is called `todos` as opposed to `useTodos`.

3 years agochore: diff check for docs
Eduardo San Martin Morote [Fri, 10 Jun 2022 09:11:29 +0000 (11:11 +0200)] 
chore: diff check for docs

3 years agochore: format security
Eduardo San Martin Morote [Wed, 8 Jun 2022 13:31:08 +0000 (15:31 +0200)] 
chore: format security

3 years agochore: remove old file
Eduardo San Martin Morote [Wed, 8 Jun 2022 13:27:08 +0000 (15:27 +0200)] 
chore: remove old file

3 years agodocs: clarify language in actions documentation (#1345)
Casey McLaughlin [Mon, 6 Jun 2022 21:35:11 +0000 (17:35 -0400)] 
docs: clarify language in actions documentation (#1345)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
3 years agoUpdate index.md (#1344)
Timi Omoyeni [Mon, 6 Jun 2022 08:46:32 +0000 (09:46 +0100)] 
Update index.md (#1344)

Correct typo on comment

3 years agodocs: nuxt mention (#1329)
Nick Medrano [Thu, 2 Jun 2022 13:13:17 +0000 (08:13 -0500)] 
docs: nuxt mention (#1329)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
3 years agodocs: update link to Vue 2 documentation (#1330)
Stéphane Bisinger [Wed, 1 Jun 2022 15:42:48 +0000 (17:42 +0200)] 
docs: update link to Vue 2 documentation (#1330)

Use the correct subdomain to link to the Vue 2 documentation. Since the switch to Vue 3 as the default Vue version, to access the Vue 2 documentation the `https://v2.vuejs.org` subdomain must be used.

3 years agochore: alright
Eduardo San Martin Morote [Tue, 31 May 2022 09:19:30 +0000 (11:19 +0200)] 
chore: alright

3 years agotest: add todo test
Eduardo San Martin Morote [Tue, 31 May 2022 09:10:36 +0000 (11:10 +0200)] 
test: add todo test

3 years agodocs: remove comma (#1325)
Adam Frank [Sat, 28 May 2022 17:27:31 +0000 (13:27 -0400)] 
docs: remove comma (#1325)

I think this comma is unintended

3 years agodocs: fix getter name in vuex example (#1321)
Leonid [Fri, 27 May 2022 05:05:38 +0000 (08:05 +0300)] 
docs: fix getter name in vuex example (#1321)

Corrected the getter name for full name in example of usage vuex inside the componets

3 years agodocs: update sponsors
Eduardo San Martin Morote [Thu, 19 May 2022 15:30:46 +0000 (17:30 +0200)] 
docs: update sponsors

3 years agodocs: skipHydrate api
Eduardo San Martin Morote [Thu, 19 May 2022 12:31:57 +0000 (14:31 +0200)] 
docs: skipHydrate api

3 years agodocs: missing comma in return statement (#1304)
Tobias Nusser [Wed, 18 May 2022 12:48:07 +0000 (14:48 +0200)] 
docs: missing comma in return statement (#1304)

3 years agodocs: remove outdated onAction docs
Eduardo San Martin Morote [Sun, 15 May 2022 09:32:55 +0000 (11:32 +0200)] 
docs: remove outdated onAction docs

Close #1294

3 years agodocs: Use `state` instead of `this` in example (#1295)
Johannes Cleve [Sun, 15 May 2022 09:20:34 +0000 (11:20 +0200)] 
docs: Use `state` instead of `this` in example (#1295)

Using `state` is the preferred way to access data in a getter. So it's better to use it correctly in examples.

3 years agodocs: fixed the indent of code (#1282)
Yunwei Xiao [Thu, 12 May 2022 09:58:42 +0000 (17:58 +0800)] 
docs: fixed the indent of code (#1282)

3 years agodocs: link
Eduardo San Martin Morote [Thu, 12 May 2022 09:57:51 +0000 (11:57 +0200)] 
docs: link

close #1287

3 years agotest: polish (#1280)
lazzzis [Tue, 10 May 2022 06:38:11 +0000 (23:38 -0700)] 
test: polish (#1280)

3 years agodocs: fix typo (#1281)
lazzzis [Mon, 9 May 2022 07:58:52 +0000 (00:58 -0700)] 
docs: fix typo (#1281)

3 years agorelease: @pinia/nuxt@0.1.9 pinia@2.0.14 @pinia/testing@0.0.12 @pinia/nuxt@0.1.9 @pinia/testing@0.0.12 pinia@2.0.14
Eduardo San Martin Morote [Thu, 5 May 2022 11:31:35 +0000 (13:31 +0200)] 
release: @pinia/nuxt@0.1.9 pinia@2.0.14 @pinia/testing@0.0.12

3 years agodocs(ssr): use hasOwnProperty
Eduardo San Martin Morote [Thu, 5 May 2022 11:29:22 +0000 (13:29 +0200)] 
docs(ssr): use hasOwnProperty

3 years agofix: correctly detect option stores
Eduardo San Martin Morote [Thu, 5 May 2022 11:18:47 +0000 (13:18 +0200)] 
fix: correctly detect option stores

Fix #1272