Skip to content

Commit 119608a

Browse files
authored
chore(release): 28.0.0-next.1 (#3464)
1 parent bf91e05 commit 119608a

File tree

3 files changed

+49
-17
lines changed

3 files changed

+49
-17
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# [28.0.0-next.1](https://github.com/kulshekhar/ts-jest/compare/v28.0.0-next.0...v28.0.0-next.1) (2022-04-26)
2+
3+
4+
### Features
5+
6+
* mark `ConfigSet` as legacy ([#3456](https://github.com/kulshekhar/ts-jest/issues/3456)) ([a986729](https://github.com/kulshekhar/ts-jest/commit/a98672977a679d1ed882605a3e71ed405432ffdc))
7+
* mark `TsCompiler` and `TsJestCompiler` as legacy ([#3457](https://github.com/kulshekhar/ts-jest/issues/3457)) ([0f2fe30](https://github.com/kulshekhar/ts-jest/commit/0f2fe306762d8549bd29737becd4aed14a650427))
8+
* remove `path-mapping` AST transformer ([#3455](https://github.com/kulshekhar/ts-jest/issues/3455)) ([f566869](https://github.com/kulshekhar/ts-jest/commit/f5668698f8fab78b3008d936aa5001f134f530e2))
9+
* set Jest peer dependencies to v28 ([#3454](https://github.com/kulshekhar/ts-jest/issues/3454)) ([1e880ff](https://github.com/kulshekhar/ts-jest/commit/1e880fffe82bca231d1d23f6508f4ab4bc31e03e))
10+
11+
12+
### BREAKING CHANGES
13+
14+
* `path-mapping` AST transformer is no longer shipped in `ts-jest` v28. Please use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead.
15+
* Any imports `ts-jest/dist/compiler/ts-compiler` should change to `ts-jest/dist/legacy/compiler/ts-compiler`
16+
* Any imports `ts-jest/dist/compiler/ts-jest-compiler` should change to `ts-jest/dist/legacy/compiler/ts-jest-compiler`
17+
* Any imports `ts-jest/dist/config/config-set` should change to `ts-jest/dist/legacy/config/config-set
18+
19+
20+
121
# [28.0.0-next.0](https://github.com/kulshekhar/ts-jest/compare/v27.1.3...v28.0.0-next.0) (2022-04-24)
222

323

@@ -21,6 +41,18 @@
2141
* **core:** Any imports `ts-jest/utils` should be replaced with `ts-jest`.
2242
* **core:** Starting from Jest 27.4, `mocked` has been integrated into Jest repo.
2343
* **core:** Support for Node.js v10 has been removed as Jest drops support for it
44+
* All presets now will they are preserved for refactored codes. If you wish to use the old codes, please do the following
45+
*
46+
```diff
47+
// jest.config.js
48+
module.exports = {
49+
// [...]
50+
- preset: 'ts-jest', // or 'js-with-babel'/'js-with-ts'
51+
+ transform: {
52+
'^.+\\.tsx?$': 'ts-jest/legacy' // or '^.+\\.[tj]sx?$': 'ts-jest' to use legacy codes
53+
}
54+
}
55+
```
2456

2557

2658

package-lock.json

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-jest",
3-
"version": "28.0.0-next.0",
3+
"version": "28.0.0-next.1",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"bin": {

0 commit comments

Comments
 (0)