Skip to content

v1.24.0

Compare
Choose a tag to compare
@onigoetz onigoetz released this 19 Dec 16:05
· 133 commits to master since this release

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

Full Changelog: v1.23.0...v1.24.0