Skip to content

v2.14.0 — Unified Formatting Library

Choose a tag to compare

@Data-Wise Data-Wise released this 05 Feb 19:21
· 227 commits to main since this release
cc9a107

What's New

Unified Formatting Library (scripts/formatting.sh)

Shared bash library (~180 lines) providing box-drawing (double/single line), FMT_ prefixed color constants, ANSI-aware padding, table formatting, and source guard. All boxes standardized to 63 visible characters.

API: box_header, box_single, box_row, box_separator, box_footer, box_empty_row, box_table, fmt_set_width, fmt_divider, _fmt_strip_ansi

Migrations

  • 8 box-drawing scripts migrated (install.sh, migrate-from-workflow.sh, convert-cast.sh, health-check.sh, consent-prompt.sh, dependency-installer.sh, dependency-manager.sh)
  • 15 color-only scripts migrated (validate-counts, pre-release-check, batch-convert, repair-tools, 3 installers, tool-detector, version-check, sync-version, verify-phase1/2, install-hooks, test-fix-flag, pre-commit-markdownlint)

Tests

  • 74 new tests (28 unit + 30 integration + 16 edge cases)
  • 1248 total tests passing

Documentation

  • Formatting library guide, migration tutorial, reference card

Full Changelog: v2.13.1...v2.14.0