Skip to content

Latest commit

 

History

History
349 lines (194 loc) · 9.11 KB

CHANGELOG.md

File metadata and controls

349 lines (194 loc) · 9.11 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Added

  • Support for properly handling frame headers from Discord
    • This should result in slight performance improvements from not allocating more than necessary.
    • This also allows for larger payloads to be sent

Changed

  • Removed tracing crate in favour of log

Fixed

  • Compilation errors on Rust v1.69.x

Changed

  • Downgrade quork to 0.7.1 to fix compilation error on Rust v1.69.x
    • This downgrades the windows crate to a version that is compatible with the MSRV
  • Manager::new function is now pub(crate). This makes no difference to the public API, as the Manager struct was never public.

Added

  • Connected and Disconnected events for when the client successfully connects and disconnects. Thanks to @JakeStanger.

Changed

  • EventData documentation references to reference the Event enum instead of EventData

Added

  • Expose event_handler module
  • Exposed types are Context, EventCallbackHandle and Handler

Changed

  • Update MSRV to 1.69.0

Added

Changed

  • Sleep on connection failure

Fixed

  • Missing buttons field

Fixed

  • Shutdown function incorrectly throwing NotStarted error

Fixed

  • Debug printing in release

Added

  • PartialUser struct

Breaking Changes

  • Send & Receive Loop now breaks for ConnectionRefused error kind, rather than WouldBlock
  • Removed client thread handle (now is kept internally on the Client struct)
  • Removed STARTED boolean. (Pretty much pointless as it is only different between when the client has been started, but is not yet ready)
  • Increase connection timeout on Windows to 16 seconds
  • on_event now returns an EventCallbackHandle, which, if dropped, removes the event handler

Added

  • Ability to remove event handlers #40
  • Support buttons #38
  • Client can now be cloned
  • Better types for the Error event

Fixed

  • Ready event called every single connection in send & receive loop

0.5.17 - 2023-08-16

Fixed

  • Added back list of events for Bevy crate

0.5.16 - 2023-08-16

Added

  • Implemented means for stopping client send and receive thread

Removed

  • Removed unused strum dependency

0.5.15 - 2023-07-13

Added

  • Add is_ready and is_started checks

Removed

  • Removed unused deps by

0.5.14 - 2022-12-16

Full Changelog: v0.5.13...v0.5.14

0.5.13 - 2022-12-16

Changed

  • Update Rust crate bytes to 1.3 by @renovate in #31

0.5.12 - 2022-11-07

Full Changelog: v0.5.11...v0.5.12

0.5.11 - 2022-11-07

Added

  • block_until_event function which blocks the current thread until a given event is fired

Changed

  • Use AtomicBool instead of Mutex<bool>

0.5.9 - 2022-10-04

Fixed

  • Send/Receive loop would timeout indefinitely

Changed

0.5.8 - 2022-09-18

Fixed

  • party.id should be String, not u32 by @bigfarts in #15

Changed

  • Update actions/cache action to v3.0.8 by @renovate in #14

0.5.7 - 2022-08-05

Changed

  • Downgrade compiler edition by @jewlexx in #13

0.5.6 - 2022-08-01

Fixed

  • Minor bug fix relating to empty RPC pipe

Changed

  • Configure Renovate by @renovate in #8
  • Update actions/cache action to v3.0.5 by @renovate in #9
  • Update Rust crate bytes to 1.2 by @renovate in #11

0.5.5 - 2022-07-27

Full Changelog: v0.5.4...v0.5.5

0.5.4 - 2022-06-19

Fixed

  • Fixed issues with timeouts on Discord connections
  • Fixed issues with Unix connections

0.5.0 - 2022-04-21

Changed

  • Removed rich_presence as a feature option, as it is redundant

0.4.2-0.4.4 - 2022-04-12

Changed

  • Updated Readme and metadata

0.4.1 - 2022-04-12

Changed

  • Minor bug fixes and performance improvements

0.4.0 - 2022-04-12

Admin

Changed

  • Updated to newest Rust compiler edition (2021)

  • Updated deps to latest version

  • Fixed issues that came with the above changes

0.3.0 - 2018-12-06

Changed

  • Connection manager completely rewritten
  • Allow cloning of clients

0.2.4 - 2018-12-04

Changed

  • No longer depends on libc for process id lookup

0.2.3 - 2018-04-08

Added

  • Connection manager with reconnection
  • Method to clear the current Rich Presence state

Changed

  • Move rich presence code back into models
  • Remove command payload and add generic one
  • Timestamps are now 64 bit unsigned integers instead of 32 bit ([@Bond-009]) [6bbc9f8][c:6bbc9f8]

0.2.2 - 2018-04-03

Changed

  • Use a default socket connection for the current platform

0.2.1 - 2018-04-03

Changed

  • Move common connection methods into trait

0.2.0 - 2018-04-02

Added

  • Error type
  • Windows support ([@Tenrys]) [620e9a6][c:620e9a6]

Changed

  • Convert OpCode with try_from instead of try
  • Use Rust 1.25 style nested imports

0.1.5 - 2018-03-28

Changed

  • Opcode stored in Message is now an OpCode enum
  • Rich Presence now lives in it's own submodule

0.1.4 - 2018-03-23

Changed

  • Opcodes are now represented as enum instead of integers

0.1.3 - 2018-03-23

Added

  • Contributing information

Changed

  • Use libc::getpid to allow builds with stable instead of nightly
  • Make client struct fields private
  • Make models private again and add prelude
  • Connections are now using a shared Connection trait

0.1.2 - 2018-03-22

Added

  • Logging support

0.1.1 - 2018-03-22

Changed

  • Make models publicly accessible

0.1.0 - 2018-03-22

Added

  • Setting Rich Presence status
  • Unix socket connection support