]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
thirdparty/vuejs/pinia.git
4 years agochore: update readme
Eduardo San Martin Morote [Mon, 8 Mar 2021 10:08:16 +0000 (11:08 +0100)] 
chore: update readme

4 years agochore: add changelog [skip ci]
Eduardo San Martin Morote [Thu, 4 Mar 2021 18:46:14 +0000 (19:46 +0100)] 
chore: add changelog [skip ci]

4 years agodocs: comment on pinia.use [skip ci]
Eduardo San Martin Morote [Thu, 4 Mar 2021 15:43:14 +0000 (16:43 +0100)] 
docs: comment on pinia.use [skip ci]

4 years agodocs: types nuxt [skip ci]
Eduardo San Martin Morote [Thu, 4 Mar 2021 15:39:00 +0000 (16:39 +0100)] 
docs: types nuxt [skip ci]

4 years agorefactor: dead code
Eduardo San Martin Morote [Thu, 4 Mar 2021 15:27:31 +0000 (16:27 +0100)] 
refactor: dead code

4 years agostyle: fix
Eduardo San Martin Morote [Thu, 4 Mar 2021 15:26:27 +0000 (16:26 +0100)] 
style: fix

4 years agoci: add size check
Eduardo San Martin Morote [Thu, 4 Mar 2021 15:22:22 +0000 (16:22 +0100)] 
ci: add size check

BREAKING CHANGE: files in dist folder are renamed to match official libs in the Vue ecosystem. Unless you were importing from `pinia/dist`, this won't affect you.

4 years agobuild: add release scripts
Eduardo San Martin Morote [Thu, 4 Mar 2021 15:21:56 +0000 (16:21 +0100)] 
build: add release scripts

4 years agodocs: update
Eduardo San Martin Morote [Thu, 4 Mar 2021 14:52:07 +0000 (15:52 +0100)] 
docs: update

4 years agofeat(nuxt): expose nuxt context as $nuxt
Eduardo San Martin Morote [Wed, 3 Mar 2021 16:51:05 +0000 (17:51 +0100)] 
feat(nuxt): expose nuxt context as $nuxt

4 years agostyle: lint
Eduardo San Martin Morote [Wed, 3 Mar 2021 16:39:39 +0000 (17:39 +0100)] 
style: lint

4 years agorefactor: use assign instead of spread
Eduardo San Martin Morote [Wed, 3 Mar 2021 16:38:27 +0000 (17:38 +0100)] 
refactor: use assign instead of spread

4 years agobuild: external vue
Eduardo San Martin Morote [Wed, 3 Mar 2021 16:30:10 +0000 (17:30 +0100)] 
build: external vue

4 years agofeat(nuxt): add buildModule
Eduardo San Martin Morote [Wed, 3 Mar 2021 16:30:03 +0000 (17:30 +0100)] 
feat(nuxt): add buildModule

4 years agofeat: add PiniaPlugin
Eduardo San Martin Morote [Wed, 3 Mar 2021 16:29:51 +0000 (17:29 +0100)] 
feat: add PiniaPlugin

4 years agotest: add plugins test
Eduardo San Martin Morote [Wed, 3 Mar 2021 16:29:16 +0000 (17:29 +0100)] 
test: add plugins test

4 years agofix: outlive components lifespan
Eduardo San Martin Morote [Wed, 3 Mar 2021 15:36:34 +0000 (16:36 +0100)] 
fix: outlive components lifespan

Fix #370

BREAKING CHANGE: It's now necessary to create a pinia instance and
install it:
  ```js
  import { createPinia, PiniaPlugin } from 'pinia'

  const pinia = createPinia()
  Vue.use(PiniaPlugin)

  new Vue({
    el: '#app',
    pinia,
    // ...
  })
  ```
  The `pinia` instance can be passed to `useStore(pinia)` when called
  outside of a `setup()` function. Check the SSR section of the docs for
  more details.

BREAKING CHANGE: `setActiveReq()` and `getActiveReq()` have been
replaced with `setActivePinia()` and `getActivePinia()` respectively.
`setActivePinia()` can only be passed a `pinia` instance created with
`createPinia()`.

