Chalk Versions Save

🖍 Terminal string styling done right

v5.3.0

10 months ago
  • Add sideEffects field to package.json 5aafc0a
  • Add support for Gitea Actions (#603) 29b8569

https://github.com/chalk/chalk/compare/v5.2.0...v5.3.0

v5.2.0

1 year ago
  • Improve Deno compatibility (#579) 7443e9f
  • Detect true-color support for GitHub Actions (#579) 7443e9f
  • Detect true-color support for Kitty terminal (#579) 7443e9f
  • Fix test for Azure DevOps environment (#579) 7443e9f

https://github.com/chalk/chalk/compare/v5.1.2...v5.2.0

v5.1.2

1 year ago
  • Fix exported styles names (#569) a34bcf6

https://github.com/chalk/chalk/compare/v5.1.1...v5.1.2

v5.1.1

1 year ago
  • Improved the names of exports introduced in 5.1.0 (#567) 6e0df05
    • We of course preserved the old names.

https://github.com/chalk/chalk/compare/v5.1.0...v5.1.1

v5.1.0

1 year ago
  • Expose style names (#566) d7d7571

https://github.com/chalk/chalk/compare/v5.0.1...v5.1.0

v5.0.1

2 years ago
  • Add main field to package.json for backwards compatibility with some developer tools 85f7e96

https://github.com/chalk/chalk/compare/v5.0.0...v5.0.1

v5.0.0

2 years ago

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.InstanceChalk
    • chalk.supportsColorsupportsColor
    • chalk.stderrchalkStderr
    • chalk.stderr.supportsColorsupportsColorStderr
  • 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

  • Bundle dependencies 04fdbd6
    • This means Chalk no longer has any dependencies 🎉
  • The install size is less than half of v4.
  • Add overline style (#433) 4cf2e40
  • Preserve function prototype methods (#434) 0fba91b

https://github.com/chalk/chalk/compare/v4.1.0...v5.0.0

v4.1.2

2 years ago
  • Readme updates

v4.1.0

3 years ago
  • Support template literals for nested calls (#392) 09ddbad

https://github.com/chalk/chalk/compare/v4.0.0...v4.1.0