Skip to content

Commit 57c24d1

Browse files
authored
feat: execute promise immediately **BREAKING CHANGE** (#197)
* feat: execute promise immediately resolves #194 * fix readme url * fix tests * fix throwException docs
1 parent 5b9d1bc commit 57c24d1

File tree

19 files changed

+1139
-424
lines changed

19 files changed

+1139
-424
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
---
99

10+
## Added
11+
12+
- [promiseLazy](https://pikax.me/vue-composable/composable/promise/promiseLazy) - Sugar for [usePromise](https://pikax.me/vue-composable/composable/promise/promise) `lazy:true`
13+
1014
## Changes
1115

1216
- Updated [[email protected]](https://github.com/vuejs/composition-api)
1317
- stop force-updating css variables #178 - Thanks @hawezo
1418
- [CSS variables](https://pikax.me/vue-composable/composable/web/cssVariables) - changed default options to `{ attributes: true, childList: true, subtree: true }`
1519
- [usePromise](https://pikax.me/vue-composable/composable/promise/promise) - do not reset `result` between executions
1620

21+
## Breaking
22+
23+
- [usePromise](https://pikax.me/vue-composable/composable/promise/promise) - Now Promises will execute at creation, please check [documentation](https://pikax.me/vue-composable/composable/promise/promise)
24+
- [usePromise](https://pikax.me/vue-composable/composable/promise/promise) - Replaced `throwException` argument to `lazy`
25+
1726
## 1.0.0-dev.15
1827

1928
_2020-03-25_

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ Check out the [examples folder](examples) or start hacking on [codesandbox](http
8989
### Promise
9090

9191
- [Promise](composable/promise/promise) - `Promise` reactive resolve and reject
92+
- [promiseLazy](composable/promise/promiseLazy) - Sugar for [usePromise](composable/promise/promise) `lazy:true`
9293
- [Cancellable Promise](composable/promise/cancellablePromise) - Allow to cancel promises
9394
- [Retry](composable/promise/retry) - Provides functionality to retry `promise`
9495

0 commit comments

Comments
 (0)