kulshekhar/ts-jest
### [`v27.0.3`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2703-httpsgithubcomkulshekharts-jestcomparev2702v2703-2021-06-06)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v27.0.2...v27.0.3)
##### Bug Fixes
- revert `exports` field to support all node versions ([#2658](https://togithub.com/kulshekhar/ts-jest/issues/2658)) ([132c8ba](https://togithub.com/kulshekhar/ts-jest/commit/132c8ba85c3e61b7d9ede0dc9730580b79618ab7))
##### Features
- emit ESM codes if using ESM mode with Babel ([#2661](https://togithub.com/kulshekhar/ts-jest/issues/2661)) ([9b55404](https://togithub.com/kulshekhar/ts-jest/commit/9b55404a8dfc760238e19786da98a2edf043b9da)), closes [#2650](https://togithub.com/kulshekhar/ts-jest/issues/2650)
### [`v27.0.2`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2702-httpsgithubcomkulshekharts-jestcomparev2701v2702-2021-05-30)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v27.0.1...v27.0.2)
##### Bug Fixes
- **compiler:** add empty string file content to compiler cache ([#2633](https://togithub.com/kulshekhar/ts-jest/issues/2633)) ([0feb556](https://togithub.com/kulshekhar/ts-jest/commit/0feb5560a588f87d1d989bf521859fba0fda20fe)), closes [#2625](https://togithub.com/kulshekhar/ts-jest/issues/2625)
- **config:** `exclude` should only exclude files which match glob values ([#2637](https://togithub.com/kulshekhar/ts-jest/issues/2637)) ([c5ce979](https://togithub.com/kulshekhar/ts-jest/commit/c5ce97902c1b84dc354f270a4f596a6f5f634611)), closes [#2634](https://togithub.com/kulshekhar/ts-jest/issues/2634)
### [`v27.0.1`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2701-httpsgithubcomkulshekharts-jestcomparev2700v2701-2021-05-26)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v27.0.0...v27.0.1)
##### Bug Fixes
- **cli:** keep `testMatch` if old jest config contains it ([#2618](https://togithub.com/kulshekhar/ts-jest/issues/2618)) ([c568f49](https://togithub.com/kulshekhar/ts-jest/commit/c568f49907fb5559ba1e8c67f1ec5d5eb4af920a)), closes [#2616](https://togithub.com/kulshekhar/ts-jest/issues/2616)
- **compiler:** make sure `isolatedModules: false` use updated compiler options ([#2628](https://togithub.com/kulshekhar/ts-jest/issues/2628)) ([348e30f](https://togithub.com/kulshekhar/ts-jest/commit/348e30f426803efc51ecba26ab42619938fcb5af)), closes [#2629](https://togithub.com/kulshekhar/ts-jest/issues/2629)
- add missing export `presets` ([#2624](https://togithub.com/kulshekhar/ts-jest/issues/2624)) ([0ea025e](https://togithub.com/kulshekhar/ts-jest/commit/0ea025ebb456d3a31671e31fac0b401c2734a2b1)), closes [#2623](https://togithub.com/kulshekhar/ts-jest/issues/2623)
### [`v27.0.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2700-httpsgithubcomkulshekharts-jestcomparev2656v2700-2021-05-25)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.6...v27.0.0)
##### Bug Fixes
- **compiler:** return file content on emitSkipped for non ts/tsx files ([#2519](https://togithub.com/kulshekhar/ts-jest/issues/2519)) ([a4e5640](https://togithub.com/kulshekhar/ts-jest/commit/a4e5640f54a7810c9b7aba32663ce4a53893d22f)), closes [#2513](https://togithub.com/kulshekhar/ts-jest/issues/2513)
- **compiler:** retype check other files if processing file is used by those ones in watch mode ([#2481](https://togithub.com/kulshekhar/ts-jest/issues/2481)) ([ac8f3d0](https://togithub.com/kulshekhar/ts-jest/commit/ac8f3d025de67bfc2708a8422ee657fc42455513)), closes [#943](https://togithub.com/kulshekhar/ts-jest/issues/943)
- **compiler:** initialize compiler with `.ts`/`.tsx`/`.d.ts` files only ([#2458](https://togithub.com/kulshekhar/ts-jest/issues/2458)) ([a89f0e2](https://togithub.com/kulshekhar/ts-jest/commit/a89f0e2061e01440337dde4134639ff6a2d69936)), closes [#2445](https://togithub.com/kulshekhar/ts-jest/issues/2445)
- **compiler:** resolve nested imported modules for each processing file ([#2436](https://togithub.com/kulshekhar/ts-jest/issues/2436)) ([3cb9019](https://togithub.com/kulshekhar/ts-jest/commit/3cb9019289bb64deecffaf52e840faf6a4656092)), closes [#1390](https://togithub.com/kulshekhar/ts-jest/issues/1390) [#1747](https://togithub.com/kulshekhar/ts-jest/issues/1747)
- **config:** create fallback jest config when jest config is `undefined` ([#2433](https://togithub.com/kulshekhar/ts-jest/issues/2433)) ([c6d6e4c](https://togithub.com/kulshekhar/ts-jest/commit/c6d6e4cd534e1c368fcb7141784ee43584525ca4)), closes [#2085](https://togithub.com/kulshekhar/ts-jest/issues/2085)
- remove `@types/jest` from direct dep ([#2409](https://togithub.com/kulshekhar/ts-jest/issues/2409)) ([8913120](https://togithub.com/kulshekhar/ts-jest/commit/89131203c358c8f9e89655800e500a9e88a17334)), closes [#2406](https://togithub.com/kulshekhar/ts-jest/issues/2406) [#2411](https://togithub.com/kulshekhar/ts-jest/issues/2411)
- **compiler:** return original file content and show warning on emit skip ([#2410](https://togithub.com/kulshekhar/ts-jest/issues/2410)) ([c2b2164](https://togithub.com/kulshekhar/ts-jest/commit/c2b2164ddd1e606fc2490326244a6efc63f6c4a0)), closes [#2407](https://togithub.com/kulshekhar/ts-jest/issues/2407)
- **compiler:** type check correctly in watch mode when a file content itself has changed ([#2405](https://togithub.com/kulshekhar/ts-jest/issues/2405)) ([064bf3a](https://togithub.com/kulshekhar/ts-jest/commit/064bf3a73e9a304aa9366d27db8973b68be23ffd)), closes [#2118](https://togithub.com/kulshekhar/ts-jest/issues/2118)
- **compiler:** exclude files in `outDir` from compiler source files ([#2375](https://togithub.com/kulshekhar/ts-jest/issues/2375)) ([ec68c74](https://togithub.com/kulshekhar/ts-jest/commit/ec68c74bccf56d682a7ed9e5c48ea676dcf3fbf9)), closes [#2350](https://togithub.com/kulshekhar/ts-jest/issues/2350) [#2374](https://togithub.com/kulshekhar/ts-jest/issues/2374)
- **config:** cache config and compiler correctly between runs ([#2356](https://togithub.com/kulshekhar/ts-jest/issues/2356)) ([5f91336](https://togithub.com/kulshekhar/ts-jest/commit/5f91336b9023da1051cc85b509ad02c525679fcb))
- **config:** improve emit skipped error message ([#2358](https://togithub.com/kulshekhar/ts-jest/issues/2358)) ([2ae8df4](https://togithub.com/kulshekhar/ts-jest/commit/2ae8df4515d6f6e975e57719a89184b5583f9e2f)), closes [#2350](https://togithub.com/kulshekhar/ts-jest/issues/2350)
- **typings:** set correct typing for `tsconfig` option ([#2383](https://togithub.com/kulshekhar/ts-jest/issues/2383)) ([584324a](https://togithub.com/kulshekhar/ts-jest/commit/584324a60c0784275e9bf8bcfd0814735a250d24)), closes [#2368](https://togithub.com/kulshekhar/ts-jest/issues/2368)
- **config:** invalidate Jest transform cache when `astTransformers` value changes ([#2345](https://togithub.com/kulshekhar/ts-jest/issues/2345)) ([d726016](https://togithub.com/kulshekhar/ts-jest/commit/d726016a17a26215fad782cf57bb9b9bec807307))
- reduce size of `node_modules` when adding `ts-jest` ([#2263](https://togithub.com/kulshekhar/ts-jest/issues/2263)) ([8e0675c](https://togithub.com/kulshekhar/ts-jest/commit/8e0675c02b6095af6656df50c8782c01ad9e87a3))
##### Features
- **config:** allow disable sourcemap ([#2544](https://togithub.com/kulshekhar/ts-jest/issues/2544)) ([47da6ad](https://togithub.com/kulshekhar/ts-jest/commit/47da6ada5089e58e9bc68ce8e9bc9e17aaa127ae))
- **compiler:** expose `TsCompiler` as public api ([#2344](https://togithub.com/kulshekhar/ts-jest/issues/2344)) ([871cd6a](https://togithub.com/kulshekhar/ts-jest/commit/871cd6a3abb10569a04d05f72bbb41c952665ed4))
- **config:** support typed config options for jest config typescript ([#2335](https://togithub.com/kulshekhar/ts-jest/issues/2335)) ([3cfc37b](https://togithub.com/kulshekhar/ts-jest/commit/3cfc37b1eba125fe861cea0415095dbe1f538520))
- **presets:** add typing for `presets` entry point ([#2337](https://togithub.com/kulshekhar/ts-jest/issues/2337)) ([1a3058f](https://togithub.com/kulshekhar/ts-jest/commit/1a3058f3b7f8a2e377cb6a7e829cea310a06d4fa))
- **compiler:** allow custom transformers to access internal `Program` ([#2299](https://togithub.com/kulshekhar/ts-jest/issues/2299)) ([387964f](https://togithub.com/kulshekhar/ts-jest/commit/387964faed14ce24d2cf8170a04eee244d69b8b9))
- **config:** replace `pathRegex` with `exclude` ([#2295](https://togithub.com/kulshekhar/ts-jest/issues/2295)) ([f2f99c3](https://togithub.com/kulshekhar/ts-jest/commit/f2f99c3a46ac18a1fd6cc98922329b71a7e8c4e8))
- **config:** type checking `js` files based on `checkJs` ([#2283](https://togithub.com/kulshekhar/ts-jest/issues/2283)) ([1e04433](https://togithub.com/kulshekhar/ts-jest/commit/1e044335a38907ff5c06eb43efeb2e5fd9769a0c))
- **compiler:** support ESM for `isolatedModules: false` ([#2269](https://togithub.com/kulshekhar/ts-jest/issues/2269)) ([9bb0c05](https://togithub.com/kulshekhar/ts-jest/commit/9bb0c054a3a7bd8949b0c12b2bb42348f69e2e2e)), closes [#1709](https://togithub.com/kulshekhar/ts-jest/issues/1709)
- **compiler:** support ESM for `isolatedModule: true` ([#2219](https://togithub.com/kulshekhar/ts-jest/issues/2219)) ([e101db0](https://togithub.com/kulshekhar/ts-jest/commit/e101db01095ce75ce9a48e27a1d9bf84bb8e19ee)), closes [#1709](https://togithub.com/kulshekhar/ts-jest/issues/1709)
- **presets:** add 3 new presets to work with ESM ([#2207](https://togithub.com/kulshekhar/ts-jest/issues/2207)) ([c277858](https://togithub.com/kulshekhar/ts-jest/commit/c277858c7820d8873c2d7d0c6e3704a47868d600))
- allow subclasses of `TsJestTransformer` to have version checking ([#2176](https://togithub.com/kulshekhar/ts-jest/issues/2176)) ([ca8d7c4](https://togithub.com/kulshekhar/ts-jest/commit/ca8d7c44779105ef208d17cdd8c6baaf96b479ad))
##### Performance Improvements
- reuse jest file system cache for `isolatedModules: false` ([#2189](https://togithub.com/kulshekhar/ts-jest/issues/2189)) ([68f446b](https://togithub.com/kulshekhar/ts-jest/commit/68f446b8351bb8925ac4822aa631aa6b23f2f711))
##### Code Refactoring
- **config:** remove support for `astTransformers` string array ([#2129](https://togithub.com/kulshekhar/ts-jest/issues/2129)) ([1e0b2ce](https://togithub.com/kulshekhar/ts-jest/commit/1e0b2ce5599a35c108712456e455bf29c8c5fd24))
- **config:** remove support for `packageJson` option ([#2128](https://togithub.com/kulshekhar/ts-jest/issues/2128)) ([05916b9](https://togithub.com/kulshekhar/ts-jest/commit/05916b920160da5b43a20b47025eea43b4a1a5c3))
- move jest transformer class to package entry ([#2122](https://togithub.com/kulshekhar/ts-jest/issues/2122)) ([5bbfd06](https://togithub.com/kulshekhar/ts-jest/commit/5bbfd06a0c114dbecd75b763bcfa76d4a6203ab1))
- **config:** remove support for `tsConfig` option ([#2127](https://togithub.com/kulshekhar/ts-jest/issues/2127)) ([3cc9b80](https://togithub.com/kulshekhar/ts-jest/commit/3cc9b806be2b2096b981253d39ca40df65bb0f7b))
#### BREAKING CHANGES
- By default, `ts-jest` will use `sourceMap` option from your `tsconfig`. If users want to have sourcemap on, they need to set `sourceMap: true` in `tsconfig`.
- follow Jest support Node engines ([#2478](https://togithub.com/kulshekhar/ts-jest/pull/2478)) ([1fecf7f](https://togithub.com/kulshekhar/ts-jest/commit/1fecf7ff92a5f1a0cc6ea1d27026f9f54a3d5ead))
- add `exports` field to `package.json`, see https://nodejs.org/api/packages.html#packages_package_entry_points ([#2467](https://togithub.com/kulshekhar/ts-jest/pull/2467)) ([d3aba3e](https://togithub.com/kulshekhar/ts-jest/commit/d3aba3e103f85b3a42d0e2ecaea9d3457917319e))
- `ts-jest` custom AST transformer function signature has changed to
import type { TsCompilerInstance } from 'ts-jest/dist/types'
export function factory(compilerInstance: TsCompilerInstance) {
//...
}
- One is currently using `pathRegex` should use `exclude` with `glob` patterns.
- If one currently relies on type check for `js` files, please set `checkJs: true` in your tsconfig.
- Now both `isolatedModules: true` and `isolatedModule: false` codes are in one single class `TsCompiler` which is an instance created in `TsJestCompiler` based on config option `compiler` with value `typescript` or `ttypescript`.
- **config:** `packageJson` config option is not used in internal `ts-jest` so this option is now removed.
- **config:** One is defining ast transformers in `jest.config.js`/`package.json` should change to
// jest.config.js
module.exports = {
//...
globals: {
'ts-jest': {
astTransformers: {
before: ['your_before_transformer_path'],
after: ['your_after_transformer_path'],
afterDeclarations: ['your_afterDeclarations_transformer_path'],
}
}
}
}
or
// package.json
{
"jest": {
"globals": {
"ts-jest": {
"astTransformers": {
"before": ["your_before_transformer_path"],
"after": ["your_after_transformer_path"],
"afterDeclarations": ["your_afterDeclarations_transformer_path"]
}
}
}
}
}
- One currently refers type in `jest.config.js`
/** @typedef {import('ts-jest')} */
module.exports = {
//...
}
should change to
/** @typedef {import('ts-jest/dist/types')} */
module.exports = {
//...
}
- Remove possibilities to import `mocked`, `createJestPreset`, `pathsToModuleNameMapper` from package entry. One should change to
import { mocked, createJestPreset, pathsToModuleNameMapper } from 'ts-jest/utils'
- **config:** One currently uses `tsConfig` should change to `tsconfig` in your `jest.config.js` or `package.json`.
#### [26.5.6](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.5...v26.5.6) (2021-05-05)
##### Code Refactoring
- refactor(config): show warning message for `sourceMap: false` ([#2557](https://togithub.com/kulshekhar/ts-jest/pull/2557)) ([cf60990](https://togithub.com/kulshekhar/ts-jest/commit/cf609900e2c5937755123bd08ca2c5f2ff5e0651)).
### [`v26.5.6`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2656-httpsgithubcomkulshekharts-jestcomparev2655v2656-2021-05-05)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.5...v26.5.6)
##### Code Refactoring
- refactor(config): show warning message for `sourceMap: false` ([#2557](https://togithub.com/kulshekhar/ts-jest/pull/2557)) ([cf60990](https://togithub.com/kulshekhar/ts-jest/commit/cf609900e2c5937755123bd08ca2c5f2ff5e0651)).
### [`v26.5.5`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2655-httpsgithubcomkulshekharts-jestcomparev2654v2655-2021-04-15)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.4...v26.5.5)
##### Bug Fixes
- **compiler:** return file content on emitSkipped for non ts/tsx files ([#2515](https://togithub.com/kulshekhar/ts-jest/issues/2515)) ([0320fb3](https://togithub.com/kulshekhar/ts-jest/commit/0320fb3ac22056aafe4d7ae966eab84dbf23fda9)), closes [#2513](https://togithub.com/kulshekhar/ts-jest/issues/2513)
### [`v26.5.4`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2654-httpsgithubcomkulshekharts-jestcomparev2653v2654-2021-03-17)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4)
##### Bug Fixes
- **compiler:** initialize compiler with `.ts`/`.tsx`/`.d.ts` files only ([#2457](https://togithub.com/kulshekhar/ts-jest/issues/2457)) ([1dc731a](https://togithub.com/kulshekhar/ts-jest/commit/1dc731a5faf7cda59db1cc642eb99fae973b1246)), closes [#2445](https://togithub.com/kulshekhar/ts-jest/issues/2445)
### [`v26.5.3`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2653-httpsgithubcomkulshekharts-jestcomparev2652v2653-2021-03-03)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.2...v26.5.3)
##### Bug Fixes
- **config:** create fallback jest config when jest config is undefined ([#2421](https://togithub.com/kulshekhar/ts-jest/issues/2421)) ([0fb6b45](https://togithub.com/kulshekhar/ts-jest/commit/0fb6b45e7dc3dd7588d27f09ac9a8849dff470cb)), closes [#2085](https://togithub.com/kulshekhar/ts-jest/issues/2085)
- remove `@types/jest` from direct dep ([#2416](https://togithub.com/kulshekhar/ts-jest/issues/2416)) ([060302e](https://togithub.com/kulshekhar/ts-jest/commit/060302ed1eb8708df0acd7ab1d613ff06fc08cf3)), closes [#2406](https://togithub.com/kulshekhar/ts-jest/issues/2406) [#2411](https://togithub.com/kulshekhar/ts-jest/issues/2411)
- **compiler:** return original file content on emit skip ([#2408](https://togithub.com/kulshekhar/ts-jest/issues/2408)) ([cfba8f4](https://togithub.com/kulshekhar/ts-jest/commit/cfba8f423dd59536d8b1e1374ef2b20bff2ed857)), closes [#2407](https://togithub.com/kulshekhar/ts-jest/issues/2407)
### [`v26.5.2`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2652-httpsgithubcomkulshekharts-jestcomparev2651v2652-2021-02-21)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.1...v26.5.2)
##### Bug Fixes
- **compiler:** exclude files in `outDir` from compiler source files ([#2376](https://togithub.com/kulshekhar/ts-jest/issues/2376)) ([9034677](https://togithub.com/kulshekhar/ts-jest/commit/9034677f9ce0968339d3d942a70e888996fac532)), closes [#2350](https://togithub.com/kulshekhar/ts-jest/issues/2350) [#2374](https://togithub.com/kulshekhar/ts-jest/issues/2374)
- **config:** define `matchTestFilePath` before `setupTsJestCfg` ([#2373](https://togithub.com/kulshekhar/ts-jest/issues/2373)) ([c427fea](https://togithub.com/kulshekhar/ts-jest/commit/c427fea48a24b5ce6e8b9260d3c322583b062a77)), closes [#2371](https://togithub.com/kulshekhar/ts-jest/issues/2371)
- **config:** improve emit skipped error message ([#2357](https://togithub.com/kulshekhar/ts-jest/issues/2357)) ([f2808bb](https://togithub.com/kulshekhar/ts-jest/commit/f2808bb0b15231c67ccb9a97ed606741213c03e6))
- **typings:** set correct typing for `tsconfig`/`tsConfig` option ([#2377](https://togithub.com/kulshekhar/ts-jest/issues/2377)) ([d4f6aff](https://togithub.com/kulshekhar/ts-jest/commit/d4f6aff3f181761bf25c64ff1a97dd19a69196f9)), closes [#2368](https://togithub.com/kulshekhar/ts-jest/issues/2368)
### [`v26.5.1`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2651-httpsgithubcomkulshekharts-jestcomparev2650v2651-2021-02-09)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.0...v26.5.1)
##### Features
- **config:** support typed config options for jest config typescript ([#2336](https://togithub.com/kulshekhar/ts-jest/issues/2336)) ([f4f5d32](https://togithub.com/kulshekhar/ts-jest/commit/f4f5d3205d1c80e545a32c02c6a66e7e91386f7f))
- **presets:** add typing for `presets` entry point ([#2341](https://togithub.com/kulshekhar/ts-jest/issues/2341)) ([e12b004](https://togithub.com/kulshekhar/ts-jest/commit/e12b004dcc5848d5ae0638e885147c54e11cc72b)), closes [#2325](https://togithub.com/kulshekhar/ts-jest/issues/2325)
### [`v26.5.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2650-httpsgithubcomkulshekharts-jestcomparev2650v2644-2021-01-29)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.4.4...v26.5.0)
##### Bug Fixes
- reduce size of `node_modules` when adding `ts-jest` ([#2309](https://togithub.com/kulshekhar/ts-jest/issues/2309)) ([6bf2e8a](https://togithub.com/kulshekhar/ts-jest/commit/b8d5d2090567f23947d9efd87f5f869b16bf2e8a))
##### Features
- introduce `exclude` to exclude files from diagnostics ([#2308](https://togithub.com/kulshekhar/ts-jest/issues/2308)) ([cd82fd3](https://togithub.com/kulshekhar/ts-jest/commit/0c555c250774a7fd9e356cf20a3d8b693cd82fd3))
##### DEPRECATIONS
- **config**: deprecate `pathRegex` in favor of `exclude` ([#2308](https://togithub.com/kulshekhar/ts-jest/issues/2308)) ([cd82fd3](https://togithub.com/kulshekhar/ts-jest/commit/0c555c250774a7fd9e356cf20a3d8b693cd82fd3))
### [`v26.4.4`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2644-httpsgithubcomkulshekharts-jestcomparev2643v2644-2020-11-08)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.4.3...v26.4.4)
##### Bug Fixes
- revert usage of `@jest/create-cache-key-function` ([#2108](https://togithub.com/kulshekhar/ts-jest/issues/2108)) ([dee8231](https://togithub.com/kulshekhar/ts-jest/commit/dee823172ce1e8eb9e0b2dd3aeed1ab4033bd0d9)), closes [#2080](https://togithub.com/kulshekhar/ts-jest/issues/2080) [#2090](https://togithub.com/kulshekhar/ts-jest/issues/2090) [#2104](https://togithub.com/kulshekhar/ts-jest/issues/2104)
##### Features
- **testing:** expose all types for util `mocked` ([#2096](https://togithub.com/kulshekhar/ts-jest/issues/2096)) ([b1d072b](https://togithub.com/kulshekhar/ts-jest/commit/b1d072b52b9a7665b3a6914b0895f84f6ee3f8c0)), closes [#2086](https://togithub.com/kulshekhar/ts-jest/issues/2086)
### [`v26.4.3`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2643-httpsgithubcomkulshekharts-jestcomparev2642v2643-2020-10-26)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.4.2...v26.4.3)
##### Bug Fixes
- **compiler:** only exclude test files when initializing compiler ([#2062](https://togithub.com/kulshekhar/ts-jest/issues/2062)) ([7264c13](https://togithub.com/kulshekhar/ts-jest/commit/7264c137114b6dd895624e3476dd7ec57b64ee13)), closes [#2061](https://togithub.com/kulshekhar/ts-jest/issues/2061), [#2068](https://togithub.com/kulshekhar/ts-jest/issues/2068), [#2072](https://togithub.com/kulshekhar/ts-jest/issues/2072), [#2073](https://togithub.com/kulshekhar/ts-jest/issues/2073)
- **config:** resolve `.babelrc` file path before attempting to read it ([#2071](https://togithub.com/kulshekhar/ts-jest/issues/2071)) ([681bfef](https://togithub.com/kulshekhar/ts-jest/commit/681bfef41744f09cd50b71072f4d001cb58da82e)), closes [#2064](https://togithub.com/kulshekhar/ts-jest/issues/2064)
##### Features
- **config:** allow to override resolve tsconfig behavior ([#2063](https://togithub.com/kulshekhar/ts-jest/issues/2063)) ([9f46ace](https://togithub.com/kulshekhar/ts-jest/commit/9f46acefceb1fa71ee2e8b3b3c172ceb0544b4c4))
### [`v26.4.2`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2642-httpsgithubcomkulshekharts-jestcomparev2641v2642-2020-10-23)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.4.1...v26.4.2)
##### Features
- **config:** expose several typings as public apis ([#2054](https://togithub.com/kulshekhar/ts-jest/issues/2054)) ([3b6b705](https://togithub.com/kulshekhar/ts-jest/commit/3b6b7055e2b9c74e81fb91596c807ace02ab77a1))
##### Performance Improvements
- **compiler:** speed up bootstrap time for `isolatedModules:false` ([#2055](https://togithub.com/kulshekhar/ts-jest/issues/2055)) ([230b5dd](https://togithub.com/kulshekhar/ts-jest/commit/230b5ddbee55357d25dd190cd45aa8a30d7f31e0))
##### DEPRECATIONS
- **config**: deprecate `tsConfig` in favor of `tsconfig` ([#1997](https://togithub.com/kulshekhar/ts-jest/pull/1997))
- **config**: deprecate `packageJson` since internal codes don't use it anymore ([#2034](https://togithub.com/kulshekhar/ts-jest/pull/2034))
### [`v26.4.1`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2641-httpsgithubcomkulshekharts-jestcomparev2640v2641-2020-09-29)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.4.0...v26.4.1)
##### Bug Fixes
- **utils:** `MaybeMockedConstructor` returns T ([#1976](https://togithub.com/kulshekhar/ts-jest/issues/1976)) ([b7712b2](https://togithub.com/kulshekhar/ts-jest/commit/b7712b2055d8f32dd97999de1d94e8f3515d79e8))
- **utils:** revert `path.join` and add check on prefix ends with `/` ([#1989](https://togithub.com/kulshekhar/ts-jest/issues/1989)) ([3d9035b](https://togithub.com/kulshekhar/ts-jest/commit/3d9035bd70dc087d4c5a943bb2fe2af2d0822875)), closes [#1982](https://togithub.com/kulshekhar/ts-jest/issues/1982)
### [`v26.4.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2640-httpsgithubcomkulshekharts-jestcomparev2630v2640-2020-09-20)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.3.0...v26.4.0)
##### Bug Fixes
- **utils:** `pathsToModuleNameMapper` resolve path mapping with `path.join` ([#1969](https://togithub.com/kulshekhar/ts-jest/issues/1969)) ([81fce4c](https://togithub.com/kulshekhar/ts-jest/commit/81fce4c090811a1cc071579a99dc193fb976b117)), closes [#1968](https://togithub.com/kulshekhar/ts-jest/issues/1968)
- set minimum `jest-util` version at 26.1.0 ([#1914](https://togithub.com/kulshekhar/ts-jest/issues/1914)) ([f00414c](https://togithub.com/kulshekhar/ts-jest/commit/f00414c6fbf8fc5413fd33d0a271c4a164c50d45)), closes [#1913](https://togithub.com/kulshekhar/ts-jest/issues/1913)
##### Features
- **config:** allow custom options in custom transformers ([#1966](https://togithub.com/kulshekhar/ts-jest/issues/1966)) ([1452ce4](https://togithub.com/kulshekhar/ts-jest/commit/1452ce4afcd36049cddd0db0861f1ac26b66f8c1)), closes [#1942](https://togithub.com/kulshekhar/ts-jest/issues/1942)
- **transformers:** support hoisting when using `@jest/globals` ([#1937](https://togithub.com/kulshekhar/ts-jest/issues/1937)) ([0e5be15](https://togithub.com/kulshekhar/ts-jest/commit/0e5be1597d755fed11869f67df05eeea54b3106f)), closes [#1593](https://togithub.com/kulshekhar/ts-jest/issues/1593)
- **transformers:** add `path-mapping` custom AST transformer ([#1927](https://togithub.com/kulshekhar/ts-jest/issues/1927)) ([3325186](https://togithub.com/kulshekhar/ts-jest/commit/3325186b6e55f41eb9bf7d81e092a358fc402b13))
##### Performance Improvements
- **compiler:** remove `createProgram` for `isolatedModules: true` to boost startup speed ([#1941](https://togithub.com/kulshekhar/ts-jest/issues/1941)) ([dd84534](https://togithub.com/kulshekhar/ts-jest/commit/dd8453401840862186f991e2d514e0d328a67987))
### [`v26.3.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2630-httpsgithubcomkulshekharts-jestcomparev2620v2630-2020-08-25)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.2.0...v26.3.0)
##### Bug Fixes
- **config:** compute cache key without reading `package.json` ([#1893](https://togithub.com/kulshekhar/ts-jest/issues/1893)) ([4875a58](https://togithub.com/kulshekhar/ts-jest/commit/4875a58345666e0407f9f5b3f95049ae2c9d056d)), closes [#1892](https://togithub.com/kulshekhar/ts-jest/issues/1892)
##### Features
- support TypeScript 4.0 ([#1889](https://togithub.com/kulshekhar/ts-jest/issues/1889)) ([f070e93](https://togithub.com/kulshekhar/ts-jest/commit/f070e9334a9cf31fa6f0d73b3f69d805be72601d))
### [`v26.2.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2620-httpsgithubcomkulshekharts-jestcomparev2614v2620-2020-08-11)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.4...v26.2.0)
##### Bug Fixes
- move `@types/jest` to dependencies to work well with yarn 2 ([#1859](https://togithub.com/kulshekhar/ts-jest/issues/1859)) ([5eb1389](https://togithub.com/kulshekhar/ts-jest/commit/5eb1389caaa0431e49ae6ca26b18e290208e0a0a)), closes [#1857](https://togithub.com/kulshekhar/ts-jest/issues/1857)
##### Features
- **config:** support `after` and `afterDeclarations` AST transformers ([#1831](https://togithub.com/kulshekhar/ts-jest/issues/1831)) ([be20a7c](https://togithub.com/kulshekhar/ts-jest/commit/be20a7c78c97027b33aec178da0f533095790871))
- allow opt-out version warning message by environment variable `TS_JEST_DISABLE_VER_CHECKER` ([#1821](https://togithub.com/kulshekhar/ts-jest/issues/1821)) ([e6b42fc](https://togithub.com/kulshekhar/ts-jest/commit/e6b42fcd7a75c7b14e636a45cda04de18a46908b)), closes [#1774](https://togithub.com/kulshekhar/ts-jest/issues/1774)
#### [26.1.4](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.3...v26.1.4) (2020-07-28)
##### Bug Fixes
- **compiler:** check if test file exists before doing type check ([#1827](https://togithub.com/kulshekhar/ts-jest/issues/1827)) ([cc89d5b](https://togithub.com/kulshekhar/ts-jest/commit/cc89d5b1f912975cd29114c5b3b0bf18426816da)), closes [#1506](https://togithub.com/kulshekhar/ts-jest/issues/1506)
#### [26.1.3](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.2...v26.1.3) (2020-07-16)
##### Bug Fixes
- revert [#1793](https://togithub.com/kulshekhar/ts-jest/issues/1793) ([#1804](https://togithub.com/kulshekhar/ts-jest/issues/1804)) ([5095525](https://togithub.com/kulshekhar/ts-jest/commit/5095525333c8579c9c5e7f3149294b31f28d6774))
#### [26.1.2](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.1...v26.1.2) (2020-07-13)
##### Bug Fixes
- **compiler:** use `resolveModuleNames` TypeScript API to get resolved modules for test files ([#1784](https://togithub.com/kulshekhar/ts-jest/issues/1784)) ([5f26054](https://togithub.com/kulshekhar/ts-jest/commit/5f2605457e94b548bd7b9b28fc968554f7eefa91)), closes [#1747](https://togithub.com/kulshekhar/ts-jest/issues/1747)
- **config:** invalidate cache when other options in `tsconfig` change ([#1788](https://togithub.com/kulshekhar/ts-jest/issues/1788)) ([6948855](https://togithub.com/kulshekhar/ts-jest/commit/69488552eca2846f3fc6ba86ab49d7893caaf521))
##### Performance Improvements
- **compiler:** cache module resolution for `isolatedModules: false` ([#1786](https://togithub.com/kulshekhar/ts-jest/issues/1786)) ([7f731ed](https://togithub.com/kulshekhar/ts-jest/commit/7f731ed8a02755aeb41ecb27df4eaf16db2ddd95))
- **compiler:** use `globsToMatcher` from `jest-util` ([#1754](https://togithub.com/kulshekhar/ts-jest/issues/1754)) ([44f3913](https://togithub.com/kulshekhar/ts-jest/commit/44f3913c2a017734ed87346b1c5fbec639d02062))
#### [26.1.1](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.0...v26.1.1) (2020-06-21)
##### Bug Fixes
- **compiler:** generate source map correctly when tsconfig `mapRoot` is set ([#1741](https://togithub.com/kulshekhar/ts-jest/issues/1741)) ([01ac417](https://togithub.com/kulshekhar/ts-jest/commit/01ac417)), closes [#1718](https://togithub.com/kulshekhar/ts-jest/issues/1718)
- **config:** show version warning when using ts-jest without babel ([#1729](https://togithub.com/kulshekhar/ts-jest/issues/1729)) ([e512bc0](https://togithub.com/kulshekhar/ts-jest/commit/e512bc0)), fixes [#1678-issuecomment-641930332](https://togithub.com//github.com/kulshekhar/ts-jest/pull/1678/issues/issuecomment-641930332), [#1678-issuecomment-639528993](https://togithub.com//github.com/kulshekhar/ts-jest/pull/1678/issues/issuecomment-639528993)
### [`v26.1.4`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2614-httpsgithubcomkulshekharts-jestcomparev2613v2614-2020-07-28)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.3...v26.1.4)
##### Bug Fixes
- **compiler:** check if test file exists before doing type check ([#1827](https://togithub.com/kulshekhar/ts-jest/issues/1827)) ([cc89d5b](https://togithub.com/kulshekhar/ts-jest/commit/cc89d5b1f912975cd29114c5b3b0bf18426816da)), closes [#1506](https://togithub.com/kulshekhar/ts-jest/issues/1506)
### [`v26.1.3`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2613-httpsgithubcomkulshekharts-jestcomparev2612v2613-2020-07-16)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.2...v26.1.3)
##### Bug Fixes
- revert [#1793](https://togithub.com/kulshekhar/ts-jest/issues/1793) ([#1804](https://togithub.com/kulshekhar/ts-jest/issues/1804)) ([5095525](https://togithub.com/kulshekhar/ts-jest/commit/5095525333c8579c9c5e7f3149294b31f28d6774))
### [`v26.1.2`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2612-httpsgithubcomkulshekharts-jestcomparev2611v2612-2020-07-13)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.1...v26.1.2)
##### Bug Fixes
- **compiler:** use `resolveModuleNames` TypeScript API to get resolved modules for test files ([#1784](https://togithub.com/kulshekhar/ts-jest/issues/1784)) ([5f26054](https://togithub.com/kulshekhar/ts-jest/commit/5f2605457e94b548bd7b9b28fc968554f7eefa91)), closes [#1747](https://togithub.com/kulshekhar/ts-jest/issues/1747)
- **config:** invalidate cache when other options in `tsconfig` change ([#1788](https://togithub.com/kulshekhar/ts-jest/issues/1788)) ([6948855](https://togithub.com/kulshekhar/ts-jest/commit/69488552eca2846f3fc6ba86ab49d7893caaf521))
##### Performance Improvements
- **compiler:** cache module resolution for `isolatedModules: false` ([#1786](https://togithub.com/kulshekhar/ts-jest/issues/1786)) ([7f731ed](https://togithub.com/kulshekhar/ts-jest/commit/7f731ed8a02755aeb41ecb27df4eaf16db2ddd95))
- **compiler:** use `globsToMatcher` from `jest-util` ([#1754](https://togithub.com/kulshekhar/ts-jest/issues/1754)) ([44f3913](https://togithub.com/kulshekhar/ts-jest/commit/44f3913c2a017734ed87346b1c5fbec639d02062))
### [`v26.1.1`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2611-httpsgithubcomkulshekharts-jestcomparev2610v2611-2020-06-21)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.0...v26.1.1)
##### Bug Fixes
- **compiler:** generate source map correctly when tsconfig `mapRoot` is set ([#1741](https://togithub.com/kulshekhar/ts-jest/issues/1741)) ([01ac417](https://togithub.com/kulshekhar/ts-jest/commit/01ac417)), closes [#1718](https://togithub.com/kulshekhar/ts-jest/issues/1718)
- **config:** show version warning when using ts-jest without babel ([#1729](https://togithub.com/kulshekhar/ts-jest/issues/1729)) ([e512bc0](https://togithub.com/kulshekhar/ts-jest/commit/e512bc0)), fixes [#1678-issuecomment-641930332](https://togithub.com//github.com/kulshekhar/ts-jest/pull/1678/issues/issuecomment-641930332), [#1678-issuecomment-639528993](https://togithub.com//github.com/kulshekhar/ts-jest/pull/1678/issues/issuecomment-639528993)
### [`v26.1.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2610-httpsgithubcomkulshekharts-jestcomparev2600v2610-2020-05-30)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.0.0...v26.1.0)
##### Bug Fixes
- **typing:** don't mark `BabelConfig` as internal type ([#1667](https://togithub.com/kulshekhar/ts-jest/issues/1667)) ([558c307](https://togithub.com/kulshekhar/ts-jest/commit/558c307)), closes [#1666](https://togithub.com/kulshekhar/ts-jest/issues/1666)
##### Features
- **config:** show a warning message when TypeScript `target` version doesn't match with recommended NodeJs version ([#1678](https://togithub.com/kulshekhar/ts-jest/issues/1678)) ([085bdf5](https://togithub.com/kulshekhar/ts-jest/commit/085bdf5))
- **config:** support multiple paths for `pathsToModuleNameMapper` ([#1690](https://togithub.com/kulshekhar/ts-jest/issues/1690)) ([a727bd5](https://togithub.com/kulshekhar/ts-jest/commit/a727bd5))
- support TypeScript 3.9 ([#1653](https://togithub.com/kulshekhar/ts-jest/issues/1653)) ([fc3d5ad](https://togithub.com/kulshekhar/ts-jest/commit/fc3d5ad))
### [`v26.0.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2600-httpsgithubcomkulshekharts-jestcomparev2551v2600-2020-05-15)
[Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v25.5.1...v26.0.0)
##### Bug Fixes
- **compiler:** return `undefined` for `getScriptVersion` when a file doesn't exist in memory cache ([#1641](https://togithub.com/kulshekhar/ts-jest/issues/1641)) ([6851b8e](https://togithub.com/kulshekhar/ts-jest/commit/6851b8e))
##### Features
- support Jest v26 ([#1602](https://togithub.com/kulshekhar/ts-jest/issues/1602)) ([23b7741](https://togithub.com/kulshekhar/ts-jest/commit/23b7741))
##### BREAKING CHANGES
- Requires a minimum of TypeScript v3.8
- Drop support for Node 8
#### [25.5.1](https://togithub.com/kulshekhar/ts-jest/compare/v25.5.0...v25.5.1) (2020-05-09)
##### Bug Fixes
- **compiler:** don't resolve files from build folder for `projectReferences` ([#1614](https://togithub.com/kulshekhar/ts-jest/issues/1614)) ([74b92d3](https://togithub.com/kulshekhar/ts-jest/commit/74b92d3))
- **config:** don't set `include` value of `tsconfig` to empty array ([#1606](https://togithub.com/kulshekhar/ts-jest/issues/1606)) ([8a29aaa](https://togithub.com/kulshekhar/ts-jest/commit/8a29aaa))
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 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:
25.5.1
->27.0.3
Release Notes
kulshekhar/ts-jest
### [`v27.0.3`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2703-httpsgithubcomkulshekharts-jestcomparev2702v2703-2021-06-06) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v27.0.2...v27.0.3) ##### Bug Fixes - revert `exports` field to support all node versions ([#2658](https://togithub.com/kulshekhar/ts-jest/issues/2658)) ([132c8ba](https://togithub.com/kulshekhar/ts-jest/commit/132c8ba85c3e61b7d9ede0dc9730580b79618ab7)) ##### Features - emit ESM codes if using ESM mode with Babel ([#2661](https://togithub.com/kulshekhar/ts-jest/issues/2661)) ([9b55404](https://togithub.com/kulshekhar/ts-jest/commit/9b55404a8dfc760238e19786da98a2edf043b9da)), closes [#2650](https://togithub.com/kulshekhar/ts-jest/issues/2650) ### [`v27.0.2`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2702-httpsgithubcomkulshekharts-jestcomparev2701v2702-2021-05-30) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v27.0.1...v27.0.2) ##### Bug Fixes - **compiler:** add empty string file content to compiler cache ([#2633](https://togithub.com/kulshekhar/ts-jest/issues/2633)) ([0feb556](https://togithub.com/kulshekhar/ts-jest/commit/0feb5560a588f87d1d989bf521859fba0fda20fe)), closes [#2625](https://togithub.com/kulshekhar/ts-jest/issues/2625) - **config:** `exclude` should only exclude files which match glob values ([#2637](https://togithub.com/kulshekhar/ts-jest/issues/2637)) ([c5ce979](https://togithub.com/kulshekhar/ts-jest/commit/c5ce97902c1b84dc354f270a4f596a6f5f634611)), closes [#2634](https://togithub.com/kulshekhar/ts-jest/issues/2634) ### [`v27.0.1`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2701-httpsgithubcomkulshekharts-jestcomparev2700v2701-2021-05-26) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v27.0.0...v27.0.1) ##### Bug Fixes - **cli:** keep `testMatch` if old jest config contains it ([#2618](https://togithub.com/kulshekhar/ts-jest/issues/2618)) ([c568f49](https://togithub.com/kulshekhar/ts-jest/commit/c568f49907fb5559ba1e8c67f1ec5d5eb4af920a)), closes [#2616](https://togithub.com/kulshekhar/ts-jest/issues/2616) - **compiler:** make sure `isolatedModules: false` use updated compiler options ([#2628](https://togithub.com/kulshekhar/ts-jest/issues/2628)) ([348e30f](https://togithub.com/kulshekhar/ts-jest/commit/348e30f426803efc51ecba26ab42619938fcb5af)), closes [#2629](https://togithub.com/kulshekhar/ts-jest/issues/2629) - add missing export `presets` ([#2624](https://togithub.com/kulshekhar/ts-jest/issues/2624)) ([0ea025e](https://togithub.com/kulshekhar/ts-jest/commit/0ea025ebb456d3a31671e31fac0b401c2734a2b1)), closes [#2623](https://togithub.com/kulshekhar/ts-jest/issues/2623) ### [`v27.0.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2700-httpsgithubcomkulshekharts-jestcomparev2656v2700-2021-05-25) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.6...v27.0.0) ##### Bug Fixes - **compiler:** return file content on emitSkipped for non ts/tsx files ([#2519](https://togithub.com/kulshekhar/ts-jest/issues/2519)) ([a4e5640](https://togithub.com/kulshekhar/ts-jest/commit/a4e5640f54a7810c9b7aba32663ce4a53893d22f)), closes [#2513](https://togithub.com/kulshekhar/ts-jest/issues/2513) - **compiler:** retype check other files if processing file is used by those ones in watch mode ([#2481](https://togithub.com/kulshekhar/ts-jest/issues/2481)) ([ac8f3d0](https://togithub.com/kulshekhar/ts-jest/commit/ac8f3d025de67bfc2708a8422ee657fc42455513)), closes [#943](https://togithub.com/kulshekhar/ts-jest/issues/943) - **compiler:** initialize compiler with `.ts`/`.tsx`/`.d.ts` files only ([#2458](https://togithub.com/kulshekhar/ts-jest/issues/2458)) ([a89f0e2](https://togithub.com/kulshekhar/ts-jest/commit/a89f0e2061e01440337dde4134639ff6a2d69936)), closes [#2445](https://togithub.com/kulshekhar/ts-jest/issues/2445) - **compiler:** resolve nested imported modules for each processing file ([#2436](https://togithub.com/kulshekhar/ts-jest/issues/2436)) ([3cb9019](https://togithub.com/kulshekhar/ts-jest/commit/3cb9019289bb64deecffaf52e840faf6a4656092)), closes [#1390](https://togithub.com/kulshekhar/ts-jest/issues/1390) [#1747](https://togithub.com/kulshekhar/ts-jest/issues/1747) - **config:** create fallback jest config when jest config is `undefined` ([#2433](https://togithub.com/kulshekhar/ts-jest/issues/2433)) ([c6d6e4c](https://togithub.com/kulshekhar/ts-jest/commit/c6d6e4cd534e1c368fcb7141784ee43584525ca4)), closes [#2085](https://togithub.com/kulshekhar/ts-jest/issues/2085) - remove `@types/jest` from direct dep ([#2409](https://togithub.com/kulshekhar/ts-jest/issues/2409)) ([8913120](https://togithub.com/kulshekhar/ts-jest/commit/89131203c358c8f9e89655800e500a9e88a17334)), closes [#2406](https://togithub.com/kulshekhar/ts-jest/issues/2406) [#2411](https://togithub.com/kulshekhar/ts-jest/issues/2411) - **compiler:** return original file content and show warning on emit skip ([#2410](https://togithub.com/kulshekhar/ts-jest/issues/2410)) ([c2b2164](https://togithub.com/kulshekhar/ts-jest/commit/c2b2164ddd1e606fc2490326244a6efc63f6c4a0)), closes [#2407](https://togithub.com/kulshekhar/ts-jest/issues/2407) - **compiler:** type check correctly in watch mode when a file content itself has changed ([#2405](https://togithub.com/kulshekhar/ts-jest/issues/2405)) ([064bf3a](https://togithub.com/kulshekhar/ts-jest/commit/064bf3a73e9a304aa9366d27db8973b68be23ffd)), closes [#2118](https://togithub.com/kulshekhar/ts-jest/issues/2118) - **compiler:** exclude files in `outDir` from compiler source files ([#2375](https://togithub.com/kulshekhar/ts-jest/issues/2375)) ([ec68c74](https://togithub.com/kulshekhar/ts-jest/commit/ec68c74bccf56d682a7ed9e5c48ea676dcf3fbf9)), closes [#2350](https://togithub.com/kulshekhar/ts-jest/issues/2350) [#2374](https://togithub.com/kulshekhar/ts-jest/issues/2374) - **config:** cache config and compiler correctly between runs ([#2356](https://togithub.com/kulshekhar/ts-jest/issues/2356)) ([5f91336](https://togithub.com/kulshekhar/ts-jest/commit/5f91336b9023da1051cc85b509ad02c525679fcb)) - **config:** improve emit skipped error message ([#2358](https://togithub.com/kulshekhar/ts-jest/issues/2358)) ([2ae8df4](https://togithub.com/kulshekhar/ts-jest/commit/2ae8df4515d6f6e975e57719a89184b5583f9e2f)), closes [#2350](https://togithub.com/kulshekhar/ts-jest/issues/2350) - **typings:** set correct typing for `tsconfig` option ([#2383](https://togithub.com/kulshekhar/ts-jest/issues/2383)) ([584324a](https://togithub.com/kulshekhar/ts-jest/commit/584324a60c0784275e9bf8bcfd0814735a250d24)), closes [#2368](https://togithub.com/kulshekhar/ts-jest/issues/2368) - **config:** invalidate Jest transform cache when `astTransformers` value changes ([#2345](https://togithub.com/kulshekhar/ts-jest/issues/2345)) ([d726016](https://togithub.com/kulshekhar/ts-jest/commit/d726016a17a26215fad782cf57bb9b9bec807307)) - reduce size of `node_modules` when adding `ts-jest` ([#2263](https://togithub.com/kulshekhar/ts-jest/issues/2263)) ([8e0675c](https://togithub.com/kulshekhar/ts-jest/commit/8e0675c02b6095af6656df50c8782c01ad9e87a3)) ##### Features - **config:** allow disable sourcemap ([#2544](https://togithub.com/kulshekhar/ts-jest/issues/2544)) ([47da6ad](https://togithub.com/kulshekhar/ts-jest/commit/47da6ada5089e58e9bc68ce8e9bc9e17aaa127ae)) - **compiler:** expose `TsCompiler` as public api ([#2344](https://togithub.com/kulshekhar/ts-jest/issues/2344)) ([871cd6a](https://togithub.com/kulshekhar/ts-jest/commit/871cd6a3abb10569a04d05f72bbb41c952665ed4)) - **config:** support typed config options for jest config typescript ([#2335](https://togithub.com/kulshekhar/ts-jest/issues/2335)) ([3cfc37b](https://togithub.com/kulshekhar/ts-jest/commit/3cfc37b1eba125fe861cea0415095dbe1f538520)) - **presets:** add typing for `presets` entry point ([#2337](https://togithub.com/kulshekhar/ts-jest/issues/2337)) ([1a3058f](https://togithub.com/kulshekhar/ts-jest/commit/1a3058f3b7f8a2e377cb6a7e829cea310a06d4fa)) - **compiler:** allow custom transformers to access internal `Program` ([#2299](https://togithub.com/kulshekhar/ts-jest/issues/2299)) ([387964f](https://togithub.com/kulshekhar/ts-jest/commit/387964faed14ce24d2cf8170a04eee244d69b8b9)) - **config:** replace `pathRegex` with `exclude` ([#2295](https://togithub.com/kulshekhar/ts-jest/issues/2295)) ([f2f99c3](https://togithub.com/kulshekhar/ts-jest/commit/f2f99c3a46ac18a1fd6cc98922329b71a7e8c4e8)) - **config:** type checking `js` files based on `checkJs` ([#2283](https://togithub.com/kulshekhar/ts-jest/issues/2283)) ([1e04433](https://togithub.com/kulshekhar/ts-jest/commit/1e044335a38907ff5c06eb43efeb2e5fd9769a0c)) - **compiler:** support ESM for `isolatedModules: false` ([#2269](https://togithub.com/kulshekhar/ts-jest/issues/2269)) ([9bb0c05](https://togithub.com/kulshekhar/ts-jest/commit/9bb0c054a3a7bd8949b0c12b2bb42348f69e2e2e)), closes [#1709](https://togithub.com/kulshekhar/ts-jest/issues/1709) - **compiler:** support ESM for `isolatedModule: true` ([#2219](https://togithub.com/kulshekhar/ts-jest/issues/2219)) ([e101db0](https://togithub.com/kulshekhar/ts-jest/commit/e101db01095ce75ce9a48e27a1d9bf84bb8e19ee)), closes [#1709](https://togithub.com/kulshekhar/ts-jest/issues/1709) - **presets:** add 3 new presets to work with ESM ([#2207](https://togithub.com/kulshekhar/ts-jest/issues/2207)) ([c277858](https://togithub.com/kulshekhar/ts-jest/commit/c277858c7820d8873c2d7d0c6e3704a47868d600)) - allow subclasses of `TsJestTransformer` to have version checking ([#2176](https://togithub.com/kulshekhar/ts-jest/issues/2176)) ([ca8d7c4](https://togithub.com/kulshekhar/ts-jest/commit/ca8d7c44779105ef208d17cdd8c6baaf96b479ad)) ##### Performance Improvements - reuse jest file system cache for `isolatedModules: false` ([#2189](https://togithub.com/kulshekhar/ts-jest/issues/2189)) ([68f446b](https://togithub.com/kulshekhar/ts-jest/commit/68f446b8351bb8925ac4822aa631aa6b23f2f711)) ##### Code Refactoring - **config:** remove support for `astTransformers` string array ([#2129](https://togithub.com/kulshekhar/ts-jest/issues/2129)) ([1e0b2ce](https://togithub.com/kulshekhar/ts-jest/commit/1e0b2ce5599a35c108712456e455bf29c8c5fd24)) - **config:** remove support for `packageJson` option ([#2128](https://togithub.com/kulshekhar/ts-jest/issues/2128)) ([05916b9](https://togithub.com/kulshekhar/ts-jest/commit/05916b920160da5b43a20b47025eea43b4a1a5c3)) - move jest transformer class to package entry ([#2122](https://togithub.com/kulshekhar/ts-jest/issues/2122)) ([5bbfd06](https://togithub.com/kulshekhar/ts-jest/commit/5bbfd06a0c114dbecd75b763bcfa76d4a6203ab1)) - **config:** remove support for `tsConfig` option ([#2127](https://togithub.com/kulshekhar/ts-jest/issues/2127)) ([3cc9b80](https://togithub.com/kulshekhar/ts-jest/commit/3cc9b806be2b2096b981253d39ca40df65bb0f7b)) #### BREAKING CHANGES - By default, `ts-jest` will use `sourceMap` option from your `tsconfig`. If users want to have sourcemap on, they need to set `sourceMap: true` in `tsconfig`. - follow Jest support Node engines ([#2478](https://togithub.com/kulshekhar/ts-jest/pull/2478)) ([1fecf7f](https://togithub.com/kulshekhar/ts-jest/commit/1fecf7ff92a5f1a0cc6ea1d27026f9f54a3d5ead)) - add `exports` field to `package.json`, see https://nodejs.org/api/packages.html#packages_package_entry_points ([#2467](https://togithub.com/kulshekhar/ts-jest/pull/2467)) ([d3aba3e](https://togithub.com/kulshekhar/ts-jest/commit/d3aba3e103f85b3a42d0e2ecaea9d3457917319e)) - `ts-jest` custom AST transformer function signature has changed to import type { TsCompilerInstance } from 'ts-jest/dist/types' export function factory(compilerInstance: TsCompilerInstance) { //... } - One is currently using `pathRegex` should use `exclude` with `glob` patterns. - If one currently relies on type check for `js` files, please set `checkJs: true` in your tsconfig. - Now both `isolatedModules: true` and `isolatedModule: false` codes are in one single class `TsCompiler` which is an instance created in `TsJestCompiler` based on config option `compiler` with value `typescript` or `ttypescript`. - **config:** `packageJson` config option is not used in internal `ts-jest` so this option is now removed. - **config:** One is defining ast transformers in `jest.config.js`/`package.json` should change to // jest.config.js module.exports = { //... globals: { 'ts-jest': { astTransformers: { before: ['your_before_transformer_path'], after: ['your_after_transformer_path'], afterDeclarations: ['your_afterDeclarations_transformer_path'], } } } } or // package.json { "jest": { "globals": { "ts-jest": { "astTransformers": { "before": ["your_before_transformer_path"], "after": ["your_after_transformer_path"], "afterDeclarations": ["your_afterDeclarations_transformer_path"] } } } } } - One currently refers type in `jest.config.js` /** @typedef {import('ts-jest')} */ module.exports = { //... } should change to /** @typedef {import('ts-jest/dist/types')} */ module.exports = { //... } - Remove possibilities to import `mocked`, `createJestPreset`, `pathsToModuleNameMapper` from package entry. One should change to import { mocked, createJestPreset, pathsToModuleNameMapper } from 'ts-jest/utils' - **config:** One currently uses `tsConfig` should change to `tsconfig` in your `jest.config.js` or `package.json`. #### [26.5.6](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.5...v26.5.6) (2021-05-05) ##### Code Refactoring - refactor(config): show warning message for `sourceMap: false` ([#2557](https://togithub.com/kulshekhar/ts-jest/pull/2557)) ([cf60990](https://togithub.com/kulshekhar/ts-jest/commit/cf609900e2c5937755123bd08ca2c5f2ff5e0651)). ### [`v26.5.6`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2656-httpsgithubcomkulshekharts-jestcomparev2655v2656-2021-05-05) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.5...v26.5.6) ##### Code Refactoring - refactor(config): show warning message for `sourceMap: false` ([#2557](https://togithub.com/kulshekhar/ts-jest/pull/2557)) ([cf60990](https://togithub.com/kulshekhar/ts-jest/commit/cf609900e2c5937755123bd08ca2c5f2ff5e0651)). ### [`v26.5.5`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2655-httpsgithubcomkulshekharts-jestcomparev2654v2655-2021-04-15) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.4...v26.5.5) ##### Bug Fixes - **compiler:** return file content on emitSkipped for non ts/tsx files ([#2515](https://togithub.com/kulshekhar/ts-jest/issues/2515)) ([0320fb3](https://togithub.com/kulshekhar/ts-jest/commit/0320fb3ac22056aafe4d7ae966eab84dbf23fda9)), closes [#2513](https://togithub.com/kulshekhar/ts-jest/issues/2513) ### [`v26.5.4`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2654-httpsgithubcomkulshekharts-jestcomparev2653v2654-2021-03-17) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4) ##### Bug Fixes - **compiler:** initialize compiler with `.ts`/`.tsx`/`.d.ts` files only ([#2457](https://togithub.com/kulshekhar/ts-jest/issues/2457)) ([1dc731a](https://togithub.com/kulshekhar/ts-jest/commit/1dc731a5faf7cda59db1cc642eb99fae973b1246)), closes [#2445](https://togithub.com/kulshekhar/ts-jest/issues/2445) ### [`v26.5.3`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2653-httpsgithubcomkulshekharts-jestcomparev2652v2653-2021-03-03) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.2...v26.5.3) ##### Bug Fixes - **config:** create fallback jest config when jest config is undefined ([#2421](https://togithub.com/kulshekhar/ts-jest/issues/2421)) ([0fb6b45](https://togithub.com/kulshekhar/ts-jest/commit/0fb6b45e7dc3dd7588d27f09ac9a8849dff470cb)), closes [#2085](https://togithub.com/kulshekhar/ts-jest/issues/2085) - remove `@types/jest` from direct dep ([#2416](https://togithub.com/kulshekhar/ts-jest/issues/2416)) ([060302e](https://togithub.com/kulshekhar/ts-jest/commit/060302ed1eb8708df0acd7ab1d613ff06fc08cf3)), closes [#2406](https://togithub.com/kulshekhar/ts-jest/issues/2406) [#2411](https://togithub.com/kulshekhar/ts-jest/issues/2411) - **compiler:** return original file content on emit skip ([#2408](https://togithub.com/kulshekhar/ts-jest/issues/2408)) ([cfba8f4](https://togithub.com/kulshekhar/ts-jest/commit/cfba8f423dd59536d8b1e1374ef2b20bff2ed857)), closes [#2407](https://togithub.com/kulshekhar/ts-jest/issues/2407) ### [`v26.5.2`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2652-httpsgithubcomkulshekharts-jestcomparev2651v2652-2021-02-21) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.1...v26.5.2) ##### Bug Fixes - **compiler:** exclude files in `outDir` from compiler source files ([#2376](https://togithub.com/kulshekhar/ts-jest/issues/2376)) ([9034677](https://togithub.com/kulshekhar/ts-jest/commit/9034677f9ce0968339d3d942a70e888996fac532)), closes [#2350](https://togithub.com/kulshekhar/ts-jest/issues/2350) [#2374](https://togithub.com/kulshekhar/ts-jest/issues/2374) - **config:** define `matchTestFilePath` before `setupTsJestCfg` ([#2373](https://togithub.com/kulshekhar/ts-jest/issues/2373)) ([c427fea](https://togithub.com/kulshekhar/ts-jest/commit/c427fea48a24b5ce6e8b9260d3c322583b062a77)), closes [#2371](https://togithub.com/kulshekhar/ts-jest/issues/2371) - **config:** improve emit skipped error message ([#2357](https://togithub.com/kulshekhar/ts-jest/issues/2357)) ([f2808bb](https://togithub.com/kulshekhar/ts-jest/commit/f2808bb0b15231c67ccb9a97ed606741213c03e6)) - **typings:** set correct typing for `tsconfig`/`tsConfig` option ([#2377](https://togithub.com/kulshekhar/ts-jest/issues/2377)) ([d4f6aff](https://togithub.com/kulshekhar/ts-jest/commit/d4f6aff3f181761bf25c64ff1a97dd19a69196f9)), closes [#2368](https://togithub.com/kulshekhar/ts-jest/issues/2368) ### [`v26.5.1`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2651-httpsgithubcomkulshekharts-jestcomparev2650v2651-2021-02-09) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.5.0...v26.5.1) ##### Features - **config:** support typed config options for jest config typescript ([#2336](https://togithub.com/kulshekhar/ts-jest/issues/2336)) ([f4f5d32](https://togithub.com/kulshekhar/ts-jest/commit/f4f5d3205d1c80e545a32c02c6a66e7e91386f7f)) - **presets:** add typing for `presets` entry point ([#2341](https://togithub.com/kulshekhar/ts-jest/issues/2341)) ([e12b004](https://togithub.com/kulshekhar/ts-jest/commit/e12b004dcc5848d5ae0638e885147c54e11cc72b)), closes [#2325](https://togithub.com/kulshekhar/ts-jest/issues/2325) ### [`v26.5.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2650-httpsgithubcomkulshekharts-jestcomparev2650v2644-2021-01-29) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.4.4...v26.5.0) ##### Bug Fixes - reduce size of `node_modules` when adding `ts-jest` ([#2309](https://togithub.com/kulshekhar/ts-jest/issues/2309)) ([6bf2e8a](https://togithub.com/kulshekhar/ts-jest/commit/b8d5d2090567f23947d9efd87f5f869b16bf2e8a)) ##### Features - introduce `exclude` to exclude files from diagnostics ([#2308](https://togithub.com/kulshekhar/ts-jest/issues/2308)) ([cd82fd3](https://togithub.com/kulshekhar/ts-jest/commit/0c555c250774a7fd9e356cf20a3d8b693cd82fd3)) ##### DEPRECATIONS - **config**: deprecate `pathRegex` in favor of `exclude` ([#2308](https://togithub.com/kulshekhar/ts-jest/issues/2308)) ([cd82fd3](https://togithub.com/kulshekhar/ts-jest/commit/0c555c250774a7fd9e356cf20a3d8b693cd82fd3)) ### [`v26.4.4`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2644-httpsgithubcomkulshekharts-jestcomparev2643v2644-2020-11-08) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.4.3...v26.4.4) ##### Bug Fixes - revert usage of `@jest/create-cache-key-function` ([#2108](https://togithub.com/kulshekhar/ts-jest/issues/2108)) ([dee8231](https://togithub.com/kulshekhar/ts-jest/commit/dee823172ce1e8eb9e0b2dd3aeed1ab4033bd0d9)), closes [#2080](https://togithub.com/kulshekhar/ts-jest/issues/2080) [#2090](https://togithub.com/kulshekhar/ts-jest/issues/2090) [#2104](https://togithub.com/kulshekhar/ts-jest/issues/2104) ##### Features - **testing:** expose all types for util `mocked` ([#2096](https://togithub.com/kulshekhar/ts-jest/issues/2096)) ([b1d072b](https://togithub.com/kulshekhar/ts-jest/commit/b1d072b52b9a7665b3a6914b0895f84f6ee3f8c0)), closes [#2086](https://togithub.com/kulshekhar/ts-jest/issues/2086) ### [`v26.4.3`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2643-httpsgithubcomkulshekharts-jestcomparev2642v2643-2020-10-26) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.4.2...v26.4.3) ##### Bug Fixes - **compiler:** only exclude test files when initializing compiler ([#2062](https://togithub.com/kulshekhar/ts-jest/issues/2062)) ([7264c13](https://togithub.com/kulshekhar/ts-jest/commit/7264c137114b6dd895624e3476dd7ec57b64ee13)), closes [#2061](https://togithub.com/kulshekhar/ts-jest/issues/2061), [#2068](https://togithub.com/kulshekhar/ts-jest/issues/2068), [#2072](https://togithub.com/kulshekhar/ts-jest/issues/2072), [#2073](https://togithub.com/kulshekhar/ts-jest/issues/2073) - **config:** resolve `.babelrc` file path before attempting to read it ([#2071](https://togithub.com/kulshekhar/ts-jest/issues/2071)) ([681bfef](https://togithub.com/kulshekhar/ts-jest/commit/681bfef41744f09cd50b71072f4d001cb58da82e)), closes [#2064](https://togithub.com/kulshekhar/ts-jest/issues/2064) ##### Features - **config:** allow to override resolve tsconfig behavior ([#2063](https://togithub.com/kulshekhar/ts-jest/issues/2063)) ([9f46ace](https://togithub.com/kulshekhar/ts-jest/commit/9f46acefceb1fa71ee2e8b3b3c172ceb0544b4c4)) ### [`v26.4.2`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2642-httpsgithubcomkulshekharts-jestcomparev2641v2642-2020-10-23) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.4.1...v26.4.2) ##### Features - **config:** expose several typings as public apis ([#2054](https://togithub.com/kulshekhar/ts-jest/issues/2054)) ([3b6b705](https://togithub.com/kulshekhar/ts-jest/commit/3b6b7055e2b9c74e81fb91596c807ace02ab77a1)) ##### Performance Improvements - **compiler:** speed up bootstrap time for `isolatedModules:false` ([#2055](https://togithub.com/kulshekhar/ts-jest/issues/2055)) ([230b5dd](https://togithub.com/kulshekhar/ts-jest/commit/230b5ddbee55357d25dd190cd45aa8a30d7f31e0)) ##### DEPRECATIONS - **config**: deprecate `tsConfig` in favor of `tsconfig` ([#1997](https://togithub.com/kulshekhar/ts-jest/pull/1997)) - **config**: deprecate `packageJson` since internal codes don't use it anymore ([#2034](https://togithub.com/kulshekhar/ts-jest/pull/2034)) ### [`v26.4.1`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2641-httpsgithubcomkulshekharts-jestcomparev2640v2641-2020-09-29) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.4.0...v26.4.1) ##### Bug Fixes - **utils:** `MaybeMockedConstructor` returns T ([#1976](https://togithub.com/kulshekhar/ts-jest/issues/1976)) ([b7712b2](https://togithub.com/kulshekhar/ts-jest/commit/b7712b2055d8f32dd97999de1d94e8f3515d79e8)) - **utils:** revert `path.join` and add check on prefix ends with `/` ([#1989](https://togithub.com/kulshekhar/ts-jest/issues/1989)) ([3d9035b](https://togithub.com/kulshekhar/ts-jest/commit/3d9035bd70dc087d4c5a943bb2fe2af2d0822875)), closes [#1982](https://togithub.com/kulshekhar/ts-jest/issues/1982) ### [`v26.4.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2640-httpsgithubcomkulshekharts-jestcomparev2630v2640-2020-09-20) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.3.0...v26.4.0) ##### Bug Fixes - **utils:** `pathsToModuleNameMapper` resolve path mapping with `path.join` ([#1969](https://togithub.com/kulshekhar/ts-jest/issues/1969)) ([81fce4c](https://togithub.com/kulshekhar/ts-jest/commit/81fce4c090811a1cc071579a99dc193fb976b117)), closes [#1968](https://togithub.com/kulshekhar/ts-jest/issues/1968) - set minimum `jest-util` version at 26.1.0 ([#1914](https://togithub.com/kulshekhar/ts-jest/issues/1914)) ([f00414c](https://togithub.com/kulshekhar/ts-jest/commit/f00414c6fbf8fc5413fd33d0a271c4a164c50d45)), closes [#1913](https://togithub.com/kulshekhar/ts-jest/issues/1913) ##### Features - **config:** allow custom options in custom transformers ([#1966](https://togithub.com/kulshekhar/ts-jest/issues/1966)) ([1452ce4](https://togithub.com/kulshekhar/ts-jest/commit/1452ce4afcd36049cddd0db0861f1ac26b66f8c1)), closes [#1942](https://togithub.com/kulshekhar/ts-jest/issues/1942) - **transformers:** support hoisting when using `@jest/globals` ([#1937](https://togithub.com/kulshekhar/ts-jest/issues/1937)) ([0e5be15](https://togithub.com/kulshekhar/ts-jest/commit/0e5be1597d755fed11869f67df05eeea54b3106f)), closes [#1593](https://togithub.com/kulshekhar/ts-jest/issues/1593) - **transformers:** add `path-mapping` custom AST transformer ([#1927](https://togithub.com/kulshekhar/ts-jest/issues/1927)) ([3325186](https://togithub.com/kulshekhar/ts-jest/commit/3325186b6e55f41eb9bf7d81e092a358fc402b13)) ##### Performance Improvements - **compiler:** remove `createProgram` for `isolatedModules: true` to boost startup speed ([#1941](https://togithub.com/kulshekhar/ts-jest/issues/1941)) ([dd84534](https://togithub.com/kulshekhar/ts-jest/commit/dd8453401840862186f991e2d514e0d328a67987)) ### [`v26.3.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2630-httpsgithubcomkulshekharts-jestcomparev2620v2630-2020-08-25) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.2.0...v26.3.0) ##### Bug Fixes - **config:** compute cache key without reading `package.json` ([#1893](https://togithub.com/kulshekhar/ts-jest/issues/1893)) ([4875a58](https://togithub.com/kulshekhar/ts-jest/commit/4875a58345666e0407f9f5b3f95049ae2c9d056d)), closes [#1892](https://togithub.com/kulshekhar/ts-jest/issues/1892) ##### Features - support TypeScript 4.0 ([#1889](https://togithub.com/kulshekhar/ts-jest/issues/1889)) ([f070e93](https://togithub.com/kulshekhar/ts-jest/commit/f070e9334a9cf31fa6f0d73b3f69d805be72601d)) ### [`v26.2.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2620-httpsgithubcomkulshekharts-jestcomparev2614v2620-2020-08-11) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.4...v26.2.0) ##### Bug Fixes - move `@types/jest` to dependencies to work well with yarn 2 ([#1859](https://togithub.com/kulshekhar/ts-jest/issues/1859)) ([5eb1389](https://togithub.com/kulshekhar/ts-jest/commit/5eb1389caaa0431e49ae6ca26b18e290208e0a0a)), closes [#1857](https://togithub.com/kulshekhar/ts-jest/issues/1857) ##### Features - **config:** support `after` and `afterDeclarations` AST transformers ([#1831](https://togithub.com/kulshekhar/ts-jest/issues/1831)) ([be20a7c](https://togithub.com/kulshekhar/ts-jest/commit/be20a7c78c97027b33aec178da0f533095790871)) - allow opt-out version warning message by environment variable `TS_JEST_DISABLE_VER_CHECKER` ([#1821](https://togithub.com/kulshekhar/ts-jest/issues/1821)) ([e6b42fc](https://togithub.com/kulshekhar/ts-jest/commit/e6b42fcd7a75c7b14e636a45cda04de18a46908b)), closes [#1774](https://togithub.com/kulshekhar/ts-jest/issues/1774) #### [26.1.4](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.3...v26.1.4) (2020-07-28) ##### Bug Fixes - **compiler:** check if test file exists before doing type check ([#1827](https://togithub.com/kulshekhar/ts-jest/issues/1827)) ([cc89d5b](https://togithub.com/kulshekhar/ts-jest/commit/cc89d5b1f912975cd29114c5b3b0bf18426816da)), closes [#1506](https://togithub.com/kulshekhar/ts-jest/issues/1506) #### [26.1.3](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.2...v26.1.3) (2020-07-16) ##### Bug Fixes - revert [#1793](https://togithub.com/kulshekhar/ts-jest/issues/1793) ([#1804](https://togithub.com/kulshekhar/ts-jest/issues/1804)) ([5095525](https://togithub.com/kulshekhar/ts-jest/commit/5095525333c8579c9c5e7f3149294b31f28d6774)) #### [26.1.2](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.1...v26.1.2) (2020-07-13) ##### Bug Fixes - **compiler:** use `resolveModuleNames` TypeScript API to get resolved modules for test files ([#1784](https://togithub.com/kulshekhar/ts-jest/issues/1784)) ([5f26054](https://togithub.com/kulshekhar/ts-jest/commit/5f2605457e94b548bd7b9b28fc968554f7eefa91)), closes [#1747](https://togithub.com/kulshekhar/ts-jest/issues/1747) - **config:** invalidate cache when other options in `tsconfig` change ([#1788](https://togithub.com/kulshekhar/ts-jest/issues/1788)) ([6948855](https://togithub.com/kulshekhar/ts-jest/commit/69488552eca2846f3fc6ba86ab49d7893caaf521)) ##### Performance Improvements - **compiler:** cache module resolution for `isolatedModules: false` ([#1786](https://togithub.com/kulshekhar/ts-jest/issues/1786)) ([7f731ed](https://togithub.com/kulshekhar/ts-jest/commit/7f731ed8a02755aeb41ecb27df4eaf16db2ddd95)) - **compiler:** use `globsToMatcher` from `jest-util` ([#1754](https://togithub.com/kulshekhar/ts-jest/issues/1754)) ([44f3913](https://togithub.com/kulshekhar/ts-jest/commit/44f3913c2a017734ed87346b1c5fbec639d02062)) #### [26.1.1](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.0...v26.1.1) (2020-06-21) ##### Bug Fixes - **compiler:** generate source map correctly when tsconfig `mapRoot` is set ([#1741](https://togithub.com/kulshekhar/ts-jest/issues/1741)) ([01ac417](https://togithub.com/kulshekhar/ts-jest/commit/01ac417)), closes [#1718](https://togithub.com/kulshekhar/ts-jest/issues/1718) - **config:** show version warning when using ts-jest without babel ([#1729](https://togithub.com/kulshekhar/ts-jest/issues/1729)) ([e512bc0](https://togithub.com/kulshekhar/ts-jest/commit/e512bc0)), fixes [#1678-issuecomment-641930332](https://togithub.com//github.com/kulshekhar/ts-jest/pull/1678/issues/issuecomment-641930332), [#1678-issuecomment-639528993](https://togithub.com//github.com/kulshekhar/ts-jest/pull/1678/issues/issuecomment-639528993) ### [`v26.1.4`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2614-httpsgithubcomkulshekharts-jestcomparev2613v2614-2020-07-28) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.3...v26.1.4) ##### Bug Fixes - **compiler:** check if test file exists before doing type check ([#1827](https://togithub.com/kulshekhar/ts-jest/issues/1827)) ([cc89d5b](https://togithub.com/kulshekhar/ts-jest/commit/cc89d5b1f912975cd29114c5b3b0bf18426816da)), closes [#1506](https://togithub.com/kulshekhar/ts-jest/issues/1506) ### [`v26.1.3`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2613-httpsgithubcomkulshekharts-jestcomparev2612v2613-2020-07-16) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.2...v26.1.3) ##### Bug Fixes - revert [#1793](https://togithub.com/kulshekhar/ts-jest/issues/1793) ([#1804](https://togithub.com/kulshekhar/ts-jest/issues/1804)) ([5095525](https://togithub.com/kulshekhar/ts-jest/commit/5095525333c8579c9c5e7f3149294b31f28d6774)) ### [`v26.1.2`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2612-httpsgithubcomkulshekharts-jestcomparev2611v2612-2020-07-13) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.1...v26.1.2) ##### Bug Fixes - **compiler:** use `resolveModuleNames` TypeScript API to get resolved modules for test files ([#1784](https://togithub.com/kulshekhar/ts-jest/issues/1784)) ([5f26054](https://togithub.com/kulshekhar/ts-jest/commit/5f2605457e94b548bd7b9b28fc968554f7eefa91)), closes [#1747](https://togithub.com/kulshekhar/ts-jest/issues/1747) - **config:** invalidate cache when other options in `tsconfig` change ([#1788](https://togithub.com/kulshekhar/ts-jest/issues/1788)) ([6948855](https://togithub.com/kulshekhar/ts-jest/commit/69488552eca2846f3fc6ba86ab49d7893caaf521)) ##### Performance Improvements - **compiler:** cache module resolution for `isolatedModules: false` ([#1786](https://togithub.com/kulshekhar/ts-jest/issues/1786)) ([7f731ed](https://togithub.com/kulshekhar/ts-jest/commit/7f731ed8a02755aeb41ecb27df4eaf16db2ddd95)) - **compiler:** use `globsToMatcher` from `jest-util` ([#1754](https://togithub.com/kulshekhar/ts-jest/issues/1754)) ([44f3913](https://togithub.com/kulshekhar/ts-jest/commit/44f3913c2a017734ed87346b1c5fbec639d02062)) ### [`v26.1.1`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2611-httpsgithubcomkulshekharts-jestcomparev2610v2611-2020-06-21) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.1.0...v26.1.1) ##### Bug Fixes - **compiler:** generate source map correctly when tsconfig `mapRoot` is set ([#1741](https://togithub.com/kulshekhar/ts-jest/issues/1741)) ([01ac417](https://togithub.com/kulshekhar/ts-jest/commit/01ac417)), closes [#1718](https://togithub.com/kulshekhar/ts-jest/issues/1718) - **config:** show version warning when using ts-jest without babel ([#1729](https://togithub.com/kulshekhar/ts-jest/issues/1729)) ([e512bc0](https://togithub.com/kulshekhar/ts-jest/commit/e512bc0)), fixes [#1678-issuecomment-641930332](https://togithub.com//github.com/kulshekhar/ts-jest/pull/1678/issues/issuecomment-641930332), [#1678-issuecomment-639528993](https://togithub.com//github.com/kulshekhar/ts-jest/pull/1678/issues/issuecomment-639528993) ### [`v26.1.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2610-httpsgithubcomkulshekharts-jestcomparev2600v2610-2020-05-30) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v26.0.0...v26.1.0) ##### Bug Fixes - **typing:** don't mark `BabelConfig` as internal type ([#1667](https://togithub.com/kulshekhar/ts-jest/issues/1667)) ([558c307](https://togithub.com/kulshekhar/ts-jest/commit/558c307)), closes [#1666](https://togithub.com/kulshekhar/ts-jest/issues/1666) ##### Features - **config:** show a warning message when TypeScript `target` version doesn't match with recommended NodeJs version ([#1678](https://togithub.com/kulshekhar/ts-jest/issues/1678)) ([085bdf5](https://togithub.com/kulshekhar/ts-jest/commit/085bdf5)) - **config:** support multiple paths for `pathsToModuleNameMapper` ([#1690](https://togithub.com/kulshekhar/ts-jest/issues/1690)) ([a727bd5](https://togithub.com/kulshekhar/ts-jest/commit/a727bd5)) - support TypeScript 3.9 ([#1653](https://togithub.com/kulshekhar/ts-jest/issues/1653)) ([fc3d5ad](https://togithub.com/kulshekhar/ts-jest/commit/fc3d5ad)) ### [`v26.0.0`](https://togithub.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md#2600-httpsgithubcomkulshekharts-jestcomparev2551v2600-2020-05-15) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v25.5.1...v26.0.0) ##### Bug Fixes - **compiler:** return `undefined` for `getScriptVersion` when a file doesn't exist in memory cache ([#1641](https://togithub.com/kulshekhar/ts-jest/issues/1641)) ([6851b8e](https://togithub.com/kulshekhar/ts-jest/commit/6851b8e)) ##### Features - support Jest v26 ([#1602](https://togithub.com/kulshekhar/ts-jest/issues/1602)) ([23b7741](https://togithub.com/kulshekhar/ts-jest/commit/23b7741)) ##### BREAKING CHANGES - Requires a minimum of TypeScript v3.8 - Drop support for Node 8 #### [25.5.1](https://togithub.com/kulshekhar/ts-jest/compare/v25.5.0...v25.5.1) (2020-05-09) ##### Bug Fixes - **compiler:** don't resolve files from build folder for `projectReferences` ([#1614](https://togithub.com/kulshekhar/ts-jest/issues/1614)) ([74b92d3](https://togithub.com/kulshekhar/ts-jest/commit/74b92d3)) - **config:** don't set `include` value of `tsconfig` to empty array ([#1606](https://togithub.com/kulshekhar/ts-jest/issues/1606)) ([8a29aaa](https://togithub.com/kulshekhar/ts-jest/commit/8a29aaa))Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 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.