Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: use vue 2.7 to provide composition api #378

Merged
merged 4 commits into from
Jul 2, 2022
Merged

feat!: use vue 2.7 to provide composition api #378

merged 4 commits into from
Jul 2, 2022

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Jul 2, 2022

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

With the new Vue 2.7 release, we can drop @vue/composition-api and rely on the native Vue implementation. This should significantly improve stability by removing the need to alias vue/vue2-bridge/vue-demi implementations.

It also decreases build size by approximately 30kB.

πŸ‘‰ Migration

Ensure the following packages (if in your lockfile) are at least at the following versions:

vue-loader: ^15.10.0
vue-demi: ^0.13.1
vue: 2.7.0

You may need to remove your lockfile and reinstall to ensure that your vue packages are all at 2.7.0 and none remain at 2.6.14.

Please see the Vue 2.7 announcement for more information.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added the enhancement New feature or request label Jul 2, 2022
@danielroe danielroe self-assigned this Jul 2, 2022
@danielroe danielroe marked this pull request as ready for review July 2, 2022 13:32
@danielroe danielroe requested a review from antfu July 2, 2022 15:43
@danielroe danielroe merged commit b55dc9d into main Jul 2, 2022
@danielroe danielroe deleted the feat/vue3 branch July 2, 2022 23:25
@danielroe danielroe mentioned this pull request Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants