Skip to content

Releases: FasterSpeeding/Yuyo

v1.23.1

07 Oct 20:46
7940c7d
Compare
Choose a tag to compare

1.23.1 - 2024-10-07

Changed

  • Support Python 3.13

v1.23.0

14 Jul 15:26
0bbbd5a
Compare
Choose a tag to compare

1.23.0 - 2024-07-14

Added

  • BaseContext.alluka property for getting the context's Alluka client.

Changed

  • pagination.ResponseKwargs is now publicly exported to allow 3rd party implementations of AbstractPage.ctx_to_kwargs and AbstractPage.to_kwargs to have properly typed return types.
  • pagination.ResponseKwargs's fields are now all marked as not required.

v1.22.0

11 Jul 05:02
b5b7bb3
Compare
Choose a tag to compare

1.22.0 - 2024-07-11

Added

  • Support for component pagination based on global ("static") bot data. More information on this can be found here.

Deprecated

  • yuyo.components.BaseContext as this has been moved to yuyo.interactions.BaseContext.

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.