Versions 1.0+ Changelog#
These are all the changelogs for stable releases of hikari-miru (version 1.0.0 to 1.1.1).
Version 1.1.2#
Updated
hikaritov2.0.0.dev110.Added
app_permissionsfield toInteraction.
Version 1.1.1#
Remove debug prints from
NavigatorView.send()
Version 1.1.0#
Add
miru.unload()to unload miru and remove the application reference.Add
miru.get_view()to get a currently running view by message snowflakeish.Add
ephemeralkwarg toNavigatorViewfor ephemeral support.Annotate
miru.button()andmiru.select()to return their respective objects.No longer use explicit submodules unless they are exported in context type signatures.
Allow message objects in
miru.View.start_listener().Make colorama an optional Windows-only dependency.
Fix a bug where URL buttons would fail to initialize. (#17)
Fix a bug where
miru.Context.edit_response()would not work correctly after initial response.
Thanks to sadru for help with this release.
Version 1.0.0#
Remove
appparameter fromView.Add
miru.load()to load miru and passapp. This replaces passingappto view, and should be called once on startup.Add
Contextand switch all item methods to use it in favour ofInteraction.Moved all short-hand methods from
InteractiontoContext, renaming some of them. Please check the API reference for both.Interactionis now practically identical tohikari.ComponentInteractionwith no added methods.Added documentation to the project
Views are now assigned to messages, and if a new view is assigned to a message that already has one, the old one will be automatically stopped. This does not apply to unbound persistent views.