Skip to content

Releases: yuwex/scratchcloud

scratchcloud 1.2.3

14 Jul 18:20

Choose a tag to compare

Breaking Changes

  • None :)

Features

  • None :(

Fixes

  • CloudClient objects now catch when connecting to websockets fail via errors.ScratchWebsocketError

scratchcloud 1.2.2

07 Jul 21:05

Choose a tag to compare

Breaking Changes

  • None :)

Features

  • None :(

Fixes

  • CloudClient objects now catch socket.gaierror and reload if the DNS name for https://scratch.mit.edu cannot be resolved.

scratchcloud 1.2.1

17 May 02:13

Choose a tag to compare

Breaking Changes

  • CloudClient.set_cloud requires a str type for the value parameter.
  • BaseCodec.encode will raise a ValueError exception instead of a EncodeError if it gets a non-string value

Features

  • Nothing new :)

Fixes

  • Docs fixes for BaseCodec
  • CloudClient.set_cloud will no longer cast all values to string before encoding

scratchcloud 1.2.0

15 May 04:00

Choose a tag to compare

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

scratchcloud 1.1.2

22 Apr 01:26

Choose a tag to compare

Breaking Changes

  • Changed syntax for importing a LoginCookie object: use from scratchcloud import LoginCookie instead of from scratchcloud.client import LoginCookie: 672c4be

Features

  • None

Fixes

  • Fixed syntax to match intended syntax for LoginCookie objects.

scratchcloud 1.1.1

22 Apr 01:11

Choose a tag to compare

scratchcloud 1.1.1 Pre-release
Pre-release

Edit: Marked as pre-release because 1.1.2 superseded it within 24 hours.

Breaking Changes

  • None :)

Features

  • Added a way to log in using cookies through the LoginCookie object: 33e7709

Fixes

  • Fixed library information to appropriately show that it only works with python 3.10: #2