gram/packages/format/CHANGELOG.md
abiwab c1310da3f7
All checks were successful
CI / Build & Test (pull_request) Successful in 5m21s
chore: release v1.4.2
2026-11-17 15:33:12 +01:00

1.8 KiB

@gram-lang/format

1.4.2

Patch Changes

  • 268c8ea: Format: Fixed a temperature written with a space and trailing zeros, such as ^{160.0 °C}, that took two runs of the formatter to become ^{160°C}: it is now fixed in one.

1.4.1

No changes in this release.

1.4.0

No changes in this release.

1.3.0

No changes in this release.

1.2.1

1.2.0

1.1.0

1.0.1

1.0.0

Major Changes

  • Gram v1.0.0 Official Launch! 🎉

    This milestone release marks the official 1.0.0 launch of Gram:

    • Brand-New Website & Documentation: Rebuilt using Astro and Starlight with refined guides and an integrated blog.
    • Refreshed Visual Identity: Brand-new logo.
    • Infrastructure & Stability: Monorepo stability, test coverage, and migration to self-hosted Forgejo (git.gram-lang.org) mirrored to GitHub and Codeberg.

1.0.0-beta.5

Minor Changes

  • cf39429: Introduce @gram-lang/format, a standalone canonical code formatting engine for .gram files with 13 deterministic rules, used by the CLI and Language Server.

  • 99aa179: Fixed two bugs in the recipe formatter:

    • A #cookware reference at the very start of a line (e.g. #pan(20cm)) was incorrectly treated as a malformed section header and got a space inserted after the #, turning it into plain text and silently breaking the recipe.
    • Blank-line spacing before a ## Section header was being promoted to two blank lines instead of Gram's actual convention of exactly one blank line between every step and/or section. The formatter now consistently enforces a single blank line everywhere, including before section headers. As a result, the sectionSpacing counter (previously reported alongside consecutiveBlankLines) has been removed — this kind of spacing fix is now reported as part of consecutiveBlankLines.