Skip to content

Releases: EthanC/Clyde

0.5.0: File Attachments & Rate-Limit Retries

01 Dec 08:18

Choose a tag to compare

Breaking Changes

  • Bumped minimum Python version requirement from 3.10 to 3.11 to allow the use of enum.StrEnum and typing.Self.

What's New

  • Added support for uploading files as Attachments (#14).
    • Added an optional fallback argument to Webhook.set_content() to upload messages as file Attachments when the length limit is exceeded.
  • Added automatic retries upon rate-limit failure (#4).

Bug Fixes

  • Adopted astral-sh/ty for type-checking and fixed its findings.
  • Fixed tag and tag_field conflicts that prevented the use of msgspec.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

24 Nov 07:09

Choose a tag to compare

What's New

0.3.0: Replace Pydantic with msgspec

01 Sep 09:29

Choose a tag to compare

Breaking Changes

  • Migrated all validation and serialization routines from Pydantic to msgspec.
    • Required fields are now UNSET (UnsetType), rather than None.
    • Significantly improved speed of serialization upon Webhook execution.
    • Enabled consistent validation of both lower and upper boundaries of string lengths, list lengths, and integers.
  • Removed the set_expiry() method from the Poll object.
    • See set_duration() for a replacement method.
  • Removed the remove_accessory() method from the Section Component object.
    • accessory is a required field.

What's New

  • Added new methods to the EmbedAuthor object.
    • remove_url()
    • remove_icon_url()
  • Added new methods to the Embed object.
    • remove_title()
    • remove_description()
    • remove_url()
    • remove_timestamp()
    • remove_color()
    • remove_footer()
    • remove_image()
    • remove_thumbnail()
    • remove_author()
  • Added a new method to the PollMediaQuestion object.
    • remove_text()
  • Added new methods to the PollMediaAnswer object.
    • remove_text()
    • remove_emoji()
  • Added new methods to the Poll object.
    • set_duration()
    • remove_allow_multiselect()
  • Added a new method to the ActionRow Component object.
    • remove_component()
  • Added new methods to the Container Component object.
    • remove_accent_color()
    • remove_spoiler()
  • Added a new method to the File Component object.
    • remove_spoiler()
  • Added new methods to the MediaGalleryItem Component object.
    • remove_description()
    • remove_spoiler()
  • Added new methods to the Separator Component object.
    • remove_divider()
    • remove_spacing()
  • Added new methods to the Thumbnail Component object.
    • remove_description()
    • remove_spoiler()

Bug Fixes

  • Fixed redundant decode routine during Webhook execution.
  • Fixed unintended removal of CNAME file from gh-pages branch upon documentation deployment.

0.2.1: Fix Markdown Subtext

18 May 01:47

Choose a tag to compare

  • Fixed an issue causing Markdown.subtext() to be ill-formatted.

0.2.0: New Container and Section Methods

15 May 03:53

Choose a tag to compare

What's New

  • Added remove_component() method to the Container Component type.
  • Added remove_component() and remove_accessory() methods to the Section Component type.
  • Added opt-out multi_line boolean argument to Markdown.block_quote().

Full Changelog: 0.1.0...0.2.0

0.1.0: Initial Release

12 May 06:52

Choose a tag to compare

Fix(Workflow): Setup Codecov per instructions