Features
[jest-config]
[BREAKING] Stop shippingjest-environment-jsdom
by default (#12354)[jest-config]
[BREAKING] Stop shippingjest-jasmine2
by default (#12355)[jest-environment-jsdom]
[BREAKING] Upgrade jsdom to 19.0.0 (#12290)[jest-environment-jsdom]
[BREAKING] Add defaultbrowser
condition toexportConditions
forjsdom
environment (#11924)[jest-environment-node]
[BREAKING] Add defaultnode
andnode-addon
conditions toexportConditions
fornode
environment (#11924)[@jest/expect-utils]
New module exporting utils forexpect
(#12323)[jest-resolve]
[BREAKING] Add support forpackage.json
exports
(#11961)[jest-worker]
[BREAKING] Allow only absoluteworkerPath
(#12343)
Fixes
[expect]
Move typings of.not
,.rejects
and.resolves
modifiers outside ofMatchers
interface (#12346)[jest-environment-jsdom]
Makejsdom
accessible to extending environments again (#12232)[jest-jasmine2, jest-types]
[BREAKING] Move alljasmine
specific types from@jest/types
to its own package (#12125)
Chore & Maintenance
[*]
[BREAKING] Drop support for Node v10 and v15 and target first LTS16.13.0
(#12220)[*]
[BREAKING] Drop support fortypescript@3.8
, minimum version is now4.2
(#11142)[*]
Bundle all.d.ts
files into a singleindex.d.ts
per module (#12345)[expect]
[BREAKING] Remove support for importingbuild/utils
(#12323)[expect]
[BREAKING] Migrate to ESM (#12344)[jest-cli]
Updateyargs
to v17 (#12357)[jest-config]
[BREAKING] RemovegetTestEnvironment
export (#12353)[@jest/core]
Useindex.ts
instead ofjest.ts
as main export (#12329)[jest-environment-jsdom]
[BREAKING] Migrate to ESM (#12340)[jest-environment-node]
[BREAKING] Migrate to ESM (#12340)[@jest/fake-timers]
Update@sinonjs/fake_timers
to v9 (#12357)[jest-jasmine2, jest-runtime]
[BREAKING] UseSymbol
to passjest.setTimeout
value instead ofjasmine
specific logic (#12124)[jest-phabricator]
[BREAKING] Migrate to ESM (#12341)[jest-resolve]
[BREAKING] MakerequireResolveFunction
argument mandatory (#12353)[jest-runner]
[BREAKING] Remove some type exports from@jest/test-result
(#12353)[jest-snapshot]
[BREAKING] Migrate to ESM (#12342)[jest-transform]
Updatewrite-file-atomic
to v4 (#12357)[jest]
Useindex.ts
instead ofjest.ts
as main export (#12329)
Performance
[jest-haste-map]
[BREAKING] Default tonode
crawler over shelling out tofind
ifwatchman
is not enabled (#12320)
New Contributors
- @marcelltoth made their first contribution in #12290
Full Changelog: v27.5.1...v28.0.0-alpha.0