Skip to content

Releases: ypfaff/adocfmt

v0.3.0

Choose a tag to compare

@adocfmt-release adocfmt-release released this 06 Oct 18:46
Immutable release. Only release title and notes can be modified.

Changelog

Bug fixes

  • fix(block): bind metadata above a + in a list item to the block below it (934009a) @ypfaff
  • fix(block): freeze the block right under a directive (687ee31) @ypfaff
  • fix(block): leave a two-line title alone whose title line reads as a list item (e257cac) @ypfaff
  • fix(block): read a list item from the lines Asciidoctor collects for it (e44ab38) @ypfaff
  • fix(block): read a paragraph opening with a lone + under a verbatim style to the blank line (fa46e4e) @ypfaff

Documentation

  • docs(rules): explain how one and two blank lines in a description list differ (9f4f5d9) @ypfaff

Other changes

  • ci(release): generate grouped release notes with commit links (087924b) @ypfaff

Full Changelog: v0.2.1...v0.3.0

v0.2.1

Choose a tag to compare

@adocfmt-release adocfmt-release released this 04 Oct 00:08
Immutable release. Only release title and notes can be modified.

Changelog

Bug fixes

  • fix(release): retry the major tag push after a transient rejection (a4eadb3) @ypfaff

Documentation

Other changes

  • ci(release): attach SLSA build provenance to the release (e5f299f) @ypfaff

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@adocfmt-release adocfmt-release released this 01 Oct 19:12
Immutable release. Only release title and notes can be modified.

Changelog

Features

  • feat(printer): put a blank line between description list terms (bc9b905) @ypfaff

Bug fixes

  • fix(block): carry the block below attribute entries under a continuation (452bd08) @ypfaff
  • fix(block): end a description list at an attribute line above the next term (2bf0f06) @ypfaff
  • fix(block): end a description list at an attribute line in a nested list (b60fb41) @ypfaff
  • fix(block): give the blank lines under orphaned metadata to the next item (06f63fb) @ypfaff

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@adocfmt-release adocfmt-release released this 01 Oct 09:45
Immutable release. Only release title and notes can be modified.

First release.

adocfmt formats AsciiDoc files into one consistent layout without changing what they render.

What it does

  • Writes one sentence per line.
  • Puts one blank line between blocks.
  • Rewrites headings to the one-line form with = markers.
  • Writes list markers in one form and removes trailing whitespace.
  • Shortens block delimiters to the width their body allows.
  • Refuses a document it cannot read safely, and says why.

How to use it

  • adocfmt --check in CI, adocfmt --write to format in place.
  • A GitHub Action, binaries for Linux, macOS and Windows, and a Homebrew formula.

The formatting rules list every change adocfmt makes.