|
| 1 | +<a name="25.2.0"></a> |
| 2 | +# [25.2.0](https://github.com/kulshekhar/ts-jest/compare/v25.1.0...v25.2.0) (2020-02-03) |
| 3 | + |
| 4 | + |
| 5 | +### Bug Fixes |
| 6 | + |
| 7 | +* **config:** comment out unused codes ([dff1332](https://github.com/kulshekhar/ts-jest/commit/dff1332)) |
| 8 | +* **config:** pass plain config object to babel-jest transformer ([e0895da](https://github.com/kulshekhar/ts-jest/commit/e0895da)) |
| 9 | +* **config:** remove unused codes ([7aa3928](https://github.com/kulshekhar/ts-jest/commit/7aa3928)) |
| 10 | +* **config:** remove unused import ([81897e1](https://github.com/kulshekhar/ts-jest/commit/81897e1)) |
| 11 | +* **test:** improve unit tests for babel config ([ebd9380](https://github.com/kulshekhar/ts-jest/commit/ebd9380)) |
| 12 | +* **test:** update snapshot ([0e1190d](https://github.com/kulshekhar/ts-jest/commit/0e1190d)) |
| 13 | + |
| 14 | + |
| 15 | + |
1 | 16 | <a name="25.1.0"></a> |
2 | 17 | # [25.1.0](https://github.com/kulshekhar/ts-jest/compare/v25.0.0...v25.1.0) (2020-01-30) |
3 | 18 |
|
|
41 | 56 |
|
42 | 57 | ### Bug Fixes |
43 | 58 |
|
| 59 | +* typescript serviceHost cache miss on Windows operating systems ([26ee731](https://github.com/kulshekhar/ts-jest/commit/26ee731)) |
44 | 60 | * **compiler:** pass filename to sha function instead of file extension ([ac1ac97](https://github.com/kulshekhar/ts-jest/commit/ac1ac97)) |
45 | 61 | * **transformers:** hoist jest.enableAutomock and jest.disableAutomock ([ac50bc3](https://github.com/kulshekhar/ts-jest/commit/ac50bc3)) |
46 | | -* typescript serviceHost cache miss on Windows operating systems ([26ee731](https://github.com/kulshekhar/ts-jest/commit/26ee731)) |
47 | 62 |
|
48 | 63 |
|
49 | 64 |
|
|
53 | 68 |
|
54 | 69 | ### Bug Fixes |
55 | 70 |
|
56 | | -* **perf:** add cache for fs calls ([#908](https://github.com/kulshekhar/ts-jest/issues/908)) ([3dada81](https://github.com/kulshekhar/ts-jest/commit/3dada81)) |
57 | 71 | * [#825](https://github.com/kulshekhar/ts-jest/issues/825) handle symlinked modules (ala pnpm) correctly ([e190b23](https://github.com/kulshekhar/ts-jest/commit/e190b23)) |
58 | 72 | * handle tsBuildInfoFile option ([f9583e9](https://github.com/kulshekhar/ts-jest/commit/f9583e9)), closes [#1095](https://github.com/kulshekhar/ts-jest/issues/1095) |
| 73 | +* **perf:** add cache for fs calls ([#908](https://github.com/kulshekhar/ts-jest/issues/908)) ([3dada81](https://github.com/kulshekhar/ts-jest/commit/3dada81)) |
59 | 74 | * **types:** unforce esModuleInterop in tsconfig.json ([c2d39b6](https://github.com/kulshekhar/ts-jest/commit/c2d39b6)) |
60 | 75 |
|
61 | 76 |
|
|
267 | 282 |
|
268 | 283 | ### Bug Fixes |
269 | 284 |
|
270 | | -* **ci:** can't use runInBand for e2e: cache collision ([db650f4](https://github.com/kulshekhar/ts-jest/commit/db650f4)) |
271 | | -* **ci:** do not run e2e sub-tests in band ([18ad865](https://github.com/kulshekhar/ts-jest/commit/18ad865)) |
272 | | -* **ci:** ensure npm is present with ci ([edb6eda](https://github.com/kulshekhar/ts-jest/commit/edb6eda)) |
273 | | -* **logger:** removes cyclic imports ([5ef980f](https://github.com/kulshekhar/ts-jest/commit/5ef980f)) |
274 | 285 | * babel-config + adds test ([12146c3](https://github.com/kulshekhar/ts-jest/commit/12146c3)) |
275 | 286 | * fixes js style to be node < 10 compatible ([83d7517](https://github.com/kulshekhar/ts-jest/commit/83d7517)) |
276 | 287 | * hoisting per level + memoize fix ([31847b0](https://github.com/kulshekhar/ts-jest/commit/31847b0)) |
277 | 288 | * jest 22 did not have default config ([cbaddc3](https://github.com/kulshekhar/ts-jest/commit/cbaddc3)) |
278 | 289 | * makes node 6 happy ([f6f82b8](https://github.com/kulshekhar/ts-jest/commit/f6f82b8)) |
279 | 290 | * makes node6 happy ([f170285](https://github.com/kulshekhar/ts-jest/commit/f170285)) |
280 | 291 | * makes window happy ([36fbebe](https://github.com/kulshekhar/ts-jest/commit/36fbebe)) |
| 292 | +* **ci:** can't use runInBand for e2e: cache collision ([db650f4](https://github.com/kulshekhar/ts-jest/commit/db650f4)) |
| 293 | +* **ci:** do not run e2e sub-tests in band ([18ad865](https://github.com/kulshekhar/ts-jest/commit/18ad865)) |
| 294 | +* **ci:** ensure npm is present with ci ([edb6eda](https://github.com/kulshekhar/ts-jest/commit/edb6eda)) |
| 295 | +* **logger:** removes cyclic imports ([5ef980f](https://github.com/kulshekhar/ts-jest/commit/5ef980f)) |
| 296 | +* **tests:** detect npm version to use or not ci ([683a1e5](https://github.com/kulshekhar/ts-jest/commit/683a1e5)) |
281 | 297 | * node 6 unhappy again... ([703ad0b](https://github.com/kulshekhar/ts-jest/commit/703ad0b)) |
| 298 | +* **tests:** CI fixes ([34a41ea](https://github.com/kulshekhar/ts-jest/commit/34a41ea)) |
| 299 | +* **tests:** do not use babel in our tests + new API for simple ([3e4de3e](https://github.com/kulshekhar/ts-jest/commit/3e4de3e)) |
282 | 300 | * normalizes bundle hash on any node version ([ce7afaf](https://github.com/kulshekhar/ts-jest/commit/ce7afaf)) |
283 | 301 | * npm coming with node 6 doesn't talk `ci` ([b87198d](https://github.com/kulshekhar/ts-jest/commit/b87198d)) |
284 | 302 | * source maps ([89a30c9](https://github.com/kulshekhar/ts-jest/commit/89a30c9)) |
285 | 303 | * typos + node 6 compat ([0ed1587](https://github.com/kulshekhar/ts-jest/commit/0ed1587)) |
| 304 | +* **tests:** more sanitizing for windows compat ([faae274](https://github.com/kulshekhar/ts-jest/commit/faae274)) |
286 | 305 | * updates templates ([f2e1da2](https://github.com/kulshekhar/ts-jest/commit/f2e1da2)) |
287 | 306 | * uses cross-platform spawn + fix pkg versions ([ac1599c](https://github.com/kulshekhar/ts-jest/commit/ac1599c)) |
288 | 307 | * we are not writing files, use normalized EOL ([47fff43](https://github.com/kulshekhar/ts-jest/commit/47fff43)) |
289 | | -* **tests:** CI fixes ([34a41ea](https://github.com/kulshekhar/ts-jest/commit/34a41ea)) |
290 | | -* **tests:** detect npm version to use or not ci ([683a1e5](https://github.com/kulshekhar/ts-jest/commit/683a1e5)) |
291 | | -* **tests:** do not use babel in our tests + new API for simple ([3e4de3e](https://github.com/kulshekhar/ts-jest/commit/3e4de3e)) |
292 | | -* **tests:** more sanitizing for windows compat ([faae274](https://github.com/kulshekhar/ts-jest/commit/faae274)) |
293 | 308 |
|
294 | 309 |
|
295 | 310 | ### Features |
296 | 311 |
|
| 312 | +* diagnostics, different compilers, ... ([f26ebf0](https://github.com/kulshekhar/ts-jest/commit/f26ebf0)) |
297 | 313 | * **config:** adds a helper to build moduleNameMapper from paths ([7b8598e](https://github.com/kulshekhar/ts-jest/commit/7b8598e)), closes [#364](https://github.com/kulshekhar/ts-jest/issues/364) |
298 | 314 | * **logging:** improves log messages + tests ([5d03c4d](https://github.com/kulshekhar/ts-jest/commit/5d03c4d)) |
| 315 | +* jest preset ([beb50b5](https://github.com/kulshekhar/ts-jest/commit/beb50b5)) |
| 316 | +* **test:** jest serializers ([dfa9c0f](https://github.com/kulshekhar/ts-jest/commit/dfa9c0f)) |
299 | 317 | * adds logging + better hashing ([4322701](https://github.com/kulshekhar/ts-jest/commit/4322701)) |
| 318 | +* **tests:** more test tools + adds test related to debuggin issues ([8dcafca](https://github.com/kulshekhar/ts-jest/commit/8dcafca)) |
300 | 319 | * allow env var to add diagnostic codes to ignore ([777edf5](https://github.com/kulshekhar/ts-jest/commit/777edf5)) |
301 | 320 | * cache key + tests ([bd55448](https://github.com/kulshekhar/ts-jest/commit/bd55448)) |
302 | | -* diagnostics, different compilers, ... ([f26ebf0](https://github.com/kulshekhar/ts-jest/commit/f26ebf0)) |
303 | 321 | * directly writes to stdio so jest does not swallow ([6a7f01f](https://github.com/kulshekhar/ts-jest/commit/6a7f01f)) |
304 | 322 | * handles stringifyContentPathRegex ([3fcb4bd](https://github.com/kulshekhar/ts-jest/commit/3fcb4bd)) |
305 | 323 | * hoisting + tests + many other things ([6186e84](https://github.com/kulshekhar/ts-jest/commit/6186e84)) |
306 | 324 | * io serializer + other test utils ([d03e0e7](https://github.com/kulshekhar/ts-jest/commit/d03e0e7)) |
307 | | -* jest preset ([beb50b5](https://github.com/kulshekhar/ts-jest/commit/beb50b5)) |
308 | 325 | * warn about unsupported versions ([1103071](https://github.com/kulshekhar/ts-jest/commit/1103071)) |
309 | | -* **test:** jest serializers ([dfa9c0f](https://github.com/kulshekhar/ts-jest/commit/dfa9c0f)) |
310 | | -* **tests:** more test tools + adds test related to debuggin issues ([8dcafca](https://github.com/kulshekhar/ts-jest/commit/8dcafca)) |
311 | 326 |
|
312 | 327 |
|
313 | 328 | ### Performance Improvements |
314 | 329 |
|
315 | | -* **babel:** uses babel-jest cache key as part of ours ([f51c4a7](https://github.com/kulshekhar/ts-jest/commit/f51c4a7)) |
316 | | -* **cache:** share config-sets for parallel test running ([090ca7b](https://github.com/kulshekhar/ts-jest/commit/090ca7b)) |
317 | | -* **tests:** run e2e tests in band ([b3e94ff](https://github.com/kulshekhar/ts-jest/commit/b3e94ff)) |
318 | 330 | * detects changes in templates and bundle ([2a3da21](https://github.com/kulshekhar/ts-jest/commit/2a3da21)) |
| 331 | +* **babel:** uses babel-jest cache key as part of ours ([f51c4a7](https://github.com/kulshekhar/ts-jest/commit/f51c4a7)) |
319 | 332 | * do not type check if fileName doesn't match ([cc45adc](https://github.com/kulshekhar/ts-jest/commit/cc45adc)) |
320 | 333 | * faster tests ([37a0187](https://github.com/kulshekhar/ts-jest/commit/37a0187)) |
321 | 334 | * improves speed of local test after 1st run ([cc04021](https://github.com/kulshekhar/ts-jest/commit/cc04021)) |
322 | 335 | * more cleaning ([c48f7b8](https://github.com/kulshekhar/ts-jest/commit/c48f7b8)) |
323 | 336 | * trying to improve travis-ci conf ([e4b4d95](https://github.com/kulshekhar/ts-jest/commit/e4b4d95)) |
| 337 | +* **cache:** share config-sets for parallel test running ([090ca7b](https://github.com/kulshekhar/ts-jest/commit/090ca7b)) |
| 338 | +* **tests:** run e2e tests in band ([b3e94ff](https://github.com/kulshekhar/ts-jest/commit/b3e94ff)) |
324 | 339 |
|
325 | 340 |
|
326 | 341 |
|
|
330 | 345 |
|
331 | 346 | ### Bug Fixes |
332 | 347 |
|
| 348 | +* **html:** correctly transforms html source when needed ([9a2d74f](https://github.com/kulshekhar/ts-jest/commit/9a2d74f)) |
| 349 | +* **lint:** fixes tslint script & lint issues ([60ab36e](https://github.com/kulshekhar/ts-jest/commit/60ab36e)) |
| 350 | +* **package:** update fs-extra to version 6.0.1 ([7e73536](https://github.com/kulshekhar/ts-jest/commit/7e73536)) |
333 | 351 | * allow (but deprecate) use of old preprocessor.js ([a65079f](https://github.com/kulshekhar/ts-jest/commit/a65079f)) |
334 | 352 | * big refactor + fixes (mainly cache key + coverage) ([e46caae](https://github.com/kulshekhar/ts-jest/commit/e46caae)) |
335 | 353 | * fixes coverage and tests ([09500c2](https://github.com/kulshekhar/ts-jest/commit/09500c2)) |
336 | 354 | * gracefully load [@babel](https://github.com/babel)/core or babel-core ([98b2410](https://github.com/kulshekhar/ts-jest/commit/98b2410)) |
337 | 355 | * hack for babel < 6 so that breakpoints do work ([90c74ef](https://github.com/kulshekhar/ts-jest/commit/90c74ef)), closes [#627](https://github.com/kulshekhar/ts-jest/issues/627) |
338 | | -* resolves correctly config file path (fix [#636](https://github.com/kulshekhar/ts-jest/issues/636)) ([5ab100c](https://github.com/kulshekhar/ts-jest/commit/5ab100c)) |
339 | | -* test rootDir to handle preset-angular ([8a6a8f7](https://github.com/kulshekhar/ts-jest/commit/8a6a8f7)) |
340 | | -* wrong error message ([c955083](https://github.com/kulshekhar/ts-jest/commit/c955083)) |
341 | | -* **html:** correctly transforms html source when needed ([9a2d74f](https://github.com/kulshekhar/ts-jest/commit/9a2d74f)) |
342 | | -* **lint:** fixes tslint script & lint issues ([60ab36e](https://github.com/kulshekhar/ts-jest/commit/60ab36e)) |
343 | | -* **package:** update fs-extra to version 6.0.1 ([7e73536](https://github.com/kulshekhar/ts-jest/commit/7e73536)) |
344 | 356 | * **package:** update pkg-dir to version 3.0.0 ([3fb8f9f](https://github.com/kulshekhar/ts-jest/commit/3fb8f9f)) |
345 | 357 | * **package:** update yargs to version 12.0.1 ([390ffcd](https://github.com/kulshekhar/ts-jest/commit/390ffcd)) |
346 | | -* **source-maps:** fix source maps options/calls ([76e27c1](https://github.com/kulshekhar/ts-jest/commit/76e27c1)) |
| 358 | +* resolves correctly config file path (fix [#636](https://github.com/kulshekhar/ts-jest/issues/636)) ([5ab100c](https://github.com/kulshekhar/ts-jest/commit/5ab100c)) |
| 359 | +* test rootDir to handle preset-angular ([8a6a8f7](https://github.com/kulshekhar/ts-jest/commit/8a6a8f7)) |
347 | 360 | * Typo in utils.ts ([#534](https://github.com/kulshekhar/ts-jest/issues/534)) ([a650260](https://github.com/kulshekhar/ts-jest/commit/a650260)) |
| 361 | +* **source-maps:** fix source maps options/calls ([76e27c1](https://github.com/kulshekhar/ts-jest/commit/76e27c1)) |
| 362 | +* wrong error message ([c955083](https://github.com/kulshekhar/ts-jest/commit/c955083)) |
348 | 363 |
|
349 | 364 |
|
350 | 365 | ### Performance Improvements |
|
365 | 380 | ### Bug Fixes |
366 | 381 |
|
367 | 382 | * **package:** update source-map-support to version 0.5.0 ([f0aab12](https://github.com/kulshekhar/ts-jest/commit/f0aab12)) |
| 383 | +* add startDir to if-clause ([eed5311](https://github.com/kulshekhar/ts-jest/commit/eed5311)) |
368 | 384 | * **package:** update yargs to version 10.0.3 ([5cdf969](https://github.com/kulshekhar/ts-jest/commit/5cdf969)) |
369 | 385 | * **package:** update yargs to version 11.0.0 ([7e9ce40](https://github.com/kulshekhar/ts-jest/commit/7e9ce40)) |
370 | | -* add startDir to if-clause ([eed5311](https://github.com/kulshekhar/ts-jest/commit/eed5311)) |
371 | 386 | * **package:** update yargs to version 9.0.1 ([#326](https://github.com/kulshekhar/ts-jest/issues/326)) ([8bf9924](https://github.com/kulshekhar/ts-jest/commit/8bf9924)) |
372 | 387 |
|
373 | 388 |
|
|
423 | 438 |
|
424 | 439 | ### Bug Fixes |
425 | 440 |
|
426 | | -* peer dependency against Typescript 2.x ([cb08128](https://github.com/kulshekhar/ts-jest/commit/cb08128)) |
427 | | -* remove outDir when collecting coverage ([c076956](https://github.com/kulshekhar/ts-jest/commit/c076956)) |
428 | 441 | * **package:** update fs-extra to version 3.0.0 ([906be12](https://github.com/kulshekhar/ts-jest/commit/906be12)) |
429 | 442 | * **package:** update yargs to version 8.0.1 ([0b2ea98](https://github.com/kulshekhar/ts-jest/commit/0b2ea98)) |
| 443 | +* peer dependency against Typescript 2.x ([cb08128](https://github.com/kulshekhar/ts-jest/commit/cb08128)) |
| 444 | +* remove outDir when collecting coverage ([c076956](https://github.com/kulshekhar/ts-jest/commit/c076956)) |
430 | 445 |
|
431 | 446 |
|
432 | 447 | ### Features |
|
0 commit comments