Skip to content

Latest commit

 

History

History
750 lines (382 loc) · 31.7 KB

CHANGELOG.md

File metadata and controls

750 lines (382 loc) · 31.7 KB

26.1.0 (2020-05-30)

Bug Fixes

Features

  • config: show a warning message when TypeScript target version 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 undefined for getScriptVersion when 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 include value of tsconfig to empty array (#1606) (8a29aaa)

25.5.0 (2020-05-05)

Bug Fixes

  • compiler: make projectReferences work with isolatedModules: false (#1541) (3e8efbe)
  • compiler: allow using files provided by tsconfig (#1562) (a9f02bd)
  • config: verify testMatchPatterns contain RegExp instance or string type values (#1569) (7f85bab)

Features

  • config: add tsconfig alias to tsConfig option (#1565) (c10eb6d)
  • config: define 'ts-jest' on ConfigGlobals interface 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 jest need to be defined in files option of tsconfig.

For example:

// tsconfig.json
{
   // ...other configs
   "files": [
       "my-custom-typings.d.ts",
       "my-global-module.ts"
   ]
}
  • compiler: incremental and compilerHost options are no longer available. Please remove it from your ts-jest config.

25.5.0-beta.0 (2020-04-29)

Bug Fixes

  • compiler: allow using files provided by tsconfig (#1562) (907a280)
  • config: verify testMatchPatterns contain RegExp instance or string type values (#1569) (7f85bab)

Features

  • config: add tsconfig alias to tsConfig option (#1565) (c10eb6d)

Performance Improvements

  • compiler: don’t write compile output to file system but rely on jest cache (#1561) (07b5f62)

BREAKING CHANGES

  • Any custom typing files or files which are needed to be compiled and intended to use with jest need to be defined in files option of tsconfig.

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

  • compiler: make projectReferences work with isolatedModules: false (#1541) (3e8efbe)

Performance

  • compiler: improve performance for isolatedModules: false (#1558) (85c09e3)

BREAKING CHANGES

  • config: compilerHost and incremental options are no longer available

25.4.0 (2020-04-17)

Bug Fixes

  • compiler: make projectReferences work with isolatedModules: true (#1527) (aa6b74c)
  • compiler: make sure LanguageService updated with test file information before getting diagnostics for test file (#1507) (311eaeb)
  • config: set default outDir when allowJs is true and no outDir in tsconfig (#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-config to 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 Program via ConfigSet TsCompiler (#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

  • config: support babel config file path as string (#1332) (78a53c2)

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

Features

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

  • compiler: do not force module kind if piping babel (acebc8c), closes #767

Features

  • helpers: adds a mocked test helper for mock typings (f976135), closes #576

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

  • babel: fixes the babel 6 hack (c8d51cf)
  • config: jsx should also be considered as js files (6c32a93)

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)

17.0.3 (2016-12-01)

17.0.2 (2016-12-01)

17.0.1 (2016-11-30)

17.0.0 (2016-11-09)

0.1.13 (2016-11-07)

0.1.12 (2016-11-03)

0.1.11 (2016-10-27)

0.1.10 (2016-10-26)

0.1.9 (2016-10-24)

0.1.8 (2016-10-14)

0.1.7 (2016-10-10)

0.1.6 (2016-10-08)

0.1.5 (2016-09-22)

0.1.4 (2016-09-16)

0.1.3 (2016-08-31)

0.1.2 (2016-08-31)

0.1.1 (2016-08-31)

0.1.0 (2016-08-31)

0.0.1 (2016-08-30)

0.0.0 (2016-08-30)