Skip to content

Commit

Permalink
chore: release v4.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 7, 2021
1 parent b29def7 commit ecd6496
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@vueuse/monorepo",
"version": "4.9.1",
"version": "4.9.2",
"private": true,
"description": "Collection of essential Vue Composition Utilities",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@vueuse/core",
"version": "4.9.1",
"version": "4.9.2",
"description": "Collection of essential Vue Composition Utilities",
"keywords": [
"vue",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"homepage": "https://github.com/vueuse/vueuse#readme",
"dependencies": {
"@vueuse/shared": "4.9.1",
"@vueuse/shared": "4.9.2",
"vue-demi": "*"
}
}
10 changes: 10 additions & 0 deletions packages/core/useAsyncState/index.md
Expand Up @@ -45,6 +45,16 @@ export interface AsyncStateOptions {
* Callback when error is caught.
*/
onError?: (e: Error) => void
/**
* Sets the state to initialState before executing the promise.
*
* This can be useful when calling the execute function more than once (for
* example, to refresh data). When set to false, the current state remains
* unchanged until the promise resolves.
*
* @default true
*/
resetOnExecute?: boolean
}
/**
* Reactive async state. Will not block your setup function and will triggers changes once
Expand Down
10 changes: 9 additions & 1 deletion packages/core/useTitle/index.md
Expand Up @@ -41,6 +41,14 @@ useTitle(title) // document title will match with the ref "title"
## Type Declarations

```typescript
export interface UseTitleOptions extends ConfigurableDocument {
/**
* Observe `document.title` changes using MutationObserve
*
* @default false
*/
observe?: boolean
}
/**
* Reactive document title.
*
Expand All @@ -50,7 +58,7 @@ useTitle(title) // document title will match with the ref "title"
*/
export declare function useTitle(
newTitle?: MaybeRef<string | null | undefined>,
{ document }?: ConfigurableDocument
options?: UseTitleOptions
): Ref<string | null | undefined>
```

Expand Down
4 changes: 2 additions & 2 deletions packages/firebase/package.json
@@ -1,6 +1,6 @@
{
"name": "@vueuse/firebase",
"version": "4.9.1",
"version": "4.9.2",
"description": "Enables realtime bindings for Firebase",
"keywords": [
"vue",
Expand Down Expand Up @@ -40,7 +40,7 @@
"firebase": ">=4.0.0"
},
"dependencies": {
"@vueuse/shared": "4.9.1",
"@vueuse/shared": "4.9.2",
"vue-demi": "*"
}
}
4 changes: 2 additions & 2 deletions packages/integrations/package.json
@@ -1,6 +1,6 @@
{
"name": "@vueuse/integrations",
"version": "4.9.1",
"version": "4.9.2",
"description": "Integration wrappers for utility libraries",
"keywords": [
"vue",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"homepage": "https://github.com/vueuse/vueuse/tree/main/packages/integrations#readme",
"dependencies": {
"@vueuse/shared": "4.9.1",
"@vueuse/shared": "4.9.2",
"vue-demi": "*"
},
"optionalDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/router/package.json
@@ -1,6 +1,6 @@
{
"name": "@vueuse/router",
"version": "4.9.1",
"version": "4.9.2",
"description": "Utilities for vue-router",
"keywords": [
"vue",
Expand Down Expand Up @@ -39,7 +39,7 @@
"vue-router": ">=4.0.0-rc.1"
},
"dependencies": {
"@vueuse/shared": "4.9.1",
"@vueuse/shared": "4.9.2",
"vue-demi": "*"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/rxjs/package.json
@@ -1,6 +1,6 @@
{
"name": "@vueuse/rxjs",
"version": "4.9.1",
"version": "4.9.2",
"description": "Enables RxJS reactive functions in Vue",
"keywords": [
"vue",
Expand Down Expand Up @@ -37,7 +37,7 @@
"rxjs": ">=6.0.0"
},
"dependencies": {
"@vueuse/shared": "4.9.1",
"@vueuse/shared": "4.9.2",
"vue-demi": "*"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
@@ -1,6 +1,6 @@
{
"name": "@vueuse/shared",
"version": "4.9.1",
"version": "4.9.2",
"keywords": [
"vue",
"vue-use",
Expand Down

0 comments on commit ecd6496

Please sign in to comment.