Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 15, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Minor Changes

  • #533 b221fc7 Thanks @kamiazya! - Migrate to ESM-only distribution

    This release removes CommonJS (CJS) and UMD build outputs, distributing only ES modules (ESM). All build artifacts are now placed directly in the dist/ directory for a simpler and cleaner structure.

    Breaking Changes

    • Removed CommonJS support: The package no longer provides .cjs files. Node.js projects must use ES modules.
    • Removed UMD bundle: The UMD build (dist/web-csv-toolbox.umd.js) has been removed. For CDN usage, use ESM via <script type="module">.
    • Changed distribution structure: Build outputs moved from dist/es/, dist/cjs/, and dist/types/ to dist/ root directory.
    • Removed build:browser command: The separate UMD build step is no longer needed.

    Migration Guide

    For Node.js users:

    • Ensure your project uses "type": "module" in package.json, or use .mjs file extensions
    • Update any CommonJS require() calls to ESM import statements
    • Node.js 20.x or later is required (already the minimum supported version)

    For CDN users:
    Before:

    <script src="https://unpkg.com/web-csv-toolbox"></script>

    After:

    <script type="module">
      import { parse } from "https://unpkg.com/web-csv-toolbox";
    </script>

    For bundler users:
    No changes required - modern bundlers handle ESM correctly.

    Benefits

    • Simpler build configuration and faster build times
    • Smaller package size
    • Cleaner distribution structure
    • Alignment with modern JavaScript ecosystem standards
  • #476 ae54611 Thanks @kamiazya! - Drop support Node.js v18 and Add test on Node.js v24

Patch Changes

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 15, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot force-pushed the changeset-release/main branch 6 times, most recently from 6097f32 to a41ba99 Compare October 21, 2025 00:09
@github-actions github-actions bot force-pushed the changeset-release/main branch from a41ba99 to ead2ba3 Compare October 21, 2025 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants