Skip to content

scratchcloud 1.2.0

Compare
Choose a tag to compare
@yuwex yuwex released this 15 May 04:00
· 7 commits to main since this release

v1.2.0 is here! There are lots of internal breaking changes that make this library more async-like.

Breaking Changes

  • Changed CloudClient.connected to CloudClient.client_setup
  • Changed method CloudClient.start() to CloudClient.setup()
  • CloudClient.setup() no longer starts the cloud client's main loop.
  • CloudClient.setup() returns a task that starts the main loop instead of starting the main loop.
  • SegmentDump.dump() now has a default delay of 0 seconds due to rate limiting handling (see below)

Features

  • CloudClient.set_cloud() is now rate limited to 0.1 requests per second. Requests will be queued and fulfilled in the order they were sent.
  • CloudClient objects can now be stopped with the CloudClient.stop() method.
  • MissingCloudVariable exceptions can be ignored through the CloudClient via the argument ignore_missing_variables=True

Fixes

  • Some docs fixes