BREAKING CHANGE: Since req as a parameter was replacetd with `pinia`,
`getRootState` is no longer necessary. Replace it with
`pinia.state.value` to **read and write** the root state`.

BREAKING CHANGE: `PiniaSsr` is no longer necessary and has been removed.

4 years agotypes: add global types for injecting pinia
Eduardo San Martin Morote [Wed, 3 Mar 2021 15:27:29 +0000 (16:27 +0100)] 
types: add global types for injecting pinia

4 years agochore: fix deprecation message
Eduardo San Martin Morote [Wed, 3 Mar 2021 15:14:55 +0000 (16:14 +0100)] 
chore: fix deprecation message

4 years agorefactor: remove unused code
Eduardo San Martin Morote [Wed, 3 Mar 2021 15:14:43 +0000 (16:14 +0100)] 
refactor: remove unused code

4 years agochore: up deps
Eduardo San Martin Morote [Wed, 3 Mar 2021 15:14:11 +0000 (16:14 +0100)] 
chore: up deps

4 years agodocs: remove old functions
Eduardo San Martin Morote [Wed, 3 Mar 2021 15:14:03 +0000 (16:14 +0100)] 
docs: remove old functions

4 years agotest(ssr): update
Eduardo San Martin Morote [Wed, 3 Mar 2021 15:13:49 +0000 (16:13 +0100)] 
test(ssr): update

4 years agotest: use createPinia()
Eduardo San Martin Morote [Wed, 3 Mar 2021 14:45:26 +0000 (15:45 +0100)] 
test: use createPinia()

4 years agotest: update to handle new api
Eduardo San Martin Morote [Wed, 3 Mar 2021 14:40:10 +0000 (15:40 +0100)] 
test: update to handle new api

4 years agodocs: remove experimental tag
Eduardo San Martin Morote [Wed, 3 Mar 2021 14:40:00 +0000 (15:40 +0100)] 
docs: remove experimental tag

4 years agorefactor: wip to migrate to createPinia() like v2
Eduardo San Martin Morote [Wed, 3 Mar 2021 14:28:47 +0000 (15:28 +0100)] 
refactor: wip to migrate to createPinia() like v2

4 years agotest: lifespan test
Eduardo San Martin Morote [Wed, 3 Mar 2021 14:27:28 +0000 (15:27 +0100)] 
test: lifespan test

4 years agochore: add npm keywords
Eduardo San Martin Morote [Wed, 3 Mar 2021 12:51:19 +0000 (13:51 +0100)] 
chore: add npm keywords

4 years agodocs: remove experimental flag
Eduardo San Martin Morote [Wed, 3 Mar 2021 12:51:03 +0000 (13:51 +0100)] 
docs: remove experimental flag

4 years agochore: up deps
Eduardo San Martin Morote [Wed, 3 Mar 2021 10:00:34 +0000 (11:00 +0100)] 
chore: up deps

4 years agorefactor: prefix store public properties with `$`
Eduardo San Martin Morote [Tue, 9 Feb 2021 17:49:15 +0000 (18:49 +0100)] 
refactor: prefix store public properties with `$`

Close #253. This also aligns with the current v2 API and makes migration
easier from Vue 2 to Vue 3.

BREAKING CHANGES: all store properties (`id`, `state`, `patch`, `subscribe`, and `reset`) are now prefixed with `$` to allow properties defined with the same type and avoid types breaking. Tip: you can refactor your whole codebase with F2 (or right-click + Rename) on each of the store's properties

4 years agofeat: deprecate createStore in favor of defineStore
Eduardo San Martin Morote [Tue, 9 Feb 2021 17:14:59 +0000 (18:14 +0100)] 
feat: deprecate createStore in favor of defineStore

4 years agorefactor: preparing for migration
Eduardo San Martin Morote [Tue, 9 Feb 2021 17:12:03 +0000 (18:12 +0100)] 
refactor: preparing for migration

4 years agochore: up deps
Eduardo San Martin Morote [Tue, 9 Feb 2021 09:34:11 +0000 (10:34 +0100)] 
chore: up deps

4 years agotypes: expose StoreWith*
Eduardo San Martin Morote [Fri, 22 Jan 2021 09:31:13 +0000 (10:31 +0100)] 
types: expose StoreWith*

Close #339

5 years agofix: only set state provider if a state exists (#248)
Martin Malinda [Mon, 5 Oct 2020 13:17:07 +0000 (15:17 +0200)] 
fix: only set state provider if a state exists (#248)

5 years agotest: check we can use the store as argument
Eduardo San Martin Morote [Mon, 5 Oct 2020 08:55:41 +0000 (10:55 +0200)] 
test: check we can use the store as argument

5 years agodocs: update links [skip ci]
Eduardo San Martin Morote [Wed, 23 Sep 2020 12:50:22 +0000 (14:50 +0200)] 
docs: update links [skip ci]

5 years agochore: up prettier, jest and ts
Eduardo San Martin Morote [Tue, 22 Sep 2020 08:54:08 +0000 (10:54 +0200)] 
chore: up prettier, jest and ts

5 years agochore: up composition api
Eduardo San Martin Morote [Tue, 22 Sep 2020 08:48:47 +0000 (10:48 +0200)] 
chore: up composition api

5 years agoRelease 0.1.0 0.1.0
Eduardo San Martin Morote [Tue, 22 Sep 2020 08:37:11 +0000 (10:37 +0200)] 
Release 0.1.0

5 years agofeat: access the state and getters through `this` (#190)
Eduardo San Martin Morote [Tue, 22 Sep 2020 08:08:12 +0000 (10:08 +0200)] 
feat: access the state and getters through `this` (#190)

BREAKING CHANGE: there is no longer a `state` property on the store, you need to directly access it. `getters` no longer receive parameters, directly call `this.myState` to read state and other getters

5 years agorefactor: use defineComponent
Eduardo San Martin Morote [Tue, 22 Sep 2020 07:57:30 +0000 (09:57 +0200)] 
refactor: use defineComponent

5 years agotest: refactor not implemented
Eduardo San Martin Morote [Tue, 23 Jun 2020 08:14:40 +0000 (10:14 +0200)] 
test: refactor not implemented

5 years agochore(deps-dev): bump @types/jest from 26.0.13 to 26.0.14
dependabot-preview[bot] [Mon, 21 Sep 2020 05:13:14 +0000 (05:13 +0000)] 
chore(deps-dev): bump @types/jest from 26.0.13 to 26.0.14

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.13 to 26.0.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.26.11 to 2.27.1
dependabot-preview[bot] [Mon, 21 Sep 2020 05:11:14 +0000 (05:11 +0000)] 
chore(deps-dev): bump rollup from 2.26.11 to 2.27.1

Bumps [rollup](https://github.com/rollup/rollup) from 2.26.11 to 2.27.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.11...v2.27.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.26.10 to 2.26.11
dependabot-preview[bot] [Mon, 14 Sep 2020 05:08:23 +0000 (05:08 +0000)] 
chore(deps-dev): bump rollup from 2.26.10 to 2.26.11

Bumps [rollup](https://github.com/rollup/rollup) from 2.26.10 to 2.26.11.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.10...v2.26.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @nuxt/types from 2.14.4 to 2.14.5
dependabot-preview[bot] [Mon, 14 Sep 2020 05:06:37 +0000 (05:06 +0000)] 
chore(deps-dev): bump @nuxt/types from 2.14.4 to 2.14.5

Bumps [@nuxt/types](https://github.com/nuxt/nuxt.js) from 2.14.4 to 2.14.5.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.14.4...v2.14.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps): [security] bump node-fetch from 2.6.0 to 2.6.1
dependabot-preview[bot] [Thu, 10 Sep 2020 18:12:54 +0000 (18:12 +0000)] 
chore(deps): [security] bump node-fetch from 2.6.0 to 2.6.1

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. **This update includes a security fix.**
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @types/jest from 26.0.10 to 26.0.13
dependabot-preview[bot] [Mon, 7 Sep 2020 05:08:39 +0000 (05:08 +0000)] 
chore(deps-dev): bump @types/jest from 26.0.10 to 26.0.13

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.10 to 26.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup-plugin-terser from 7.0.1 to 7.0.2
dependabot-preview[bot] [Mon, 7 Sep 2020 05:08:09 +0000 (05:08 +0000)] 
chore(deps-dev): bump rollup-plugin-terser from 7.0.1 to 7.0.2

Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v7.0.1...v7.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.26.8 to 2.26.10
dependabot-preview[bot] [Mon, 7 Sep 2020 05:06:57 +0000 (05:06 +0000)] 
chore(deps-dev): bump rollup from 2.26.8 to 2.26.10

Bumps [rollup](https://github.com/rollup/rollup) from 2.26.8 to 2.26.10.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.8...v2.26.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup-plugin-terser from 7.0.0 to 7.0.1
dependabot-preview[bot] [Mon, 31 Aug 2020 05:11:49 +0000 (05:11 +0000)] 
chore(deps-dev): bump rollup-plugin-terser from 7.0.0 to 7.0.1

Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @nuxt/types from 2.14.3 to 2.14.4
dependabot-preview[bot] [Mon, 31 Aug 2020 05:10:48 +0000 (05:10 +0000)] 
chore(deps-dev): bump @nuxt/types from 2.14.3 to 2.14.4

Bumps [@nuxt/types](https://github.com/nuxt/nuxt.js) from 2.14.3 to 2.14.4.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.14.3...v2.14.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.26.5 to 2.26.8
dependabot-preview[bot] [Mon, 31 Aug 2020 05:09:16 +0000 (05:09 +0000)] 
chore(deps-dev): bump rollup from 2.26.5 to 2.26.8

Bumps [rollup](https://github.com/rollup/rollup) from 2.26.5 to 2.26.8.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.5...v2.26.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.26.3 to 2.26.5
dependabot-preview[bot] [Mon, 24 Aug 2020 05:01:20 +0000 (05:01 +0000)] 
chore(deps-dev): bump rollup from 2.26.3 to 2.26.5

Bumps [rollup](https://github.com/rollup/rollup) from 2.26.3 to 2.26.5.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.3...v2.26.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @nuxt/types from 2.14.1 to 2.14.3
dependabot-preview[bot] [Mon, 17 Aug 2020 05:34:55 +0000 (05:34 +0000)] 
chore(deps-dev): bump @nuxt/types from 2.14.1 to 2.14.3

Bumps [@nuxt/types](https://github.com/nuxt/nuxt.js) from 2.14.1 to 2.14.3.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.14.1...v2.14.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @types/jest from 26.0.9 to 26.0.10
dependabot-preview[bot] [Mon, 17 Aug 2020 05:36:27 +0000 (05:36 +0000)] 
chore(deps-dev): bump @types/jest from 26.0.9 to 26.0.10

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.9 to 26.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.23.1 to 2.26.3
dependabot-preview[bot] [Mon, 17 Aug 2020 05:34:21 +0000 (05:34 +0000)] 
chore(deps-dev): bump rollup from 2.23.1 to 2.26.3

Bumps [rollup](https://github.com/rollup/rollup) from 2.23.1 to 2.26.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.23.1...v2.26.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps): [security] bump lodash from 4.17.15 to 4.17.20
dependabot-preview[bot] [Mon, 17 Aug 2020 05:33:13 +0000 (05:33 +0000)] 
chore(deps): [security] bump lodash from 4.17.15 to 4.17.20

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup-plugin-typescript2 from 0.27.1 to 0.27.2
dependabot-preview[bot] [Mon, 10 Aug 2020 05:35:02 +0000 (05:35 +0000)] 
chore(deps-dev): bump rollup-plugin-typescript2 from 0.27.1 to 0.27.2

Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) from 0.27.1 to 0.27.2.
- [Release notes](https://github.com/ezolenko/rollup-plugin-typescript2/releases)
- [Commits](https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.27.1...0.27.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.23.0 to 2.23.1
dependabot-preview[bot] [Mon, 10 Aug 2020 05:35:01 +0000 (05:35 +0000)] 
chore(deps-dev): bump rollup from 2.23.0 to 2.23.1

Bumps [rollup](https://github.com/rollup/rollup) from 2.23.0 to 2.23.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.23.0...v2.23.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @types/jest from 26.0.8 to 26.0.9
dependabot-preview[bot] [Mon, 10 Aug 2020 05:30:53 +0000 (05:30 +0000)] 
chore(deps-dev): bump @types/jest from 26.0.8 to 26.0.9

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.8 to 26.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @nuxt/types from 2.14.0 to 2.14.1
dependabot-preview[bot] [Mon, 10 Aug 2020 05:30:45 +0000 (05:30 +0000)] 
chore(deps-dev): bump @nuxt/types from 2.14.0 to 2.14.1

Bumps [@nuxt/types](https://github.com/nuxt/nuxt.js) from 2.14.0 to 2.14.1.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.14.0...v2.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup-plugin-terser from 6.1.0 to 7.0.0
dependabot-preview[bot] [Mon, 10 Aug 2020 05:28:39 +0000 (05:28 +0000)] 
chore(deps-dev): bump rollup-plugin-terser from 6.1.0 to 7.0.0

Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 6.1.0 to 7.0.0.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v6.1.0...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @nuxt/types from 2.13.3 to 2.14.0
dependabot-preview[bot] [Mon, 3 Aug 2020 05:43:00 +0000 (05:43 +0000)] 
chore(deps-dev): bump @nuxt/types from 2.13.3 to 2.14.0

Bumps [@nuxt/types](https://github.com/nuxt/nuxt.js) from 2.13.3 to 2.14.0.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.13.3...v2.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @types/jest from 26.0.7 to 26.0.8
dependabot-preview[bot] [Mon, 3 Aug 2020 05:42:07 +0000 (05:42 +0000)] 
chore(deps-dev): bump @types/jest from 26.0.7 to 26.0.8

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.7 to 26.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @types/jest from 26.0.5 to 26.0.7
dependabot-preview[bot] [Mon, 27 Jul 2020 05:36:42 +0000 (05:36 +0000)] 
chore(deps-dev): bump @types/jest from 26.0.5 to 26.0.7

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.5 to 26.0.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.22.1 to 2.23.0
dependabot-preview[bot] [Mon, 27 Jul 2020 05:35:24 +0000 (05:35 +0000)] 
chore(deps-dev): bump rollup from 2.22.1 to 2.23.0

Bumps [rollup](https://github.com/rollup/rollup) from 2.22.1 to 2.23.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.22.1...v2.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump codecov from 3.7.1 to 3.7.2
dependabot-preview[bot] [Mon, 27 Jul 2020 05:35:57 +0000 (05:35 +0000)] 
chore(deps-dev): bump codecov from 3.7.1 to 3.7.2

Bumps [codecov](https://github.com/codecov/codecov-node) from 3.7.1 to 3.7.2.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.7.1...v3.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @types/jest from 26.0.4 to 26.0.5
dependabot-preview[bot] [Mon, 20 Jul 2020 05:37:57 +0000 (05:37 +0000)] 
chore(deps-dev): bump @types/jest from 26.0.4 to 26.0.5

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.4 to 26.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump codecov from 3.7.0 to 3.7.1
dependabot-preview[bot] [Mon, 20 Jul 2020 05:37:17 +0000 (05:37 +0000)] 
chore(deps-dev): bump codecov from 3.7.0 to 3.7.1

Bumps [codecov](https://github.com/codecov/codecov-node) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.7.0...v3.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.21.0 to 2.22.1
dependabot-preview[bot] [Mon, 20 Jul 2020 05:36:31 +0000 (05:36 +0000)] 
chore(deps-dev): bump rollup from 2.21.0 to 2.22.1

Bumps [rollup](https://github.com/rollup/rollup) from 2.21.0 to 2.22.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.21.0...v2.22.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump typescript from 3.9.6 to 3.9.7
dependabot-preview[bot] [Mon, 20 Jul 2020 05:35:57 +0000 (05:35 +0000)] 
chore(deps-dev): bump typescript from 3.9.6 to 3.9.7

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 3.9.7.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agodocs: document typing the state with interface
Eduardo San Martin Morote [Mon, 13 Jul 2020 17:11:56 +0000 (19:11 +0200)] 
docs: document typing the state with interface

Close #85

Close #89

5 years agoRelease 0.0.7 0.0.7
Eduardo San Martin Morote [Mon, 13 Jul 2020 16:54:31 +0000 (18:54 +0200)] 
Release 0.0.7

5 years agochore(deps-dev): bump @types/jest from 26.0.3 to 26.0.4
dependabot-preview[bot] [Mon, 13 Jul 2020 05:24:11 +0000 (05:24 +0000)] 
chore(deps-dev): bump @types/jest from 26.0.3 to 26.0.4

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.3 to 26.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.19.0 to 2.21.0
dependabot-preview[bot] [Mon, 13 Jul 2020 05:25:01 +0000 (05:25 +0000)] 
chore(deps-dev): bump rollup from 2.19.0 to 2.21.0

Bumps [rollup](https://github.com/rollup/rollup) from 2.19.0 to 2.21.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.19.0...v2.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @nuxt/types from 2.13.2 to 2.13.3
dependabot-preview[bot] [Mon, 6 Jul 2020 05:34:10 +0000 (05:34 +0000)] 
chore(deps-dev): bump @nuxt/types from 2.13.2 to 2.13.3

Bumps [@nuxt/types](https://github.com/nuxt/nuxt.js) from 2.13.2 to 2.13.3.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.13.2...v2.13.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.18.1 to 2.19.0
dependabot-preview[bot] [Mon, 6 Jul 2020 05:34:07 +0000 (05:34 +0000)] 
chore(deps-dev): bump rollup from 2.18.1 to 2.19.0

Bumps [rollup](https://github.com/rollup/rollup) from 2.18.1 to 2.19.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.18.1...v2.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump tsd from 0.11.0 to 0.13.1
dependabot-preview[bot] [Mon, 6 Jul 2020 05:30:14 +0000 (05:30 +0000)] 
chore(deps-dev): bump tsd from 0.11.0 to 0.13.1

Bumps [tsd](https://github.com/SamVerschueren/tsd) from 0.11.0 to 0.13.1.
- [Release notes](https://github.com/SamVerschueren/tsd/releases)
- [Commits](https://github.com/SamVerschueren/tsd/compare/v0.11.0...v0.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump typescript from 3.9.5 to 3.9.6
dependabot-preview[bot] [Mon, 6 Jul 2020 05:29:40 +0000 (05:29 +0000)] 
chore(deps-dev): bump typescript from 3.9.5 to 3.9.6

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.5 to 3.9.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.18.0 to 2.18.1
dependabot-preview[bot] [Mon, 29 Jun 2020 05:33:03 +0000 (05:33 +0000)] 
chore(deps-dev): bump rollup from 2.18.0 to 2.18.1

Bumps [rollup](https://github.com/rollup/rollup) from 2.18.0 to 2.18.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.18.0...v2.18.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @types/jest from 26.0.0 to 26.0.3
dependabot-preview[bot] [Mon, 29 Jun 2020 05:31:47 +0000 (05:31 +0000)] 
chore(deps-dev): bump @types/jest from 26.0.0 to 26.0.3

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.0 to 26.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @nuxt/types from 2.13.0 to 2.13.2
dependabot-preview[bot] [Mon, 29 Jun 2020 05:32:19 +0000 (05:32 +0000)] 
chore(deps-dev): bump @nuxt/types from 2.13.0 to 2.13.2

Bumps [@nuxt/types](https://github.com/nuxt/nuxt.js) from 2.13.0 to 2.13.2.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.13.0...v2.13.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @vue/composition-api from 0.6.6 to 0.6.7
dependabot-preview[bot] [Mon, 29 Jun 2020 05:31:34 +0000 (05:31 +0000)] 
chore(deps-dev): bump @vue/composition-api from 0.6.6 to 0.6.7

Bumps [@vue/composition-api](https://github.com/vuejs/composition-api) from 0.6.6 to 0.6.7.
- [Release notes](https://github.com/vuejs/composition-api/releases)
- [Changelog](https://github.com/vuejs/composition-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/composition-api/compare/v0.6.6...v0.6.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agofix: make pinia work with nuxt Composition API plugin (#180)
Daniel Roe [Tue, 23 Jun 2020 08:04:08 +0000 (09:04 +0100)] 
fix: make pinia work with nuxt Composition API plugin (#180)

closes #179

5 years agotest: use jest-mock-warn
Eduardo San Martin Morote [Tue, 23 Jun 2020 08:03:21 +0000 (10:03 +0200)] 
test: use jest-mock-warn

5 years agochore(deps-dev): bump @nuxt/types from 0.7.9 to 2.13.0
dependabot-preview[bot] [Mon, 22 Jun 2020 05:37:05 +0000 (05:37 +0000)] 
chore(deps-dev): bump @nuxt/types from 0.7.9 to 2.13.0

Bumps [@nuxt/types](https://github.com/nuxt/nuxt.js) from 0.7.9 to 2.13.0.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v0.7.9...v2.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.16.1 to 2.18.0
dependabot-preview[bot] [Mon, 22 Jun 2020 05:36:34 +0000 (05:36 +0000)] 
chore(deps-dev): bump rollup from 2.16.1 to 2.18.0

Bumps [rollup](https://github.com/rollup/rollup) from 2.16.1 to 2.18.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.16.1...v2.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @vue/composition-api from 0.6.3 to 0.6.6
dependabot-preview[bot] [Mon, 22 Jun 2020 05:35:49 +0000 (05:35 +0000)] 
chore(deps-dev): bump @vue/composition-api from 0.6.3 to 0.6.6

Bumps [@vue/composition-api](https://github.com/vuejs/composition-api) from 0.6.3 to 0.6.6.
- [Release notes](https://github.com/vuejs/composition-api/releases)
- [Changelog](https://github.com/vuejs/composition-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/composition-api/compare/v0.6.3...v0.6.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @types/jest from 25.2.3 to 26.0.0
dependabot-preview[bot] [Mon, 15 Jun 2020 05:34:33 +0000 (05:34 +0000)] 
chore(deps-dev): bump @types/jest from 25.2.3 to 26.0.0

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.3 to 26.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @vue/composition-api from 0.5.0 to 0.6.3
dependabot-preview[bot] [Mon, 15 Jun 2020 05:33:48 +0000 (05:33 +0000)] 
chore(deps-dev): bump @vue/composition-api from 0.5.0 to 0.6.3

Bumps [@vue/composition-api](https://github.com/vuejs/composition-api) from 0.5.0 to 0.6.3.
- [Release notes](https://github.com/vuejs/composition-api/releases)
- [Changelog](https://github.com/vuejs/composition-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/composition-api/compare/v0.5.0...v0.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @nuxt/types from 0.7.8 to 0.7.9
dependabot-preview[bot] [Mon, 15 Jun 2020 05:33:22 +0000 (05:33 +0000)] 
chore(deps-dev): bump @nuxt/types from 0.7.8 to 0.7.9

Bumps [@nuxt/types](https://github.com/nuxt/typescript) from 0.7.8 to 0.7.9.
- [Release notes](https://github.com/nuxt/typescript/releases)
- [Commits](https://github.com/nuxt/typescript/compare/@nuxt/types@0.7.8...@nuxt/types@0.7.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump eslint-plugin-prettier from 3.1.3 to 3.1.4
dependabot-preview[bot] [Mon, 15 Jun 2020 05:36:23 +0000 (05:36 +0000)] 
chore(deps-dev): bump eslint-plugin-prettier from 3.1.3 to 3.1.4

Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.3...v3.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.14.0 to 2.16.1
dependabot-preview[bot] [Mon, 15 Jun 2020 05:35:13 +0000 (05:35 +0000)] 
chore(deps-dev): bump rollup from 2.14.0 to 2.16.1

Bumps [rollup](https://github.com/rollup/rollup) from 2.14.0 to 2.16.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.14.0...v2.16.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @rollup/plugin-alias from 3.1.0 to 3.1.1
dependabot-preview[bot] [Mon, 8 Jun 2020 05:29:16 +0000 (05:29 +0000)] 
chore(deps-dev): bump @rollup/plugin-alias from 3.1.0 to 3.1.1

Bumps [@rollup/plugin-alias](https://github.com/rollup/plugins) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/alias-v3.1.0...alias-v3.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump @rollup/plugin-replace from 2.3.2 to 2.3.3
dependabot-preview[bot] [Mon, 8 Jun 2020 05:31:18 +0000 (05:31 +0000)] 
chore(deps-dev): bump @rollup/plugin-replace from 2.3.2 to 2.3.3

Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.3.2...replace-v2.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore(deps-dev): bump rollup from 2.12.0 to 2.14.0
dependabot-preview[bot] [Mon, 8 Jun 2020 05:29:47 +0000 (05:29 +0000)] 
chore(deps-dev): bump rollup from 2.12.0 to 2.14.0

Bumps [rollup](https://github.com/rollup/rollup) from 2.12.0 to 2.14.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.12.0...v2.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>