Skip to content

fix: Correct Gemini handling and prepare Germ 0.5.0 - #4

Merged
Fuwn merged 19 commits into
mainfrom
fix/gemini-protocol-correctness
Sep 24, 2026
Merged

Fuwn merged 19 commits into
mainfrom
fix/gemini-protocol-correctness

Conversation

@Fuwn

@Fuwn Fuwn commented Sep 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Validate server certificates by default, and add configurable CA roots and caller-owned trust-on-first-use storage.
  • Validate request and response framing, preserve response bytes and unknown status codes, and add timeout and response-size limits.
  • Correct Gemtext parsing, HTML and Markdown escaping, metadata handling, and optional feature gates.
  • Simplify the public Gemtext APIs, update the examples and documentation, and set the crate version to 0.5.0.

Compatibility

This release removes Ast::from_owned, Ast::from_value, and the public EXAMPLE_GEMTEXT feature and constant. Ast::from_string and convert::from_string now accept AsRef<str>, and quick::link takes the URL before the optional label. Requests that previously accepted untrusted certificates now require configured roots or the opt-in TOFU API.

@Fuwn
Fuwn merged commit 6ecd648 into main Sep 24, 2026
2 checks passed
@Fuwn
Fuwn deleted the fix/gemini-protocol-correctness branch September 24, 2026 10:20
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