Skip to content

v9.0.0

Choose a tag to compare

@reda-alaoui reda-alaoui released this 05 Apr 17:25
· 8 commits to main since this release

Minimal node version upgrade

If you use Node, version 20 is now the minimum required.

Full ESM conversion

Ketting source and distribution files now make exclusive use of ESM modules and target es2023.

package.json#exports and package.json#imports usage

Ketting entrypoints are now defined by package.json#exports.
Some imports are now resolved via package.json#imports.

These conventional fields have been supported by node and major bundlers for years. If you are using typescript,
make sure to switch the moduleResolution to bundler, node16 or nodenext.

Automated tests have been reinforced

Automated tests now run against the distribution files rather than the source files, making them
more representative of real-world consumer usage.

Before, tests were only run on node. Now, tests are also run on chromium.

What's Changed

Full Changelog: v8.4.3...v9.0.0