]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
thirdparty/vuejs/pinia.git
4 years agorefactor: use vue-demi
Eduardo San Martin Morote [Mon, 2 Aug 2021 13:23:41 +0000 (15:23 +0200)] 
refactor: use vue-demi

4 years agofix(devtools): reflect changes on HMR
Eduardo San Martin Morote [Mon, 2 Aug 2021 13:22:59 +0000 (15:22 +0200)] 
fix(devtools): reflect changes on HMR

4 years agochore: add vue-demi
Eduardo San Martin Morote [Mon, 2 Aug 2021 13:15:01 +0000 (15:15 +0200)] 
chore: add vue-demi

4 years agochore: remove old exports
Eduardo San Martin Morote [Mon, 2 Aug 2021 13:09:58 +0000 (15:09 +0200)] 
chore: remove old exports

4 years agodocs: point to install
Eduardo San Martin Morote [Mon, 2 Aug 2021 12:56:14 +0000 (14:56 +0200)] 
docs: point to install

4 years agochore(deps): update dependency @rollup/plugin-commonjs to v20 (#594)
renovate[bot] [Mon, 2 Aug 2021 09:31:39 +0000 (11:31 +0200)] 
chore(deps): update dependency @rollup/plugin-commonjs to v20 (#594)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years agoci: adapt scripts
Eduardo San Martin Morote [Mon, 2 Aug 2021 09:05:11 +0000 (11:05 +0200)] 
ci: adapt scripts

4 years agochore: script name
Eduardo San Martin Morote [Sun, 1 Aug 2021 22:25:30 +0000 (00:25 +0200)] 
chore: script name

4 years agotest: more tests
Eduardo San Martin Morote [Fri, 30 Jul 2021 16:02:01 +0000 (18:02 +0200)] 
test: more tests

4 years agorelease: v2.0.0-rc.1 v2.0.0-rc.1
Eduardo San Martin Morote [Fri, 30 Jul 2021 14:16:37 +0000 (16:16 +0200)] 
release: v2.0.0-rc.1

4 years agofix(store): keep original refs with $reset
Eduardo San Martin Morote [Fri, 30 Jul 2021 14:12:59 +0000 (16:12 +0200)] 
fix(store): keep original refs with $reset

Fix #593

4 years agochore: up deps
Eduardo San Martin Morote [Fri, 30 Jul 2021 13:54:21 +0000 (15:54 +0200)] 
chore: up deps

4 years agoci: better cache
Eduardo San Martin Morote [Thu, 29 Jul 2021 12:09:22 +0000 (14:09 +0200)] 
ci: better cache

4 years agochore: add wip nuxt 3
Eduardo San Martin Morote [Thu, 29 Jul 2021 09:28:17 +0000 (11:28 +0200)] 
chore: add wip nuxt 3

4 years agochore: remove unused imports
Eduardo San Martin Morote [Thu, 29 Jul 2021 07:45:16 +0000 (09:45 +0200)] 
chore: remove unused imports

4 years agofix(devtools): update when custom properties change
Eduardo San Martin Morote [Wed, 28 Jul 2021 20:35:01 +0000 (22:35 +0200)] 
fix(devtools): update when custom properties change

4 years agofix: collect reactive effects ran in plugins
Eduardo San Martin Morote [Wed, 28 Jul 2021 20:18:00 +0000 (22:18 +0200)] 
fix: collect reactive effects ran in plugins

4 years agorefactor: move code around
Eduardo San Martin Morote [Wed, 28 Jul 2021 17:39:17 +0000 (19:39 +0200)] 
refactor: move code around

4 years agorelease: v2.0.0-rc.0 v2.0.0-rc.0
Eduardo San Martin Morote [Wed, 28 Jul 2021 16:25:02 +0000 (18:25 +0200)] 
release: v2.0.0-rc.0

4 years agorefactor(types): move extractor types
Eduardo San Martin Morote [Wed, 28 Jul 2021 16:20:46 +0000 (18:20 +0200)] 
refactor(types): move extractor types

4 years agobuild: prepare for rc
Eduardo San Martin Morote [Wed, 28 Jul 2021 14:13:28 +0000 (16:13 +0200)] 
build: prepare for rc

4 years agoci: improve test workflow
Eduardo San Martin Morote [Wed, 28 Jul 2021 14:08:31 +0000 (16:08 +0200)] 
ci: improve test workflow

4 years agodocs: add HMR entry
Eduardo San Martin Morote [Wed, 28 Jul 2021 13:49:54 +0000 (15:49 +0200)] 
docs: add HMR entry

4 years agorefactor: better isPlainObject
Eduardo San Martin Morote [Wed, 28 Jul 2021 13:16:43 +0000 (15:16 +0200)] 
refactor: better isPlainObject

4 years agotypes: mark and document more types
Eduardo San Martin Morote [Wed, 28 Jul 2021 13:15:28 +0000 (15:15 +0200)] 
types: mark and document more types

4 years agofeat(types): add StorState, StoreGetters, and StoreActions helpers
Eduardo San Martin Morote [Wed, 28 Jul 2021 13:01:20 +0000 (15:01 +0200)] 
feat(types): add StorState, StoreGetters, and StoreActions helpers

4 years agofix(types): correct order for hydrate function
Eduardo San Martin Morote [Wed, 28 Jul 2021 12:45:25 +0000 (14:45 +0200)] 
fix(types): correct order for hydrate function

4 years agofeat(devtools): add sotre id information
Eduardo San Martin Morote [Wed, 28 Jul 2021 10:13:14 +0000 (12:13 +0200)] 
feat(devtools): add sotre id information

4 years agochore: more playground
Eduardo San Martin Morote [Wed, 28 Jul 2021 10:12:55 +0000 (12:12 +0200)] 
chore: more playground

4 years agofix(devtools): avoid redundant timeline event with hmr
Eduardo San Martin Morote [Wed, 28 Jul 2021 10:05:23 +0000 (12:05 +0200)] 
fix(devtools): avoid redundant timeline event with hmr

4 years agofix(hmr): correctly handle updates with id parameter and options
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

4 years agofeat(devtools): show hot update in timeline
Eduardo San Martin Morote [Wed, 28 Jul 2021 10:03:43 +0000 (12:03 +0200)] 
feat(devtools): show hot update in timeline

4 years agofix(types): stricter types for mapState
Eduardo San Martin Morote [Wed, 28 Jul 2021 09:17:05 +0000 (11:17 +0200)] 
fix(types): stricter types for mapState

4 years agotypes: allow cast from Store to StoreGeneric
Eduardo San Martin Morote [Wed, 28 Jul 2021 09:06:24 +0000 (11:06 +0200)] 
types: allow cast from Store to StoreGeneric

4 years agochore: remove outdated todo
Eduardo San Martin Morote [Wed, 28 Jul 2021 08:31:16 +0000 (10:31 +0200)] 
chore: remove outdated todo

4 years agochore: up vue
Eduardo San Martin Morote [Wed, 28 Jul 2021 08:31:05 +0000 (10:31 +0200)] 
chore: up vue

4 years agotest: add skipped test
Eduardo San Martin Morote [Wed, 28 Jul 2021 07:55:53 +0000 (09:55 +0200)] 
test: add skipped test

4 years agotest: mapState no getters
Eduardo San Martin Morote [Tue, 27 Jul 2021 08:58:11 +0000 (10:58 +0200)] 
test: mapState no getters

Close #582

Close #581

4 years agochore: up deps
Eduardo San Martin Morote [Mon, 26 Jul 2021 11:02:40 +0000 (13:02 +0200)] 
chore: up deps

4 years agodocs: fix @see
Eduardo San Martin Morote [Mon, 26 Jul 2021 11:01:53 +0000 (13:01 +0200)] 
docs: fix @see

4 years agoci: use mjs brotli
Eduardo San Martin Morote [Mon, 26 Jul 2021 10:55:28 +0000 (12:55 +0200)] 
ci: use mjs brotli

4 years agorefactor(types): add DefineStoreOptionsBase
Eduardo San Martin Morote [Fri, 23 Jul 2021 11:53:38 +0000 (13:53 +0200)] 
refactor(types): add DefineStoreOptionsBase

4 years agofix(types): actual generic store
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) {}
```

4 years agotest: add more test
Eduardo San Martin Morote [Thu, 22 Jul 2021 15:23:40 +0000 (17:23 +0200)] 
test: add more test

4 years agodocs: updates after effectScope
Eduardo San Martin Morote [Thu, 22 Jul 2021 15:23:04 +0000 (17:23 +0200)] 
docs: updates after effectScope

4 years agotest: type tests of setup
Eduardo San Martin Morote [Thu, 22 Jul 2021 13:16:44 +0000 (15:16 +0200)] 
test: type tests of setup

4 years agodocs: use 2 arguments syntax
Eduardo San Martin Morote [Thu, 22 Jul 2021 13:15:30 +0000 (15:15 +0200)] 
docs: use 2 arguments syntax

4 years agochore: vue peer dep
Eduardo San Martin Morote [Thu, 22 Jul 2021 12:56:48 +0000 (14:56 +0200)] 
chore: vue peer dep

4 years agochore: up vue beta
Eduardo San Martin Morote [Thu, 22 Jul 2021 08:25:45 +0000 (10:25 +0200)] 
chore: up vue beta

4 years agorefactor: rename internal _hotUpdate
Eduardo San Martin Morote [Wed, 21 Jul 2021 16:41:40 +0000 (18:41 +0200)] 
refactor: rename internal _hotUpdate

4 years agochore: add nasa example to playground
Eduardo San Martin Morote [Wed, 21 Jul 2021 16:39:03 +0000 (18:39 +0200)] 
chore: add nasa example to playground

4 years agofeat: allow actions to be destructured
Eduardo San Martin Morote [Wed, 21 Jul 2021 16:00:17 +0000 (18:00 +0200)] 
feat: allow actions to be destructured

4 years agorefactor: unused import
Eduardo San Martin Morote [Wed, 21 Jul 2021 15:38:25 +0000 (17:38 +0200)] 
refactor: unused import

4 years agorefactor: store subscriptions
Eduardo San Martin Morote [Wed, 21 Jul 2021 15:34:45 +0000 (17:34 +0200)] 
refactor: store subscriptions

4 years agochore: up vue
Eduardo San Martin Morote [Wed, 21 Jul 2021 15:21:19 +0000 (17:21 +0200)] 
chore: up vue

4 years agochore: up deps
Eduardo San Martin Morote [Wed, 21 Jul 2021 14:09:35 +0000 (16:09 +0200)] 
chore: up deps

4 years agochore: comments
Eduardo San Martin Morote [Wed, 21 Jul 2021 08:41:56 +0000 (10:41 +0200)] 
chore: comments

4 years agofix(errors): allow async errors to propagate
Eduardo San Martin Morote [Wed, 21 Jul 2021 08:29:57 +0000 (10:29 +0200)] 
fix(errors): allow async errors to propagate

Fix #576

4 years agochore: more tests
Eduardo San Martin Morote [Tue, 20 Jul 2021 17:06:47 +0000 (19:06 +0200)] 
chore: more tests

4 years ago chore: more work
Eduardo San Martin Morote [Tue, 20 Jul 2021 17:06:28 +0000 (19:06 +0200)] 
 chore: more work

4 years agochore: more testing on the playground
Eduardo San Martin Morote [Tue, 20 Jul 2021 15:57:24 +0000 (17:57 +0200)] 
chore: more testing on the playground

4 years agotest: add watch on state test
Eduardo San Martin Morote [Tue, 20 Jul 2021 14:05:56 +0000 (16:05 +0200)] 
test: add watch on state test

4 years agorefactor: merge defineStore
Eduardo San Martin Morote [Tue, 20 Jul 2021 10:27:47 +0000 (12:27 +0200)] 
refactor: merge defineStore

4 years agobuild: improve size checks
Eduardo San Martin Morote [Tue, 20 Jul 2021 09:48:38 +0000 (11:48 +0200)] 
build: improve size checks

4 years agodocs: trailing line
Eduardo San Martin Morote [Tue, 20 Jul 2021 09:48:19 +0000 (11:48 +0200)] 
docs: trailing line

4 years agodocs: simplify store usage
Eduardo San Martin Morote [Tue, 20 Jul 2021 09:34:16 +0000 (11:34 +0200)] 
docs: simplify store usage

Close #563

4 years agodocs(hmr): document hmr code
Eduardo San Martin Morote [Tue, 20 Jul 2021 08:00:53 +0000 (10:00 +0200)] 
docs(hmr): document hmr code

4 years agofeat: require Vue ^3.2.0
Eduardo San Martin Morote [Tue, 20 Jul 2021 08:00:18 +0000 (10:00 +0200)] 
feat: require Vue ^3.2.0

4 years agochore: up vue beta
Eduardo San Martin Morote [Tue, 20 Jul 2021 07:55:09 +0000 (09:55 +0200)] 
chore: up vue beta

4 years agochore: hot with dev
Eduardo San Martin Morote [Tue, 20 Jul 2021 07:40:24 +0000 (09:40 +0200)] 
chore: hot with dev

4 years agochore: playground
Eduardo San Martin Morote [Mon, 19 Jul 2021 16:26:42 +0000 (18:26 +0200)] 
chore: playground

4 years agotest: $patch arrays
Eduardo San Martin Morote [Mon, 19 Jul 2021 14:53:53 +0000 (16:53 +0200)] 
test: $patch arrays

4 years agofeat(hmr): skip arrays
Eduardo San Martin Morote [Mon, 19 Jul 2021 14:50:49 +0000 (16:50 +0200)] 
feat(hmr): skip arrays

4 years agotest: ignore hmr file for coverage
Eduardo San Martin Morote [Mon, 19 Jul 2021 09:57:33 +0000 (11:57 +0200)] 
test: ignore hmr file for coverage

4 years agochore: regen lock
Eduardo San Martin Morote [Mon, 19 Jul 2021 09:55:57 +0000 (11:55 +0200)] 
chore: regen lock

4 years agochore: up vue
Eduardo San Martin Morote [Fri, 16 Jul 2021 20:09:41 +0000 (22:09 +0200)] 
chore: up vue

4 years agotest(hmr): failing test
Eduardo San Martin Morote [Fri, 16 Jul 2021 18:01:48 +0000 (20:01 +0200)] 
test(hmr): failing test

4 years agofix(hmr): add state properties to the store
Eduardo San Martin Morote [Fri, 16 Jul 2021 17:09:39 +0000 (19:09 +0200)] 
fix(hmr): add state properties to the store

4 years agofix: avoid modifying options argument
Eduardo San Martin Morote [Fri, 16 Jul 2021 15:36:49 +0000 (17:36 +0200)] 
fix: avoid modifying options argument

4 years agorefactor: avoid setting $reset in setup
Eduardo San Martin Morote [Fri, 16 Jul 2021 14:55:20 +0000 (16:55 +0200)] 
refactor: avoid setting $reset in setup

4 years agofix(ssr): delay getters read
Eduardo San Martin Morote [Fri, 16 Jul 2021 13:32:43 +0000 (15:32 +0200)] 
fix(ssr): delay getters read

4 years agochore: remove old code
Eduardo San Martin Morote [Fri, 16 Jul 2021 12:55:44 +0000 (14:55 +0200)] 
chore: remove old code

4 years agotest: fix
Eduardo San Martin Morote [Fri, 16 Jul 2021 12:55:34 +0000 (14:55 +0200)] 
test: fix

4 years agochore: note
Eduardo San Martin Morote [Tue, 13 Jul 2021 13:19:00 +0000 (15:19 +0200)] 
chore: note

4 years agofeat(hmr): remove old getters and actionss
Eduardo San Martin Morote [Thu, 15 Jul 2021 16:15:50 +0000 (18:15 +0200)] 
feat(hmr): remove old getters and actionss

4 years agofeat(hmr): handle changes to setup store
Eduardo San Martin Morote [Thu, 15 Jul 2021 15:57:16 +0000 (17:57 +0200)] 
feat(hmr): handle changes to setup store

4 years agofeat(devtools): display pinia without stores
Eduardo San Martin Morote [Thu, 15 Jul 2021 14:23:35 +0000 (16:23 +0200)] 
feat(devtools): display pinia without stores

4 years agofix(devtools): state grouping
Eduardo San Martin Morote [Thu, 15 Jul 2021 13:56:17 +0000 (15:56 +0200)] 
fix(devtools): state grouping

4 years agochore: add counter setup to playground
Eduardo San Martin Morote [Thu, 15 Jul 2021 13:11:01 +0000 (15:11 +0200)] 
chore: add counter setup to playground

4 years agorefactor(hmr): expose acceptHMRUpdate
Eduardo San Martin Morote [Thu, 15 Jul 2021 13:09:51 +0000 (15:09 +0200)] 
refactor(hmr): expose acceptHMRUpdate

4 years agofix(devtools): avoid grouping patches and mutations with finished actions
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

4 years agochore: more playground testing
Eduardo San Martin Morote [Thu, 15 Jul 2021 10:46:03 +0000 (12:46 +0200)] 
chore: more playground testing

4 years agofeat(hmr): working version
Eduardo San Martin Morote [Thu, 15 Jul 2021 09:40:03 +0000 (11:40 +0200)] 
feat(hmr): working version

4 years agofeat(dx): HMR wip
Eduardo San Martin Morote [Mon, 12 Jul 2021 16:25:13 +0000 (18:25 +0200)] 
feat(dx): HMR wip

4 years agofix: add _p for devtools
Eduardo San Martin Morote [Sun, 11 Jul 2021 19:03:31 +0000 (21:03 +0200)] 
fix: add _p for devtools

4 years agochore: add playground to test
Eduardo San Martin Morote [Sun, 11 Jul 2021 19:02:29 +0000 (21:02 +0200)] 
chore: add playground to test

4 years agochore: remove non necessary api
Eduardo San Martin Morote [Sun, 11 Jul 2021 18:40:43 +0000 (20:40 +0200)] 
chore: remove non necessary api

4 years agofix: avoid watchers to trigger while building the store
Eduardo San Martin Morote [Sun, 11 Jul 2021 18:40:30 +0000 (20:40 +0200)] 
fix: avoid watchers to trigger while building the store

4 years agotest(ssr): test basic hydration
Eduardo San Martin Morote [Sun, 11 Jul 2021 18:39:51 +0000 (20:39 +0200)] 
test(ssr): test basic hydration

4 years agotypes: add exported types
Eduardo San Martin Morote [Fri, 9 Jul 2021 19:38:20 +0000 (21:38 +0200)] 
types: add exported types