]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
thirdparty/vuejs/pinia.git
2 years agofeat(ssr): handle Maps and Sets
Eduardo San Martin Morote [Fri, 2 Sep 2022 12:40:28 +0000 (14:40 +0200)] 
feat(ssr): handle Maps and Sets

Close #1608

2 years agodocs(docs): Fix link to Vue School banner to show Vue.js Forge offer (#1618)
Nico Devs [Wed, 31 Aug 2022 16:22:14 +0000 (13:22 -0300)] 
docs(docs): Fix link to Vue School banner to show Vue.js Forge offer (#1618)

2 years agodocs(nuxt): fix Auto imports example typo (#1609)
TomatoGuy0502 [Tue, 30 Aug 2022 22:16:28 +0000 (06:16 +0800)] 
docs(nuxt): fix Auto imports example typo (#1609)

2 years agodocs: proper version usage
Eduardo San Martin Morote [Mon, 29 Aug 2022 16:11:15 +0000 (18:11 +0200)] 
docs: proper version usage

2 years agoVueschool vueforge offer banner (#1603)
Nico Devs [Mon, 29 Aug 2022 15:08:42 +0000 (12:08 -0300)] 
Vueschool vueforge offer banner (#1603)

2 years agorelease: pinia@2.0.21 pinia@2.0.21
Eduardo San Martin Morote [Fri, 26 Aug 2022 13:24:54 +0000 (15:24 +0200)] 
release: pinia@2.0.21

2 years agodocs: update size
Eduardo San Martin Morote [Fri, 26 Aug 2022 13:18:11 +0000 (15:18 +0200)] 
docs: update size

2 years agofix(build): remove problematic browser export
Eduardo San Martin Morote [Fri, 26 Aug 2022 13:05:51 +0000 (15:05 +0200)] 
fix(build): remove problematic browser export

Fix #1593

The browser entry was being picked up automatically by Vite, considerably incresing the added size of pinia

2 years agodocs: corrections and improvements (#1579)
Jerald Vinfrank [Mon, 22 Aug 2022 09:48:56 +0000 (15:18 +0530)] 
docs: corrections and improvements (#1579)

Co-authored-by: Jerald Vinfrank <jerald.vinfrank@gdn-commerce.com>
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2 years agodocs: naming convention in migration
Eduardo San Martin Morote [Mon, 22 Aug 2022 08:27:17 +0000 (10:27 +0200)] 
docs: naming convention in migration

See #1578

2 years agochore: update lock
Eduardo San Martin Morote [Mon, 22 Aug 2022 08:23:57 +0000 (10:23 +0200)] 
chore: update lock

2 years agodocs: note about strict in TS
wildwind123 [Mon, 22 Aug 2022 08:23:15 +0000 (17:23 +0900)] 
docs: note about strict in TS

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2 years agorelease: pinia@2.0.20 pinia@2.0.20
Eduardo San Martin Morote [Fri, 19 Aug 2022 13:52:54 +0000 (15:52 +0200)] 
release: pinia@2.0.20

2 years agorefactor: just touching the file to releaes
Eduardo San Martin Morote [Fri, 19 Aug 2022 13:51:26 +0000 (15:51 +0200)] 
refactor: just touching the file to releaes

2 years agofix(build): better prod devtools guard
Eduardo San Martin Morote [Fri, 19 Aug 2022 13:49:50 +0000 (15:49 +0200)] 
fix(build): better prod devtools guard

2 years agorelease: @pinia/nuxt@0.4.1 pinia@2.0.19 @pinia/testing@0.0.14 @pinia/nuxt@0.4.1 @pinia/testing@0.0.14 pinia@2.0.19
Eduardo San Martin Morote [Thu, 18 Aug 2022 14:53:06 +0000 (16:53 +0200)] 
release: @pinia/nuxt@0.4.1 pinia@2.0.19 @pinia/testing@0.0.14

2 years agoci: include in ci too 😆
Daniel Roe [Wed, 17 Aug 2022 14:20:28 +0000 (16:20 +0200)] 
ci: include in ci too ðŸ˜†

2 years agotest: prepare nuxt environment before running tests
Daniel Roe [Wed, 17 Aug 2022 14:15:38 +0000 (16:15 +0200)] 
test: prepare nuxt environment before running tests

2 years agotest(nuxt): add e2e test
Daniel Roe [Wed, 17 Aug 2022 13:41:06 +0000 (15:41 +0200)] 
test(nuxt): add e2e test

2 years agobuild(pinia): remove unused `@vue/devtools-api` require from `pinia.prod.cjs` (#1561...
pooya parsa [Wed, 17 Aug 2022 14:06:51 +0000 (16:06 +0200)] 
build(pinia): remove unused `@vue/devtools-api` require from `pinia.prod.cjs` (#1561) [skip ci]

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2 years agochore: downgrade size-check
Eduardo San Martin Morote [Wed, 17 Aug 2022 13:55:12 +0000 (15:55 +0200)] 
chore: downgrade size-check

2 years agochore: up pnpm requirements
Eduardo San Martin Morote [Wed, 17 Aug 2022 13:28:48 +0000 (15:28 +0200)] 
chore: up pnpm requirements

2 years agotest: migrate to vitest (#1559)
Daniel Roe [Wed, 17 Aug 2022 13:15:35 +0000 (15:15 +0200)] 
test: migrate to vitest (#1559)

2 years agochore: readme up [skip ci]
Eduardo San Martin Morote [Wed, 17 Aug 2022 13:11:28 +0000 (15:11 +0200)] 
chore: readme up [skip ci]

2 years agochore: correct composition-api requirement (#1560)
Jerald Vinfrank [Wed, 17 Aug 2022 13:10:26 +0000 (18:40 +0530)] 
chore: correct composition-api requirement (#1560)

2 years agorefactor: remove code in iife prod
Eduardo San Martin Morote [Wed, 17 Aug 2022 13:03:01 +0000 (15:03 +0200)] 
refactor: remove code in iife prod

2 years agofix(devtools): use flag to include devtools
Eduardo San Martin Morote [Wed, 17 Aug 2022 12:44:31 +0000 (14:44 +0200)] 
fix(devtools): use flag to include devtools

2 years agoDocs: Add VF2 banner (#1549)
Nico Devs [Wed, 17 Aug 2022 11:18:55 +0000 (08:18 -0300)] 
Docs: Add VF2 banner (#1549)

2 years agodocs: fix typo buildModules to modules for nuxt3 (#1554)
Sathish [Wed, 17 Aug 2022 09:00:30 +0000 (14:30 +0530)] 
docs: fix typo buildModules to modules for nuxt3 (#1554)

2 years agodocs: added 'export' keyword for useCounterStore (#1555)
Jerald Vinfrank [Tue, 16 Aug 2022 18:13:16 +0000 (23:43 +0530)] 
docs: added 'export' keyword for useCounterStore (#1555)

2 years agodocs: consistent wording
Eduardo San Martin Morote [Tue, 16 Aug 2022 17:37:56 +0000 (19:37 +0200)] 
docs: consistent wording

2 years agodocs: fix getter typo (#1553)
Jerald Vinfrank [Tue, 16 Aug 2022 17:26:13 +0000 (22:56 +0530)] 
docs: fix getter typo (#1553)

2 years agofeat(nuxt): automatically add pinia types (#1551)
Daniel Roe [Tue, 16 Aug 2022 15:16:54 +0000 (16:16 +0100)] 
feat(nuxt): automatically add pinia types (#1551)

2 years agodocs: import in testing (#1544)
zhao-li [Tue, 16 Aug 2022 06:52:46 +0000 (20:52 -1000)] 
docs: import in testing (#1544)

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2 years agodocs: consistency (#1543)
Jayden T [Tue, 16 Aug 2022 06:50:19 +0000 (00:50 -0600)] 
docs: consistency (#1543)

2 years agodocs: compatible with vue@2.7 (#1541)
jiangfei [Thu, 11 Aug 2022 09:39:59 +0000 (17:39 +0800)] 
docs: compatible with vue@2.7 (#1541)

Co-authored-by: jiangfei03 <jiangfei03@daojia-inc.com>
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2 years agochore: up lock
Eduardo San Martin Morote [Thu, 11 Aug 2022 09:36:35 +0000 (11:36 +0200)] 
chore: up lock

2 years agorelease: @pinia/nuxt@0.4.0 pinia@2.0.18 @pinia/nuxt@0.4.0 pinia@2.0.18
Eduardo San Martin Morote [Wed, 10 Aug 2022 21:20:08 +0000 (23:20 +0200)] 
release: @pinia/nuxt@0.4.0 pinia@2.0.18

2 years agofix(nuxt): fully resolve pinia path (#1537)
Daniel Roe [Wed, 10 Aug 2022 21:07:36 +0000 (22:07 +0100)] 
fix(nuxt): fully resolve pinia path (#1537)

* fix(nuxt): fully resolve pinia path

* fix: include module url

Co-authored-by: pooya parsa <pyapar@gmail.com>
* style: lint

Co-authored-by: pooya parsa <pyapar@gmail.com>
2 years agodoc: composition-api is only required for Vue <= 2.6.x (#1535)
greenbourne277 [Wed, 10 Aug 2022 09:51:12 +0000 (11:51 +0200)] 
doc: composition-api is only required for Vue  <= 2.6.x (#1535)

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)