Releases: Top-gg-Community/rust-sdk
Releases · Top-gg-Community/rust-sdk
v1.4.0
What's Changed
- feat: remove
get_bots()
method, as requested by Veld - refactor: the
urlencoding
dependency is now only installed when thewebhook
feature flag is enabled - refactor: refactor the
serenity_handler!
macro by utilizing thepaste
dependency - doc: README and docs.rs related documentation tweaks
Full Changelog: v1.3.1...v1.4.0
v1.3.1
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
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 thetopgg::user::User
struct after it was deprecated sincev1.1.0
- style: change how
client.get_bots
is used, utilizingIntoFuture
for syntactic sugar, makingtopgg::Query
obselete - refactor: reduce DRY issues in the codebase by utilizing several macros
Full Changelog: v1.2.2...v1.3.0
v1.2.2
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
'sjson
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
What's Changed
- refactor: migrate from using
hyper
toreqwest
(#11) - refactor: remove all unsafe code (#12)
- feat: add a new thread-safe struct
AutoposterHandle
that lets you remotely feed data into theAutoposter
- 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
What's Changed
- refactor: usage of the
VoteHandler
trait now encourages the data to be stored in anArc
- refactor: merge
Filter
withQuery
to reduce confusion - refactor: merge
NewStats
withStats
to reduce confusion - refactor:
Client::new
now only accepts aString
- refactor: the feature name
actix
is renamed toactix-web
for consistency - refactor: the trait name
SnowflakeLike
is renamed toSnowflake
- 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