Skip to content

Releases: Top-gg-Community/rust-sdk

v1.4.0

18 Mar 08:08
Compare
Choose a tag to compare

What's Changed

  • feat: remove get_bots() method, as requested by Veld
  • refactor: the urlencoding dependency is now only installed when the webhook feature flag is enabled
  • refactor: refactor the serenity_handler! macro by utilizing the paste dependency
  • doc: README and docs.rs related documentation tweaks

Full Changelog: v1.3.1...v1.4.0

v1.3.1

08 Jan 14:46
Compare
Choose a tag to compare

What's Changed

  • refactor: remove unnecessary uses of macros
  • fix: fix mismatched cfg(feature)s
  • doc: fix codeblock in readme not being syntax highlighted in docs.rs
  • doc: fix missing feature warnings in documentation

Full Changelog: v1.3.0...v1.3.1

v1.3.0

06 Jan 13:03
Compare
Choose a tag to compare

What's Changed

  • feat: add serenity support
  • feat: add twilight support
  • feat: rewrite the entire autoposter, making it actually automated
  • feat: remove the discriminator property from the topgg::user::User struct after it was deprecated since v1.1.0
  • style: change how client.get_bots is used, utilizing IntoFuture for syntactic sugar, making topgg::Query obselete
  • refactor: reduce DRY issues in the codebase by utilizing several macros

Full Changelog: v1.2.2...v1.3.0

v1.2.2

03 Jan 17:32
Compare
Choose a tag to compare

What's Changed

  • refactor: changed how the autoposter's thread loop works!

    in older versions, it would be like this:

    • if new stats is available, post new stats to Top.gg servers
    • sleep for x minutes, then repeat

    now it would be like this:

    • wait for new stats to be available
    • post new stats to Top.gg servers
    • sleep for x minutes, then repeat
  • perf: remove unnecessary dependance on reqwest's json feature
  • refactor: refactor several functions to be lazy-evaluated
  • refactor: use reqwest's built-in header keys instead of string literals

Full Changelog: v1.2.1...v1.2.2

v1.2.1

17 Dec 03:23
Compare
Choose a tag to compare

What's Changed

  • refactor: migrate from using hyper to reqwest (#11)
  • refactor: remove all unsafe code (#12)
  • feat: add a new thread-safe struct AutoposterHandle that lets you remotely feed data into the Autoposter
  • deps: update several dependencies (#14, #15, #16, #17)
  • doc: remove unnecessary examples to simplify documentation

Full Changelog: v1.2.0...v1.2.1

v1.2.0

28 Oct 08:51
Compare
Choose a tag to compare

What's Changed

  • refactor: usage of the VoteHandler trait now encourages the data to be stored in an Arc
  • refactor: merge Filter with Query to reduce confusion
  • refactor: merge NewStats with Stats to reduce confusion
  • refactor: Client::new now only accepts a String
  • refactor: the feature name actix is renamed to actix-web for consistency
  • refactor: the trait name SnowflakeLike is renamed to Snowflake
  • revert: un-deprecate usage discriminators on Discord bots as discord hasn't announced any intention to remove them
  • perf: the library no longer posts data to the API whenever no new data is fed
  • feat: Client::new_autoposter now panics on repeated calls
  • doc: tweak and fix incorrect documentations
  • ci: add dependabot functionalities

Full Changelog: v1.1.1...v1.2.0

v1.1.1

31 May 11:53
2b4c57c
Compare
Choose a tag to compare

What's Changed

  • fix: fix webhook-related bugs, optmize a lot of things, added created_at, update docs by @null8626 in #10

Full Changelog: v1.1.0...v1.1.1

v1.1.0

15 May 09:47
6bc1c30
Compare
Choose a tag to compare

What's Changed

  • [fix,refactor]: fix #6, fixed a lot of bugs, optimized several things by @null8626 in #9

Full Changelog: v1.0.4...v1.1.0

v1.0.4

26 Apr 11:26
4e42daf
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.3...v1.0.4

v1.0.3

26 Apr 10:41
6be950b
Compare
Choose a tag to compare

What's Changed

  • doc: fix missing features not documented in v1.0 by @null8626 in #7

Full Changelog: v1.0.0...v1.0.3