Skip to content

Latest commit

 

History

History
110 lines (86 loc) · 3.5 KB

CHANGELOG.md

File metadata and controls

110 lines (86 loc) · 3.5 KB

Changelog

0.12.0 - 2024-04-12

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 - 2024-01-22

Added

Changed

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

0.10.1 - 2023-07-22

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 - 2023-06-06

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 - 2022-12-11

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 - 2022-08-13

Added

  • LocalClient provides a client interface to Vestaboard's Local API.
  • ReadWriteClient provides a client interface to Vestaboard's Read / Write API.

Changed

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

0.7.3 - 2022-05-31

Added

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

0.7.2 - 2021-12-30

Added

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

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.

0.7.1 - 2021-12-19

Fixed

  • encode_text() was adding a leading blank character to the row after a line break.

0.7.0 - 2021-12-19

Added

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

Changed

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

Removed

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

0.6.0 - 2021-12-05

Added

  • encode_text() for encoding lines of text

Fixed

  • Fix space character encoding

0.5.1 - 2021-11-06

Added

  • Initial Sphinx-based documentation

0.5.0 - 2021-11-01

  • Initial release