v1.24.0
Highlights
- Drop Node 16 support
- Improve IDE mode #2215
- Update supported browsers list #2247
- Update to TypeScript 5.3
Drop Node 16 support
In alignment with Node.js release schedule, Crafty stops supporting Node 16, but supports version 18 and 20
Improve IDE Mode
When running crafty ide
a few files are created inside your repository so that your IDE knows you're using eslint/prettier/jest.
We got some feedback that this feature is confusing because every user needs to run it on their own machine.
Starting with this version, stylelint.config.mjs
, prettier.config.mjs
, and jest.config.mjs
are created in a commit-friendly way, it will no longer contain the content of the configuration but will allow to commit and get a pleasant out-of-the-box experience for newcomers
At this stage, this doesn't work for ESLint and this file should still not be committed, this is because ESLint's configuration is trickier and another change is ongoing for this one; #2250
Update supported browsers list
As is the case every year, we update the list of supported browsers. The browserslist
query is now the following:
Edge >= 96, Safari >= 15, iOS >= 15, Chrome >= 96, and_chr >= 96, Firefox >= 94, > 1%, not dead, not op_mini all
Update to TypeScript 5.3
As it is usual, TypeScript brings a lot of updates in this new version.
You can use all the new features of TypeScript 5.3 except for newly introduced syntax such as import attributes.
This is because Prettier 2 does not support it.
We are working on Prettier 3 support for Crafty to fix this.
What's Changed
- Update @types to v18.2.25 by @renovate in #2173
- Update Yarn to v3.6.4 by @renovate in #2182
- Update dependency @types/react-dom to v18.2.11 by @renovate in #2183
- Update dependency sinon to v16.1.0 by @renovate in #2187
- Update dependency eslint to v8.51.0 by @renovate in #2186
- Update swc monorepo by @renovate in #2185
- Update dependency caniuse-lite to v1.0.30001546 by @renovate in #2184
- Update dependency ts-loader to v9.5.0 by @renovate in #2188
- Update dependency @types/react to v18.2.26 by @renovate in #2191
- Update dependency fork-ts-checker-webpack-plugin to v9 by @renovate in #2190
- Update @types to v18.2.27 by @renovate in #2192
- Update eslint to v6.7.5 by @renovate in #2193
- Update @types by @renovate in #2194
- Update dependency bufferutil to v4.0.8 by @renovate in #2197
- Update babel monorepo to v7.23.2 by @renovate in #2195
- Update dependency @swc/core to v1.3.93 by @renovate in #2196
- Update dependency caniuse-lite to v1.0.30001549 by @renovate in #2198
- Update all webpack dependencies by @renovate in #2199
- Update dependency terser to v5.22.0 by @renovate in #2200
- Update all eslint dependencies to v6.8.0 by @renovate in #2201
- Update @types by @renovate in #2203
- Update dependency @ronilaukkarinen/gulp-stylelint to v14.1.2 by @renovate in #2204
- Update dependency @types/jest to v29.5.6 by @renovate in #2207
- Update dependency @statoscope/cli to v5.28.1 - autoclosed by @renovate in #2205
- Update dependency @swc/core to v1.3.94 by @renovate in #2206
- Update dependency @vercel/ncc to v0.38.1 by @renovate in #2208
- Update dependency caniuse-lite to v1.0.30001553 by @renovate in #2209
- Update actions/setup-node action to v3.8.2 by @renovate in #2211
- Update dependency @statoscope/cli to v5.28.2 by @renovate in #2213
- Update dependency sinon to v16.1.3 by @renovate in #2210
- Update all eslint dependencies by @renovate in #2212
- Update Yarn to v4 by @renovate in #2219
- Update actions/setup-node action to v4 by @renovate in #2220
- Update Yarn to v4.0.1 by @renovate in #2221
- Update dependency caniuse-lite to v1.0.30001558 by @renovate in #2223
- Update dependency @types/react to v18.2.33 - autoclosed by @renovate in #2222
- Update dependency fork-ts-checker-webpack-plugin to v9.0.2 by @renovate in #2224
- Update dependency stylelint-scss to v5.3.0 by @renovate in #2225
- Update dependency terser to v5.23.0 by @renovate in #2227
- Update dependency streamx to v2.15.2 by @renovate in #2228
- Update dependency log-symbols to v6 by @renovate in #2226
- Update eslint to v6.9.1 by @renovate in #2229
- Update dependency @types/jest to v29.5.7 by @renovate in #2231
- Update dependency sinon to v17 by @renovate in #2230
- Update dependency @swc/core to v1.3.96 by @renovate in #2232
- Update dependency @types/react to v18.2.35 by @renovate in #2233
- Update dependency sinon to v17.0.1 by @renovate in #2235
- Update dependency eslint to v8.53.0 by @renovate in #2236
- Update dependency terser to v5.24.0 by @renovate in #2237
- Update dependency @types/react to v18.2.36 by @renovate in #2238
- Update dependency @types/react to v18.2.43 by @renovate in #2241
- Update dependency stylelint-scss to v5.3.2 by @renovate in #2240
- Update Yarn to v4.0.2 by @renovate in #2242
- Update dependency caniuse-lite to v1.0.30001568 by @renovate in #2243
- Update JamesIves/github-pages-deploy-action action to v4.5.0 by @renovate in #2244
- Update actions/setup-java action to v4 by @renovate in #2245
- Update @types by @renovate in #2248
Full Changelog: v1.23.0...v1.24.0