Skip to content

Releases: huozhi/bunchee

v4.2.1

24 Dec 22:33
Compare
Choose a tag to compare

Bunchee is now built by itself using the shared entry feature (in #325), and there're some improvements for RSC bundling

Improvements

Misc

Full Changelog: v4.2.0...v4.2.1

v4.2.0

24 Dec 01:43
Compare
Choose a tag to compare

With bunchee v4.2.0, if you import an entry into another entry, the dependent entry will be the shared chunk. This will help you reduce the bundle size if you're using it. Check details in #320

Feature

Fixes

  • Fix missing dts for special exports by @huozhi in #322
  • Fix default ext for node, require, default export condition by @huozhi in #324

Misc

Full Changelog: v4.1.1...v4.2.0

v4.1.1

20 Dec 23:13
Compare
Choose a tag to compare

Patches

Fixed the imports hoist that breaking server/client boundaries for React client components bundling

Full Changelog: v4.1.0...v4.1.1

v4.1.0

17 Dec 20:54
Compare
Choose a tag to compare

⚛️ Now bunchee can split RSC client components with "use client" and server actions modules with "use server" into different chunks, so they can be integrated with React framework like Next.js better. More accurate boundaries, to generate smaller JS bundle in production!

Feature

Misc

  • refactor: simplify redudant calls, polish code by @huozhi in #306

  • test: organize tests folders by @huozhi in #310

Full Changelog: v4.0.1...v4.1.0

v4.0.0

10 Dec 21:06
Compare
Choose a tag to compare

V4

🎉 Finally we're happily annoucing bunchee v4 release! We're leveraging rollup v4, introduced few features for package bundling and few improvements!

Features

Improvements

  • Upgrade to rollup v4 by @huozhi in #292
  • Replace rollup-swc-preserve-directives with rollup-preserve-directives by @huozhi in #288
  • build: Update @swc/core by @kdy1 in #285

Misc

⚠️ Notice

  • Requires node version >= 18

New Contributors

Kudos

  • Thanks @SukkaW for helping on rollup-preserve-directives to shape the library into a performant, flexible and stable form!
  • Thanks @kdy1 for helping on making SWC as an amazing dependency and fixing few critical related issues!

Full Changelog: v3.9.2...v4.0.0

v3.9.3

03 Dec 12:02
Compare
Choose a tag to compare

Patches

  • build: Update @swc/core #285
  • fix: default build target #287

Kudos to @kdy1 and @thecuvii for help!

Full Changelog: v3.9.2...v3.9.3

v3.9.2

10 Nov 14:09
Compare
Choose a tag to compare

Fixes

Misc

  • ci: upgrade tsx and add node 20 back by @huozhi in #279

Full Changelog: v3.9.1...v3.9.2

v3.9.1

25 Oct 05:46
Compare
Choose a tag to compare

bunchee is now covered in SWC downstream testing, will be more realiable with SWC upgration! 🎈 ⚡️

Patches

  • Run tests on Node 20 (requires pnpm 8) by @thgh in #267
  • Error on invalid main field export by @huozhi in #271
  • Fix: Update swc and plugin to prevent error of swc configuration by @kdy1 in #278

Misc

New Contributors

Full Changelog: v3.9.0...v3.9.1

v3.9.0

23 Sep 23:17
Compare
Choose a tag to compare

🚢 We support the CSS imports in bunchee 3.9.0

/* src/style.css */
.title { color: orange }
// src/index.js
import './style.css'

export function Brand({ title }) {
  return <h1 className="title">{title}</h1>
}

Feature

Improvements

Full Changelog: v3.8.0...v3.9.0

v3.8.0

17 Sep 00:23
Compare
Choose a tag to compare

Patches

Improvements

Full Changelog: v3.7.2...v3.8.0