# picocolors: what changed from 0 to 1 - Product: picocolors (https://whatsnew.fyi/product/picocolors) - Vendor: Alexey Raspopov - Range: changelog entries numbered after v0.2.1 up to and including v1.1.1, stable releases only - Entries below: 4 releases (newest first) - Resolved: 0 is v0.2.1 and 1 is v1.1.1, the newest stable release of each major we track - Carrying security changes: 0 · CVEs mentioned: 0 · Mentioning breaking changes: 0 · Removing or deprecating something: 1 - Page: https://whatsnew.fyi/product/picocolors/compare/0...1 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. ## What changed (8 changes, grouped by kind) ### Added #### v1.1.0 (2024-09-02) - Bright color variants ### Changed #### v1.1.1 (2024-10-16) - Moved TypeScript declarations to a d.ts file - Eliminated require() call to make the package compatible with some tools #### v1.0.1 (2024-05-14) - Remove use of recursion to avoid possible stack overflow for very long inputs ### Fixed #### v1.1.1 (2024-10-16) - Reworked color detection algorithm to properly work with empty strings in NO_COLOR and FORCE_COLOR env variables #### v1.0.1 (2024-05-14) - Color detection mechanism now works properly on Vercel Edge Runtime #### v1.0.0 (2021-10-13) - Optional flag for createColors() in TypeScript typings ### Removed #### v1.0.0 (2021-10-13) - Several code elements to reduce the package size ## Release notes ### v1.1.1 — picocolors 1.1.1 - Date: 2024-10-16 - Version: v1.1.1 - Original notes: https://github.com/alexeyraspopov/picocolors/releases/tag/v1.1.1 - Permalink: https://whatsnew.fyi/product/picocolors/releases/v1.1.1 - **changed** — Moved TypeScript declarations to a d.ts file - **fixed** — Reworked color detection algorithm to properly work with empty strings in NO_COLOR and FORCE_COLOR env variables - **changed** — Eliminated require() call to make the package compatible with some tools ##### What's new? - Moved TypeScript declarations to a `d.ts` file [#82](https://github.com/alexeyraspopov/picocolors/pull/82) - Reworked color detection algorithm to properly work with empty strings in `NO_COLOR` and `FORCE_COLOR` env variables [#87](https://github.com/alexeyraspopov/picocolors/pull/87) - Eliminated `require()` call to make the package compatible with some tools [#87](https://github.com/alexeyraspopov/picocolors/pull/87) ### v1.1.0 — picocolors 1.1.0 - Date: 2024-09-02 - Version: v1.1.0 - Original notes: https://github.com/alexeyraspopov/picocolors/releases/tag/v1.1.0 - Permalink: https://whatsnew.fyi/product/picocolors/releases/v1.1.0 - **added** — Bright color variants ##### What's new? - Added bright color variants [#55](https://github.com/alexeyraspopov/picocolors/pull/55) ### v1.0.1 — picocolors 1.0.1 - Date: 2024-05-14 - Version: v1.0.1 - Original notes: https://github.com/alexeyraspopov/picocolors/releases/tag/v1.0.1 - Permalink: https://whatsnew.fyi/product/picocolors/releases/v1.0.1 - **fixed** — Color detection mechanism now works properly on Vercel Edge Runtime - **changed** — Remove use of recursion to avoid possible stack overflow for very long inputs ##### What's new? - Updated color detection mechanism to work properly on Vercel Edge Runtime https://github.com/alexeyraspopov/picocolors/pull/64 - Remove use of recursion to avoid possible stack overflow for very long inputs https://github.com/alexeyraspopov/picocolors/pull/56 ### v1.0.0 — picocolors v1.0.0 - Date: 2021-10-13 - Version: v1.0.0 - Original notes: https://github.com/alexeyraspopov/picocolors/releases/tag/v1.0.0 - Permalink: https://whatsnew.fyi/product/picocolors/releases/v1.0.0 - **removed** — Several code elements to reduce the package size - **fixed** — Optional flag for createColors() in TypeScript typings ##### What's new? - Removed several code elements to reduce the package size https://github.com/alexeyraspopov/picocolors/pull/31 - Fixed optional flag for `createColors()` in TypeScript typings https://github.com/alexeyraspopov/picocolors/pull/34