Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.0Release Notes
kulshekhar/ts-jest
v29.0.3Compare Source
Bug Fixes
globalswith transformer config correctly (#3842) (9c9fd60), closes #3841Features
useESMoption topathsToModuleNameMapperoptions (#3792) (eabe906)v29.0.2Compare Source
Bug Fixes
ts-jestas optional inConfigGlobals(#3816) (cbb88bb), closes #3815config:initcommand (#3825) (21b94db)v29.0.1Compare Source
Bug Fixes
Features
ts-jestoptions viatransformconfig (#3805) (664b0f2)v29.0.0Compare Source
Features
DEPRECATIONS
ts-jestconfig underglobalsis now deprecated. Please define the config via transformer config instead.BREAKING CHANGES
v28.0.8Compare Source
Bug Fixes
.mtsto be processed (#3713) (effae71), closes #3702v28.0.7Compare Source
Bug Fixes
@jest/typesto be an optional peer dependency (#3690) (8a8c3fa), closes #3689v28.0.6Compare Source
Bug Fixes
diagnostics: false(#3647) (9a9bc02), closes #3638useCaseSensitiveFileNameswherever needed (#3683) (c40bc34), closes #3665@jest/typesas peer dependency (#3633) (24567e1)v28.0.5Compare Source
Bug Fixes
reject(#3618) (7dd01ff), closes #3507v28.0.4Compare Source
Bug Fixes
@types/jestfrom peer deps (#3592) (b66b656)v28.0.3Compare Source
Bug Fixes
json5(#3528) (b31f5ba)v28.0.2Compare Source
Bug Fixes
Array.sortin hoisting transformer (#3498) (e400a6e), closes #3476v28.0.1Compare Source
Bug Fixes
v28.0.0Compare Source
Bug Fixes
processAsyncforbabel-jestin ESM mode instead ofprocess(#3430) (0d7356c)Features
ConfigSetas legacy (#3456) (a986729)TsCompilerandTsJestCompileras legacy (#3457) (0f2fe30)path-mappingAST transformer (#3455) (f566869)mockedtesting util (#3333) (2d9017d)ts-jest/utilssub path export (#3334) (9f253d3)TsJestTransformeras legacy (#3451) (b090179)BREAKING CHANGES
path-mappingAST transformer is no longer shipped ints-jestv28. Please use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead.ts-jest/dist/compiler/ts-compilershould change tots-jest/dist/legacy/compiler/ts-compilerts-jest/dist/compiler/ts-jest-compilershould change tots-jest/dist/legacy/compiler/ts-jest-compilerts-jest/dist/config/config-setshould change tots-jest/dist/legacy/config/config-setTypeScriptversion is now 4.3 since Jest 28 requires it.ts-jest/utilsshould be replaced withts-jest.mockedhas been integrated into Jest repo.27.1.5 (2022-05-17)
Bug Fixes
Array.sortin hoisting transformer (#3498) (e400a6e), fixes #347627.1.4 (2022-03-24)
Bug Fixes
esbuildfrom peer dependency (#3360) (8c8c1ca), closes #3346.cjsextension (#3361) (5e5ac4a), closes #333527.1.3 (2022-01-14)
Bug Fixes
27.1.2 (2021-12-15)
Bug Fixes
esbuildtype to avoid importingesbuilddirectly (#3147) (9ace0a9)27.1.1 (2021-12-07)
Bug Fixes
afterProcesshook (#3132) (2b6b86e)esbuildas optional peer dependency (#3129) (20258de)v27.1.5Compare Source
Bug Fixes
Array.sortin hoisting transformer (#3498) (e400a6e), fixes #3476v27.1.4Compare Source
Bug Fixes
esbuildfrom peer dependency (#3360) (8c8c1ca), closes #3346.cjsextension (#3361) (5e5ac4a), closes #3335v27.1.3Compare Source
Bug Fixes
v27.1.2Compare Source
Bug Fixes
esbuildtype to avoid importingesbuilddirectly (#3147) (9ace0a9)v27.1.1Compare Source
Bug Fixes
afterProcesshook (#3132) (2b6b86e)esbuildas optional peer dependency (#3129) (20258de)v27.1.0Compare Source
Features
processAsyncandgetCacheKeyAsync(#3047) (571a880)ts-jestpublic apis fromindex.js(#3080) (53175dd), closes #3045Code Refactoring
mockedutil function (#3102) (55e69f1)compileroption (#3087) (cc42daf)path-mappingAST transformer (#3088) (d8f6b96)factoryAPI forhoistingAST transformer (#3058) (a72f51d)DEPRECATIONS
path-mappingAST 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.mockedfunction is deprecated and will be removed in v28.0.0. The function has been integrated intojest-mockpackage 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
lodashimport (#2978) (8b60679), closes #297727.0.6 (2021-10-14)
Bug Fixes
lodashpackage instead of full packagelodash(#2959) (dc89fe5), closes #295427.0.5 (2021-08-14)
Bug Fixes
tsConfigoption forts-jestconfig options (#2794) (781710b), closes #2764config:initgenarate invalid type comment (#2773) (ede8a20), closes #2772./in tsconfigpathsforpathsToModuleNameMapper(#2797) (42ff5e4), closes #2709Code Refactoring
Buffer.fromandmkdird(#2774) (4869660)27.0.4 (2021-07-21)
Bug Fixes
@types/jestas optionalpeerDependenciesto solve yarn 2 (#2756) (5fbf43e)babel-jestas optionalpeerDependenciesto solve yarn 2 (#2751) (8bede2e)nameandversioninto cache key (#2755) (310fb9a), closes #2753Features
npx ts-jest:init(#2742) (f51ba05)TS_JESTto allow detecting ofts-jest(#2717) (56c137a), closes #271627.0.3 (2021-06-06)
Bug Fixes
exportsfield to support all node versions (#2658) (132c8ba)Features
27.0.2 (2021-05-30)
Bug Fixes
excludeshould only exclude files which match glob values (#2637) (c5ce979), closes #263427.0.1 (2021-05-26)
Bug Fixes
testMatchif old jest config contains it (#2618) (c568f49), closes #2616isolatedModules: falseuse updated compiler options (#2628) (348e30f), closes #2629presets(#2624) (0ea025e), closes #2623v27.0.7Compare Source
Bug Fixes
lodashimport (#2978) (8b60679), closes #2977v27.0.6Compare Source
Bug Fixes
lodashpackage instead of full packagelodash(#2959) (dc89fe5), closes #2954v27.0.5Compare Source
Bug Fixes
tsConfigoption forts-jestconfig options (#2794) (781710b), closes #2764config:initgenarate invalid type comment (#2773) (ede8a20), closes #2772./in tsconfigpathsforpathsToModuleNameMapper(#2797) (42ff5e4), closes #2709Code Refactoring
Buffer.fromandmkdird(#2774) (4869660)v27.0.4Compare Source
Bug Fixes
@types/jestas optionalpeerDependenciesto solve yarn 2 (#2756) (5fbf43e)babel-jestas optionalpeerDependenciesto solve yarn 2 (#2751) (8bede2e)nameandversioninto cache key (#2755) (310fb9a), closes #2753Features
npx ts-jest:init(#2742) (f51ba05)TS_JESTto allow detecting ofts-jest(#2717) (56c137a), closes #2716v27.0.3Compare Source
Bug Fixes
exportsfield to support all node versions (#2658) (132c8ba)Features
v27.0.2Compare Source
Bug Fixes
excludeshould only exclude files which match glob values (#2637) (c5ce979), closes #2634v27.0.1Compare Source
Bug Fixes
testMatchif old jest config contains it (#2618) (c568f49), closes #2616isolatedModules: falseuse updated compiler options (#2628) (348e30f), closes #2629presets(#2624) (0ea025e), closes #2623v27.0.0Compare Source
Bug Fixes
.ts/.tsx/.d.tsfiles only (#2458) (a89f0e2), closes #2445undefined(#2433) (c6d6e4c), closes #2085@types/jestfrom direct dep (#2409) (8913120), closes #2406 #2411outDirfrom compiler source files (#2375) (ec68c74), closes #2350 #2374tsconfigoption (#2383) (584324a), closes #2368astTransformersvalue changes (#2345) (d726016)node_moduleswhen addingts-jest(#2263) (8e0675c)Features
TsCompileras public api (#2344) (871cd6a)presetsentry point (#2337) (1a3058f)Program(#2299) (387964f)pathRegexwithexclude(#2295) (f2f99c3)jsfiles based oncheckJs(#2283) (1e04433)isolatedModules: false(#2269) (9bb0c05), closes #1709isolatedModule: true(#2219) (e101db0), closes #1709TsJestTransformerto have version checking (#2176) (ca8d7c4)Performance Improvements
isolatedModules: false(#2189) (68f446b)Code Refactoring
astTransformersstring array (#2129) (1e0b2ce)packageJsonoption (#2128) (05916b9)tsConfigoption (#2127) (3cc9b80)BREAKING CHANGES
ts-jestwill usesourceMapoption from yourtsconfig. If users want to have sourcemap on, they need to setsourceMap: trueintsconfig.exportsfield topackage.json, see https://nodejs.org/api/packages.html#packages_package_entry_points (#2467) (d3aba3e)ts-jestcustom AST transformer function signature has changed topathRegexshould useexcludewithglobpatterns.jsfiles, please setcheckJs: truein your tsconfig.isolatedModules: trueandisolatedModule: falsecodes are in one single classTsCompilerwhich is an instance created inTsJestCompilerbased on config optioncompilerwith valuetypescriptorttypescript.packageJsonconfig option is not used in internalts-jestso this option is now removed.jest.config.js/package.jsonshould change toor
jest.config.jsshould change to
mocked,createJestPreset,pathsToModuleNameMapperfrom package entry. One should change totsConfigshould change totsconfigin yourjest.config.jsorpackage.json.26.5.6 (2021-05-05)
Code Refactoring
sourceMap: false(#2557) (cf60990).v26.5.6Compare Source
Code Refactoring
sourceMap: false(#2557) (cf60990).v26.5.5Compare Source
Bug Fixes
v26.5.4Compare Source
Bug Fixes
.ts/.tsx/.d.tsfiles only (#2457) (1dc731a), closes #2445v26.5.3Compare Source
Bug Fixes
@types/jestfrom direct dep (#2416) (060302e), closes #2406 #2411v26.5.2Compare Source
Bug Fixes
outDirfrom compiler source files (#2376) (9034677), closes #2350 #2374matchTestFilePathbeforesetupTsJestCfg(#2373) (c427fea), closes #2371tsconfig/tsConfigoption (#2377) (d4f6aff), closes #2368v26.5.1Compare Source
Features
presetsentry point (#2341) (e12b004), closes #2325v26.5.0Compare Source
Bug Fixes
node_moduleswhen addingts-jest(#2309) (6bf2e8a)Features
excludeto exclude files from diagnostics (#2308) (cd82fd3)DEPRECATIONS
pathRegexin favor ofexclude(#2308) (cd82fd3)v26.4.4Compare Source
Bug Fixes
@jest/create-cache-key-function(#2108) (dee8231), closes #2080 #2090 #2104Features
mocked(#2096) (b1d072b), closes #2086v26.4.3Compare Source
Bug Fixes
.babelrcfile path before attempting to read it (#2071) (681bfef), closes #2064Features
v26.4.2Compare Source
Features
Performance Improvements
isolatedModules:false(#2055) (230b5dd)DEPRECATIONS
tsConfigin favor oftsconfig(#1997)packageJsonsince internal codes don't use it anymore (#2034)v26.4.1Compare Source
Bug Fixes
MaybeMockedConstructorreturns T (#1976) (b7712b2)path.joinand add check on prefix ends with/(#1989) (3d9035b), closes #1982v26.4.0Compare Source
Bug Fixes
pathsToModuleNameMapperresolve path mapping withpath.join(#1969) (81fce4c), closes #1968jest-utilversion at 26.1.0 (#1914) (f00414c), closes #1913Features
@jest/globals(#1937) (0e5be15), closes #1593path-mappingcustom AST transformer (#1927) (3325186)Performance Improvements
createProgramforisolatedModules: trueto boost startup speed (#1941) (dd84534)v26.3.0Compare Source
Bug Fixes
package.json(#1893) (4875a58), closes #1892Features
v26.2.0Compare Source
Bug Fixes
@types/jestto 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.