Skip to content

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps tsdx from 0.13.3 to 0.14.0.

Release notes

Sourced from tsdx's releases.

v0.14.0

BREAKING CHANGES

Slightly Breaking Changes

Node 10+

Updated the required Node version from 8 to 10.

While previous versions of TSDX began deprecating support for Node 8, it was not officially dropped. In this release, we have officially dropped Node 8: TSDX now requires Node 10+ as many dependencies that were upgraded similarly do.

This should not impact most users as Node 8 has been EoL for ~9 months now. Many packages had already required Node 10+ and the vast majority already have support for it. Most users are on Node 12 or Node 14 already.

Jest 25

Updated the Jest version used by tsdx test from 24 to 25.

The main breaking change in Jest 25 is the upgrade of the default JSDOM environment from JSDOM v11 to JSDOM v15. For most Jest users, this change either has no impact or will reduce configuration if you've manually set a more up-to-date jest-environment-jsdom in your jest.config.js. In some rare cases, where code relied on the old version of JSDOM, this may result in breakage.

ts-jest and jest-plugin-typeahead have also been upgraded to support Jest 25.

Babel Changes

babel-plugin-transform-async-to-promises -> babel-plugin-polyfill-regenerator

async-to-promises has been unmaintained for around a year now and has several correctness issues, many of which have affected TSDX users. For that reason, we've switched to using babel-plugin-polyfill-regenerator instead, which will add a pure, non-polluting regenerator-runtime polyfill if your targets require it.

The vast majority of browsers now support async/await and generators with no polyfilling necessary, but the default preset-env will add it. If you don't already have one, we recommend adding a .browserslistrc (or preset-env targets) to specify the environments you're targeting.

This should be totally backward-compatible, but it may change the output quite a bit, including making bundles larger due to inclusion of regenerator-runtime.

babel-plugin-macros

TSDX's internal Babel plugin ordering has changed, moving babel-plugin-macros to be first. This was done in order to support several use-cases like styled-components/macro, which previously did not work due to the ordering.

This shouldn't really break anything, but there is an off chance it might have an impact on some rare builds.

Improvements

  • Jest 25 / JSDOM 15 usage per above
  • Due to the babel-plugin-polyfill-regenerator change above, TSDX now supports polyfilling generators out-of-the-box. Previously we only supported async/await with babel-plugin-transform-async-to-promises and required users to configure their own plugins for generator polyfilling
