nuxt-community/composition-api
### [`v0.23.0`](https://togithub.com/nuxt-community/composition-api/blob/master/CHANGELOG.md#0230-httpsgithubcomnuxt-communitycomposition-apicompare02240230-2021-04-12)
[Compare Source](https://togithub.com/nuxt-community/composition-api/compare/0.22.4...0.23.0)
##### ⚠ BREAKING CHANGES
- `@nuxtjs/composition-api/module` is now how the module should be imported in `nuxt.config`
- There is no longer a need to amend `moduleNameMapper` in your jest.config - you should remove any entry for `@nuxtjs/composition-api` there. When used outside a Nuxt context, the module will 'auto-mock' and use instead of live Nuxt configuration.
- `@nuxtjs/composition-api/babel` has been renamed to `@nuxtjs/composition-api/dist/babel-plugin`.
- `@vue/composition-api` is no longer transpiled by default. You should consider adding it to `build.transpile`, but note that you may also need to add any other libraries that also use `@vue/composition-api`.
- You should ensure you haven't named any layout '0' as this will conflict with how this package is registering the Vue Composition API.
- `defineNuxtConfig`, `defineNuxtModule` and `defineNuxtServerMiddleware` have been removed. You can create your own helper with the following code:
```ts
import { Module, ServerMiddleware, NuxtConfig } from '@nuxt/types'
export const defineNuxtModule = >(module: Module) => module
export const defineNuxtServerMiddleware = (serverMiddleware: ServerMiddleware) => serverMiddleware
export const defineNuxtConfig = (config: NuxtConfig) => config
```
##### Bug Fixes
- register the composition api in a template file ([#433](https://togithub.com/nuxt-community/composition-api/issues/433)) ([8cc21ce](https://togithub.com/nuxt-community/composition-api/commit/8cc21ce2de08fbb12d0561c9bbd5c76ecfa32e08)), closes [#415](https://togithub.com/nuxt-community/composition-api/issues/415) [#391](https://togithub.com/nuxt-community/composition-api/issues/391)
- return `from` rather than `redirectedFrom` from `useContext` ([a159d87](https://togithub.com/nuxt-community/composition-api/commit/a159d8781a0eef9071af05bbf1092061b8b653e2)), closes [#444](https://togithub.com/nuxt-community/composition-api/issues/444)
##### Code Refactoring
- change how library is imported ([#418](https://togithub.com/nuxt-community/composition-api/issues/418)) ([5bb1a72](https://togithub.com/nuxt-community/composition-api/commit/5bb1a72669f97ba964dd3968f76627472c502dca))
- fixed an issue with `nuxt-vite` compatbility
- significant packaging changes ([#438](https://togithub.com/nuxt-community/composition-api/issues/438)) ([ddc9c0f](https://togithub.com/nuxt-community/composition-api/commit/ddc9c0f9ba8281931da817b3d106d0a45a2b4cf9))
- The ESM version of the library is now `.mjs` (but we polyfill support for this and other `.mjs` files in webpack 4).
- This library is now located within `node_modules` rather than being templated, with a limited template for the config.
##### [0.22.4](https://togithub.com/nuxt-community/composition-api/compare/0.22.3...0.22.4) (2021-03-23)
##### Bug Fixes
- prevent resolution errors on old node versions ([df3e2fd](https://togithub.com/nuxt-community/composition-api/commit/df3e2fd78996fe5608668dacf30de5901ea59c72))
##### [0.22.3](https://togithub.com/nuxt-community/composition-api/compare/0.22.2...0.22.3) (2021-03-20)
##### Bug Fixes
- ensure that injected plugin is inserted first ([5cd13bc](https://togithub.com/nuxt-community/composition-api/commit/5cd13bc1813d7a8a67f41c7014a46cbbbbd2e3ff)), closes [#406](https://togithub.com/nuxt-community/composition-api/issues/406)
##### [0.22.2](https://togithub.com/nuxt-community/composition-api/compare/0.22.1...0.22.2) (2021-03-20)
##### [0.22.1](https://togithub.com/nuxt-community/composition-api/compare/0.22.0...0.22.1) (2021-03-11)
Configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
0.22.4
->0.23.0
Release Notes
nuxt-community/composition-api
### [`v0.23.0`](https://togithub.com/nuxt-community/composition-api/blob/master/CHANGELOG.md#0230-httpsgithubcomnuxt-communitycomposition-apicompare02240230-2021-04-12) [Compare Source](https://togithub.com/nuxt-community/composition-api/compare/0.22.4...0.23.0) ##### ⚠ BREAKING CHANGES - `@nuxtjs/composition-api/module` is now how the module should be imported in `nuxt.config` - There is no longer a need to amend `moduleNameMapper` in your jest.config - you should remove any entry for `@nuxtjs/composition-api` there. When used outside a Nuxt context, the module will 'auto-mock' and useConfiguration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.