Skip to content

Releases: cacjs/cac

v7.0.0

27 Feb 14:52
v7.0.0
77f602f

Choose a tag to compare

🚨 Breaking Changes

  • Drop Node.js < 20.19.0 support. Node.js 20.19.0 is now the minimum required version.
  • Remove CJS build. CAC is now ESM-only. If you rely on require(), either migrate to ESM imports or upgrade to Node.js ≥ 20.19.0, which supports require() for ES modules natively.
  • Rename event listener methods to follow the EventTarget API. cli.on() and related methods have been renamed to cli.addEventListener(). Update your code accordingly:
--- cli.on('command:*', () => { ... })
+++ cli.addEventListener('command:*', () => { ... })

Notes for Deno Users

Please use the JSR package instead: @cac/cac

import cac from 'jsr:@cac/cac'

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v7.0.0-beta.1

20 Feb 18:15
v7.0.0-beta.1
8478fb4

Choose a tag to compare

v7.0.0-beta.1 Pre-release
Pre-release

   ⚠️ Breaking Changes

  • Drop support for Node.js < 20.19.0.
  • Remove CJS build. Please use ESM imports, or upgrade to Node.js > 20.19.0 to continue using require.
  • Rename cli.on() and related methods to cli.addEventListener() to follow the EventTarget API.

   🚀 Features

  • Drop support for Node.js < 20.19.0, remove CJS build, and update dependencies  -  by @sxzz (bdbd7)
  • Release on JSR  -  by @sxzz (21f55)
    View changes on GitHub

v6.7.14

29 Aug 03:02
8342919

Choose a tag to compare

6.7.14 (2022-08-29)

Bug Fixes

  • fix typescript issue and fix wrong export field (fix #143) (#144) (8342919)

v6.7.13

29 Aug 02:00
b8aab4a

Choose a tag to compare

6.7.13 (2022-08-29)

Bug Fixes

  • compat with NodeNext moduleResolution (#142) (b8aab4a)

v6.7.12

12 Nov 01:34
ef52bc9

Choose a tag to compare

6.7.12 (2021-11-12)

Bug Fixes

v6.7.11

12 Oct 12:15
5e07a98

Choose a tag to compare

6.7.11 (2021-10-12)

Bug Fixes

  • default exports.require should be pointed to index-compat.js (#128) (5e07a98)

v6.7.10

12 Oct 09:46

Choose a tag to compare

6.7.10 (2021-10-12)

Bug Fixes

  • remove module.exports statement from esm build (46b2114)

v6.7.9

12 Oct 08:16

Choose a tag to compare

6.7.9 (2021-10-12)

Bug Fixes

  • make sure --version appears in the help message of the default command (0815980)

v6.7.8

08 Oct 14:16
702d41a

Choose a tag to compare

6.7.8 (2021-10-08)

Bug Fixes

  • remove version from the help message for sub commands (#126) (702d41a)

v6.7.7

06 Oct 13:33

Choose a tag to compare

6.7.7 (2021-10-06)

Bug Fixes

  • output help for sub commands too (abe662b)