All Versions
31
Latest Version
Avg Release Cycle
76 days
Latest Release
104 days ago

Changelog History
Page 2

  • v3.5.2 Changes

    January 02, 2025

    v3.5.2

    ๐Ÿ”‹ Features

    • ๐Ÿ“ฆ Optimised the npm package size from 10.3 kB to 7.0 kB.

    Now, Ansis is the smallest yet most powerful library with rich functionality.
    A slightly smaller is picocolors (6.4 kB), but it offers only basic functionality.

    • โž• Added detection of the xterm-direct terminal as supportingtruecolor.
    • โž• Added support for the COLORTERM environment variable with the following values: truecolor, 24bit, ansi256, ansi (16 colors).

    ๐Ÿ› Bug Fixes (TypeScript)

    • ๐Ÿ›  Fixed default import in TypeScript compiled with tsc:
      import ansis from 'ansis' now works so well as import * as ansis from 'ansis'.
    • ๐Ÿ›  Fixed the TS2339: Property 'strip' does not exist on type when the tsc option module is node16.
  • v3.4.0 Changes

    December 23, 2024

    v3.4.0

    ๐Ÿš€ Cumulative Release v3.3.2 - v3.4.0

    ๐Ÿ› Bug Fixes

    • ๐Ÿ Correct detect TTY on Windows platform.

    Chore

    • ๐Ÿ“ฆ Optimised the npm package to reduce size by ~1.1 kB, from 11.4 kB to 10.3 kB.
    • โž• Added benchmarks for kolorist package.
    • โž• Added new representative benchmarks by using combination of 1, 2, 3 and 4 styles.
    • ๐Ÿ”จ Refactor: invisible code optimisations.
  • v1.5.4 Changes

    September 14, 2022
    • ๐Ÿ›  fix: visible style with nested template strings
  • v1.5.3 Changes

    September 14, 2022
    • ๐Ÿ›  fix: set correct aliases for bgAnsi and fg methods by named export
    • ๐Ÿ”จ chore: refactor examples
    • ๐Ÿ“„ docs: update readme
  • v1.5.2 Changes

    September 10, 2022
    • ๐Ÿ›  fix: regard the value of the environment variable FORCE_COLOR=0 to force disable colors
    • โœ… test: added tests for FORCE_COLOR
    • ๐Ÿ“„ docs: update readme
  • v1.5.1 Changes

    September 08, 2022
    • ๐Ÿ›  fix: added missing export for CJS mode in package.json
    • โœ… test: added manual tests for CJS and ESM mode
  • v1.5.0 Changes

    September 08, 2022
    • ๐Ÿ—„ DEPRECATE v1.5.0, because missing exports main for CJS mode, fixed in v1.5.1
  • v1.4.0 Changes

    July 02, 2022
    • ๐Ÿšš feat: add method strip() to remove all ANSI codes from string
  • v1.3.6 Changes

    April 27, 2022
    • ๐Ÿ— build: properly generated distribution package, bump to last stable version 1.3.6
    • โšก๏ธ chore: update dev packages
  • v1.3.5 Changes

    April 27, 2022
    • ๐Ÿ—„ DEPRECATED: this version is broken