Skip to content

Releases: chalk/chalk

v5.3.0

29 Jun 10:58
Compare
Choose a tag to compare
  • Add sideEffects field to package.json 5aafc0a
  • Add support for Gitea Actions (#603) 29b8569

v5.2.0...v5.3.0

v5.2.0

08 Dec 18:47
Compare
Choose a tag to compare

v5.1.2...v5.2.0

v5.1.2

12 Oct 16:31
Compare
Choose a tag to compare

v5.1.1...v5.1.2

v5.1.1

12 Oct 09:38
Compare
Choose a tag to compare
  • Improved the names of exports introduced in 5.1.0 (#567) 6e0df05
    • We of course preserved the old names.

v5.1.0...v5.1.1

v5.1.0

05 Oct 14:46
Compare
Choose a tag to compare

v5.0.1...v5.1.0

v5.0.1

08 Mar 18:44
Compare
Choose a tag to compare
  • Add main field to package.json for backwards compatibility with some developer tools 85f7e96

v5.0.0...v5.0.1

v5.0.0

26 Nov 10:13
Compare
Choose a tag to compare

Breaking

  • This package is now pure ESM. Please read this.
    • If you use TypeScript, you need to use TypeScript 4.7 or later. Why.
    • If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
    • The Chalk issue tracker is not a support channel for your favorite build/bundler tool.
    • It's totally fine to stay on Chalk v4. It's been stable for years.
  • Require Node.js 12.20 fa16f4e
  • Move some properties off the default export to individual named exports:
    • chalk.Instance β†’ Chalk
    • chalk.supportsColor β†’ supportsColor
    • chalk.stderr β†’ chalkStderr
    • chalk.stderr.supportsColor β†’ supportsColorStderr
  • Remove .keyword(), .hsl(), .hsv(), .hwb(), and .ansi() coloring methods (#433) 4cf2e40
    • These were not commonly used and added a lot of bloat to Chalk. You can achieve the same by using the color-convert package.
  • The tagged template literal support moved into a separate package: chalk-template (#524) c987c61
-import chalk from 'chalk';
+import chalkTemplate from 'chalk-template';

-chalk`2 + 3 = {bold ${2 + 3}}`;
+chalkTemplate`2 + 3 = {bold ${2 + 3}}`;

Improvements

v4.1.0...v5.0.0

v4.1.2

30 Jul 12:04
Compare
Choose a tag to compare
  • Readme updates

v4.1.1

21 Apr 10:10
Compare
Choose a tag to compare

v4.1.0

09 Jun 07:44
Compare
Choose a tag to compare
  • Support template literals for nested calls (#392) 09ddbad

v4.0.0...v4.1.0