Versions 1.0 - 1.1.2#
These are all the changelogs for stable releases of hikari-miru (version 1.0.0 to 1.1.1).
Version 1.1.2#
- Updated
hikari
tov2.0.0.dev110
. - Added
app_permissions
field 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
ephemeral
kwarg toNavigatorView
for 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
app
parameter fromView
. -
Add
miru.load()
to load miru and passapp
. This replaces passingapp
to view, and should be called once on startup. -
Add
Context
and switch all item methods to use it in favour ofInteraction
. -
Moved all short-hand methods from
Interaction
toContext
, renaming some of them. Please check the API reference for both. -
Interaction
is now practically identical tohikari.ComponentInteraction
with 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.