This release brings about significant changes under the hood.
Breaking Change: Transition from tsc to vite
In this release, we've migrated from using tsc for bundling to adopting vite. This transition brings numerous benefits, including improved build performance, enhanced development experience, and better support for modern JavaScript features.
ES Module (ESM) Only
With this release, we're exclusively providing ES module (ESM) bundles. This decision aligns with the industry's shift towards ES modules as the standard for JavaScript module loading. As a result, CommonJS (CJS) and UMD bundles are no longer provided.
Node.js 18 Minimum Supported Version
Starting from this release, Node.js version 18 is the minimum supported version. Ensure that your project is using Node.js 18 or higher to leverage the latest features and improvements.
How does this affect you?
Module Compatibility: Ensure that your project's build setup and dependencies support ES modules if you're integrating our library. Most modern bundlers and environments already support ES modules seamlessly.
Upgrade Instructions
To upgrade to the latest version, simply update the package version in your project's package.json file and re-run the installation command (npm install
or pnpm install
). Ensure that any custom build configurations or tooling integrations are adjusted to accommodate the switch to vite.