Skip to content

Releases: haltcase/tablemark

v4.1.0

Choose a tag to compare

@github-actions github-actions released this 19 Sep 04:06
Immutable release. Only release title and notes can be modified.

4.1.0 (2025-09-19)

  • fix: properly apply column maxWidth (dc443ee)
  • feat: export headerCase options (8910983)
  • feat: export enum-like objects (32ce0db)
  • chore: remove "release" commit type (be6d58e)
  • chore: use conventionalcommits in semantic-release (c8fe5d5)
  • build(deps): bump vite from 7.0.0 to 7.1.5 (0411af9)
  • ci: fix unpinned action (a980032)

v4.1.0-canary.3

v4.1.0-canary.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Sep 03:26
Immutable release. Only release title and notes can be modified.

4.1.0-canary.3 (2025-09-19)

  • fix: properly apply column maxWidth (dc443ee)

v4.1.0-canary.2

v4.1.0-canary.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Sep 02:02
Immutable release. Only release title and notes can be modified.

4.1.0-canary.2 (2025-09-13)

  • feat: export headerCase options (8910983)

v4.1.0-canary.1

v4.1.0-canary.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Sep 01:43
Immutable release. Only release title and notes can be modified.

4.1.0-canary.1 (2025-09-13)

  • feat: export enum-like objects (32ce0db)
  • chore: remove "release" commit type (be6d58e)
  • chore: use conventionalcommits in semantic-release (c8fe5d5)
  • build(deps): bump vite from 7.0.0 to 7.1.5 (0411af9)
  • ci: fix unpinned action (a980032)

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 12 Sep 02:51
Immutable release. Only release title and notes can be modified.

4.0.0 (2025-09-12)

Features

  • support counting ANSI escapes (ee38d57)
  • reduce minimum column width to 3 (75f8337)
  • rewrite with extended text handling support (468e44d)
  • require node v20+ (9f9e74f)

DEPRECATIONS

These deprecated options will be removed in the next major version.

  • options.caseHeaders is deprecated in favor of options.headerCase.
  • options.wrapWidth is deprecated in favor of options.maxWidth.

BREAKING CHANGES

  • Node v20 is now the minimum required version since v18 is officially EOL.
  • tablemark is now a named export instead of the default.
  • If the input iterable is empty, an empty string is returned instead of
    an error.
  • options.align no longer allows uppercase values like LEFT.
  • options.toCellText now receives an object with key (object key)
    and value (cell content) properties, rather than just the string
    value.
  • The minimum column width has been reduced to 3
    characters, which is the narrowest width that still allows for both left and
    right alignment characters and a single hyphen in the divider cell. This is a
    fairly innocuous change, but does change output table layouts.

v4.0.0-canary.1

v4.0.0-canary.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Sep 03:55
Immutable release. Only release title and notes can be modified.

4.0.0-canary.1 (2025-09-11)

  • feat!: reduce minimum column width to 3 (75f8337)
  • feat!: require node v20+ (9f9e74f)

Bug Fixes

  • patch wordwrapjs for empty cell issue (#26) (b7f0e6e)
  • run build before publishing (991a496)

Features

BREAKING CHANGES

  • the minimum column width has been reduced to 3
    characters, which is the narrowest width that still allows for both left
    and right alignment characters and a single hyphen in the divider cell.
    This is a fairly innocuous change, but does change output table layouts.
  • Node v20 is now the minimum required version since v18 is officially EOL.
  • Node.js 18+ is now required.

v3.1.0

Choose a tag to compare

@haltcase haltcase released this 02 Apr 02:09
FEATURES
  • support eliding padding in header separator (#17) (a4d24ce), closes #16

v3.0.0

Choose a tag to compare

@haltcase haltcase released this 26 Oct 03:21
FEATURES
  • rewrite in TypeScript as ESM (feb3dd1)
  • require node 14.16+ (21b6d9e)
BREAKING CHANGES
  • support for node <14.16 has been dropped.
  • tablemark must be used as an ES module and is no longer available as common js.
  • the shape of the options object to the tablemark function is simplified:
    • options.stringifyoptions.toCellText
    • options.wrap.widthoptions.wrapWidth
    • options.wrap.guttersoptions.wrapWithGutters
  • a RangeError is thrown instead of a TypeError when
    an invalid alignment is specified.

v2.0.0

Choose a tag to compare

@haltcase haltcase released this 26 Jul 00:11
FEATURES
BREAKING CHANGES
  • support for node 4, 6, and < 8.10 has been dropped.

v1.2.0

Choose a tag to compare

@haltcase haltcase released this 14 Jan 09:38
BUG FIXES
  • handle pipes in content correctly (#7) (3f803e9)
FEATURES
PERFORMANCE
  • lift regex out of function scope (6d8ab99)