Skip to content

Commit

Permalink
chore: release v1.0.0-beta.22
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 19, 2020
1 parent 1495a46 commit a206e7f
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
<a name="1.0.0-beta.22"></a>
# [1.0.0-beta.22](https://github.com/vuejs/composition-api/compare/v1.0.0-beta.21...v1.0.0-beta.22) (2020-12-19)


### Features

* **getCurrentInstance:** Aligning with vue3 ([#520](https://github.com/vuejs/composition-api/issues/520)) ([1495a46](https://github.com/vuejs/composition-api/commit/1495a46))


### BREAKING CHANGES

* **getCurrentInstance:** The internal vm can be accessed with `getCurrentInstance().proxy`

```js
const vm = getCurrentInstance()

// becomes

const vm = getCurrentInstance().proxy
```

* chore: improve

* changes

* update tests

* chore: add tests

Co-authored-by: Anthony Fu <[email protected]>



<a name="1.0.0-beta.21"></a>
# [1.0.0-beta.21](https://github.com/vuejs/composition-api/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2020-12-07)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Include `@vue/composition-api` after Vue and it will install itself automaticall
<!--cdn-links-start-->
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/@vue/[email protected].21"></script>
<script src="https://cdn.jsdelivr.net/npm/@vue/[email protected].22"></script>
```
<!--cdn-links-end-->

Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { ref, reactive } from '@vue/composition-api'
<!--cdn-links-start-->
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/@vue/[email protected].21"></script>
<script src="https://cdn.jsdelivr.net/npm/@vue/[email protected].22"></script>
```
<!--cdn-links-end-->

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/composition-api",
"version": "1.0.0-beta.21",
"version": "1.0.0-beta.22",
"description": "Provide logic composition capabilities for Vue.",
"keywords": [
"vue",
Expand Down

0 comments on commit a206e7f

Please sign in to comment.