]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
thirdparty/vuejs/pinia.git
4 years agochore(deps): update dependency lint-staged to v11 (#488)
renovate[bot] [Mon, 10 May 2021 08:04:16 +0000 (10:04 +0200)] 
chore(deps): update dependency lint-staged to v11 (#488)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years agobuild: add code analysis
Eduardo San Martin Morote [Sun, 9 May 2021 09:42:59 +0000 (11:42 +0200)] 
build: add code analysis

4 years agochore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#483)
dependabot[bot] [Sun, 9 May 2021 09:41:46 +0000 (11:41 +0200)] 
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#483)

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agochore(deps): bump handlebars from 4.7.6 to 4.7.7 (#479)
dependabot[bot] [Fri, 7 May 2021 15:42:49 +0000 (17:42 +0200)] 
chore(deps): bump handlebars from 4.7.6 to 4.7.7 (#479)

Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agochore: up deps
Eduardo San Martin Morote [Fri, 7 May 2021 12:05:18 +0000 (14:05 +0200)] 
chore: up deps

4 years agorelease: v2.0.0-alpha.16 v2.0.0-alpha.16
Eduardo San Martin Morote [Tue, 4 May 2021 19:14:24 +0000 (21:14 +0200)] 
release: v2.0.0-alpha.16

4 years agofeat(devtools): display getters in components
Eduardo San Martin Morote [Tue, 4 May 2021 19:13:06 +0000 (21:13 +0200)] 
feat(devtools): display getters in components

4 years agofix(devtools): add all stores
Eduardo San Martin Morote [Tue, 4 May 2021 19:12:49 +0000 (21:12 +0200)] 
fix(devtools): add all stores

Fix #472

4 years agorelease: v2.0.0-alpha.15
Eduardo San Martin Morote [Tue, 4 May 2021 16:49:08 +0000 (18:49 +0200)] 
release: v2.0.0-alpha.15

4 years agofix(devtools): fix devtools attach
Eduardo San Martin Morote [Tue, 4 May 2021 16:48:35 +0000 (18:48 +0200)] 
fix(devtools): fix devtools attach

4 years agodocs: typo (#469)
Pascal Germain [Mon, 3 May 2021 19:52:52 +0000 (21:52 +0200)] 
docs: typo (#469)

4 years agodocs: missing "function" code example (#468)
Philippe Da Silva [Mon, 3 May 2021 15:59:51 +0000 (17:59 +0200)] 
docs: missing "function" code example (#468)

Just a quick fix in the plugin documentation.

4 years agodocs: action instead of getter (#467)
Julian Martin [Mon, 3 May 2021 12:37:15 +0000 (14:37 +0200)] 
docs: action instead of getter (#467)

4 years agorelease: v2.0.0-alpha.14 v2.0.0-alpha.14
Eduardo San Martin Morote [Mon, 3 May 2021 10:56:17 +0000 (12:56 +0200)] 
release: v2.0.0-alpha.14

4 years agorefactor(types): expose types
Eduardo San Martin Morote [Mon, 3 May 2021 10:51:46 +0000 (12:51 +0200)] 
refactor(types): expose types

4 years agorefactor(types): expose types as needed
Eduardo San Martin Morote [Mon, 3 May 2021 10:43:56 +0000 (12:43 +0200)] 
refactor(types): expose types as needed

4 years agodocs: DefineStoreOptions
Eduardo San Martin Morote [Mon, 3 May 2021 10:23:14 +0000 (12:23 +0200)] 
docs: DefineStoreOptions

4 years agofeat(devtools): work with stores added before app.use (#444)
Marshall Thompson [Mon, 3 May 2021 08:21:19 +0000 (02:21 -0600)] 
feat(devtools): work with stores added before app.use (#444)

* feat: Stores add to devtools before app.use(pinia)
* fix(view): Remove watcher from getClientApp
* fix(view): must resolve the original promise

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
4 years agochore(deps): update all non-major dependencies
Renovate Bot [Mon, 3 May 2021 01:25:08 +0000 (01:25 +0000)] 
chore(deps): update all non-major dependencies

4 years agorefactor: remove unused code
Eduardo San Martin Morote [Sun, 2 May 2021 19:25:59 +0000 (21:25 +0200)] 
refactor: remove unused code

4 years agorefactor: use correct type import
Eduardo San Martin Morote [Sun, 2 May 2021 19:25:50 +0000 (21:25 +0200)] 
refactor: use correct type import

4 years agodocs: typo [skip ci]
Eduardo San Martin Morote [Sun, 2 May 2021 18:48:57 +0000 (20:48 +0200)] 
docs: typo [skip ci]

4 years agodocs: links
Eduardo San Martin Morote [Sun, 2 May 2021 18:32:24 +0000 (20:32 +0200)] 
docs: links

4 years agodocs: better color for diff
Eduardo San Martin Morote [Sun, 2 May 2021 18:28:06 +0000 (20:28 +0200)] 
docs: better color for diff

4 years agochore: changelog note on getters change
Eduardo San Martin Morote [Sun, 2 May 2021 18:27:56 +0000 (20:27 +0200)] 
chore: changelog note on getters change

4 years agodocs: add migration 0.0.7
Eduardo San Martin Morote [Sun, 2 May 2021 18:27:44 +0000 (20:27 +0200)] 
docs: add migration 0.0.7

4 years agochore: remove unused statement
Eduardo San Martin Morote [Sun, 2 May 2021 13:26:21 +0000 (15:26 +0200)] 
chore: remove unused statement

4 years agorefactor: force type when using `this` in getters
Eduardo San Martin Morote [Thu, 29 Apr 2021 12:52:10 +0000 (14:52 +0200)] 
refactor: force type when using `this` in getters

4 years agochore: remove unused import
Eduardo San Martin Morote [Thu, 29 Apr 2021 11:45:43 +0000 (13:45 +0200)] 
chore: remove unused import

4 years agofeat: wip pass state to getters
Eduardo San Martin Morote [Tue, 27 Apr 2021 12:52:27 +0000 (14:52 +0200)] 
feat: wip pass state to getters

4 years agofeat(devtools): add getters to devtools
Eduardo San Martin Morote [Sun, 2 May 2021 13:20:28 +0000 (15:20 +0200)] 
feat(devtools): add getters to devtools

4 years agodocs(getters): ts limitation
Eduardo San Martin Morote [Fri, 30 Apr 2021 15:36:38 +0000 (17:36 +0200)] 
docs(getters): ts limitation

4 years agodocs: import exports
Eduardo San Martin Morote [Fri, 30 Apr 2021 09:12:52 +0000 (11:12 +0200)] 
docs: import exports

4 years agodocs: latest nuxt composition api
Eduardo San Martin Morote [Fri, 30 Apr 2021 09:10:22 +0000 (11:10 +0200)] 
docs: latest nuxt composition api

Close #463

4 years agochore: coverage
Eduardo San Martin Morote [Thu, 29 Apr 2021 14:22:47 +0000 (16:22 +0200)] 
chore: coverage

4 years agorefactor(types): better getter types
Eduardo San Martin Morote [Thu, 29 Apr 2021 14:21:17 +0000 (16:21 +0200)] 
refactor(types): better getter types

4 years agofeat: mark getters as readonly
Eduardo San Martin Morote [Thu, 29 Apr 2021 12:45:02 +0000 (14:45 +0200)] 
feat: mark getters as readonly

4 years agofeat(plugins): allow chaining
Eduardo San Martin Morote [Thu, 29 Apr 2021 12:40:07 +0000 (14:40 +0200)] 
feat(plugins): allow chaining

4 years agofeat: reuse store instances when possible
Eduardo San Martin Morote [Thu, 29 Apr 2021 12:37:09 +0000 (14:37 +0200)] 
feat: reuse store instances when possible

4 years agodocs: Typo (#461)
Jordy [Thu, 29 Apr 2021 11:29:49 +0000 (13:29 +0200)] 
docs: Typo (#461)

4 years agotest: Store suffix customization
Eduardo San Martin Morote [Wed, 28 Apr 2021 17:41:11 +0000 (19:41 +0200)] 
test: Store suffix customization

4 years agofeat(mapHelpers): warn on array mapStores
Eduardo San Martin Morote [Wed, 28 Apr 2021 17:21:22 +0000 (19:21 +0200)] 
feat(mapHelpers): warn on array mapStores

4 years agorefactor: any type to correctly infer
Eduardo San Martin Morote [Wed, 28 Apr 2021 17:03:41 +0000 (19:03 +0200)] 
refactor: any type to correctly infer

4 years agochore: lock update
Eduardo San Martin Morote [Wed, 28 Apr 2021 16:46:22 +0000 (18:46 +0200)] 
chore: lock update

4 years agodocs(plugins): small fixes
Eduardo San Martin Morote [Wed, 28 Apr 2021 16:31:27 +0000 (18:31 +0200)] 
docs(plugins): small fixes

4 years agotest: use @sucrase/jest instead of ts-jest
Eduardo San Martin Morote [Fri, 16 Apr 2021 11:02:37 +0000 (13:02 +0200)] 
test: use @sucrase/jest instead of ts-jest

4 years agotest(types): test options
Eduardo San Martin Morote [Thu, 15 Apr 2021 15:19:56 +0000 (17:19 +0200)] 
test(types): test options

4 years agofeat: pass options to context in plugins
Eduardo San Martin Morote [Thu, 15 Apr 2021 15:19:42 +0000 (17:19 +0200)] 
feat: pass options to context in plugins

4 years agodocs: add unwrapping behavior
Eduardo San Martin Morote [Fri, 2 Apr 2021 14:08:54 +0000 (16:08 +0200)] 
docs: add unwrapping behavior

4 years agofeat(types): expose PiniaPluginContext
Eduardo San Martin Morote [Thu, 1 Apr 2021 15:28:52 +0000 (17:28 +0200)] 
feat(types): expose PiniaPluginContext

4 years agodocs: add plugins to sidebar
Eduardo San Martin Morote [Thu, 1 Apr 2021 15:23:42 +0000 (17:23 +0200)] 
docs: add plugins to sidebar

4 years agodocs(plugins): more about plugins
Eduardo San Martin Morote [Thu, 1 Apr 2021 15:23:11 +0000 (17:23 +0200)] 
docs(plugins): more about plugins

4 years agodocs: wip
Eduardo San Martin Morote [Mon, 29 Mar 2021 12:17:26 +0000 (14:17 +0200)] 
docs: wip

4 years agofeat: add plugin api wip
Eduardo San Martin Morote [Wed, 24 Mar 2021 16:00:08 +0000 (17:00 +0100)] 
feat: add plugin api wip

4 years agochore: missing Ref import
Eduardo San Martin Morote [Wed, 28 Apr 2021 14:50:50 +0000 (16:50 +0200)] 
chore: missing Ref import

4 years agodocs: add watching the store
Eduardo San Martin Morote [Wed, 28 Apr 2021 14:43:34 +0000 (16:43 +0200)] 
docs: add watching the store

4 years agorefactor: remove old warning
Eduardo San Martin Morote [Tue, 27 Apr 2021 12:53:06 +0000 (14:53 +0200)] 
refactor: remove old warning

4 years agodocs: typography (#455)
Simon Legner [Tue, 27 Apr 2021 10:53:47 +0000 (12:53 +0200)] 
docs: typography (#455)

4 years agofeat(plugins): allow void return
Eduardo San Martin Morote [Tue, 27 Apr 2021 08:46:52 +0000 (10:46 +0200)] 
feat(plugins): allow void return

4 years agotest: use faster test
Eduardo San Martin Morote [Mon, 26 Apr 2021 22:05:38 +0000 (00:05 +0200)] 
test: use faster test

4 years agochore: up deps
Eduardo San Martin Morote [Mon, 26 Apr 2021 22:03:20 +0000 (00:03 +0200)] 
chore: up deps

4 years agodocs: ts note
Eduardo San Martin Morote [Mon, 26 Apr 2021 21:57:31 +0000 (23:57 +0200)] 
docs: ts note

See #453

4 years agochore(deps): update all non-major dependencies
Renovate Bot [Mon, 26 Apr 2021 01:05:04 +0000 (01:05 +0000)] 
chore(deps): update all non-major dependencies

4 years agodocs: correct options API action access (#445)
emesenge [Mon, 19 Apr 2021 10:20:11 +0000 (12:20 +0200)] 
docs: correct options API action access (#445)

4 years agorefactor: remove unused types
Eduardo San Martin Morote [Thu, 15 Apr 2021 14:51:05 +0000 (16:51 +0200)] 
refactor: remove unused types

4 years agorefactor: use assign
Eduardo San Martin Morote [Thu, 15 Apr 2021 14:46:22 +0000 (16:46 +0200)] 
refactor: use assign

4 years agofeat(plugins): pass a context object to plugins instead of app
Eduardo San Martin Morote [Thu, 15 Apr 2021 14:43:14 +0000 (16:43 +0200)] 
feat(plugins): pass a context object to plugins instead of app

BREAKING CHANGE: To improve the plugin api capabilities, `pinia.use()`
now receives a context object instead of just `app`:
```js
// replace
pinia.use((app) => {})
// with
pinia.use(({ app }) => {})
```

4 years agofeat: add plugin api wip
Eduardo San Martin Morote [Wed, 24 Mar 2021 16:00:08 +0000 (17:00 +0100)] 
feat: add plugin api wip

4 years agodocs: correct lang
Eduardo San Martin Morote [Thu, 15 Apr 2021 14:41:39 +0000 (16:41 +0200)] 
docs: correct lang

4 years agochore: sponsors update
Eduardo San Martin Morote [Wed, 14 Apr 2021 17:43:19 +0000 (19:43 +0200)] 
chore: sponsors update

4 years agodocs: update sponsors
Eduardo San Martin Morote [Wed, 14 Apr 2021 17:39:28 +0000 (19:39 +0200)] 
docs: update sponsors

4 years agochore(deps): update all non-major dependencies
Renovate Bot [Mon, 12 Apr 2021 01:08:35 +0000 (01:08 +0000)] 
chore(deps): update all non-major dependencies

4 years agorelease: v2.0.0-alpha.13 v2.0.0-alpha.13
Eduardo San Martin Morote [Sat, 10 Apr 2021 15:28:54 +0000 (17:28 +0200)] 
release: v2.0.0-alpha.13

4 years agotest: ignore global.d.ts
Eduardo San Martin Morote [Sat, 10 Apr 2021 15:26:38 +0000 (17:26 +0200)] 
test: ignore global.d.ts

4 years agofix(subscribe): remove subscription when unmounted
Eduardo San Martin Morote [Sat, 10 Apr 2021 15:13:25 +0000 (17:13 +0200)] 
fix(subscribe): remove subscription when unmounted

4 years agodocs: typo fix (#436)
Marcus [Sat, 10 Apr 2021 10:50:58 +0000 (18:50 +0800)] 
docs: typo fix (#436)

4 years agotest: add more context tests
Eduardo San Martin Morote [Fri, 9 Apr 2021 18:36:22 +0000 (20:36 +0200)] 
test: add more context tests

4 years agofeat(types): fail on async patch
Eduardo San Martin Morote [Fri, 9 Apr 2021 18:35:57 +0000 (20:35 +0200)] 
feat(types): fail on async patch

4 years agorelease: v2.0.0-alpha.12 v2.0.0-alpha.12
Eduardo San Martin Morote [Fri, 9 Apr 2021 17:12:08 +0000 (19:12 +0200)] 
release: v2.0.0-alpha.12

4 years agochore: deprecated message
Eduardo San Martin Morote [Fri, 9 Apr 2021 17:11:26 +0000 (19:11 +0200)] 
chore: deprecated message

4 years agofix(store): avoid multiple subscriptions call
Eduardo San Martin Morote [Fri, 9 Apr 2021 17:06:27 +0000 (19:06 +0200)] 
fix(store): avoid multiple subscriptions call

Fix #429, Fix #430

4 years agorelease: v2.0.0-alpha.11 v2.0.0-alpha.11
Eduardo San Martin Morote [Fri, 9 Apr 2021 11:10:49 +0000 (13:10 +0200)] 
release: v2.0.0-alpha.11

4 years agodocs: fix broken link
Eduardo San Martin Morote [Fri, 9 Apr 2021 10:41:09 +0000 (12:41 +0200)] 
docs: fix broken link

4 years agodocs: naming
Eduardo San Martin Morote [Fri, 9 Apr 2021 10:36:49 +0000 (12:36 +0200)] 
docs: naming

4 years agodocs: minor changes
Eduardo San Martin Morote [Fri, 9 Apr 2021 09:28:31 +0000 (11:28 +0200)] 
docs: minor changes

4 years agodocs: add map helpers docs
Eduardo San Martin Morote [Fri, 9 Apr 2021 08:56:45 +0000 (10:56 +0200)] 
docs: add map helpers docs

4 years agochore: mark mapGetters as deprecated
Eduardo San Martin Morote [Fri, 9 Apr 2021 07:42:35 +0000 (09:42 +0200)] 
chore: mark mapGetters as deprecated

4 years agofeat: mapWritableState
Eduardo San Martin Morote [Thu, 8 Apr 2021 16:22:30 +0000 (18:22 +0200)] 
feat: mapWritableState

4 years agodocs: wip hehe
Eduardo San Martin Morote [Thu, 8 Apr 2021 14:25:04 +0000 (16:25 +0200)] 
docs: wip hehe

4 years agotest: fix module augmenation
Eduardo San Martin Morote [Thu, 8 Apr 2021 13:34:26 +0000 (15:34 +0200)] 
test: fix module augmenation

4 years agorefactor: adapt v1 changes
Eduardo San Martin Morote [Thu, 8 Apr 2021 13:31:41 +0000 (15:31 +0200)] 
refactor: adapt v1 changes

4 years agochore: comment [skip ci]
Eduardo San Martin Morote [Thu, 8 Apr 2021 12:51:50 +0000 (14:51 +0200)] 
chore: comment [skip ci]

4 years agofeat(mapState): accept functions
Eduardo San Martin Morote [Thu, 8 Apr 2021 12:46:16 +0000 (14:46 +0200)] 
feat(mapState): accept functions

4 years agofeat(mapStores): allow custom suffix
Eduardo San Martin Morote [Thu, 8 Apr 2021 11:43:35 +0000 (13:43 +0200)] 
feat(mapStores): allow custom suffix

4 years agofeat(types): allow extending mapStores suffix
Eduardo San Martin Morote [Thu, 8 Apr 2021 11:32:59 +0000 (13:32 +0200)] 
feat(types): allow extending mapStores suffix

4 years agotest: add dts tests
Eduardo San Martin Morote [Thu, 8 Apr 2021 10:01:20 +0000 (12:01 +0200)] 
test: add dts tests

4 years agodocs: mark pStores as internal [skip ci]
Eduardo San Martin Morote [Thu, 8 Apr 2021 09:39:13 +0000 (11:39 +0200)] 
docs: mark pStores as internal [skip ci]

4 years agorefactor(types): mapState autocomplete
Eduardo San Martin Morote [Thu, 8 Apr 2021 09:22:20 +0000 (11:22 +0200)] 
refactor(types): mapState autocomplete

4 years agorefactor(types): fix autocompletion
Eduardo San Martin Morote [Thu, 8 Apr 2021 09:19:39 +0000 (11:19 +0200)] 
refactor(types): fix autocompletion

4 years agofix(types): enable autocomplete in object
Eduardo San Martin Morote [Thu, 8 Apr 2021 09:12:21 +0000 (11:12 +0200)] 
fix(types): enable autocomplete in object