Skip to content

v2.0.0

Latest

Choose a tag to compare

@PabloG02 PabloG02 released this 04 Feb 11:03

This major release modernizes the build tooling, migrates to ESM, and streamlines dependencies.

⚠️ Breaking Changes

  • ESM Migration: The project now uses ES Modules exclusively. CommonJS require() is no longer supported, and the UMD build has been removed.
  • Package Scope: Package renamed to @pablog02/fornac
  • Peer Dependencies: d3 (v3.5.13) is now a peer dependency and must be installed separately

🔷 TypeScript Support

  • Added official type definitions (.d.ts) to provide full autocompletion and type-checking for the entire API.

🔧 Build & Tooling

  • Migrated from Webpack to Vite for faster builds and improved developer experience
  • Added oxfmt for consistent code formatting
  • Modernized project configuration and dependencies

🎯 Improvements

  • Replaced slugid dependency with native crypto.randomUUID() API
  • Updated README with improved documentation and structure
  • Migrated examples to ESM
  • Added build support for examples

🚀 CI/CD

  • Added GitHub Actions workflow for publishing to npm registry
  • Added workflow to deploy examples to GitHub Pages