Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^25.0.0
->^29.0.0
Release Notes
kulshekhar/ts-jest
v29.0.3
Compare Source
Bug Fixes
globals
with transformer config correctly (#3842) (9c9fd60), closes #3841Features
useESM
option topathsToModuleNameMapper
options (#3792) (eabe906)v29.0.2
Compare Source
Bug Fixes
ts-jest
as optional inConfigGlobals
(#3816) (cbb88bb), closes #3815config:init
command (#3825) (21b94db)v29.0.1
Compare Source
Bug Fixes
Features
ts-jest
options viatransform
config (#3805) (664b0f2)v29.0.0
Compare Source
Features
DEPRECATIONS
ts-jest
config underglobals
is now deprecated. Please define the config via transformer config instead.BREAKING CHANGES
v28.0.8
Compare Source
Bug Fixes
.mts
to be processed (#3713) (effae71), closes #3702v28.0.7
Compare Source
Bug Fixes
@jest/types
to be an optional peer dependency (#3690) (8a8c3fa), closes #3689v28.0.6
Compare Source
Bug Fixes
diagnostics: false
(#3647) (9a9bc02), closes #3638useCaseSensitiveFileNames
wherever needed (#3683) (c40bc34), closes #3665@jest/types
as peer dependency (#3633) (24567e1)v28.0.5
Compare Source
Bug Fixes
reject
(#3618) (7dd01ff), closes #3507v28.0.4
Compare Source
Bug Fixes
@types/jest
from peer deps (#3592) (b66b656)v28.0.3
Compare Source
Bug Fixes
json5
(#3528) (b31f5ba)v28.0.2
Compare Source
Bug Fixes
Array.sort
in hoisting transformer (#3498) (e400a6e), closes #3476v28.0.1
Compare Source
Bug Fixes
v28.0.0
Compare Source
Bug Fixes
processAsync
forbabel-jest
in ESM mode instead ofprocess
(#3430) (0d7356c)Features
ConfigSet
as legacy (#3456) (a986729)TsCompiler
andTsJestCompiler
as legacy (#3457) (0f2fe30)path-mapping
AST transformer (#3455) (f566869)mocked
testing util (#3333) (2d9017d)ts-jest/utils
sub path export (#3334) (9f253d3)TsJestTransformer
as legacy (#3451) (b090179)BREAKING CHANGES
path-mapping
AST transformer is no longer shipped ints-jest
v28. Please use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead.ts-jest/dist/compiler/ts-compiler
should change tots-jest/dist/legacy/compiler/ts-compiler
ts-jest/dist/compiler/ts-jest-compiler
should change tots-jest/dist/legacy/compiler/ts-jest-compiler
ts-jest/dist/config/config-set
should change tots-jest/dist/legacy/config/config-set
TypeScript
version is now 4.3 since Jest 28 requires it.ts-jest/utils
should be replaced withts-jest
.mocked
has been integrated into Jest repo.27.1.5 (2022-05-17)
Bug Fixes
Array.sort
in hoisting transformer (#3498) (e400a6e), fixes #347627.1.4 (2022-03-24)
Bug Fixes
esbuild
from peer dependency (#3360) (8c8c1ca), closes #3346.cjs
extension (#3361) (5e5ac4a), closes #333527.1.3 (2022-01-14)
Bug Fixes
27.1.2 (2021-12-15)
Bug Fixes
esbuild
type to avoid importingesbuild
directly (#3147) (9ace0a9)27.1.1 (2021-12-07)
Bug Fixes
afterProcess
hook (#3132) (2b6b86e)esbuild
as optional peer dependency (#3129) (20258de)v27.1.5
Compare Source
Bug Fixes
Array.sort
in hoisting transformer (#3498) (e400a6e), fixes #3476v27.1.4
Compare Source
Bug Fixes
esbuild
from peer dependency (#3360) (8c8c1ca), closes #3346.cjs
extension (#3361) (5e5ac4a), closes #3335v27.1.3
Compare Source
Bug Fixes
v27.1.2
Compare Source
Bug Fixes
esbuild
type to avoid importingesbuild
directly (#3147) (9ace0a9)v27.1.1
Compare Source
Bug Fixes
afterProcess
hook (#3132) (2b6b86e)esbuild
as optional peer dependency (#3129) (20258de)v27.1.0
Compare Source
Features
processAsync
andgetCacheKeyAsync
(#3047) (571a880)ts-jest
public apis fromindex.js
(#3080) (53175dd), closes #3045Code Refactoring
mocked
util function (#3102) (55e69f1)compiler
option (#3087) (cc42daf)path-mapping
AST transformer (#3088) (d8f6b96)factory
API forhoisting
AST transformer (#3058) (a72f51d)DEPRECATIONS
path-mapping
AST transformer is deprecated and will be removed in v28.0.0. One should use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead.mocked
function is deprecated and will be removed in v28.0.0. The function has been integrated intojest-mock
package as a part of Jest 27.4.0, see https://github.com/facebook/jest/pull/12089. One should use the one from Jest instead27.0.7 (2021-10-16)
Bug Fixes
lodash
import (#2978) (8b60679), closes #297727.0.6 (2021-10-14)
Bug Fixes
lodash
package instead of full packagelodash
(#2959) (dc89fe5), closes #295427.0.5 (2021-08-14)
Bug Fixes
tsConfig
option forts-jest
config options (#2794) (781710b), closes #2764config:init
genarate invalid type comment (#2773) (ede8a20), closes #2772./
in tsconfigpaths
forpathsToModuleNameMapper
(#2797) (42ff5e4), closes #2709Code Refactoring
Buffer.from
andmkdird
(#2774) (4869660)27.0.4 (2021-07-21)
Bug Fixes
@types/jest
as optionalpeerDependencies
to solve yarn 2 (#2756) (5fbf43e)babel-jest
as optionalpeerDependencies
to solve yarn 2 (#2751) (8bede2e)name
andversion
into cache key (#2755) (310fb9a), closes #2753Features
npx ts-jest:init
(#2742) (f51ba05)TS_JEST
to allow detecting ofts-jest
(#2717) (56c137a), closes #271627.0.3 (2021-06-06)
Bug Fixes
exports
field to support all node versions (#2658) (132c8ba)Features
27.0.2 (2021-05-30)
Bug Fixes
exclude
should only exclude files which match glob values (#2637) (c5ce979), closes #263427.0.1 (2021-05-26)
Bug Fixes
testMatch
if old jest config contains it (#2618) (c568f49), closes #2616isolatedModules: false
use updated compiler options (#2628) (348e30f), closes #2629presets
(#2624) (0ea025e), closes #2623v27.0.7
Compare Source
Bug Fixes
lodash
import (#2978) (8b60679), closes #2977v27.0.6
Compare Source
Bug Fixes
lodash
package instead of full packagelodash
(#2959) (dc89fe5), closes #2954v27.0.5
Compare Source
Bug Fixes
tsConfig
option forts-jest
config options (#2794) (781710b), closes #2764config:init
genarate invalid type comment (#2773) (ede8a20), closes #2772./
in tsconfigpaths
forpathsToModuleNameMapper
(#2797) (42ff5e4), closes #2709Code Refactoring
Buffer.from
andmkdird
(#2774) (4869660)v27.0.4
Compare Source
Bug Fixes
@types/jest
as optionalpeerDependencies
to solve yarn 2 (#2756) (5fbf43e)babel-jest
as optionalpeerDependencies
to solve yarn 2 (#2751) (8bede2e)name
andversion
into cache key (#2755) (310fb9a), closes #2753Features
npx ts-jest:init
(#2742) (f51ba05)TS_JEST
to allow detecting ofts-jest
(#2717) (56c137a), closes #2716v27.0.3
Compare Source
Bug Fixes
exports
field to support all node versions (#2658) (132c8ba)Features
v27.0.2
Compare Source
Bug Fixes
exclude
should only exclude files which match glob values (#2637) (c5ce979), closes #2634v27.0.1
Compare Source
Bug Fixes
testMatch
if old jest config contains it (#2618) (c568f49), closes #2616isolatedModules: false
use updated compiler options (#2628) (348e30f), closes #2629presets
(#2624) (0ea025e), closes #2623v27.0.0
Compare Source
Bug Fixes
.ts
/.tsx
/.d.ts
files only (#2458) (a89f0e2), closes #2445undefined
(#2433) (c6d6e4c), closes #2085@types/jest
from direct dep (#2409) (8913120), closes #2406 #2411outDir
from compiler source files (#2375) (ec68c74), closes #2350 #2374tsconfig
option (#2383) (584324a), closes #2368astTransformers
value changes (#2345) (d726016)node_modules
when addingts-jest
(#2263) (8e0675c)Features
TsCompiler
as public api (#2344) (871cd6a)presets
entry point (#2337) (1a3058f)Program
(#2299) (387964f)pathRegex
withexclude
(#2295) (f2f99c3)js
files based oncheckJs
(#2283) (1e04433)isolatedModules: false
(#2269) (9bb0c05), closes #1709isolatedModule: true
(#2219) (e101db0), closes #1709TsJestTransformer
to have version checking (#2176) (ca8d7c4)Performance Improvements
isolatedModules: false
(#2189) (68f446b)Code Refactoring
astTransformers
string array (#2129) (1e0b2ce)packageJson
option (#2128) (05916b9)tsConfig
option (#2127) (3cc9b80)BREAKING CHANGES
ts-jest
will usesourceMap
option from yourtsconfig
. If users want to have sourcemap on, they need to setsourceMap: true
intsconfig
.exports
field topackage.json
, see https://nodejs.org/api/packages.html#packages_package_entry_points (#2467) (d3aba3e)ts-jest
custom AST transformer function signature has changed topathRegex
should useexclude
withglob
patterns.js
files, please setcheckJs: true
in your tsconfig.isolatedModules: true
andisolatedModule: false
codes are in one single classTsCompiler
which is an instance created inTsJestCompiler
based on config optioncompiler
with valuetypescript
orttypescript
.packageJson
config option is not used in internalts-jest
so this option is now removed.jest.config.js
/package.json
should change toor
jest.config.js
should change to
mocked
,createJestPreset
,pathsToModuleNameMapper
from package entry. One should change totsConfig
should change totsconfig
in yourjest.config.js
orpackage.json
.26.5.6 (2021-05-05)
Code Refactoring
sourceMap: false
(#2557) (cf60990).v26.5.6
Compare Source
Code Refactoring
sourceMap: false
(#2557) (cf60990).v26.5.5
Compare Source
Bug Fixes
v26.5.4
Compare Source
Bug Fixes
.ts
/.tsx
/.d.ts
files only (#2457) (1dc731a), closes #2445v26.5.3
Compare Source
Bug Fixes
@types/jest
from direct dep (#2416) (060302e), closes #2406 #2411v26.5.2
Compare Source
Bug Fixes
outDir
from compiler source files (#2376) (9034677), closes #2350 #2374matchTestFilePath
beforesetupTsJestCfg
(#2373) (c427fea), closes #2371tsconfig
/tsConfig
option (#2377) (d4f6aff), closes #2368v26.5.1
Compare Source
Features
presets
entry point (#2341) (e12b004), closes #2325v26.5.0
Compare Source
Bug Fixes
node_modules
when addingts-jest
(#2309) (6bf2e8a)Features
exclude
to exclude files from diagnostics (#2308) (cd82fd3)DEPRECATIONS
pathRegex
in favor ofexclude
(#2308) (cd82fd3)v26.4.4
Compare Source
Bug Fixes
@jest/create-cache-key-function
(#2108) (dee8231), closes #2080 #2090 #2104Features
mocked
(#2096) (b1d072b), closes #2086v26.4.3
Compare Source
Bug Fixes
.babelrc
file path before attempting to read it (#2071) (681bfef), closes #2064Features
v26.4.2
Compare Source
Features
Performance Improvements
isolatedModules:false
(#2055) (230b5dd)DEPRECATIONS
tsConfig
in favor oftsconfig
(#1997)packageJson
since internal codes don't use it anymore (#2034)v26.4.1
Compare Source
Bug Fixes
MaybeMockedConstructor
returns T (#1976) (b7712b2)path.join
and add check on prefix ends with/
(#1989) (3d9035b), closes #1982v26.4.0
Compare Source
Bug Fixes
pathsToModuleNameMapper
resolve path mapping withpath.join
(#1969) (81fce4c), closes #1968jest-util
version at 26.1.0 (#1914) (f00414c), closes #1913Features
@jest/globals
(#1937) (0e5be15), closes #1593path-mapping
custom AST transformer (#1927) (3325186)Performance Improvements
createProgram
forisolatedModules: true
to boost startup speed (#1941) (dd84534)v26.3.0
Compare Source
Bug Fixes
package.json
(#1893) (4875a58), closes #1892Features
v26.2.0
Compare Source
Bug Fixes
@types/jest
to dependencies to work well with yarn 2 (#1859) (5eb1389), closesConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 Renovate Bot.