]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/log
thirdparty/vuejs/pinia.git
4 years agobuild: release script
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:34:09 +0000 (17:34 +0200)] 
build: release script

4 years agorefactor: more moves
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:26:24 +0000 (17:26 +0200)] 
refactor: more moves

4 years agochore: add root lerna
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:25:13 +0000 (17:25 +0200)] 
chore: add root lerna

4 years agochore; remove old file
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:20:57 +0000 (17:20 +0200)] 
chore; remove old file

4 years agorefactor: move files for monorepo
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:20:40 +0000 (17:20 +0200)] 
refactor: move files for monorepo

4 years agochore: up other deps
Eduardo San Martin Morote [Mon, 16 Aug 2021 15:12:16 +0000 (17:12 +0200)] 
chore: up other deps

4 years agodocs: add social preview
Eduardo San Martin Morote [Mon, 16 Aug 2021 08:47:13 +0000 (10:47 +0200)] 
docs: add social preview

4 years agochore: up deps
Eduardo San Martin Morote [Mon, 16 Aug 2021 07:40:48 +0000 (09:40 +0200)] 
chore: up deps

4 years agochore(deps): update all non-major dependencies
Renovate Bot [Mon, 16 Aug 2021 00:44:14 +0000 (00:44 +0000)] 
chore(deps): update all non-major dependencies

