Open
Conversation
67b4c7d to
10ff76f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.6.1->^0.14.0Release Notes
formium/tsdx
v0.14.1Compare Source
Bugfixes
An upstream cache bug that affected certain combinations of build formats has been fixed
The built-in
lodash->lodash-esreplacement no longer breaks imports oflodash/fpDependencies
eslint-config-react-apphas been resolvedCommits
Lists of commits:
Bugfixes
Dependencies
GitHub
Internal
All Contributors
Commit Range
v0.14.0Compare Source
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 testfrom 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-jsdomin yourjest.config.js.In some rare cases, where code relied on the old version of JSDOM, this may result in breakage.
ts-jestandjest-plugin-typeaheadhave also been upgraded to support Jest 25.Babel Changes
babel-plugin-transform-async-to-promises->babel-plugin-polyfill-regeneratorasync-to-promiseshas 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 usingbabel-plugin-polyfill-regeneratorinstead, which will add a pure, non-pollutingregenerator-runtimepolyfill if yourtargetsrequire it.The vast majority of browsers (94.37%) now support async/await and generators with no polyfilling necessary, but the default
preset-envwill add it. If you don't already have one, we recommend adding a.browserslistrc(orpreset-envtargets) 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-macrosTSDX's internal Babel plugin ordering has changed, moving
babel-plugin-macrosto 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
babel-plugin-polyfill-regeneratorchange above, TSDX now supports polyfilling generators out-of-the-box. Previously we only supported async/await withbabel-plugin-transform-async-to-promisesand required users to configure their own plugins for generator polyfillingstyled-components/macrosupport per above--max-warningsflag has been added totsdx lint, which works the same as ESLint's--max-warningsflagTemplate Improvements
size-limithas been added to all templates for bundle analysis via NPM/Yarn scripts and a GitHub Actionbahmutov/npm-installtsconfig.jsonnow setskipLibCheck,forceConsistentCasingInFileNames, andnoEmittscfor type-checking.skipLibCheckwill also greatly increase performance oftsc's type-checkingtsconfig.jsonnow have detailed comments explaining nearly every configuration option in useDocs
patch-packageis now officially listed as a customization optionDependencies
@babel/preset-envwas updated to the latest minor to support nullish coalescing and optional chaining without additional plugins, as well as to update the compatibility table.preset-envor Autoprefixer, as TSDX's internal test suite does, you may need to update those snapshots.yarn-deduplicate, overall install size should have decreased a good bitCommits
Lists of commits:
Improvements
--max-warningsflag totsdx lint(#858) dd92fecBugfixes
Template Improvements
Docs
patch-packagereference to Customization section (#855) 08a8ef8Dependencies
GitHub
Internal
All Contributors
Commit Range
Postscript
Apologies again for the delay on getting to
v0.14.0, COVID added a lot of stress and work had been busy, to say the least. Unfortunately I wasn't able to get to all the changes I wanted to into it, but v0.14.0 has been waiting long enough. Only two complex issues were left out and many more PRs added in, though not everything had made it intov0.13.xeither.I also wanted to push Rollup 2, TS 4.0, Prettier 2, and ESLint upgrades into this, but the breaking changes in the changelog started getting too big, so I decided to wait a bit to split those changes across more releases to not throw too much breakage at users at once.
If you're wondering, all of my co-workers, my team, and I were suddenly laid off just over a week ago, so that's why I had time (and want to distract myself) to push out ~2 dozen PRs the past week 😕
Best wishes and stay safe to everyone!
v0.13.3Compare Source
Optimizations
Template Bugfixes
baseUrlorpathsset in theirtsconfig, fixing a long-standing bugTemplate Docs
Commits
Lists of commits:
Optimizations
Template Improvements
Template Bugfixes
Template Docs
Docs
GitHub
Internal
All Contributors
Commit Range
Postscript
Apologies for the delay on releasing this and the delay on getting to
v0.14.0, COVID added a lot of stress and work has been busy, to say the least. I'm behind on all of my OSS repos, TSDX is actually the most maintained (but needs a lot more attention) 😕v0.14.0will be the next release, which will be a breaking change mostly due to updating dependencies' majors. I held back on it to get more intov0.13.xbefore getting busy, but unfortunately I wasn't able to get to all the changes I wanted to into it, but v0.14.0 has been waiting long enoughWishing everyone well! Please stay safe and please do your part to follow public health guidelines!
✊ Quoting from a Chromium release ✊ :
v0.13.2Compare Source
Bugfixes
@types/jestwas moved to be a dependency instead of a devDependency. It has also been removed from the templates.@types/jestv25 but Jest v24.semverwas also moved from devDependency to dependency. It's used intsdx create, so it was misplaced.Template Improvements
tsconfigcompilerOptionshave been removed.strictalready includes all of these.Commits:
Lists of commits:
Bugfixes
Template Improvements
Internal
All Contributors
Commit Range
Postscript
Wishing everyone well during the pandemic! Please stay safe and please do your part to follow public health guidelines!
If you're looking for more ways to help out, there are many, many around and likely local initiatives where you live. I also included a small few I stumbled upon in the previous release postscript.
Another recent relevant one might be the shortage of COBOL programmers in the US. If you're a tech worker interested in helping out NJ (whether you know COBOL or not), there's a sign-up form here.
v0.13.1Compare Source
Template Bugfix
tsconfig.jsonincludewas changed to removetestfrom the array. This faulty include resulted in declarations being generated indist/for test files as well as slowing down builds. It was also the cause of TS errors around v0.13.0's change torootDir: './src'Tests
Commits:
Lists of commits:
Template Bugfix
Internal
3cb3841477a6dd9f559fa985a97b6e34b20Tests
863c56d9fde343ee391e425587a5fc4e23e9569d0c9d72222944ab0270c8c681e690b57617726a43da8dd234dff05e5b64All Contributors
7364efeCommit Range
Postscript
Wishing everyone well during the pandemic! Please stay safe and follow the guidelines of public health officials, for yourself, for your family, and for everyone else and their families!
There's also lots of ways to help out, here's just a few I've stumbled upon:
v0.13.0Compare Source
Deprecations
tsconfig.jsonrootDirhas been changed to./src../is now deprecated and will give a warningImprovements
tsdx.config.jsare now supported out-of-the-box (no more need for hacks likeobjectHashIgnoreUnknownHack)--configflag is now respectedtsconfig.json'sdeclarationDiris now respectedBugfixes
src/index.jsxwill now be parsed as an entry file (previously only.ts,.tsx, and.jswere)esModuleInteropshould be properly read now for the purposes of configuring Rollup'sesModule/ CJS__esModule-- a bug made it so these were always added previously. This does not impact parsing ofesModuleInteropfor anything else, which worked correctly and still does.ts-jestanymoretsdx.config.jsdon't bug out anymoreTemplates
tsconfig.jsonrootDirhas been changed to./src../is now deprecated and will give a warningtsconfig.jsontargethas been removed as it is not currently configurable (configured with@babel/preset-envinstead)srcis now included inpackage.jsonfilesto improve debuggingCommits:
Lists of commits:
Features
16459dfb23f158424fc25655bb53a56894fBugfixes
735f301c12f92cad33c01f19fa61d164dd2edd8045e2a91ad1b1b9f84ec56fcb17a0bea97a5af67a07bd40ba936Templates
287dc44670cc5668f26c921893b89f183e71d8f123Docs
testscript doesn't run Jest in interactive mode (#536)a2e4b781269115Dependencies
3462576ab73e253a6d42f6a0a2c54f6de101a7d816f12fcdf95ff6da23c8826Internal
18e3c0577e7c7082e764f0f721176679c23b21d7af35302659fef652fec415edf22fe3b3632fe4e5e48aAll Contributors
Expand very long list. All historical contributors were added during this release.
3a6e098d4dd0106b9f205e0e1a7960cc2808b2fb0c16111583558e7b32ca7797e4601d0930aeb8ed454735eb2301118a538bba957272547e43e4e2fde3c565109355fefbcfe29702550f1e06c2dc871c1570ed7a47a566e1ad47879a11b10c2560932277e8a4495ddedc4315172904ca17ef1581fe8d51254783ae0ad9cd3a270f5ac1fd87ac2e80f544cf4eab213f7dabc62078073f7518ef10345f85053713aac878cafe72ec4ed84756a7c1d67768d5601216bb567102819041926210e54d5f4783d6d4e12ee4f1e1ef97480cca929772a31ee261b9092bb71431b93c4be6ba1d27670dd8e5d819596d9eb22639329584f2ba6f317b67377c28d07bb50a4651be2fCommit Range
Postscript
Sorry for the long delay on this release everyone, I was recently added as an official maintainer (a week ago) and just given publishing privileges (yesterday). See https://github.com/jaredpalmer/tsdx/issues/512 for more details.
Wishing everyone well during the pandemic!
v0.12.3Compare Source
Patch
tsdx testno longer defaults to watch mode in interactive environments. This reverts previous behavior which caused bugs.Commits
367a7a5bd35f6595ac3f4f1cf8b1v0.12.2Compare Source
Patch
Commits
e5747fd9e8ab9200f80acea124bccfc1e7635fa947158ee9aa38041ff338613v0.12.1Compare Source
Improvements
transpileOnlyflagBugfixes
Commits
e1370deec0f2857c79b7427ba1dd387f3c2531010ebe3c410efb3539ab542782a5e5a5ee4b307v0.12.0Compare Source
Improvements
node_modules, you can delete the .rts2_cache_xxx folders from root and remove them from your .gitignore filesprocess.env.CIfalse),tsdx testnow runs Jest in watch mode. Note: Most CI services setCIenv variable to true by default. Our implementation is exactly how create-react-app does it.tsdx testwill pass in cases where no tests exist"prepare"task topackage.jsonscripts so that you can publish immediately. For those interested, I like to publish (TSDX) packages withnpto do this.Bugfixes
Roadmap
Commits
843c676930feb9c5df5ac](https://togithub.com/formium/tsdx/commit/c5df5aConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.