]>
git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
Eduardo San Martin Morote [Wed, 28 Jul 2021 17:39:17 +0000 (19:39 +0200)]
refactor: move code around
Eduardo San Martin Morote [Wed, 28 Jul 2021 16:25:02 +0000 (18:25 +0200)]
release: v2.0.0-rc.0
Eduardo San Martin Morote [Wed, 28 Jul 2021 16:20:46 +0000 (18:20 +0200)]
refactor(types): move extractor types
Eduardo San Martin Morote [Wed, 28 Jul 2021 14:13:28 +0000 (16:13 +0200)]
build: prepare for rc
Eduardo San Martin Morote [Wed, 28 Jul 2021 14:08:31 +0000 (16:08 +0200)]
ci: improve test workflow
Eduardo San Martin Morote [Wed, 28 Jul 2021 13:49:54 +0000 (15:49 +0200)]
docs: add HMR entry
Eduardo San Martin Morote [Wed, 28 Jul 2021 13:16:43 +0000 (15:16 +0200)]
refactor: better isPlainObject
Eduardo San Martin Morote [Wed, 28 Jul 2021 13:15:28 +0000 (15:15 +0200)]
types: mark and document more types
Eduardo San Martin Morote [Wed, 28 Jul 2021 13:01:20 +0000 (15:01 +0200)]
feat(types): add StorState, StoreGetters, and StoreActions helpers
Eduardo San Martin Morote [Wed, 28 Jul 2021 12:45:25 +0000 (14:45 +0200)]
fix(types): correct order for hydrate function
Eduardo San Martin Morote [Wed, 28 Jul 2021 10:13:14 +0000 (12:13 +0200)]
feat(devtools): add sotre id information
Eduardo San Martin Morote [Wed, 28 Jul 2021 10:12:55 +0000 (12:12 +0200)]
chore: more playground
Eduardo San Martin Morote [Wed, 28 Jul 2021 10:05:23 +0000 (12:05 +0200)]
fix(devtools): avoid redundant timeline event with hmr
Eduardo San Martin Morote [Wed, 28 Jul 2021 10:04:48 +0000 (12:04 +0200)]
fix(hmr): correctly handle updates with id parameter and options
Eduardo San Martin Morote [Wed, 28 Jul 2021 10:03:43 +0000 (12:03 +0200)]
feat(devtools): show hot update in timeline
Eduardo San Martin Morote [Wed, 28 Jul 2021 09:17:05 +0000 (11:17 +0200)]
fix(types): stricter types for mapState
Eduardo San Martin Morote [Wed, 28 Jul 2021 09:06:24 +0000 (11:06 +0200)]
types: allow cast from Store to StoreGeneric
Eduardo San Martin Morote [Wed, 28 Jul 2021 08:31:16 +0000 (10:31 +0200)]
chore: remove outdated todo
Eduardo San Martin Morote [Wed, 28 Jul 2021 08:31:05 +0000 (10:31 +0200)]
chore: up vue
Eduardo San Martin Morote [Wed, 28 Jul 2021 07:55:53 +0000 (09:55 +0200)]
test: add skipped test
Eduardo San Martin Morote [Tue, 27 Jul 2021 08:58:11 +0000 (10:58 +0200)]
test: mapState no getters
Close #582
Close #581
Eduardo San Martin Morote [Mon, 26 Jul 2021 11:02:40 +0000 (13:02 +0200)]
chore: up deps
Eduardo San Martin Morote [Mon, 26 Jul 2021 11:01:53 +0000 (13:01 +0200)]
docs: fix @see
Eduardo San Martin Morote [Mon, 26 Jul 2021 10:55:28 +0000 (12:55 +0200)]
ci: use mjs brotli
Eduardo San Martin Morote [Fri, 23 Jul 2021 11:53:38 +0000 (13:53 +0200)]
refactor(types): add DefineStoreOptionsBase
Eduardo San Martin Morote [Fri, 23 Jul 2021 11:14:40 +0000 (13:14 +0200)]
fix(types): actual generic store
BREAKING CHANGE: The existing `Store<Id, S, G, A>` types was trying to be generic when no types were specified but failing at it. Now, `Store` without any type will default to an empty Store. This enables a stricter version of `defineStore` when any of state, getters, and actions are missing. If you were using `Store` as a type, you should now use `StoreGeneric` instead, which also replaces `GenericStore` (marked as deprecated).
```diff
-function takeAnyStore(store: Store) {}
+function takeAnyStore(store: StoreGeneric) {}
```
Eduardo San Martin Morote [Thu, 22 Jul 2021 15:23:40 +0000 (17:23 +0200)]
test: add more test
Eduardo San Martin Morote [Thu, 22 Jul 2021 15:23:04 +0000 (17:23 +0200)]
docs: updates after effectScope
Eduardo San Martin Morote [Thu, 22 Jul 2021 13:16:44 +0000 (15:16 +0200)]
test: type tests of setup
Eduardo San Martin Morote [Thu, 22 Jul 2021 13:15:30 +0000 (15:15 +0200)]
docs: use 2 arguments syntax
Eduardo San Martin Morote [Thu, 22 Jul 2021 12:56:48 +0000 (14:56 +0200)]
chore: vue peer dep
Eduardo San Martin Morote [Thu, 22 Jul 2021 08:25:45 +0000 (10:25 +0200)]
chore: up vue beta
Eduardo San Martin Morote [Wed, 21 Jul 2021 16:41:40 +0000 (18:41 +0200)]
refactor: rename internal _hotUpdate
Eduardo San Martin Morote [Wed, 21 Jul 2021 16:39:03 +0000 (18:39 +0200)]
chore: add nasa example to playground
Eduardo San Martin Morote [Wed, 21 Jul 2021 16:00:17 +0000 (18:00 +0200)]
feat: allow actions to be destructured
Eduardo San Martin Morote [Wed, 21 Jul 2021 15:38:25 +0000 (17:38 +0200)]
refactor: unused import
Eduardo San Martin Morote [Wed, 21 Jul 2021 15:34:45 +0000 (17:34 +0200)]
refactor: store subscriptions
Eduardo San Martin Morote [Wed, 21 Jul 2021 15:21:19 +0000 (17:21 +0200)]
chore: up vue
Eduardo San Martin Morote [Wed, 21 Jul 2021 14:09:35 +0000 (16:09 +0200)]
chore: up deps
Eduardo San Martin Morote [Wed, 21 Jul 2021 08:41:56 +0000 (10:41 +0200)]
chore: comments
Eduardo San Martin Morote [Wed, 21 Jul 2021 08:29:57 +0000 (10:29 +0200)]
fix(errors): allow async errors to propagate
Fix #576
Eduardo San Martin Morote [Tue, 20 Jul 2021 17:06:47 +0000 (19:06 +0200)]
chore: more tests
Eduardo San Martin Morote [Tue, 20 Jul 2021 17:06:28 +0000 (19:06 +0200)]
chore: more work
Eduardo San Martin Morote [Tue, 20 Jul 2021 15:57:24 +0000 (17:57 +0200)]
chore: more testing on the playground
Eduardo San Martin Morote [Tue, 20 Jul 2021 14:05:56 +0000 (16:05 +0200)]
test: add watch on state test
Eduardo San Martin Morote [Tue, 20 Jul 2021 10:27:47 +0000 (12:27 +0200)]
refactor: merge defineStore
Eduardo San Martin Morote [Tue, 20 Jul 2021 09:48:38 +0000 (11:48 +0200)]
build: improve size checks
Eduardo San Martin Morote [Tue, 20 Jul 2021 09:48:19 +0000 (11:48 +0200)]
docs: trailing line
Eduardo San Martin Morote [Tue, 20 Jul 2021 09:34:16 +0000 (11:34 +0200)]
docs: simplify store usage
Close #563
Eduardo San Martin Morote [Tue, 20 Jul 2021 08:00:53 +0000 (10:00 +0200)]
docs(hmr): document hmr code
Eduardo San Martin Morote [Tue, 20 Jul 2021 08:00:18 +0000 (10:00 +0200)]
feat: require Vue ^3.2.0
Eduardo San Martin Morote [Tue, 20 Jul 2021 07:55:09 +0000 (09:55 +0200)]
chore: up vue beta
Eduardo San Martin Morote [Tue, 20 Jul 2021 07:40:24 +0000 (09:40 +0200)]
chore: hot with dev
Eduardo San Martin Morote [Mon, 19 Jul 2021 16:26:42 +0000 (18:26 +0200)]
chore: playground
Eduardo San Martin Morote [Mon, 19 Jul 2021 14:53:53 +0000 (16:53 +0200)]
test: $patch arrays
Eduardo San Martin Morote [Mon, 19 Jul 2021 14:50:49 +0000 (16:50 +0200)]
feat(hmr): skip arrays
Eduardo San Martin Morote [Mon, 19 Jul 2021 09:57:33 +0000 (11:57 +0200)]
test: ignore hmr file for coverage
Eduardo San Martin Morote [Mon, 19 Jul 2021 09:55:57 +0000 (11:55 +0200)]
chore: regen lock
Eduardo San Martin Morote [Fri, 16 Jul 2021 20:09:41 +0000 (22:09 +0200)]
chore: up vue
Eduardo San Martin Morote [Fri, 16 Jul 2021 18:01:48 +0000 (20:01 +0200)]
test(hmr): failing test
Eduardo San Martin Morote [Fri, 16 Jul 2021 17:09:39 +0000 (19:09 +0200)]
fix(hmr): add state properties to the store
Eduardo San Martin Morote [Fri, 16 Jul 2021 15:36:49 +0000 (17:36 +0200)]
fix: avoid modifying options argument
Eduardo San Martin Morote [Fri, 16 Jul 2021 14:55:20 +0000 (16:55 +0200)]
refactor: avoid setting $reset in setup
Eduardo San Martin Morote [Fri, 16 Jul 2021 13:32:43 +0000 (15:32 +0200)]
fix(ssr): delay getters read
Eduardo San Martin Morote [Fri, 16 Jul 2021 12:55:44 +0000 (14:55 +0200)]
chore: remove old code
Eduardo San Martin Morote [Fri, 16 Jul 2021 12:55:34 +0000 (14:55 +0200)]
test: fix
Eduardo San Martin Morote [Tue, 13 Jul 2021 13:19:00 +0000 (15:19 +0200)]
chore: note
Eduardo San Martin Morote [Thu, 15 Jul 2021 16:15:50 +0000 (18:15 +0200)]
feat(hmr): remove old getters and actionss
Eduardo San Martin Morote [Thu, 15 Jul 2021 15:57:16 +0000 (17:57 +0200)]
feat(hmr): handle changes to setup store
Eduardo San Martin Morote [Thu, 15 Jul 2021 14:23:35 +0000 (16:23 +0200)]
feat(devtools): display pinia without stores
Eduardo San Martin Morote [Thu, 15 Jul 2021 13:56:17 +0000 (15:56 +0200)]
fix(devtools): state grouping
Eduardo San Martin Morote [Thu, 15 Jul 2021 13:11:01 +0000 (15:11 +0200)]
chore: add counter setup to playground
Eduardo San Martin Morote [Thu, 15 Jul 2021 13:09:51 +0000 (15:09 +0200)]
refactor(hmr): expose acceptHMRUpdate
Eduardo San Martin Morote [Thu, 15 Jul 2021 10:46:36 +0000 (12:46 +0200)]
fix(devtools): avoid grouping patches and mutations with finished actions
Eduardo San Martin Morote [Thu, 15 Jul 2021 10:46:03 +0000 (12:46 +0200)]
chore: more playground testing
Eduardo San Martin Morote [Thu, 15 Jul 2021 09:40:03 +0000 (11:40 +0200)]
feat(hmr): working version
Eduardo San Martin Morote [Mon, 12 Jul 2021 16:25:13 +0000 (18:25 +0200)]
feat(dx): HMR wip
Eduardo San Martin Morote [Sun, 11 Jul 2021 19:03:31 +0000 (21:03 +0200)]
fix: add _p for devtools
Eduardo San Martin Morote [Sun, 11 Jul 2021 19:02:29 +0000 (21:02 +0200)]
chore: add playground to test
Eduardo San Martin Morote [Sun, 11 Jul 2021 18:40:43 +0000 (20:40 +0200)]
chore: remove non necessary api
Eduardo San Martin Morote [Sun, 11 Jul 2021 18:40:30 +0000 (20:40 +0200)]
fix: avoid watchers to trigger while building the store
Eduardo San Martin Morote [Sun, 11 Jul 2021 18:39:51 +0000 (20:39 +0200)]
test(ssr): test basic hydration
Eduardo San Martin Morote [Fri, 9 Jul 2021 19:38:20 +0000 (21:38 +0200)]
types: add exported types
Eduardo San Martin Morote [Fri, 9 Jul 2021 18:53:01 +0000 (20:53 +0200)]
refactor: use original definestoreoptions type
Eduardo San Martin Morote [Fri, 9 Jul 2021 18:48:29 +0000 (20:48 +0200)]
refactor(plugins): make it work with actions
Eduardo San Martin Morote [Fri, 9 Jul 2021 16:46:50 +0000 (18:46 +0200)]
build: fix types
Eduardo San Martin Morote [Fri, 9 Jul 2021 16:45:42 +0000 (18:45 +0200)]
test: fix tests
Eduardo San Martin Morote [Fri, 9 Jul 2021 14:16:51 +0000 (16:16 +0200)]
refactor: defineStore with setup
Eduardo San Martin Morote [Fri, 9 Jul 2021 09:59:31 +0000 (11:59 +0200)]
refactor: detached in subscribeAction
Eduardo San Martin Morote [Fri, 9 Jul 2021 09:44:43 +0000 (11:44 +0200)]
refactor(setup): correctly extract the state
Eduardo San Martin Morote [Thu, 8 Jul 2021 16:42:50 +0000 (18:42 +0200)]
feat(store): function wip
Eduardo San Martin Morote [Thu, 8 Jul 2021 08:50:34 +0000 (10:50 +0200)]
test: fix lifespan test
Eduardo San Martin Morote [Thu, 8 Jul 2021 08:50:20 +0000 (10:50 +0200)]
chore: up temp deps
renovate[bot] [Mon, 19 Jul 2021 09:11:07 +0000 (11:11 +0200)]
chore(deps): update dependency @rollup/plugin-replace to v3 (#573)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Renovate Bot [Mon, 19 Jul 2021 00:54:40 +0000 (00:54 +0000)]
chore(deps): update all non-major dependencies
Renovate Bot [Mon, 12 Jul 2021 01:23:48 +0000 (01:23 +0000)]
chore(deps): update all non-major dependencies
Eduardo San Martin Morote [Sat, 10 Jul 2021 22:28:43 +0000 (00:28 +0200)]
release: v2.0.0-beta.5
Eduardo San Martin Morote [Sat, 10 Jul 2021 22:27:04 +0000 (00:27 +0200)]
feat: mark testing as internal
Eduardo San Martin Morote [Sat, 10 Jul 2021 22:24:37 +0000 (00:24 +0200)]
chore: dep up
Eduardo San Martin Morote [Thu, 8 Jul 2021 08:51:27 +0000 (10:51 +0200)]
test: fix command vscode