Download Latest Version 0.10.4 - Roaring Ratelimiter source code.tar.gz (29.9 MB)
Email in envelope

Get an email when there's a new version of Nostrum

Home / v0.10.0
Name Modified Size InfoDownloads / Week
Parent folder
0.10.0 - Orbital Insertion source code.tar.gz 2024-07-18 29.9 MB
0.10.0 - Orbital Insertion source code.zip 2024-07-18 30.0 MB
README.md 2024-07-18 5.5 kB
Totals: 3 Items   59.9 MB 0

Welcome to Nostrum 0.10.0, codenamed "Orbital Insertion".

image

"Orbital Insertion" is a testament to our commitment to continuous improvement and our vision of providing a robust and reliable Discord library for the Elixir community. We extend our gratitude to all contributors and users who have supported us on this journey. Your feedback and collaboration are invaluable.

Breaking Changes

  • Message cache by @Th3-M4jor in https://github.com/Kraigie/nostrum/pull/595
  • The introduction of the message cache changes the signature of the message update event callback.

    Previously, as messages were not cached, the signature was handle_event({:MESSAGE_UPDATE, new_msg, _ws_state}), with these changes the signature is now handle_event({:MESSAGE_UPDATE, {old_msg, new_msg}, _ws_state}), where old_msg may be null if the message is not present in the cache.

    If the message is present, the old_msg value will be the previous version of the message as found in cache. Nostrum will handle the updating of the cache such that further cache requests will fetch the new message. * Note this is breaking EVEN IF you use a no-op cache.

New Features

Quality of Life

Fixes

Documentation

Miscellaneous

New Contributors

Full Changelog: https://github.com/Kraigie/nostrum/compare/v0.9.1...v0.10.0

Source: README.md, updated 2024-07-18