Releases: vuejs/vue-jest
v28.1.0
⚠️ Breaking ⚠️
There is a potentially breaking change for some projects: #471 (comment)
If this is a problem you cannot work around, file an issue and we can see what the best option is moving forward. The goal of this PR is to not require ts-jest
and typescript
to use vue-jest
.
Installation
yarn add @vue/[email protected] --dev
yarn add @vue/[email protected] --dev
What's Changed
- fix: source maps for vue2-jest by @NikhilVerma in #486
- feat: load TypeScript config from
tsconfig
package instead ofts-jest
by @nogic1008 in #471 - fix: Less relative path in imports by @cmath10 in #475
New Contributors
- @NikhilVerma made their first contribution in #486
- @cmath10 made their first contribution in #475
Full Changelog: v28.0.1...v28.1.0
v28.0.1
What's Changed
- docs: Update Readme by @valentinpalkovic in #473
- fix(sass-imports): resolve module imports relative to file being processed by @thebanjomatic in #478
New Contributors
- @thebanjomatic made their first contribution in #478
Full Changelog: v28.0.0...v28.0.1
Install: yarn add @vue/vue2-jest
or yarn add @vue/vue3-jest
.
v28.0.0
We moved the main version to v28.0.0 to match the latest version of Jest on npm, which is also v28. There will always be bugs, we will fix them in patch/minor versions. If you need Jest 27 support, just install with @vue/vue3-jest@27
.
Note: I (@lmiller1990) am not using Vue Jest either personally or professionally and cannot prioritise it as much as my other library (Vue Test Utils). If you'd like to assist with maintaining Vue Jest, please reach out.
How to install
yarn add @vue/[email protected]
(works with Vue 3, Jest 28) oryarn add @vue/vue3-jest@latest
for the latest one.yarn add @vue/[email protected]
(works with Vue 2, Jest 28) oryarn add @vue/vue2-jest@latest
for the latest one.
Fixes
- #428 - Source map fix by @Iptai
- #468 - Jest 28 support by @valentinpalkovic
v27.0.0
We moved to v27.0.0 (the library is mostly stable; no need for a drawn out beta and release candidate process). There will always be bugs, we will fix them in patch/minor versions.
Note: I (@lmiller1990) am not using Vue Jest either personally or professionally and cannot prioritise it as much as my other library (Vue Test Utils). If you'd like to assist with maintaining Vue Jest, please reach out.
How to install
yarn add @vue/[email protected]
(works with Vue 3, Jest 27) oryarn add @vue/vue3-jest@latest
for the latest one.yarn add @vue/[email protected]
(works with Vue 2, Jest 27) oryarn add @vue/vue2-jest@latest
for the latest one.
Fixes
v27.0.0-alpha.4
How to install
yarn add @vue/[email protected]
(works with Vue 3, Jest 27) oryarn add @vue/vue3-jest@latest
for the latest one.yarn add @vue/[email protected]
(works with Vue 2, Jest 27) oryarn add @vue/vue2-jest@latest
for the latest one.
Features
feat: support custom blocks for Vue 3 (#364) …
feat: allow to pass compilerOptions via the Jest config for Vue 3 (#412) …
Fixes
fix(vue3-jest): interop custom transformer require (#391)
Chores
chore: drop node 10 and add node 16 (#414) …
chore: drop circleci build (#413) …
chore: update to vue v3.2.22 (#411) …
v26.0.1
This version is for Jest 26.x. If you want Jest 27.x, see the 27.x release.
How to install
# Vue 2
yarn add @vue/[email protected]
# Vue 3
yarn add @vue/[email protected]
Fixes
v27.0.0-alpha.3
@vue/vue2-jest
and @vue/vue3-jest
Various updates and bug fixes. See associated PRs for descriptions of what was changed and why.
Features
feat: pass styleOption into compiler (#398)
feat: support TS in templates for @vue/vue3-jest (#394) …
feat: add compilerOptions to vue-jest global options (#380) …
feat: enable sugar ref take 2 for vue3-jest (#377)
feat: support TS with script setup (#402)
Fixes
fix: fixed lang='tsx' files not working for vue2-jest (#395) …
Other
test: compilerOptions (#385) …
@vue/vue2-jest, @vue/vue3-jest v27.0.0-alpha.1
Latest version of Vue Jest with support for Vue 2, Vue 3, and Jest 27.
These are published under the Vue organization on npm. The version reflects the version of Jest the transformer works with. This major release for these two packages v27.0.0, for Jest 27.
@vue/vue2-jest
: https://www.npmjs.com/package/@vue/vue2-jest@vue/vue3-jest
: https://www.npmjs.com/package/@vue/vue3-jest
v27.0.0-alpha.2
NOTE: important information about versioning moving forward.
Since we need to support a variety of Vue versions (2.x, 3.x) and Jest versions (26.x, 27.x), we are moving away from semantic versioning. Instead. we will now match the Jest version. Jest 27 has some breaking changes, which is why we are moving to this new versioning strategy.
Read more about the new versioning strategy here. The final packages names are still been finalized.
This release works with Vue 3 and Jest 27. Install this release with npm install [email protected]
. Note the package name is now vue3-jest
, not vue-jest
.
Vue 2 support for Jest will come soon - currently Vue 2 and Jest 27 are not supported yet (soon, though).
The code in this version is the same as the previous release, 5.0.0-alpha.10. The only difference is some changes breaking to support Jest 27.
5.0.0-alpha.10
Features
- add css-module feature (#345) @YutamaKotaro