]>
git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
Eduardo San Martin Morote [Tue, 17 Aug 2021 15:02:19 +0000 (17:02 +0200)]
ci: adapt script
Eduardo San Martin Morote [Tue, 17 Aug 2021 15:00:10 +0000 (17:00 +0200)]
build: fix build
Eduardo San Martin Morote [Tue, 17 Aug 2021 14:59:20 +0000 (16:59 +0200)]
chore: reorganize deps
Eduardo San Martin Morote [Tue, 17 Aug 2021 14:55:09 +0000 (16:55 +0200)]
build: refactor to use multi package
Eduardo San Martin Morote [Tue, 17 Aug 2021 14:44:00 +0000 (16:44 +0200)]
test: fix running tests
Eduardo San Martin Morote [Tue, 17 Aug 2021 11:39:02 +0000 (13:39 +0200)]
chore: add license at root for gh
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:50:15 +0000 (17:50 +0200)]
build: adapt release script
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:34:09 +0000 (17:34 +0200)]
build: release script
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:26:24 +0000 (17:26 +0200)]
refactor: more moves
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:25:13 +0000 (17:25 +0200)]
chore: add root lerna
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:20:57 +0000 (17:20 +0200)]
chore; remove old file
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:20:40 +0000 (17:20 +0200)]
refactor: move files for monorepo
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:12:16 +0000 (17:12 +0200)]
chore: up other deps
Eduardo San Martin Morote [Mon, 16 Aug 2021 08:47:13 +0000 (10:47 +0200)]
docs: add social preview
Eduardo San Martin Morote [Mon, 16 Aug 2021 07:40:48 +0000 (09:40 +0200)]
chore: up deps
Renovate Bot [Mon, 16 Aug 2021 00:44:14 +0000 (00:44 +0000)]
chore(deps): update all non-major dependencies
Ben Sheedy [Fri, 13 Aug 2021 21:32:03 +0000 (22:32 +0100)]
docs: typo (#613)
Eduardo San Martin Morote [Fri, 13 Aug 2021 18:38:29 +0000 (20:38 +0200)]
refactor(nuxt): wip nuxt plugin
Eduardo San Martin Morote [Fri, 13 Aug 2021 18:22:51 +0000 (20:22 +0200)]
feat: add storeToRefs
Close #565
Eduardo San Martin Morote [Fri, 13 Aug 2021 15:49:24 +0000 (17:49 +0200)]
docs: update social preview
Eduardo San Martin Morote [Fri, 13 Aug 2021 13:30:23 +0000 (15:30 +0200)]
feat(nuxt-2): resolve in mono repos
Eduardo San Martin Morote [Fri, 13 Aug 2021 09:47:08 +0000 (11:47 +0200)]
chore: regen lock
Eduardo San Martin Morote [Fri, 13 Aug 2021 08:19:27 +0000 (10:19 +0200)]
docs: update testing
Eduardo San Martin Morote [Fri, 13 Aug 2021 08:16:44 +0000 (10:16 +0200)]
chore: better message
Eduardo San Martin Morote [Thu, 12 Aug 2021 16:55:31 +0000 (18:55 +0200)]
chore: improve message
Eduardo San Martin Morote [Thu, 12 Aug 2021 16:31:33 +0000 (18:31 +0200)]
feat(subscribe): make the watcher 'pre' by default like regular watchers
`store.$subscribe()` now takes an extra argument like `watch` and
provides a more flexible API. You can now set `deep`, `flush`, and other
`watch` options.
Close #610
BREAKING CHANGE: `$store.subscribe()` now runs a `flush: 'pre'` instead
of a `flush: 'sync'` by default. This is due to the performance
implications of using `deep: true` + `flush: 'sync'`. **Most of the
times, this change should not affect you**. If you were relying on the
`flush` being `sync`, you can still provide it as a second argument
which is now an object instead of a boolean (`detached` is now a
property of that object). Migrating this should be fairly easy as the
boolean version will show a warning in dev mode and TypeScript will show
the function as deprecated.
```diff
-store.$subscribe(callback, true)
+store.$subscribe(callback, { detached: true })
// to keep the flush: 'sync' behavior
-store.$subscribe(callback)
+store.$subscribe(callback, { flush: 'sync' })
```
Gareth [Tue, 10 Aug 2021 08:21:16 +0000 (10:21 +0200)]
docs: grammar (#605)
Co-authored-by: Gareth Nicholson <gareth@io.co.za>
Renovate Bot [Mon, 9 Aug 2021 22:26:15 +0000 (22:26 +0000)]
chore(deps): update all non-major dependencies
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:38:01 +0000 (23:38 +0200)]
release: v2.0.0-rc.4
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:36:11 +0000 (23:36 +0200)]
build: use next tag again
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:33:39 +0000 (23:33 +0200)]
chore: adapt required deps
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:24:41 +0000 (23:24 +0200)]
docs: use regular env var
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:20:55 +0000 (23:20 +0200)]
docs: force deploy
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:20:00 +0000 (23:20 +0200)]
docs: fix build
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:01:37 +0000 (23:01 +0200)]
chore: up deps
Eduardo San Martin Morote [Mon, 9 Aug 2021 09:38:54 +0000 (11:38 +0200)]
fix(types): unwrap computed in store getters
Co-authored-by: Yasser Lahbibi <yasser.lahbibi@apenhet.com>
Fix #602
Close #603
Eduardo San Martin Morote [Mon, 9 Aug 2021 09:16:39 +0000 (11:16 +0200)]
chore: ignore vue 2 plugin in coverage
Eduardo San Martin Morote [Mon, 9 Aug 2021 09:12:15 +0000 (11:12 +0200)]
test: refactor store setup test
Axel Uriel MartÃnez Castillo [Thu, 5 Aug 2021 19:02:18 +0000 (14:02 -0500)]
Fixing typo (#599)
Eduardo San Martin Morote [Thu, 5 Aug 2021 15:29:20 +0000 (17:29 +0200)]
release: v2.0.0-rc.3
Eduardo San Martin Morote [Thu, 5 Aug 2021 15:28:31 +0000 (17:28 +0200)]
fix: set initial state in prod
fix #598
Eduardo San Martin Morote [Wed, 4 Aug 2021 14:36:29 +0000 (16:36 +0200)]
release: v2.0.0-rc.2
Eduardo San Martin Morote [Wed, 4 Aug 2021 14:01:03 +0000 (16:01 +0200)]
docs: it supports Vue 2
Eduardo San Martin Morote [Wed, 4 Aug 2021 13:53:04 +0000 (15:53 +0200)]
build: change tag to beta
Eduardo San Martin Morote [Wed, 4 Aug 2021 13:50:53 +0000 (15:50 +0200)]
fix(devtools): grouping of actions
Eduardo San Martin Morote [Wed, 4 Aug 2021 13:34:15 +0000 (15:34 +0200)]
chore: notes about patch
Eduardo San Martin Morote [Wed, 4 Aug 2021 09:48:21 +0000 (11:48 +0200)]
chore: comment
Eduardo San Martin Morote [Wed, 4 Aug 2021 06:20:30 +0000 (08:20 +0200)]
chore: more isVue2
Eduardo San Martin Morote [Wed, 4 Aug 2021 06:19:59 +0000 (08:19 +0200)]
test: add failing patch
Eduardo San Martin Morote [Tue, 3 Aug 2021 13:18:26 +0000 (15:18 +0200)]
chore: up yarn.lock
Eduardo San Martin Morote [Mon, 2 Aug 2021 17:23:43 +0000 (19:23 +0200)]
feat: enable devtools with Vue 2
This still requires a non released devtools version
Eduardo San Martin Morote [Mon, 2 Aug 2021 17:21:46 +0000 (19:21 +0200)]
build: externalize vue-demi
Eduardo San Martin Morote [Mon, 2 Aug 2021 17:21:30 +0000 (19:21 +0200)]
chore: include nuxt in dist files
Eduardo San Martin Morote [Mon, 2 Aug 2021 17:21:07 +0000 (19:21 +0200)]
chore: add legacy nuxt plugin
Eduardo San Martin Morote [Mon, 2 Aug 2021 14:17:49 +0000 (16:17 +0200)]
feat: add support for Vue 2
Eduardo San Martin Morote [Mon, 2 Aug 2021 13:23:41 +0000 (15:23 +0200)]
refactor: use vue-demi
Eduardo San Martin Morote [Mon, 2 Aug 2021 13:22:59 +0000 (15:22 +0200)]
fix(devtools): reflect changes on HMR
Eduardo San Martin Morote [Mon, 2 Aug 2021 13:15:01 +0000 (15:15 +0200)]
chore: add vue-demi
Eduardo San Martin Morote [Mon, 2 Aug 2021 13:09:58 +0000 (15:09 +0200)]
chore: remove old exports
Eduardo San Martin Morote [Mon, 2 Aug 2021 12:56:14 +0000 (14:56 +0200)]
docs: point to install
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>
Eduardo San Martin Morote [Mon, 2 Aug 2021 09:05:11 +0000 (11:05 +0200)]
ci: adapt scripts
Eduardo San Martin Morote [Sun, 1 Aug 2021 22:25:30 +0000 (00:25 +0200)]
chore: script name
Eduardo San Martin Morote [Fri, 30 Jul 2021 16:02:01 +0000 (18:02 +0200)]
test: more tests
Eduardo San Martin Morote [Fri, 30 Jul 2021 14:16:37 +0000 (16:16 +0200)]
release: v2.0.0-rc.1
Eduardo San Martin Morote [Fri, 30 Jul 2021 14:12:59 +0000 (16:12 +0200)]
fix(store): keep original refs with $reset
Fix #593
Eduardo San Martin Morote [Fri, 30 Jul 2021 13:54:21 +0000 (15:54 +0200)]
chore: up deps
Eduardo San Martin Morote [Thu, 29 Jul 2021 12:09:22 +0000 (14:09 +0200)]
ci: better cache
Eduardo San Martin Morote [Thu, 29 Jul 2021 09:28:17 +0000 (11:28 +0200)]
chore: add wip nuxt 3
Eduardo San Martin Morote [Thu, 29 Jul 2021 07:45:16 +0000 (09:45 +0200)]
chore: remove unused imports
Eduardo San Martin Morote [Wed, 28 Jul 2021 20:35:01 +0000 (22:35 +0200)]
fix(devtools): update when custom properties change
Eduardo San Martin Morote [Wed, 28 Jul 2021 20:18:00 +0000 (22:18 +0200)]
fix: collect reactive effects ran in plugins
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