Skip to content

Inline replies support and `old_x` on update and delete events

Pre-release
Pre-release
Compare
Choose a tag to compare
@davfsa davfsa released this 29 Nov 13:57
· 1516 commits to master since this release
6c53b3a

Breaking changes

  • rest.create_crossposts has been renamed to rest.crosspost_message
  • MessageCrosspost renamed to MessageRefence

Features

  • New webhook endpoints to interact with messages sent by webhooks
    • rest.edit_webhook_message
    • rest.delete_webhook_message
  • old_x fields on objects that are sent on XUpdateEvent and XDeleteEvent
    • This requires the cache to be enabled and the info to be available. If not, old_x will be None.
  • Cache configuration is now possible by using BotApp(cache_settings=...)
  • Message cache
    • Configurable by using hikari.config.CacheSettings
  • Logging fixes
  • New speedup (brotli)

Bugfixes

  • bot.heartbeat_latency returning the sum of all shard latencies instead of the average
  • bot.wait_for not removing waiter from the set on timeout
  • Switch to using x-ratelimit-reset-after as reset_after for more precision
    • Add reactions endpoint should be faster now

Package version bumps

  • aiohttp (3.7.2 -> 3.7.3)
  • brotli (1.0.7 -> 1.0.9) [speedups] SECURITY BUG, PLEASE UPDATE IF YOU ARE USING IT