Wasat ChangeLog
v1.0.1
Released: 2026-07-21
- Fixed unhandled
ssl.SSLEOFError,ssl.SSLError, andOSErrorexceptions during request dispatch and response header reading by mapping them toConnectionError. (#36)
v1.0.0
Released: 2026-07-21
- Promoted to "stable". (#34)
v0.8.0
Released: 2026-07-18
v0.7.0
Released: 2026-07-16
- Added
GeminiURI.MAXIMUM_LENGTH. (#29) - Added
lensupport toGeminiURI(reports the byte length of the URI). (#29) - Added
GeminiURI.bytes_left. (#29) - Added
GeminiURI.too_long. (#29)
v0.6.1
Released: 2026-07-14
- Fixed
GeminiURI.with_default_schemetreatingexample.cominexample.com:1966as a scheme. (#27)
v0.6.0
Released: 2026-07-14
- Relaxed the type of the parameters for
GeminiURI.__init__. (#24) - Added
GeminiURI.with_default_scheme(#25)
v0.5.0
Released: 2026-07-13
- Added
get_hostsasynchronous method to theTrustStoreprotocol andFileTrustStoreimplementation to retrieve all stored host and port combinations from the trust store. (#22) - Added
trust_storepublic property to theClientclass to expose the underlying trust store. (#22)
v0.4.0
Released: 2026-07-12
- Added a new
replacemethod toGeminiURIto allow creating a copy of a URI with specified components replaced, including removing optional components like path or query by setting them toNone. (#19) - Added component-specific builder methods
with_host,with_port, andwith_pathtoGeminiURI. (#19) - Updated
with_queryonGeminiURIto allow setting, replacing, or clearing (by passingNone) the query parameter. (#19) - Updated
GeminiURIconstructor's internal error handling to catchValueErrorand other parsing anomalies (e.g. from negative/out-of-range ports) raised byurlparse, converting them intoURIError. (#19)
v0.3.2
Released: 2026-07-11
- Updated redirect certificate handling to automatically register/re-bind an inherited client certificate to the final landing URI's scope upon successful completion (status code 2x or 3x) of a redirect chain. This allows future direct requests to the target URI to automatically reuse the certificate without going through the initial redirect flow again. (#17)
v0.3.1
Released: 2026-07-11
- Fixed client certificate handling during redirects on the same host and port. If a client certificate was successfully used for a request in a redirect chain, the client automatically retrieves and reuses it for any subsequent redirected requests targeting the same host and port, preventing certificate information loss on sibling paths. (#14)
- Added
register_credentialsto theClientCertificateStoreprotocol andFileClientCertificateStoreimplementation to allow programmatically registering/associating existing client certificate files with a new URI scope. (#14) - Updated the client connection logic to skip generating a new certificate
if the
on_client_certificate_requiredcallback has already registered exact credentials for the URI, allowing manual registration in the callback. (#14)
v0.3.0
Released: 2026-07-11
- Added
client_cert_pathandclient_cert_usedproperties toResponseto expose the path to the client certificate and a boolean flag indicating if one was used for the connection. (#11)
v0.2.1
Released: 2026-07-10
- Fixed client certificate path prefix matching in
get_candidate_scopesto support both trailing and non-trailing slash parent directory paths, ensuring certificates registered for paths like/foo/bar(no trailing slash) are correctly matched and offered for subpaths (e.g./foo/bar/baz). (#9) - Added
has_exact_credentialsto theClientCertificateStoreprotocol andFileClientCertificateStoreimplementation. (#9) - Updated the client connection logic to use
has_exact_credentialswhen checking whether a client certificate requirement is new/fresh, ensuring the client correctly prompts the user for a new certificate if a parent certificate is rejected by the server, while avoiding infinite loops. (#9)
v0.2.0
Released: 2026-07-10
- Allowed passing
Nonetovalid_daysingenerate_self_signed_certandcreate_credentialsto generate client certificates that expire on9999-12-31. (#7)
v0.1.0
Released: 2026-06-24
- Added support for generating and storing client certificates. (#3)
- Added support for handling Gemini Protocol input requests (status codes 10 and 11) in the CLI. (#4)
- Added
uriproperty toResponseto expose the target URI of the request. (#5) - Added
historyproperty toResponseto expose any redirection history. (#5) - Added
requested_uriproperty toResponseto expose the originally-requested URI in any response. (#5) - Updated the CLI to show the originally-requested URI and the redirection history, in verbose mode, if there was a redirection. (#5)
v0.0.1
Released: 2026-06-17
- Initial version of the library.