]>
git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
Eduardo San Martin Morote [Wed, 12 May 2021 16:44:12 +0000 (18:44 +0200)]
feat: allow strict option
Close #58
Eduardo San Martin Morote [Wed, 12 May 2021 15:33:25 +0000 (17:33 +0200)]
feat(devtools): add more data to actions
Eduardo San Martin Morote [Wed, 12 May 2021 15:32:46 +0000 (17:32 +0200)]
docs: testing actions devtools
Eduardo San Martin Morote [Wed, 12 May 2021 14:55:49 +0000 (16:55 +0200)]
docs: note about subscribe in plugins
Eduardo San Martin Morote [Wed, 12 May 2021 14:54:25 +0000 (16:54 +0200)]
feat(types): infer args and returned value for onAction
Eduardo San Martin Morote [Wed, 12 May 2021 14:33:31 +0000 (16:33 +0200)]
refactor(types): use Store with defaults, deprecate GenericStore
Eduardo San Martin Morote [Wed, 12 May 2021 12:19:49 +0000 (14:19 +0200)]
test: remove unused code
Eduardo San Martin Morote [Wed, 12 May 2021 12:19:08 +0000 (14:19 +0200)]
test: lifespan with ref
Eduardo San Martin Morote [Wed, 12 May 2021 10:06:57 +0000 (12:06 +0200)]
test(onAction): add tests
Eduardo San Martin Morote [Wed, 12 May 2021 09:30:05 +0000 (11:30 +0200)]
refactor: pass resolved value in types onAction
Eduardo San Martin Morote [Wed, 12 May 2021 09:29:07 +0000 (11:29 +0200)]
fix(types): patch should unwrap refs
Eduardo San Martin Morote [Wed, 12 May 2021 09:28:31 +0000 (11:28 +0200)]
test(state): test patch with ref
Eduardo San Martin Morote [Wed, 12 May 2021 09:27:55 +0000 (11:27 +0200)]
test: refactor property name to avoid collisions
Eduardo San Martin Morote [Wed, 12 May 2021 09:27:26 +0000 (11:27 +0200)]
test(actions): test rejects and throw
Eduardo San Martin Morote [Wed, 12 May 2021 07:52:22 +0000 (09:52 +0200)]
fix(types): unwrap refs passed to state
Fix #491
Eduardo San Martin Morote [Wed, 12 May 2021 07:28:57 +0000 (09:28 +0200)]
style: reformat
Eduardo San Martin Morote [Wed, 12 May 2021 07:28:26 +0000 (09:28 +0200)]
chore: up deps
Eduardo San Martin Morote [Tue, 11 May 2021 20:53:20 +0000 (22:53 +0200)]
refactor: remove circular dep
Eduardo San Martin Morote [Tue, 11 May 2021 20:35:48 +0000 (22:35 +0200)]
refactor(devtools): simplify with proxy
Eduardo San Martin Morote [Tue, 11 May 2021 20:23:40 +0000 (22:23 +0200)]
feat(devtools): group action and their changes
Eduardo San Martin Morote [Tue, 11 May 2021 20:21:02 +0000 (22:21 +0200)]
feat: subscribe to actions with `$onAction`
Implements #240. In alpha, for testing first
Eduardo San Martin Morote [Mon, 10 May 2021 20:42:18 +0000 (22:42 +0200)]
feat: wip devtools action
Eduardo San Martin Morote [Mon, 10 May 2021 19:59:40 +0000 (21:59 +0200)]
feat(devtools): allow editing state
Eduardo San Martin Morote [Mon, 10 May 2021 19:58:26 +0000 (21:58 +0200)]
docs: use more stores for testting
Eduardo San Martin Morote [Fri, 7 May 2021 15:42:01 +0000 (17:42 +0200)]
feat!(devtools): group patch changes
mutation.type in $subscribe is now an enum
Eduardo San Martin Morote [Fri, 7 May 2021 13:41:39 +0000 (15:41 +0200)]
refactor(types): use isolatedModules
this allows using the lib directly with vite
Eduardo San Martin Morote [Fri, 7 May 2021 13:25:11 +0000 (15:25 +0200)]
docs: wip testing devtools
Eduardo San Martin Morote [Fri, 7 May 2021 13:24:23 +0000 (15:24 +0200)]
refactor(devtools): devtools as a plugin
Eduardo San Martin Morote [Tue, 11 May 2021 20:58:09 +0000 (22:58 +0200)]
docs: add links
Eduardo San Martin Morote [Mon, 10 May 2021 14:45:26 +0000 (16:45 +0200)]
refactor(devtools): only use one inspector state/tree
Eduardo San Martin Morote [Mon, 10 May 2021 14:44:56 +0000 (16:44 +0200)]
refactor(devtools): rename const variables
Eduardo San Martin Morote [Mon, 10 May 2021 14:39:20 +0000 (16:39 +0200)]
docs: fix icon in safari
renovate[bot] [Mon, 10 May 2021 08:04:25 +0000 (10:04 +0200)]
chore(deps): update dependency @rollup/plugin-commonjs to v19 (#487)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
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>
Eduardo San Martin Morote [Sun, 9 May 2021 09:42:59 +0000 (11:42 +0200)]
build: add code analysis
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>
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>
Eduardo San Martin Morote [Fri, 7 May 2021 12:05:18 +0000 (14:05 +0200)]
chore: up deps
Eduardo San Martin Morote [Tue, 4 May 2021 19:14:24 +0000 (21:14 +0200)]
release: v2.0.0-alpha.16
Eduardo San Martin Morote [Tue, 4 May 2021 19:13:06 +0000 (21:13 +0200)]
feat(devtools): display getters in components
Eduardo San Martin Morote [Tue, 4 May 2021 19:12:49 +0000 (21:12 +0200)]
fix(devtools): add all stores
Fix #472
Eduardo San Martin Morote [Tue, 4 May 2021 16:49:08 +0000 (18:49 +0200)]
release: v2.0.0-alpha.15
Eduardo San Martin Morote [Tue, 4 May 2021 16:48:35 +0000 (18:48 +0200)]
fix(devtools): fix devtools attach
Pascal Germain [Mon, 3 May 2021 19:52:52 +0000 (21:52 +0200)]
docs: typo (#469)
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.
Julian Martin [Mon, 3 May 2021 12:37:15 +0000 (14:37 +0200)]
docs: action instead of getter (#467)
Eduardo San Martin Morote [Mon, 3 May 2021 10:56:17 +0000 (12:56 +0200)]
release: v2.0.0-alpha.14
Eduardo San Martin Morote [Mon, 3 May 2021 10:51:46 +0000 (12:51 +0200)]
refactor(types): expose types
Eduardo San Martin Morote [Mon, 3 May 2021 10:43:56 +0000 (12:43 +0200)]
refactor(types): expose types as needed
Eduardo San Martin Morote [Mon, 3 May 2021 10:23:14 +0000 (12:23 +0200)]
docs: DefineStoreOptions
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>
Renovate Bot [Mon, 3 May 2021 01:25:08 +0000 (01:25 +0000)]
chore(deps): update all non-major dependencies
Eduardo San Martin Morote [Sun, 2 May 2021 19:25:59 +0000 (21:25 +0200)]
refactor: remove unused code
Eduardo San Martin Morote [Sun, 2 May 2021 19:25:50 +0000 (21:25 +0200)]
refactor: use correct type import
Eduardo San Martin Morote [Sun, 2 May 2021 18:48:57 +0000 (20:48 +0200)]
docs: typo [skip ci]
Eduardo San Martin Morote [Sun, 2 May 2021 18:32:24 +0000 (20:32 +0200)]
docs: links
Eduardo San Martin Morote [Sun, 2 May 2021 18:28:06 +0000 (20:28 +0200)]
docs: better color for diff
Eduardo San Martin Morote [Sun, 2 May 2021 18:27:56 +0000 (20:27 +0200)]
chore: changelog note on getters change
Eduardo San Martin Morote [Sun, 2 May 2021 18:27:44 +0000 (20:27 +0200)]
docs: add migration 0.0.7
Eduardo San Martin Morote [Sun, 2 May 2021 13:26:21 +0000 (15:26 +0200)]
chore: remove unused statement
Eduardo San Martin Morote [Thu, 29 Apr 2021 12:52:10 +0000 (14:52 +0200)]
refactor: force type when using `this` in getters
Eduardo San Martin Morote [Thu, 29 Apr 2021 11:45:43 +0000 (13:45 +0200)]
chore: remove unused import
Eduardo San Martin Morote [Tue, 27 Apr 2021 12:52:27 +0000 (14:52 +0200)]
feat: wip pass state to getters
Eduardo San Martin Morote [Sun, 2 May 2021 13:20:28 +0000 (15:20 +0200)]
feat(devtools): add getters to devtools
Eduardo San Martin Morote [Fri, 30 Apr 2021 15:36:38 +0000 (17:36 +0200)]
docs(getters): ts limitation
Eduardo San Martin Morote [Fri, 30 Apr 2021 09:12:52 +0000 (11:12 +0200)]
docs: import exports
Eduardo San Martin Morote [Fri, 30 Apr 2021 09:10:22 +0000 (11:10 +0200)]
docs: latest nuxt composition api
Close #463
Eduardo San Martin Morote [Thu, 29 Apr 2021 14:22:47 +0000 (16:22 +0200)]
chore: coverage
Eduardo San Martin Morote [Thu, 29 Apr 2021 14:21:17 +0000 (16:21 +0200)]
refactor(types): better getter types
Eduardo San Martin Morote [Thu, 29 Apr 2021 12:45:02 +0000 (14:45 +0200)]
feat: mark getters as readonly
Eduardo San Martin Morote [Thu, 29 Apr 2021 12:40:07 +0000 (14:40 +0200)]
feat(plugins): allow chaining
Eduardo San Martin Morote [Thu, 29 Apr 2021 12:37:09 +0000 (14:37 +0200)]
feat: reuse store instances when possible
Jordy [Thu, 29 Apr 2021 11:29:49 +0000 (13:29 +0200)]
docs: Typo (#461)
Eduardo San Martin Morote [Wed, 28 Apr 2021 17:41:11 +0000 (19:41 +0200)]
test: Store suffix customization
Eduardo San Martin Morote [Wed, 28 Apr 2021 17:21:22 +0000 (19:21 +0200)]
feat(mapHelpers): warn on array mapStores
Eduardo San Martin Morote [Wed, 28 Apr 2021 17:03:41 +0000 (19:03 +0200)]
refactor: any type to correctly infer
Eduardo San Martin Morote [Wed, 28 Apr 2021 16:46:22 +0000 (18:46 +0200)]
chore: lock update
Eduardo San Martin Morote [Wed, 28 Apr 2021 16:31:27 +0000 (18:31 +0200)]
docs(plugins): small fixes
Eduardo San Martin Morote [Fri, 16 Apr 2021 11:02:37 +0000 (13:02 +0200)]
test: use @sucrase/jest instead of ts-jest
Eduardo San Martin Morote [Thu, 15 Apr 2021 15:19:56 +0000 (17:19 +0200)]
test(types): test options
Eduardo San Martin Morote [Thu, 15 Apr 2021 15:19:42 +0000 (17:19 +0200)]
feat: pass options to context in plugins
Eduardo San Martin Morote [Fri, 2 Apr 2021 14:08:54 +0000 (16:08 +0200)]
docs: add unwrapping behavior
Eduardo San Martin Morote [Thu, 1 Apr 2021 15:28:52 +0000 (17:28 +0200)]
feat(types): expose PiniaPluginContext
Eduardo San Martin Morote [Thu, 1 Apr 2021 15:23:42 +0000 (17:23 +0200)]
docs: add plugins to sidebar
Eduardo San Martin Morote [Thu, 1 Apr 2021 15:23:11 +0000 (17:23 +0200)]
docs(plugins): more about plugins
Eduardo San Martin Morote [Mon, 29 Mar 2021 12:17:26 +0000 (14:17 +0200)]
docs: wip
Eduardo San Martin Morote [Wed, 24 Mar 2021 16:00:08 +0000 (17:00 +0100)]
feat: add plugin api wip
Eduardo San Martin Morote [Wed, 28 Apr 2021 14:50:50 +0000 (16:50 +0200)]
chore: missing Ref import
Eduardo San Martin Morote [Wed, 28 Apr 2021 14:43:34 +0000 (16:43 +0200)]
docs: add watching the store
Eduardo San Martin Morote [Tue, 27 Apr 2021 12:53:06 +0000 (14:53 +0200)]
refactor: remove old warning
Simon Legner [Tue, 27 Apr 2021 10:53:47 +0000 (12:53 +0200)]
docs: typography (#455)
Eduardo San Martin Morote [Tue, 27 Apr 2021 08:46:52 +0000 (10:46 +0200)]
feat(plugins): allow void return
Eduardo San Martin Morote [Mon, 26 Apr 2021 22:05:38 +0000 (00:05 +0200)]
test: use faster test
Eduardo San Martin Morote [Mon, 26 Apr 2021 22:03:20 +0000 (00:03 +0200)]
chore: up deps
Eduardo San Martin Morote [Mon, 26 Apr 2021 21:57:31 +0000 (23:57 +0200)]
docs: ts note
See #453
Renovate Bot [Mon, 26 Apr 2021 01:05:04 +0000 (01:05 +0000)]
chore(deps): update all non-major dependencies
emesenge [Mon, 19 Apr 2021 10:20:11 +0000 (12:20 +0200)]
docs: correct options API action access (#445)
Eduardo San Martin Morote [Thu, 15 Apr 2021 14:51:05 +0000 (16:51 +0200)]
refactor: remove unused types
Eduardo San Martin Morote [Thu, 15 Apr 2021 14:46:22 +0000 (16:46 +0200)]
refactor: use assign
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 }) => {})
```