Skip to content

chore(release): v0.10.3 AST Normalization Refactor (CommonMark §4.7)#97

Merged
PythonWoods-Dev merged 5 commits into
mainfrom
release/v0.10.3-prep
Jun 8, 2026
Merged

chore(release): v0.10.3 AST Normalization Refactor (CommonMark §4.7)#97
PythonWoods-Dev merged 5 commits into
mainfrom
release/v0.10.3-prep

Conversation

@PythonWoods-Dev

Copy link
Copy Markdown
Contributor

This release fixes a critical edge case in the AST parser regarding reference definition normalization.

Fixed

  • Whitespace Normalization (Z302): The reference map now strictly complies with CommonMark §4.7 by collapsing all consecutive internal whitespace (including newlines) into a single space when normalizing reference labels. This prevents false-positive "Orphan Definition" errors on links that span newlines due to word-wrap.
  • ADR-013 Compliance: Refactored the normalization logic to use native O(N) Python string methods (" ".join(ref_id.split()).lower()), removing the dependency on the re module.

PythonWoods-Dev and others added 5 commits June 8, 2026 20:24
…(ADR-013)

Signed-off-by: PythonWoods <gianluca.catalano@gmail.com>
Signed-off-by: PythonWoods <gianluca.catalano@gmail.com>
Signed-off-by: PythonWoods <gianluca.catalano@gmail.com>
Signed-off-by: PythonWoods <gianluca.catalano@gmail.com>
Bumps the actions-all group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).

Updates `actions/checkout` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@de0fac2...df4cb1c)

Updates `astral-sh/setup-uv` from 8.1.0 to 8.2.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@0880764...fac544c)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-all
- dependency-name: astral-sh/setup-uv
  dependency-version: 8.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-all
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: PythonWoods <gianluca.catalano@gmail.com>
@PythonWoods-Dev PythonWoods-Dev changed the title Release v0.10.3: AST Normalization Refactor (CommonMark §4.7) chore(release): v0.10.3 AST Normalization Refactor (CommonMark §4.7) Jun 8, 2026
@PythonWoods-Dev PythonWoods-Dev merged commit dd4682b into main Jun 8, 2026
6 of 7 checks passed
@PythonWoods-Dev PythonWoods-Dev deleted the release/v0.10.3-prep branch June 10, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant