Skip to content

docs: tag the hpke module as versionadded 47.0.0 - #15567

Merged
alex merged 1 commit into
pyca:mainfrom
SergioCc13:hpke-versionadded
Sep 1, 2026
Merged

docs: tag the hpke module as versionadded 47.0.0#15567
alex merged 1 commit into
pyca:mainfrom
SergioCc13:hpke-versionadded

Conversation

@SergioCc13

Copy link
Copy Markdown
Contributor

Closes #15561.

Per @alex's suggestion in the issue: tag the whole hpke module as .. versionadded:: 47.0.0 and drop the per-class .. versionadded:: 47.0.0 from the four hybrid-key classes that carried it (MLKEM768X25519PrivateKey, MLKEM768X25519PublicKey, MLKEM1024P384PrivateKey, MLKEM1024P384PublicKey).

This also covers Suite, KEM, KDF and AEAD, which previously had no version marker. KEM.enc_length() keeps its own .. versionadded:: 49.0.0.

HPKE landed in 47.0.0 (CHANGELOG: "Added /hazmat/primitives/hpke support implementing :rfc:9180").

Move the '.. versionadded:: 47.0.0' from the individual hybrid-key
classes (MLKEM768X25519PrivateKey, MLKEM768X25519PublicKey,
MLKEM1024P384PrivateKey, MLKEM1024P384PublicKey) up to the module
level, so Suite/KEM/KDF/AEAD are covered too. KEM.enc_length()
keeps its own '.. versionadded:: 49.0.0'.

Refs pyca#15561

@alex alex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks

@alex
alex merged commit 8ce44c9 into pyca:main Sep 1, 2026
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

docs: HPKE Suite/KEM/KDF/AEAD classes missing .. versionadded:: 47.0.0

2 participants