Commits
  • 9cfa396 v0.14.0
  • f1ddccb feat: type-check stories during Storybook build (#876)
  • 427e5ad docs: add felixmosh as a contributor (#883)
  • 49a3521 ci: make internal job names more consistent w/ templates'
  • 8449699 feat: add test matrix to all templates' CI
  • f109fe9 fix: use @bahmutov/npm-install in templates' CI
  • dac1fd7 ci: update matrix to use Node 14 instead of Node 13 (#880)
  • a95d2d8 docs: remove reference to Node 10+ req for create (#881)
  • a9434f9 deps: upgrade several more deps' majors (#879)
  • 0e45050 deps: update extractErrors plugin's evalToString file
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [tsdx](https://github.com/formium/tsdx) from 0.13.3 to 0.14.0.
- [Release notes](https://github.com/formium/tsdx/releases)
- [Commits](jaredpalmer/tsdx@v0.13.3...v0.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot merged commit 995dfd5 into frontend-bumps Oct 1, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/frontend-bumps/tsdx-0.14.0 branch October 1, 2020 07:20
rkuykendall added a commit that referenced this pull request Jan 22, 2021
* Use lodash as dependency instead of sub-packages

* Reset yarn lock

* chore(deps-dev): Bump @types/react from 16.9.48 to 16.9.49 (#558)

* chore(deps-dev): Bump enzyme-adapter-react-16 from 1.15.3 to 1.15.4 (#559)

* chore(deps-dev): Bump @types/jest from 26.0.10 to 26.0.12 (#560)

* Build on prepublish only

* Reset yarn lock

* chore(deps-dev): Bump @types/enzyme from 3.10.5 to 3.10.6 (#561)

* chore(deps-dev): Bump husky from 4.2.5 to 4.3.0 (#562)

* chore(deps-dev): Bump auto-changelog from 2.2.0 to 2.2.1 (#567)

* chore(deps-dev): Bump enzyme-adapter-react-16 from 1.15.4 to 1.15.5 (#568)

* chore(deps-dev): Bump prettier from 2.1.1 to 2.1.2 (#569)

* chore(deps-dev): Bump @types/jest from 26.0.13 to 26.0.14 (#571)

* chore(deps-dev): Bump @types/enzyme from 3.10.6 to 3.10.7 (#573)

* chore(deps-dev): Bump tsdx from 0.13.3 to 0.14.0 (#572)

* chore(deps-dev): Bump tsdx from 0.14.0 to 0.14.1 (#574)

* chore(deps-dev): Bump @types/enzyme from 3.10.7 to 3.10.8 (#577)

* chore(deps-dev): Bump @types/react-dom from 16.9.8 to 16.9.9 (#580)

* chore(deps-dev): Bump @types/jest from 26.0.14 to 26.0.15 (#582)

* chore(deps-dev): Bump tslib from 2.0.1 to 2.0.3 (#575)

* chore(deps-dev): Bump @types/react from 16.9.49 to 16.9.55 (#581)

* chore(deps-dev): Bump np from 5.2.1 to 7.0.0 (#576)

* chore(deps-dev): Bump react from 16.13.1 to 16.14.0 (#579)

* chore(deps-dev): Bump react-dom from 16.13.1 to 16.14.0 (#584)

* chore(deps-dev): Bump @types/react from 16.9.55 to 17.0.0 (#585)

* chore(deps-dev): Bump prettier from 2.1.2 to 2.2.1 (#587)

* chore(deps-dev): Bump @types/react-dom from 16.9.9 to 17.0.0 (#588)

* chore(deps): [Security] Bump ini from 1.3.5 to 1.3.7 (#589)

* chore(deps-dev): Bump eslint-plugin-prettier from 3.1.4 to 3.3.0 (#593)

* chore(deps-dev): Bump husky from 4.3.0 to 4.3.6 (#594)

* chore(deps-dev): Bump @types/jest from 26.0.15 to 26.0.19 (#595)

* chore(deps-dev): Bump np from 7.0.0 to 7.2.0 (#598)

* Reset yarn.lock

* Prettier changes

* chore(deps-dev): Bump typescript from 3.9.7 to 4.1.3 (#601)

* Bump react and react-dom, revert np

* Revert "Bump react and react-dom, revert np"

This reverts commit a6c336d.

* Revert np

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
rkuykendall added a commit that referenced this pull request Jan 22, 2021
* Use lodash as dependency instead of sub-packages

* Reset yarn lock

* chore(deps-dev): Bump @types/react from 16.9.48 to 16.9.49 (#558)

* chore(deps-dev): Bump enzyme-adapter-react-16 from 1.15.3 to 1.15.4 (#559)

* chore(deps-dev): Bump @types/jest from 26.0.10 to 26.0.12 (#560)

* Build on prepublish only

* Reset yarn lock

* chore(deps-dev): Bump @types/enzyme from 3.10.5 to 3.10.6 (#561)

* chore(deps-dev): Bump husky from 4.2.5 to 4.3.0 (#562)

* chore(deps-dev): Bump auto-changelog from 2.2.0 to 2.2.1 (#567)

* chore(deps-dev): Bump enzyme-adapter-react-16 from 1.15.4 to 1.15.5 (#568)

* chore(deps-dev): Bump prettier from 2.1.1 to 2.1.2 (#569)

* chore(deps-dev): Bump @types/jest from 26.0.13 to 26.0.14 (#571)

* chore(deps-dev): Bump @types/enzyme from 3.10.6 to 3.10.7 (#573)

* chore(deps-dev): Bump tsdx from 0.13.3 to 0.14.0 (#572)

* chore(deps-dev): Bump tsdx from 0.14.0 to 0.14.1 (#574)

* chore(deps-dev): Bump @types/enzyme from 3.10.7 to 3.10.8 (#577)

* chore(deps-dev): Bump @types/react-dom from 16.9.8 to 16.9.9 (#580)

* chore(deps-dev): Bump @types/jest from 26.0.14 to 26.0.15 (#582)

* chore(deps-dev): Bump tslib from 2.0.1 to 2.0.3 (#575)

* chore(deps-dev): Bump @types/react from 16.9.49 to 16.9.55 (#581)

* chore(deps-dev): Bump np from 5.2.1 to 7.0.0 (#576)

* chore(deps-dev): Bump react from 16.13.1 to 16.14.0 (#579)

* chore(deps-dev): Bump react-dom from 16.13.1 to 16.14.0 (#584)

* chore(deps-dev): Bump @types/react from 16.9.55 to 17.0.0 (#585)

* chore(deps-dev): Bump prettier from 2.1.2 to 2.2.1 (#587)

* chore(deps-dev): Bump @types/react-dom from 16.9.9 to 17.0.0 (#588)

* chore(deps): [Security] Bump ini from 1.3.5 to 1.3.7 (#589)

* chore(deps-dev): Bump eslint-plugin-prettier from 3.1.4 to 3.3.0 (#593)

* chore(deps-dev): Bump husky from 4.3.0 to 4.3.6 (#594)

* chore(deps-dev): Bump @types/jest from 26.0.15 to 26.0.19 (#595)

* Revert np

* Reset yarn.lock

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants