Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 10, 2023

Bumps hikari-miru from 1.1.2 to 2.0.2.

Release notes

Sourced from hikari-miru's releases.

v2.0.2

  • Fix Context.edit_response() typehints.
  • Fix navigator attachments being kept between page changes.

v2.0.1

  • Unblock View.wait_for_input() when View.stop() is called.

v2.0.0

  • BREAKING: View.start() is now asynchronous and needs to be awaited.

  • BREAKING: View.start_listener() has been removed. Use View.start() instead.

  • Added support for modals via miru.Modal.

  • Added support for text input fields via miru.TextInput.

  • Added RawComponentContext, RawModalContext, ViewContext, and ModalContext that inherit from Context.

  • Added miru.InteractionResponse, an object representing responses sent out by the application to interactions.

  • Context.respond() and Context.edit_response() now return an InteractionResponse object.

  • Added Context.bot and Context.author as aliases for Context.app and Context.user respectively.

  • Added overloads to Context.defer() to allow use of different deffered response-types.

  • Added miru.abc.ViewItem and miru.abc.ModalItem that inherit from miru.abc.Item.

  • Views now expect items of type ViewItem and provide ViewContext.

  • Button and Select are now subclasses of ViewItem.

  • Added miru.abc.ItemHandler. View and Modal are subclasses of this object.

  • Added miru.abc.ItemHandler.last_context to access the last received context & interaction by the item handler.

  • miru.abc.ItemHandler now implements Sequence[hikari.api.MessageActionRowBuilder], and thus can be treated as a sequence of action rows. This means that calling .build() on item handlers is no longer required.

  • Removed miru.Interaction.

  • Added View.from_message() classmethod to allow creation of views from message components.

  • Added View.wait_for_input() to wait for any component interaction relating to the view.

  • Added timeout parameter to ItemHandler.wait().

  • Added View.get_context() and Modal.get_context() for custom context support.

  • Added two new event types ModalInteractionCreateEvent and ComponentInteractionCreateEvent.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [hikari-miru](https://github.com/HyperGH/hikari-miru) from 1.1.2 to 2.0.2.
- [Release notes](https://github.com/HyperGH/hikari-miru/releases)
- [Commits](https://github.com/HyperGH/hikari-miru/commits/v2.0.2)

---
updated-dependencies:
- dependency-name: hikari-miru
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 10, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 11, 2023

Superseded by #122.

@dependabot dependabot bot closed this Jan 11, 2023
@dependabot dependabot bot deleted the dependabot/pip/hikari-miru-2.0.2 branch January 11, 2023 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant