Skip to content

v1.0.3: UTF-8 boundary fix + rustls-webpki security bump#108

Merged
jdx merged 2 commits intomainfrom
release-plz-2026-04-23T16-53-22Z
Apr 23, 2026
Merged

v1.0.3: UTF-8 boundary fix + rustls-webpki security bump#108
jdx merged 2 commits intomainfrom
release-plz-2026-04-23T16-53-22Z

Conversation

@jdx
Copy link
Copy Markdown
Owner

@jdx jdx commented Apr 23, 2026

A small patch release that fixes a panic when generating notes against releases with multi-byte characters in their bodies, and picks up a security fix in rustls-webpki.

Fixed

  • Don't panic on multi-byte chars in style-reference bodiescommunique generate truncates each recent release body to 3072 bytes to keep the prompt small, but previously sliced &body[..3072] directly. If byte 3072 fell inside a multi-byte UTF-8 character (common with em-dashes, which are 3 bytes), the command would panic with byte index 3072 is not a char boundary. The truncation now walks back to the nearest char boundary before slicing, with a regression test covering the case. (#113) (@jdx)

Security

  • rustls-webpki bumped to 0.103.13 — Addresses RUSTSEC-2026-0104, a reachable panic in certificate revocation list parsing. Lockfile-only change. (#107) (@jdx)

Docs

  • Added a dismissible cross-site announcement banner and an en.dev footer to the documentation site, with follow-up polish (contrast, centering, z-index), smarter caching, and ResizeObserver-based height syncing so VitePress's nav offset stays correct on resize. (#109, #110, #111, #112) (@jdx)

@jdx jdx changed the title chore: release v1.0.3 v1.0.3: rustls-webpki security bump Apr 23, 2026
@jdx jdx force-pushed the release-plz-2026-04-23T16-53-22Z branch from 1747562 to 2e47175 Compare April 23, 2026 16:54
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request bumps the version of the communique package from 1.0.2 to 1.0.3 across Cargo.toml, Cargo.lock, and the CHANGELOG.md. Feedback was provided regarding an inaccurate changelog entry that claims dependencies were updated when only the package version itself was changed.

Comment thread CHANGELOG.md Outdated
## Fixed

- Retry malformed `submit_release_notes` tool calls instead of aborting the run, with a cap of 3 attempts ([#105](https://github.com/jdx/communique/pull/105))
- Bump `rustls-webpki` to 0.103.13 to address [RUSTSEC-2026-0104](https://rustsec.org/advisories/RUSTSEC-2026-0104) (reachable panic in CRL parsing) ([#107](https://github.com/jdx/communique/pull/107))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The changelog entry - update Cargo.lock dependencies appears to be inaccurate for this release. The provided diff for Cargo.lock shows that only the communique package version itself was bumped from 1.0.2 to 1.0.3, with no changes to any other dependencies. If no dependencies were actually updated, this entry should be removed or corrected to reflect the actual changes in this version.

@jdx jdx changed the title v1.0.3: rustls-webpki security bump chore: release v1.0.3 Apr 23, 2026
@jdx jdx force-pushed the release-plz-2026-04-23T16-53-22Z branch from 2e47175 to 0437b4f Compare April 23, 2026 16:55
@jdx jdx changed the title chore: release v1.0.3 v1.0.3: rustls-webpki security bump Apr 23, 2026
@jdx jdx force-pushed the release-plz-2026-04-23T16-53-22Z branch from 0437b4f to 7f85448 Compare April 23, 2026 16:55
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 23, 2026

Greptile Summary

Release-plz–generated PR that cuts v1.0.3 by bumping the crate version consistently across Cargo.toml, Cargo.lock, communique.usage.kdl, docs/cli/commands.json, and docs/cli/index.md, and prepending a correctly-formatted [1.0.3] changelog section noting a UTF-8 truncation fix plus several banner-related improvements.

Confidence Score: 5/5

Safe to merge — purely release bookkeeping with no functional code changes.

All six changed files are version-string or changelog updates only. Version is consistent across every artifact. The new 1.0.3 changelog block is properly formatted. No logic, dependencies, or API surface changed in this PR.

No files require special attention.

Important Files Changed

Filename Overview
CHANGELOG.md Prepends a well-formed [1.0.3] section with Fixed and Other entries; blank lines and section headers are correct in the new block
Cargo.toml Version bumped from 1.0.2 to 1.0.3; no other changes
Cargo.lock communique package version updated to 1.0.3 in the lock file; consistent with Cargo.toml
communique.usage.kdl Version string bumped from 1.0.2 to 1.0.3 in the KDL usage spec
docs/cli/commands.json version field updated from 1.0.2 to 1.0.3 in the CLI commands JSON
docs/cli/index.md Version string in the CLI documentation index updated from 1.0.2 to 1.0.3

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[release-plz detects merged PRs] --> B[Bumps version: 1.0.2 → 1.0.3]
    B --> C[Cargo.toml]
    B --> D[Cargo.lock]
    B --> E[communique.usage.kdl]
    B --> F[docs/cli/commands.json]
    B --> G[docs/cli/index.md]
    B --> H[CHANGELOG.md]
    H --> H1[Added 1.0.3 section\nFixed: UTF-8 truncation\nOther: banner improvements]
Loading

Reviews (6): Last reviewed commit: "[autofix.ci] apply automated fixes" | Re-trigger Greptile

Comment thread CHANGELOG.md Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.11%. Comparing base (5e74d55) to head (47b72de).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #108   +/-   ##
=======================================
  Coverage   94.11%   94.11%           
=======================================
  Files          26       26           
  Lines        4076     4076           
  Branches     4076     4076           
=======================================
  Hits         3836     3836           
  Misses        155      155           
  Partials       85       85           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jdx jdx changed the title v1.0.3: rustls-webpki security bump chore: release v1.0.3 Apr 23, 2026
@jdx jdx force-pushed the release-plz-2026-04-23T16-53-22Z branch from 7f85448 to 00b757f Compare April 23, 2026 18:43
@jdx jdx changed the title chore: release v1.0.3 v1.0.3: rustls-webpki security bump Apr 23, 2026
Comment thread CHANGELOG.md
@jdx jdx changed the title v1.0.3: rustls-webpki security bump chore: release v1.0.3 Apr 23, 2026
@jdx jdx force-pushed the release-plz-2026-04-23T16-53-22Z branch from 44ba84e to 0b77e7c Compare April 23, 2026 19:18
@jdx jdx changed the title chore: release v1.0.3 v1.0.3: rustls-webpki security bump Apr 23, 2026
@jdx jdx changed the title v1.0.3: rustls-webpki security bump chore: release v1.0.3 Apr 23, 2026
@jdx jdx force-pushed the release-plz-2026-04-23T16-53-22Z branch from bff8027 to 5ef9fa2 Compare April 23, 2026 19:39
@jdx jdx changed the title chore: release v1.0.3 v1.0.3: rustls-webpki security bump Apr 23, 2026
@jdx jdx force-pushed the release-plz-2026-04-23T16-53-22Z branch from 5ef9fa2 to cd979a8 Compare April 23, 2026 19:40
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit cd979a8. Configure here.

Comment thread CHANGELOG.md Outdated
@jdx jdx changed the title v1.0.3: rustls-webpki security bump chore: release v1.0.3 Apr 23, 2026
@jdx jdx force-pushed the release-plz-2026-04-23T16-53-22Z branch from cd979a8 to 4a15a22 Compare April 23, 2026 19:55
@jdx jdx changed the title chore: release v1.0.3 v1.0.3: rustls-webpki security bump Apr 23, 2026
@jdx jdx changed the title v1.0.3: rustls-webpki security bump chore: release v1.0.3 Apr 23, 2026
@jdx jdx force-pushed the release-plz-2026-04-23T16-53-22Z branch from 8b93585 to 85f9e32 Compare April 23, 2026 20:24
@jdx jdx changed the title chore: release v1.0.3 v1.0.3: UTF-8 boundary fix + rustls-webpki security bump Apr 23, 2026
@jdx jdx merged commit 8c2d1d5 into main Apr 23, 2026
8 checks passed
@jdx jdx deleted the release-plz-2026-04-23T16-53-22Z branch April 23, 2026 20:34
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