Ts-jest: Support Jest 26

Created on 5 May 2020  路  10Comments  路  Source: kulshekhar/ts-jest

馃殌 Feature Proposal

Jest 26 has released. We need to provide support for that.

Motivation

Make developers feel comfortable to work

TODO

  • Set minimum required version of TypeScript to 3.8, example in https://github.com/kulshekhar/ts-jest/pull/1530
  • Set jest version range for peerDependencies in root package.json.
  • Update e2e templates' dependencies.
  • Adjust codes to be compatible with Jest 26 in src/util/version-checker.ts and src/util/version-checker.spec.ts.
  • Change node 8 Travis to node 12 and change node 12 Travis to node 14.
  • Set prettier: 2.x, husky: 4.x, fs-extra: 9.x, semver: 7.x.
  • Upgrade some jest dependencies.
  • Set required minimum node@10 in package.json.
  • Update dependencies for projects in e2e/__external-projects__

If you see other things, please provide us information.

Feature Request

Most helpful comment

yes it is still on track :)

All 10 comments

@kulshekhar should we separate 2 releases, with next branch target v25.5.0 and another branch target v26 ?

@ahnpnl I'm not sure I understand the reason. Why would the next version be older that v26?

actually my purpose is we separate 2 releases, as next branch will be merged into master first for release 25.5.0. After that this PR can land on next branch as for release 26.0.0.

I'm not sure if this approach is needed because there can be a situation that not all users can go immediately to jest 26 (which requires TypeScript 3.8). Currently 25.5.0-beta.0 (which is based on next branch) contains the most important change is performance boost for isolatedModules: false.

So IMO we should separate these 2 releases, as 25.5.0 goes first and 26.0.0 goes after that

@ahnpnl that sounds good. I misunderstood earlier

Close via #1597

this feature will be in the next release 26.0.0, ETA somewhere next week.

Hello, just wondering if you still expect this this week?

yes it is still on track :)

Yay!! :) thx for the update.

FYI 26.0.0 was out last weekend

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Vinnl picture Vinnl  路  3Comments

stephenotalora picture stephenotalora  路  3Comments

stangerjm picture stangerjm  路  4Comments

remcohaszing picture remcohaszing  路  4Comments

Slessi picture Slessi  路  3Comments