Releases: EthanC/Clyde
Releases · EthanC/Clyde
0.5.0: File Attachments & Rate-Limit Retries
Breaking Changes
- Bumped minimum Python version requirement from 3.10 to 3.11 to allow the use of
enum.StrEnumandtyping.Self.
What's New
- Added support for uploading files as Attachments (#14).
- Added an optional
fallbackargument toWebhook.set_content()to upload messages as file Attachments when the length limit is exceeded.
- Added an optional
- Added automatic retries upon rate-limit failure (#4).
Bug Fixes
- Adopted astral-sh/ty for type-checking and fixed its findings.
- Fixed
tagandtag_fieldconflicts that prevented the use ofmsgspec.inspect. - Fixed encoded output type of timestamp field on Embed objects.
Chores
- Upgraded various development-only dependencies to latest.
0.4.0: Support Python 3.14 - 3.10
What's New
- Clyde now supports Python 3.10 through 3.14, in line with the Python Software Foundation’s official supported versions. Older versions may be phased out as new language features are adopted. Using the latest Python version is always recommended.
0.3.0: Replace Pydantic with msgspec
Breaking Changes
- Migrated all validation and serialization routines from Pydantic to msgspec.
- Required fields are now
UNSET(UnsetType), rather thanNone. - Significantly improved speed of serialization upon Webhook execution.
- Enabled consistent validation of both lower and upper boundaries of string lengths, list lengths, and integers.
- Required fields are now
- Removed the
set_expiry()method from thePollobject.- See
set_duration()for a replacement method.
- See
- Removed the
remove_accessory()method from theSectionComponent object.accessoryis a required field.
What's New
- Added new methods to the
EmbedAuthorobject.remove_url()remove_icon_url()
- Added new methods to the
Embedobject.remove_title()remove_description()remove_url()remove_timestamp()remove_color()remove_footer()remove_image()remove_thumbnail()remove_author()
- Added a new method to the
PollMediaQuestionobject.remove_text()
- Added new methods to the
PollMediaAnswerobject.remove_text()remove_emoji()
- Added new methods to the
Pollobject.set_duration()remove_allow_multiselect()
- Added a new method to the
ActionRowComponent object.remove_component()
- Added new methods to the
ContainerComponent object.remove_accent_color()remove_spoiler()
- Added a new method to the
FileComponent object.remove_spoiler()
- Added new methods to the
MediaGalleryItemComponent object.remove_description()remove_spoiler()
- Added new methods to the
SeparatorComponent object.remove_divider()remove_spacing()
- Added new methods to the
ThumbnailComponent object.remove_description()remove_spoiler()
Bug Fixes
- Fixed redundant decode routine during Webhook execution.
- Fixed unintended removal of
CNAMEfile fromgh-pagesbranch upon documentation deployment.
0.2.1: Fix Markdown Subtext
- Fixed an issue causing
Markdown.subtext()to be ill-formatted.
0.2.0: New Container and Section Methods
What's New
- Added
remove_component()method to the Container Component type. - Added
remove_component()andremove_accessory()methods to the Section Component type. - Added opt-out
multi_lineboolean argument toMarkdown.block_quote().
Full Changelog: 0.1.0...0.2.0
0.1.0: Initial Release
Fix(Workflow): Setup Codecov per instructions