UNPKG

1.66 kBMarkdownView Raw
1# 3.0.0 (2022-10-08)
2
3* BREAKING: Switch `sucrase` to a peer dependency instead of a regular dependency.
4 Please install `sucrase` separately as part of updating to this version. ([#756])
5* BREAKING: Require `jest >= 27` and and `sucrase >= 3.25`. ([#749], [#756])
6* BREAKING: Specify `disableESTransforms` by default, since it's no longer necessary
7 for supported Node versions. ([#754])
8* Add support for specifying Sucrase options in Jest config. ([#749]) (Jan Aagaard Meier; also implemented by stagas in [#663])
9* Add support for using Jest in ESM mode, automatically configuring Sucrase accordingly. ([#752])
10* Fix unhelpful error messages when an error is thrown from Sucrase. ([#750])
11
12# 2.2.1 (2022-04-28)
13
14* Add support for Jest 28. ([#695]) (Viktor Luft)
15
16# 2.2.0 (2021-10-24)
17
18* Include inline source maps when transforming code. This fixes debugging in
19 WebStorm. ([#661])
20
21# 2.1.1 (2021-08-09)
22
23* Add support for Jest 27. ([#640]) (Victor Pontis)
24
25# 2.1.0 (2021-04-11)
26
27* Enable Sucrase's new `jest` transform to hoist `jest.mock` calls.
28
29# 2.0.0 (2018-06-10)
30
31* Switch Sucrase dependency to `^3`, update code to use new return type.
32
33[#640]: https://github.com/alangpierce/sucrase/pull/640
34[#661]: https://github.com/alangpierce/sucrase/pull/661
35[#663]: https://github.com/alangpierce/sucrase/pull/663
36[#695]: https://github.com/alangpierce/sucrase/pull/695
37[#749]: https://github.com/alangpierce/sucrase/pull/749
38[#750]: https://github.com/alangpierce/sucrase/pull/750
39[#752]: https://github.com/alangpierce/sucrase/pull/752
40[#754]: https://github.com/alangpierce/sucrase/pull/754
41[#756]: https://github.com/alangpierce/sucrase/pull/756