Skip to content

Releases: FasterSpeeding/Yuyo

v1.21.1

29 Apr 23:23
b2cb276
Compare
Choose a tag to compare

1.21.1 - 2024-04-29

Changed

  • Bumped the minimum Alluka version to v0.2.0.
  • The component, modal and reaction clients will now use the "local" Alluka client returned by alluka.local.get if no client is passed and a local Alluka client is set.

v1.21.0

21 Apr 16:13
f36230f
Compare
Choose a tag to compare

1.21.0 - 2024-04-21

Added

  • Component StreamExecutor for streaming over received component contexts.
  • Support for specifying specific component IDs for WaitForExecutor.

v1.20.0

29 Mar 11:44
6e808b5
Compare
Choose a tag to compare

1.20.0 - 2024-03-29

Added

  • yuyo commands declare command for declaring app commands based on a schema file.
  • yuyo commands fetch command for fetching the command schema file for an existing bot.
  • yuyo commands rename command for renaming the declared app commands.

v1.19.1

28 Dec 19:16
599cad3
Compare
Choose a tag to compare

1.19.1 - 2023-12-28

Added

  • Support for Python 3.12.

v1.19.0

30 Aug 14:07
7d984cc
Compare
Choose a tag to compare

1.19.0 - 2023-08-30

Added

  • ComponentClient.get_executor method for getting the executor registered globally for a specific custom ID.

Changed

  • The ephemeral default is now ignored for message update create initial response and defer calls. (This likely won't effect real world behaviour).

Fixed

  • Explicitly passing ephemeral=False to create_initial_response or create_followup will now correctly override the client-level ephemeral default.
  • The component paginator will no-longer error out with a "Initial response has already been created" error when the jump to last page button tries to push the internal generator forwards only to find out it's depleted.

v1.18.0

23 Aug 08:38
581d7bd
Compare
Choose a tag to compare

1.18.0 - 2023-08-23

Added

  • yuyo.components.builder (a class descriptor), ActionColumnExecutor.add_builder, and ActionColumnExecutor.add_static_builder functions and methods for adding raw component builders to a column without an associated callback.

Changed

  • yuyo.pagination.Page is now exported top-level at Yuyo.Page.

Fixed

  • Properly track method names for callbacks registered using as_interactive_button. This allows the custom ID metadata to be overridden by passing id_metadata={"function_name": "METADATA"} to ActionColumnExecutor.__init__.

v1.17.0

18 Aug 22:16
7333cf2
Compare
Choose a tag to compare

1.17.0 - 2023-08-18

Added

  • Wait for implementation for modals.

Changed

  • Page.__init__'s signature now more closely Hikari's message create methods: with new attachment and embed keyword arguments for passing singular values while also now allowing an embed or file to be passed as content.

Fixed

  • Timed out individual requests will no-longer lead to the chunk tracker crashing.

v1.16.0

11 Aug 05:31
887a516
Compare
Choose a tag to compare

1.16.0 - 2023-08-11

Added

  • yuyo.InteractionError error type which can be used to end modal and component interactions with a message.

Fixed

  • ComponentClient.from_tanjun and ModalClient.from_tanjun both now correctly pass through the relevant Hikari bot components.

v1.15.0

10 Aug 00:43
3d9763a
Compare
Choose a tag to compare

1.15.0 - 2023-08-10

Added

  • Support customising the response_type when deferring and creating the initial response to a modal call.
  • .cache, .events, .rest, .server, .shards and .voice attributes to yuyo.ComponentClient, yuyo.ComponentContext, yuyo.ModalClient, and yuyo.ModalContext which represent parts of the linked Hikari bot in a similar style to Tanjun.
  • The following utility attributes to yuyo.ComponentContext and yuyo.ModalContext which mostly relay attributes from the inner interaction: .author, .channel_id, .created_at, .guild_id, .member, .shard.

v1.14.2

08 May 04:42
020ac00
Compare
Choose a tag to compare

1.14.2 - 2023-05-08

Fixed

  • The fields for a ModalOptions are now correctly tracked when added to a Modal instance and are no-longer erroneously tracked as static fields for type(modal).