Add semantic token highlighting for 'that' variable and comment file references in VS Code extension Add Phone_Text_Input and Currency_Input components with formatting utilities Implement client widgets, form standardization, and soft delete functionality Add modal scroll lock and update documentation Implement comprehensive modal system with form integration and validation Fix modal component instantiation using jQuery plugin API Implement modal system with responsive sizing, queuing, and validation support Implement form submission with validation, error handling, and loading states Implement country/state selectors with dynamic data loading and Bootstrap styling Revert Rsx::Route() highlighting in Blade/PHP files Target specific PHP scopes for Rsx::Route() highlighting in Blade Expand injection selector for Rsx::Route() highlighting Add custom syntax highlighting for Rsx::Route() and Rsx.Route() calls Update jqhtml packages to v2.2.165 Add bundle path validation for common mistakes (development mode only) Create Ajax_Select_Input widget and Rsx_Reference_Data controller Create Country_Select_Input widget with default country support Initialize Tom Select on Select_Input widgets Add Tom Select bundle for enhanced select dropdowns Implement ISO 3166 geographic data system for country/region selection Implement widget-based form system with disabled state support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
102 KiB
Executable File
102 KiB
Executable File
29.4.5 (2025-10-10)
Bug Fixes
29.4.4 (2025-09-19)
Bug Fixes
29.4.3 (2025-09-17)
Bug Fixes
29.4.2 (2025-09-15)
Bug Fixes
29.4.1 (2025-08-03)
Bug Fixes
29.4.0 (2025-06-11)
Features
- feat: support Jest 30 (84e093e)
29.3.4 (2025-05-16)
Bug Fixes
- fix: fix
TsJestTransformerOptionstype (3b11e29), closes #4247 - fix(cli): fix wrong path for preset creator fns (249eb2c)
- fix(config): disable
rewriteRelativeImportExtensionsalways (9b1f472), closes #4855
29.3.3 (2025-05-14)
Bug Fixes
- fix(cli): init config with preset creator functions (cdd3039), closes #4840
- fix(config): disable
isolatedDeclarations(5d6b35f), closes #4847
29.3.2 (2025-04-12)
Bug Fixes
29.3.1 (2025-03-31)
Bug Fixes
- fix: allow
isolatedModulesmode to havets.ProgramunderNode16/Next(25157eb) - fix: improve message for
isolatedModulesofts-jestconfig (547eb6f)
29.3.0 (2025-03-21)
Features
- feat: support hybrid
modulevalues forisolatedModules: true(f372121)
Bug Fixes
Code Refactoring
- refactor: remove manual version checker (89458fc)
- refactor: remove patching deps based on version checker (bac4c43)
- refactor: deprecate
RawCompilerOptionsinterface (2b1b6cd) - refactor: deprecate transform option
isolatedModules(7dfef71)
DEPRECATIONS
RawCompilerOptionsis deprecated in favor ofTsConfigJson.CompilerOptionsfromtype-festisolatedModulestransform option is deprecated in favor of https://www.typescriptlang.org/tsconfig/#isolatedModules
29.2.6 (2025-02-22)
Bug Fixes
- fix: escape dot for
JS_TRANSFORM_PATTERNregex (8c91c60) - fix: escape dot for
TS_JS_TRANSFORM_PATTERNregex (3eea850) - fix: escape dot for
TS_TRANSFORM_PATTERNregex (80d3e4d), closes #4579
29.2.5 (2024-08-23)
Bug Fixes
- build: build package with
NodeNextmodule (9b3ade5) - fix: set value
ts/tsxextensionsToTreatAsEsmin default esm preset (d9ff362) - fix(compiler): fallback to
NodeJSmodule resolution for ts 4.8 (b7d3409), closes #4499
29.2.4 (2024-08-01)
Bug Fixes
29.2.3 (2024-07-18)
Security Fixes
- build(deps): Update dependency ejs to ^3.1.10 (de94a56)
Code Refactoring
- refactor(presets): maintain preset codes inside
src(8474fc2)
29.2.2 (2024-07-10)
Bug Fixes
29.2.1 (2024-07-10)
Bug Fixes
- fix: move
ejstodepinstead ofpeerDep(26e31a7) - fix: set
allowSyntheticDefaultImportsproperly (ff4b302), closes #4156 - fix(compiler): support
Node16/NodeNextvalue fortarget(2f5cc0c), closes #4198
29.2.0 (2024-07-08)
Bug Fixes
Features
- feat(cli): allow migrating cjs
presetstotransformconfig (22fb027) - feat(presets): add util functions to create ESM presets (06f78ed), close #4200
- feat(presets): add util functions to create CJS presets (f9cc3c0), close #4200
Code refactoring
- refactor: replace lodash deps with native js implementation (40f1708)
- refactor: use
TsJestTransformerOptionstype everywhere possibly (7d001be) - refactor(cli): use new preset util functions to initialize test config (c2b56ca)
- refactor(presets): use create preset util functions for cjs presets (922d6d0)
- test: switch
react-appto use Vite (827c8ad)
DEPRECATIONS
- refactor(cli): deprecate cli option
babel(9617029). Please use CLI argument--js babelinstead. createJestPresetis deprecated. Please check documentation at https://kulshekhar.github.io/ts-jest/docs/getting-started/presets to see alternative solutions.
29.1.5 (2024-06-16)
Bug Fixes
29.1.4 (2024-05-28)
Bug Fixes
Features
29.1.3 (2024-05-21)
Bug Fixes
Performance Improvements
- remove ts resolved module cache file (4c88da5)
29.1.2 (2024-01-22)
Bug Fixes
- calculated cache key based on
supportsStaticESM(a5d6f2d) - correct error handling in
processAsync(e7be4bf), closes #4207 - use
Config.ProjectConfig(918312b), closes #4028
29.1.1 (2023-06-23)
Security Fixes
- bump
semverto7.5.3
29.1.0 (2023-03-26)
Features
29.0.5 (2023-01-13)
Reverts
- Revert "fix(transformer): don't use cache when
tsJestConfigis different (#3966)" (185eb18), closes #3966
29.0.4 (2023-01-10)
Bug Fixes
- transformer: don't use cache when
tsJestConfigis different (#3966) (a445638) - bump
json5to2.2.3(#3976)(b9f7809)
29.0.3 (2022-09-28)
Bug Fixes
- merge config from
globalswith transformer config correctly (#3842) (9c9fd60), closes #3841 - presets: allow merging transform config when using presets (#3833) (afc6a94)
Features
29.0.2 (2022-09-23)
Bug Fixes
- mark
ts-jestas optional inConfigGlobals(#3816) (cbb88bb), closes #3815 - use correct typings for
config:initcommand (#3825) (21b94db)
29.0.1 (2022-09-13)
Bug Fixes
Features
29.0.0 (2022-09-08)
Features
- drop Node 12 and Node 17 support (#3787) (0f1de16)
- migrate globals config to transformer config (#3780) (31e5843)
- support Jest 29 (#3767) (94b553b)
DEPRECATIONS
- Define
ts-jestconfig underglobalsis now deprecated. Please define the config via transformer config instead.
BREAKING CHANGES
- Only Node 14, 16 and 18 are supported
- Jest 29 is required.
29.0.0-next.1 (2022-09-02)
Features
- drop Node 12 and Node 17 support (#3787) (0f1de16)
- migrate globals config to transformer config (#3780) (31e5843)
DEPRECATIONS
- Define
ts-jestconfig underglobalsis now deprecated. Please define the config via transformer config instead.
BREAKING CHANGES
- Only Node 14, 16 and 18 are supported
29.0.0-next.0 (2022-08-28)
Features
BREAKING CHANGES
- Jest 29 is required.
28.0.8 (2022-08-14)
Bug Fixes
28.0.7 (2022-07-15)
Bug Fixes
28.0.6 (2022-07-13)
Bug Fixes
- config: don't show diagnostics warning with
diagnostics: false(#3647) (9a9bc02), closes #3638 - legacy: add
useCaseSensitiveFileNameswherever needed (#3683) (c40bc34), closes #3665 - set
@jest/typesas peer dependency (#3633) (24567e1)
28.0.5 (2022-06-11)
Bug Fixes
28.0.4 (2022-06-02)
Bug Fixes
28.0.3 (2022-05-23)
Bug Fixes
28.0.2 (2022-05-07)
Bug Fixes
28.0.1 (2022-05-03)
Bug Fixes
28.0.0 (2022-05-02)
Bug Fixes
Features
- presets: add presets for legacy mode (#3465) (543b4ad)
- mark
ConfigSetas legacy (#3456) (a986729) - mark
TsCompilerandTsJestCompileras legacy (#3457) (0f2fe30) - remove
path-mappingAST transformer (#3455) (f566869) - set Jest peer dependencies to v28 (#3454) (1e880ff)
- core: drop support for Node.js 10 (#3332) (7a9aa61)
- core: remove
mockedtesting util (#3333) (2d9017d) - core: remove
ts-jest/utilssub path export (#3334) (9f253d3) - mark
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.- Any imports
ts-jest/dist/compiler/ts-compilershould change tots-jest/dist/legacy/compiler/ts-compiler - Any imports
ts-jest/dist/compiler/ts-jest-compilershould change tots-jest/dist/legacy/compiler/ts-jest-compiler - Any imports
ts-jest/dist/config/config-setshould change tots-jest/dist/legacy/config/config-set - Minimum support
TypeScriptversion is now 4.3 since Jest 28 requires it. - Jest 28 is required.
- core: Any imports
ts-jest/utilsshould be replaced withts-jest. - core: Starting from Jest 27.4,
mockedhas been integrated into Jest repo. - core: Support for Node.js v10 has been removed as Jest drops support for it.
27.1.5 (2022-05-17)
Bug Fixes
27.1.4 (2022-03-24)
Bug Fixes
- compiler: revert #3194 (#3362) (2b7dffe), closes #3272
- remove
esbuildfrom peer dependency (#3360) (8c8c1ca), closes #3346 - support Babel config file with
.cjsextension (#3361) (5e5ac4a), closes #3335
27.1.3 (2022-01-14)
Bug Fixes
27.1.2 (2021-12-15)
Bug Fixes
27.1.1 (2021-12-07)
Bug Fixes
- bring back
afterProcesshook (#3132) (2b6b86e) - make
esbuildas optional peer dependency (#3129) (20258de)
27.1.0 (2021-11-30)
Features
- allow subclasses to extend
processAsyncandgetCacheKeyAsync(#3047) (571a880) - config: support custom AST transformers written in TypeScript (#3063) (340a305), closes #2831
- export
ts-jestpublic apis fromindex.js(#3080) (53175dd), closes #3045
Code Refactoring
- utils: deprecate
mockedutil function (#3102) (55e69f1) - define clear type for
compileroption (#3087) (cc42daf) - transformers: deprecate
path-mappingAST transformer (#3088) (d8f6b96) - transformers: use ts
factoryAPI forhoistingAST transformer (#3058) (a72f51d)
DEPRECATIONS
- transformers:
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. - utils:
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 instead
27.0.7 (2021-10-16)
Bug Fixes
27.0.6 (2021-10-14)
Bug Fixes
27.0.5 (2021-08-14)
Bug Fixes
- cli: add migration
tsConfigoption forts-jestconfig options (#2794) (781710b), closes #2764 - cli: fix
config:initgenarate invalid type comment (#2773) (ede8a20), closes #2772 - config: handle
./in tsconfigpathsforpathsToModuleNameMapper(#2797) (42ff5e4), closes #2709
Code Refactoring
27.0.4 (2021-07-21)
Bug Fixes
- add
@types/jestas optionalpeerDependenciesto solve yarn 2 (#2756) (5fbf43e) - add
babel-jestas optionalpeerDependenciesto solve yarn 2 (#2751) (8bede2e) - config: include AST transformer's
nameandversioninto cache key (#2755) (310fb9a), closes #2753
Features
- link jest config types on
npx ts-jest:init(#2742) (f51ba05) - set env var
TS_JESTto allow detecting ofts-jest(#2717) (56c137a), closes #2716
27.0.3 (2021-06-06)
Bug Fixes
Features
27.0.2 (2021-05-30)
Bug Fixes
- compiler: add empty string file content to compiler cache (#2633) (0feb556), closes #2625
- config:
excludeshould only exclude files which match glob values (#2637) (c5ce979), closes #2634
27.0.1 (2021-05-26)
Bug Fixes
- cli: keep
testMatchif old jest config contains it (#2618) (c568f49), closes #2616 - compiler: make sure
isolatedModules: falseuse updated compiler options (#2628) (348e30f), closes #2629 - add missing export
presets(#2624) (0ea025e), closes #2623
27.0.0 (2021-05-25)
Bug Fixes
- compiler: return file content on emitSkipped for non ts/tsx files (#2519) (a4e5640), closes #2513
- compiler: retype check other files if processing file is used by those ones in watch mode (#2481) (ac8f3d0), closes #943
- compiler: initialize compiler with
.ts/.tsx/.d.tsfiles only (#2458) (a89f0e2), closes #2445 - compiler: resolve nested imported modules for each processing file (#2436) (3cb9019), closes #1390 #1747
- config: create fallback jest config when jest config is
undefined(#2433) (c6d6e4c), closes #2085 - remove
@types/jestfrom direct dep (#2409) (8913120), closes #2406 #2411 - compiler: return original file content and show warning on emit skip (#2410) (c2b2164), closes #2407
- compiler: type check correctly in watch mode when a file content itself has changed (#2405) (064bf3a), closes #2118
- compiler: exclude files in
outDirfrom compiler source files (#2375) (ec68c74), closes #2350 #2374 - config: cache config and compiler correctly between runs (#2356) (5f91336)
- config: improve emit skipped error message (#2358) (2ae8df4), closes #2350
- typings: set correct typing for
tsconfigoption (#2383) (584324a), closes #2368 - config: invalidate Jest transform cache when
astTransformersvalue changes (#2345) (d726016) - reduce size of
node_moduleswhen addingts-jest(#2263) (8e0675c)
Features
- config: allow disable sourcemap (#2544) (47da6ad)
- compiler: expose
TsCompileras public api (#2344) (871cd6a) - config: support typed config options for jest config typescript (#2335) (3cfc37b)
- presets: add typing for
presetsentry point (#2337) (1a3058f) - compiler: allow custom transformers to access internal
Program(#2299) (387964f) - config: replace
pathRegexwithexclude(#2295) (f2f99c3) - config: type checking
jsfiles based oncheckJs(#2283) (1e04433) - compiler: support ESM for
isolatedModules: false(#2269) (9bb0c05), closes #1709 - compiler: support ESM for
isolatedModule: true(#2219) (e101db0), closes #1709 - presets: add 3 new presets to work with ESM (#2207) (c277858)
- allow subclasses of
TsJestTransformerto have version checking (#2176) (ca8d7c4)
Performance Improvements
Code Refactoring
- config: remove support for
astTransformersstring array (#2129) (1e0b2ce) - config: remove support for
packageJsonoption (#2128) (05916b9) - move jest transformer class to package entry (#2122) (5bbfd06)
- config: remove support for
tsConfigoption (#2127) (3cc9b80)
BREAKING CHANGES
- By default,
ts-jestwill usesourceMapoption from yourtsconfig. If users want to have sourcemap on, they need to setsourceMap: trueintsconfig. - follow Jest support Node engines (#2478) (1fecf7f)
- add
exportsfield topackage.json, see https://nodejs.org/api/packages.html#packages_package_entry_points (#2467) (d3aba3e) ts-jestcustom AST transformer function signature has changed to
import type { TsCompilerInstance } from 'ts-jest/dist/types'
export function factory(compilerInstance: TsCompilerInstance) {
//...
}
- One is currently using
pathRegexshould useexcludewithglobpatterns. - If one currently relies on type check for
jsfiles, please setcheckJs: truein your tsconfig. - Now both
isolatedModules: trueandisolatedModule: falsecodes are in one single classTsCompilerwhich is an instance created inTsJestCompilerbased on config optioncompilerwith valuetypescriptorttypescript. - config:
packageJsonconfig option is not used in internalts-jestso this option is now removed. - config: One is defining ast transformers in
jest.config.js/package.jsonshould 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,pathsToModuleNameMapperfrom package entry. One should change to
import { mocked, createJestPreset, pathsToModuleNameMapper } from 'ts-jest/utils'
- config: One currently uses
tsConfigshould change totsconfigin yourjest.config.jsorpackage.json.
26.5.6 (2021-05-05)
Code Refactoring
27.0.0-next.12 (2021-05-05)
Features
BREAKING CHANGES
- By default,
ts-jestwill usesourceMapoption from yourtsconfig. If users want to have sourcemap on, they need to either removesourceMapor setsourceMap: trueintsconfig
26.5.5 (2021-04-15)
Bug Fixes
27.0.0-next.11 (2021-04-15)
Bug Fixes
27.0.0-next.10 (2021-03-30)
Bug Fixes
- compiler: retype check other files if processing file is used by those ones in watch mode (#2481) (ac8f3d0), closes #943
BREAKING CHANGES
- follow Jest node engines (#2478) (1fecf7f)
- add
exportsfield topackage.json, see https://nodejs.org/api/packages.html#packages_package_entry_points (#2467) (d3aba3e)
27.0.0-next.9 (2021-03-19)
Bug Fixes
26.5.4 (2021-03-17)
Bug Fixes
27.0.0-next.8 (2021-03-11)
Bug Fixes
- compiler: resolve nested imported modules for each processing file (#2436) (3cb9019), closes #1390 #1747
- config: create fallback jest config when jest config is
undefined(#2433) (c6d6e4c), closes #2085 - remove
@types/jestfrom direct dep (#2409) (8913120), closes #2406 #2411 - compiler: return original file content and show warning on emit skip (#2410) (c2b2164), closes #2407
- compiler: type check correctly in watch mode when a file content itself has changed (#2405) (064bf3a), closes #2118
26.5.3 (2021-03-03)
Bug Fixes
- config: create fallback jest config when jest config is undefined (#2421) (0fb6b45), closes #2085
- remove
@types/jestfrom direct dep (#2416) (060302e), closes #2406 #2411 - compiler: return original file content on emit skip (#2408) (cfba8f4), closes #2407
27.0.0-next.7 (2021-02-24)
Bug Fixes
- compiler: exclude files in
outDirfrom compiler source files (#2375) (ec68c74), closes #2350 #2374 - config: cache config and compiler correctly between runs (#2356) (5f91336)
- config: improve emit skipped error message (#2358) (2ae8df4), closes #2350
- typings: set correct typing for
tsconfigoption (#2383) (584324a), closes #2368
26.5.2 (2021-02-21)
Bug Fixes
- compiler: exclude files in
outDirfrom compiler source files (#2376) (9034677), closes #2350 #2374 - config: define
matchTestFilePathbeforesetupTsJestCfg(#2373) (c427fea), closes #2371 - config: improve emit skipped error message (#2357) (f2808bb)
- typings: set correct typing for
tsconfig/tsConfigoption (#2377) (d4f6aff), closes #2368
27.0.0-next.6 (2021-02-11)
Bug Fixes
Features
- compiler: expose
TsCompileras public api (#2344) (871cd6a) - config: support typed config options for jest config typescript (#2335) (3cfc37b)
- presets: add typing for
presetsentry point (#2337) (1a3058f)
26.5.1 (2021-02-09)
Features
- config: support typed config options for jest config typescript (#2336) (f4f5d32)
- presets: add typing for
presetsentry point (#2341) (e12b004), closes #2325
27.0.0-next.5 (2021-02-04)
Features
BREAKING CHANGES
ts-jest custom AST transformer function signature has changed to
import type { TsCompilerInstance } from 'ts-jest/dist/types'
export function factory(compilerInstance: TsCompilerInstance) {
//...
}
26.5.0 (2021-01-29)
Bug Fixes
Features
DEPRECATIONS
27.0.0-next.4 (2021-01-22)
Features
- config: replace
pathRegexwithexclude(#2295) (f2f99c3) - config: type checking
jsfiles based oncheckJs(#2283) (1e04433)
BREAKING CHANGES
- One is currently using
pathRegexshould useexcludewith Glob patterns. - If one currently relies on type check for
jsfiles, please setcheckJs: truein your tsconfig
27.0.0-next.3 (2021-01-14)
Bug Fixes
Features
27.0.0-next.2 (2020-12-17)
Bug Fixes
Features
- compiler: allow
isolatedModule: trueto have ESM support (#2219) (e101db0), closes #1709 - presets: add 3 new presets to work with ESM (#2207) (c277858)
- allow subclasses of
TsJestTransformerto have version checking (#2176) (ca8d7c4) - support jest 27 (#2171) (9909b9d)
Performance Improvements
27.0.0-alpha.1 (2020-11-26)
BREAKING CHANGES
- Now both
isolatedModules: trueandisolatedModule: falsecodes are in one single classTsCompilerwhich is an instance created inTsJestCompilerbased on config optioncompilerwith valuetypescriptorttypescript.
27.0.0-alpha.0 (2020-11-11)
Code Refactoring
- config: remove support for
astTransformersstring array (#2129) (1e0b2ce) - config: remove support for
packageJsonoption (#2128) (05916b9) - move jest transformer class to package entry (#2122) (5bbfd06)
- config: remove support for
tsConfigoption (#2127) (3cc9b80)
BREAKING CHANGES
- config:
packageJsonconfig option is not used in internalts-jestso this option is now removed - config: One is defining ast transformers in
jest.config.js/package.jsonshould 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,pathsToModuleNameMapperfrom package entry. One should change to
import { mocked, createJestPreset, pathsToModuleNameMapper` } from 'ts-jest/utils'
- config: One currently uses
tsConfigshould change totsconfigin yourjest.config.jsorpackage.json
26.4.4 (2020-11-08)
Bug Fixes
Features
26.4.3 (2020-10-26)
Bug Fixes
- compiler: only exclude test files when initializing compiler (#2062) (7264c13), closes #2061, #2068, #2072, #2073
- config: resolve
.babelrcfile path before attempting to read it (#2071) (681bfef), closes #2064
Features
26.4.2 (2020-10-23)
Features
Performance Improvements
DEPRECATIONS
- config: deprecate
tsConfigin favor oftsconfig(#1997) - config: deprecate
packageJsonsince internal codes don't use it anymore (#2034)
26.4.1 (2020-09-29)
Bug Fixes
- utils:
MaybeMockedConstructorreturns T (#1976) (b7712b2) - utils: revert
path.joinand add check on prefix ends with/(#1989) (3d9035b), closes #1982
26.4.0 (2020-09-20)
Bug Fixes
- utils:
pathsToModuleNameMapperresolve path mapping withpath.join(#1969) (81fce4c), closes #1968 - set minimum
jest-utilversion at 26.1.0 (#1914) (f00414c), closes #1913
Features
- config: allow custom options in custom transformers (#1966) (1452ce4), closes #1942
- transformers: support hoisting when using
@jest/globals(#1937) (0e5be15), closes #1593 - transformers: add
path-mappingcustom AST transformer (#1927) (3325186)
Performance Improvements
26.3.0 (2020-08-25)
Bug Fixes
Features
26.2.0 (2020-08-11)
Bug Fixes
Features
- config: support
afterandafterDeclarationsAST transformers (#1831) (be20a7c) - allow opt-out version warning message by environment variable
TS_JEST_DISABLE_VER_CHECKER(#1821) (e6b42fc), closes #1774
26.1.4 (2020-07-28)
Bug Fixes
26.1.3 (2020-07-16)
Bug Fixes
26.1.2 (2020-07-13)
Bug Fixes
- compiler: use
resolveModuleNamesTypeScript API to get resolved modules for test files (#1784) (5f26054), closes #1747 - config: invalidate cache when other options in
tsconfigchange (#1788) (6948855)
Performance Improvements
- compiler: cache module resolution for
isolatedModules: false(#1786) (7f731ed) - compiler: use
globsToMatcherfromjest-util(#1754) (44f3913)
26.1.1 (2020-06-21)
Bug Fixes
- compiler: generate source map correctly when tsconfig
mapRootis set (#1741) (01ac417), closes #1718 - config: show version warning when using ts-jest without babel (#1729) (e512bc0), fixes #1678-issuecomment-641930332, #1678-issuecomment-639528993
26.1.0 (2020-05-30)
Bug Fixes
Features
- config: show a warning message when TypeScript
targetversion doesn't match with recommended NodeJs version (#1678) (085bdf5) - config: support multiple paths for
pathsToModuleNameMapper(#1690) (a727bd5) - support TypeScript 3.9 (#1653) (fc3d5ad)
26.0.0 (2020-05-15)
Bug Fixes
- compiler: return
undefinedforgetScriptVersionwhen a file doesn't exist in memory cache (#1641) (6851b8e)
Features
BREAKING CHANGES
- Requires a minimum of TypeScript v3.8
- Drop support for Node 8
25.5.1 (2020-05-09)
Bug Fixes
- compiler: don't resolve files from build folder for
projectReferences(#1614) (74b92d3) - config: don't set
includevalue oftsconfigto empty array (#1606) (8a29aaa)
25.5.0 (2020-05-05)
Bug Fixes
- compiler: make
projectReferenceswork withisolatedModules: false(#1541) (3e8efbe) - compiler: allow using
filesprovided bytsconfig(#1562) (a9f02bd) - config: verify
testMatchPatternscontain RegExp instance or string type values (#1569) (7f85bab)
Features
- config: add
tsconfigalias totsConfigoption (#1565) (c10eb6d) - config: define 'ts-jest' on
ConfigGlobalsinterface of@jest/types(#1592) (4526392)
Performance Improvements
- compiler: don’t write compile output to file system but rely on jest cache (#1561) (d11a4ea)
- compiler: improve performance for
isolatedModules: false(#1558) (85c09e3)
BREAKING CHANGES
- Any custom typing files or files which are needed to be compiled and intended to use with
jestneed to be defined infilesoption oftsconfig.
For example:
// tsconfig.json
{
// ...other configs
"files": [
"my-custom-typings.d.ts",
"my-global-module.ts"
]
}
- compiler:
incrementalandcompilerHostoptions are no longer available. Please remove it from yourts-jestconfig.
25.5.0-beta.0 (2020-04-29)
Bug Fixes
- compiler: allow using
filesprovided bytsconfig(#1562) (907a280) - config: verify
testMatchPatternscontainRegExpinstance orstringtype values (#1569) (7f85bab)
Features
Performance Improvements
BREAKING CHANGES
- Any custom typing files or files which are needed to be compiled and intended to use with
jestneed to be defined infilesoption oftsconfig.
For example
// tsconfig.json
{
// ...other configs
"files": [
"my-custom-typings.d.ts".
"my-global-module.ts"
]
}
25.5.0-alpha.0 (2020-04-22)
Bug Fixes
Performance
BREAKING CHANGES
- config:
compilerHostandincrementaloptions are no longer available
25.4.0 (2020-04-17)
Bug Fixes
- compiler: make
projectReferenceswork withisolatedModules: true(#1527) (aa6b74c) - compiler: make sure
LanguageServiceupdated with test file information before getting diagnostics for test file (#1507) (311eaeb) - config: set default
outDirwhenallowJsis true and nooutDirintsconfig(#1502) (1a287ad) - config: use original jest config object instead of stringified config (#1511) (4f0bb33)
25.3.1 (2020-04-03)
Bug Fixes
- only do type checking while compiling file (#1483) (dbc0a08)
- config: set default outDir for enabled allowJs without outDir (#1472) (57c7af0)
25.3.0 (2020-03-30)
Bug Fixes
- add
jest-configto dependencies list (6d9e0d8) - always do type check for all files provided to ts-jest transformer for non-watch mode (#1450) (107e062)
Chores
- docs: add
TROUBLESHOOTING(96cd9b3)
Features
- compiler: expose internal ts
Programvia ConfigSetTsCompiler(#1433) (7153246) - config: add incremental option (#1418) (5a69bce)
BREAKING CHANGES
- config: improve diagnostics message (#1444) (96cd9b3). This will affect to any snapshots or assertion against diagnostics messages
25.2.1 (2020-02-21)
Bug Fixes
- compiler: allow transformation of typescript files in node_modules (#1385) (814405e)
- docs: fixing slack link and some minor typos in documenation (#1404) (3e2e008)
- transformer: add deepUnmock to hoist method list (#1372) (0fbbc00)
- util: use resolve package typescript package in yarn workspaces (#1377) (a63808c)
25.2.0 (2020-02-03)
Bug Fixes
- config: let babel-jest handle loading babel config (#1370)
25.1.0 (2020-01-30)
Bug Fixes
25.0.0 (2020-01-23)
Features
- support Jest 25 (#1355)
24.3.0 (2020-01-07)
Bug Fixes
24.2.0 (2019-11-22)
Bug Fixes
- compiler: pass filename to sha function instead of file extension (ac1ac97)
- transformers: hoist jest.enableAutomock and jest.disableAutomock (ac50bc3)
- typescript serviceHost cache miss on Windows operating systems (26ee731)
24.1.0 (2019-09-12)
Bug Fixes
- perf: add cache for fs calls (#908) (3dada81)
- #825 handle symlinked modules (ala pnpm) correctly (e190b23)
- handle tsBuildInfoFile option (f9583e9), closes #1095
- types: unforce esModuleInterop in tsconfig.json (c2d39b6)
24.0.2 (2019-04-05)
24.0.1 (2019-03-30)
Bug Fixes
Features
24.0.0 (2019-02-18)
Bug Fixes
- cli test (1d67101)
- module tests and some snapshots (999f889)
- remove unused snapshots (108b08b)
- some tests (d0f2231)
- test command (8372b5e)
- test path for windows (attempt 1) (6824ac4)
- test path for windows (attempt 2) (eb2fc8a)
Features
- jest: bump to 24 (defcb77)
23.10.4 (2018-10-06)
Bug Fixes
- cache: adds project's dep versions to cache key (6cacbea), closes #785
- cli: change options to better reflect the new presets (68abcfb)
- helpers: deprecate import from ts-jest, now ts-jest/utils (33ff29f), closes #782
- typings: typo in presets definition file (53767ab)
- typings: wrong import in preset typings + test (94dc4e7)
23.10.3 (2018-09-30)
Bug Fixes
Features
23.10.2 (2018-09-26)
Bug Fixes
- cache: resolved tsconfig in cache key + pkg digest (e891608), closes #749
- cli: resets testMatch if using testRegex option (31ad0aa), closes #756
- diagnostics: throws only for category warning and error (bb28849), closes #748
- import: wrong error message when a module exists but fails (e0d6c57)
- preset: createJestPreset fails with base and no array (3c325e8)
Features
- cli: CLI 'config:migrate' now detects best preset (febd8d3)
- preset: adds 2 presets along the default one (9f3d759)
- preset: adds presets typings and export all presets (f55d895)
- typings: emit declaration files, filtering out internals (4f10f7e), closes #745
23.10.1 (2018-09-20)
Bug Fixes
- compile: js files were never transpiled thru TS (374dca1), closes #740
- config: warn instead of forcing ESM interoperability (a2a4be2)
- windows: normalize paths (c12dfff)
23.10.0 (2018-09-19)
Bug Fixes
Features
- hints: warns if transform matches js without allowJs (952cc87)
23.10.0-beta.6 (2018-09-13)
Bug Fixes
- babel: instrumentation was done twice when using babel (659a7fb), closes #713
- cache: includes all parameters in cache key computing (70e1867)
- e2e: fixes the eval tool (not used yet) (939d13a)
23.10.0-beta.5 (2018-09-12)
Bug Fixes
- package: fixes the outdated package-lock (c5a5b7a)
Features
- diagnostics: add option to enable/disable first-TS-error-throws (2c840c2)
23.10.0-beta.4 (2018-09-06)
Bug Fixes
- config: fixes a bug in the tsconfig file resolver (3910f2c)
23.10.0-beta.3 (2018-09-06)
Bug Fixes
- config: fixes a bug in path resolver (ceb0424)
Features
- cli: adds a cli tool to migrate old config (714f5f0)
- cli: ads a simple config:init helper + tests (6700522)
- config: exposes custom transformers to config for presets (885bc44)
- logger: adds ts-jest version in the logger's context (bb0c06e)
Performance Improvements
- bundle: improves bundle size (34eedc3)
23.10.0-beta.2 (2018-09-02)
Bug Fixes
- caching: fixes a possible cache collision (9c38694)
- testing: change logging level for some utility (16f125a)
Features
- config: typeCheck default to true (langauge service) (623b2f4)
BREAKING CHANGES
- config: Language service will be used by default from now on
23.10.0-beta.1 (2018-09-01)
Bug Fixes
- ci: can't use runInBand for e2e: cache collision (db650f4)
- ci: do not run e2e sub-tests in band (18ad865)
- ci: ensure npm is present with ci (edb6eda)
- logger: removes cyclic imports (5ef980f)
- babel-config + adds test (12146c3)
- fixes js style to be node < 10 compatible (83d7517)
- hoisting per level + memoize fix (31847b0)
- jest 22 did not have default config (cbaddc3)
- makes node 6 happy (f6f82b8)
- makes node6 happy (f170285)
- makes window happy (36fbebe)
- node 6 unhappy again... (703ad0b)
- normalizes bundle hash on any node version (ce7afaf)
- npm coming with node 6 doesn't talk
ci(b87198d) - source maps (89a30c9)
- typos + node 6 compat (0ed1587)
- updates templates (f2e1da2)
- uses cross-platform spawn + fix pkg versions (ac1599c)
- we are not writing files, use normalized EOL (47fff43)
- tests: CI fixes (34a41ea)
- tests: detect npm version to use or not ci (683a1e5)
- tests: do not use babel in our tests + new API for simple (3e4de3e)
- tests: more sanitizing for windows compat (faae274)
Features
- config: adds a helper to build moduleNameMapper from paths (7b8598e), closes #364
- logging: improves log messages + tests (5d03c4d)
- adds logging + better hashing (4322701)
- allow env var to add diagnostic codes to ignore (777edf5)
- cache key + tests (bd55448)
- diagnostics, different compilers, ... (f26ebf0)
- directly writes to stdio so jest does not swallow (6a7f01f)
- handles stringifyContentPathRegex (3fcb4bd)
- hoisting + tests + many other things (6186e84)
- io serializer + other test utils (d03e0e7)
- jest preset (beb50b5)
- warn about unsupported versions (1103071)
- test: jest serializers (dfa9c0f)
- tests: more test tools + adds test related to debuggin issues (8dcafca)
Performance Improvements
- babel: uses babel-jest cache key as part of ours (f51c4a7)
- cache: share config-sets for parallel test running (090ca7b)
- tests: run e2e tests in band (b3e94ff)
- detects changes in templates and bundle (2a3da21)
- do not type check if fileName doesn't match (cc45adc)
- faster tests (37a0187)
- improves speed of local test after 1st run (cc04021)
- more cleaning (c48f7b8)
- trying to improve travis-ci conf (e4b4d95)
23.1.3 (2018-08-06)
Bug Fixes
- allow (but deprecate) use of old preprocessor.js (a65079f)
- big refactor + fixes (mainly cache key + coverage) (e46caae)
- fixes coverage and tests (09500c2)
- gracefully load @babel/core or babel-core (98b2410)
- hack for babel < 6 so that breakpoints do work (90c74ef), closes #627
- resolves correctly config file path (fix #636) (5ab100c)
- test rootDir to handle preset-angular (8a6a8f7)
- wrong error message (c955083)
- html: correctly transforms html source when needed (9a2d74f)
- lint: fixes tslint script & lint issues (60ab36e)
- package: update fs-extra to version 6.0.1 (7e73536)
- package: update pkg-dir to version 3.0.0 (3fb8f9f)
- package: update yargs to version 12.0.1 (390ffcd)
- source-maps: fix source maps options/calls (76e27c1)
- Typo in utils.ts (#534) (a650260)
Performance Improvements
- do not hash cache key, jest does it underneath (fbe4f1f)
22.4.5 (2018-05-05)
22.4.1 (2018-03-02)
Bug Fixes
- package: update source-map-support to version 0.5.0 (f0aab12)
- package: update yargs to version 10.0.3 (5cdf969)
- package: update yargs to version 11.0.0 (7e9ce40)
- add startDir to if-clause (eed5311)
- package: update yargs to version 9.0.1 (#326) (8bf9924)
Features
- add option to run TypeScript diagnostics (13b77d9)
21.0.1 (2017-09-14)
21.0.0 (2017-09-05)
20.0.14 (2017-09-01)
20.0.13 (2017-08-30)
20.0.12 (2017-08-30)
20.0.11 (2017-08-29)
20.0.9 (2017-08-04)
Bug Fixes
- package: update fs-extra to version 4.0.0 (5be18fb)
20.0.7 (2017-07-07)
Bug Fixes
- peer dependency against Typescript 2.x (cb08128)
- remove outDir when collecting coverage (c076956)
- package: update fs-extra to version 3.0.0 (906be12)
- package: update yargs to version 8.0.1 (0b2ea98)
Features
- export transpileIfTypescript (6f835af)