4 years agodocs: typo (#613)
Ben Sheedy [Fri, 13 Aug 2021 21:32:03 +0000 (22:32 +0100)] 
docs: typo (#613)

4 years agorefactor(nuxt): wip nuxt plugin
Eduardo San Martin Morote [Fri, 13 Aug 2021 18:38:29 +0000 (20:38 +0200)] 
refactor(nuxt): wip nuxt plugin

4 years agofeat: add storeToRefs
Eduardo San Martin Morote [Fri, 13 Aug 2021 18:22:51 +0000 (20:22 +0200)] 
feat: add storeToRefs

Close #565

4 years agodocs: update social preview
Eduardo San Martin Morote [Fri, 13 Aug 2021 15:49:24 +0000 (17:49 +0200)] 
docs: update social preview

4 years agofeat(nuxt-2): resolve in mono repos
Eduardo San Martin Morote [Fri, 13 Aug 2021 13:30:23 +0000 (15:30 +0200)] 
feat(nuxt-2): resolve in mono repos

4 years agochore: regen lock
Eduardo San Martin Morote [Fri, 13 Aug 2021 09:47:08 +0000 (11:47 +0200)] 
chore: regen lock

4 years agodocs: update testing
Eduardo San Martin Morote [Fri, 13 Aug 2021 08:19:27 +0000 (10:19 +0200)] 
docs: update testing

4 years agochore: better message
Eduardo San Martin Morote [Fri, 13 Aug 2021 08:16:44 +0000 (10:16 +0200)] 
chore: better message

4 years agochore: improve message
Eduardo San Martin Morote [Thu, 12 Aug 2021 16:55:31 +0000 (18:55 +0200)] 
chore: improve message

4 years agofeat(subscribe): make the watcher 'pre' by default like regular watchers
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' })
```

4 years agodocs: grammar (#605)
Gareth [Tue, 10 Aug 2021 08:21:16 +0000 (10:21 +0200)] 
docs: grammar (#605)

Co-authored-by: Gareth Nicholson <gareth@io.co.za>
4 years agochore(deps): update all non-major dependencies
Renovate Bot [Mon, 9 Aug 2021 22:26:15 +0000 (22:26 +0000)] 
chore(deps): update all non-major dependencies

4 years agorelease: v2.0.0-rc.4 v2.0.0-rc.4
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:38:01 +0000 (23:38 +0200)] 
release: v2.0.0-rc.4

4 years agobuild: use next tag again
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:36:11 +0000 (23:36 +0200)] 
build: use next tag again

4 years agochore: adapt required deps
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:33:39 +0000 (23:33 +0200)] 
chore: adapt required deps

4 years agodocs: use regular env var
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:24:41 +0000 (23:24 +0200)] 
docs: use regular env var

4 years agodocs: force deploy
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:20:55 +0000 (23:20 +0200)] 
docs: force deploy

4 years agodocs: fix build
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:20:00 +0000 (23:20 +0200)] 
docs: fix build

4 years agochore: up deps
Eduardo San Martin Morote [Mon, 9 Aug 2021 21:01:37 +0000 (23:01 +0200)] 
chore: up deps

4 years agofix(types): unwrap computed in store getters
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

4 years agochore: ignore vue 2 plugin in coverage
Eduardo San Martin Morote [Mon, 9 Aug 2021 09:16:39 +0000 (11:16 +0200)] 
chore: ignore vue 2 plugin in coverage

4 years agotest: refactor store setup test
Eduardo San Martin Morote [Mon, 9 Aug 2021 09:12:15 +0000 (11:12 +0200)] 
test: refactor store setup test

4 years agoFixing typo (#599)
Axel Uriel Martínez Castillo [Thu, 5 Aug 2021 19:02:18 +0000 (14:02 -0500)] 
Fixing typo (#599)

4 years agorelease: v2.0.0-rc.3 v2.0.0-rc.3
Eduardo San Martin Morote [Thu, 5 Aug 2021 15:29:20 +0000 (17:29 +0200)] 
release: v2.0.0-rc.3

4 years agofix: set initial state in prod
Eduardo San Martin Morote [Thu, 5 Aug 2021 15:28:31 +0000 (17:28 +0200)] 
fix: set initial state in prod

fix #598

4 years agorelease: v2.0.0-rc.2 v2.0.0-rc.2
Eduardo San Martin Morote [Wed, 4 Aug 2021 14:36:29 +0000 (16:36 +0200)] 
release: v2.0.0-rc.2

4 years agodocs: it supports Vue 2
Eduardo San Martin Morote [Wed, 4 Aug 2021 14:01:03 +0000 (16:01 +0200)] 
docs: it supports Vue 2

4 years agobuild: change tag to beta
Eduardo San Martin Morote [Wed, 4 Aug 2021 13:53:04 +0000 (15:53 +0200)] 
build: change tag to beta

4 years agofix(devtools): grouping of actions
Eduardo San Martin Morote [Wed, 4 Aug 2021 13:50:53 +0000 (15:50 +0200)] 
fix(devtools): grouping of actions

4 years agochore: notes about patch
Eduardo San Martin Morote [Wed, 4 Aug 2021 13:34:15 +0000 (15:34 +0200)] 
chore: notes about patch

4 years agochore: comment
Eduardo San Martin Morote [Wed, 4 Aug 2021 09:48:21 +0000 (11:48 +0200)] 
chore: comment

4 years agochore: more isVue2
Eduardo San Martin Morote [Wed, 4 Aug 2021 06:20:30 +0000 (08:20 +0200)] 
chore: more isVue2

4 years agotest: add failing patch
Eduardo San Martin Morote [Wed, 4 Aug 2021 06:19:59 +0000 (08:19 +0200)] 
test: add failing patch

4 years agochore: up yarn.lock
Eduardo San Martin Morote [Tue, 3 Aug 2021 13:18:26 +0000 (15:18 +0200)] 
chore: up yarn.lock

4 years agofeat: enable devtools with Vue 2
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

4 years agobuild: externalize vue-demi
Eduardo San Martin Morote [Mon, 2 Aug 2021 17:21:46 +0000 (19:21 +0200)] 
build: externalize vue-demi

4 years agochore: include nuxt in dist files
Eduardo San Martin Morote [Mon, 2 Aug 2021 17:21:30 +0000 (19:21 +0200)] 
chore: include nuxt in dist files

4 years agochore: add legacy nuxt plugin
Eduardo San Martin Morote [Mon, 2 Aug 2021 17:21:07 +0000 (19:21 +0200)] 
chore: add legacy nuxt plugin

4 years agofeat: add support for Vue 2
Eduardo San Martin Morote [Mon, 2 Aug 2021 14:17:49 +0000 (16:17 +0200)] 
feat: add support for Vue 2

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