Releases: haltcase/tablemark
Releases · haltcase/tablemark
Release list
v4.1.0
Immutable
release. Only release title and notes can be modified.
4.1.0 (2025-09-19)
- fix: properly apply column
maxWidth(dc443ee) - feat: export
headerCaseoptions (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
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
Immutable
release. Only release title and notes can be modified.
4.1.0-canary.2 (2025-09-13)
- feat: export
headerCaseoptions (8910983)
v4.1.0-canary.1
Immutable
release. Only release title and notes can be modified.
v4.0.0
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.caseHeadersis deprecated in favor ofoptions.headerCase.options.wrapWidthis deprecated in favor ofoptions.maxWidth.
BREAKING CHANGES
- Node v20 is now the minimum required version since v18 is officially EOL.
tablemarkis now a named export instead of the default.- If the input iterable is empty, an empty string is returned instead of
an error. options.alignno longer allows uppercase values likeLEFT.options.toCellTextnow receives an object withkey(object key)
andvalue(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
Immutable
release. Only release title and notes can be modified.
4.0.0-canary.1 (2025-09-11)
Bug Fixes
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
v3.0.0
FEATURES
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
tablemarkfunction is simplified:options.stringify→options.toCellTextoptions.wrap.width→options.wrapWidthoptions.wrap.gutters→options.wrapWithGutters
- a
RangeErroris thrown instead of aTypeErrorwhen
an invalid alignment is specified.