Skip to content

Releases: jparise/vesta

0.12.0

12 Apr 15:28
Compare
Choose a tag to compare

Added

  • All clients now support a user-provided httpx.Client.
  • Added support for the VBML absolutePosition style.
  • Added support for the VBML rawCharacters component field.
  • SubscriptionClient provides a client interface to Vestaboard's Subscription API.

Changed

  • The encode_*() functions now consistently specify keyword-only arguments.
  • Vestaboard has deprecated the Platform API, so our Client interface is also
    considered deprecated. Switch to SubscriptionClient, which offers nearly
    identical functionality.

0.11.0

22 Jan 16:55
Compare
Choose a tag to compare

Added

Changed

  • Switched to a pyproject.toml-based package configuration.

0.10.1

22 Jul 23:40
Compare
Choose a tag to compare

Added

  • Added text message support to ReadWriteClient.write_message().

Fixed

  • ReadWriteClient.get_message() now correctly returns a Rows value rather
    than a JSON-encoded string.

0.10.0

06 Jun 19:31
Compare
Choose a tag to compare

Added

  • Added max_rows to encode_text() for controlling the maximum number of rows
    that will be returned (defaulting to 6). It can be set to a lower value to
    produce a partial board or 0 to support unlimited rows.

Changed

  • encode_text() no longer raises ValueError when the result exceeds the
    maximum number of rows. Instead, the result is truncated to max_rows.

0.9.0

11 Dec 23:43
Compare
Choose a tag to compare

Added

  • Added Color.BLANK and Color.FILLED color values.

Changed

  • Switched to HTTPX as the underlying HTTP library.
  • Color.BLACK now uses the official "black" character code (70). Use Color.BLANK for character code 0 (previously used by Color.BLACK).
  • The default "fill" color is now Color.BLANK instead of Color.BLACK.

Removed

  • Dropped support for Python 3.7.

0.8.0

13 Aug 16:41
Compare
Choose a tag to compare

Added

Changed

  • The documentation now uses the Furo theme.
  • Requests version 2.27.0 or later is now required

0.7.3

01 Jun 02:40
Compare
Choose a tag to compare

Added

  • Various typing improvements, including a py.typed marker file.

0.7.2

30 Dec 20:08
Compare
Choose a tag to compare

Added

  • encode_text()'s valign argument can be set to None to disable row padding. (#21)

Changed

  • encode()'s error handling has been improved. A ValueError will now be raised for all unsupported character codes, including those within the [0, 69] range such as 57, 58, and 61. (#22)

0.7.1

20 Dec 02:40
Compare
Choose a tag to compare

Fixed

  • encode_text() was adding a leading blank character to the row after a line break. (#18, @natekspencer)

0.7.0

20 Dec 01:22
Compare
Choose a tag to compare

Added

  • encode_text() offers a valign argument for controlling vertical alignment within the board. (#15)
  • Client.post_message() now raises ValueError if message is a list of encoded characters with the wrong dimensions. (#14)

Changed

  • encode_text() now always produces six rows of output (a full board). (#15)

Removed

  • Dropped support for Python 3.6, which has officially reached the end of its supported life.