Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.41 KB

CHANGELOG.md

File metadata and controls

50 lines (33 loc) · 1.41 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[0.5.0] - 2022-06-22

Changed

  • Rune() API change: unique_id comes first, and constructor generates a valid Rune from a master authcode() as expected.
  • stricter checks on use of unique_id field to avoid caller having to.

Added

  • to_str()/from_str() API for encoding Runes without base64.
  • tests/ now contains test vectors, for other implementations.

[0.4.0] - 2021-08-11

Changed

  • empty field without hypen ignored by default (unless in values dict)

Added

  • Callables in dict allow custom evaluation
  • id field parameters added to constructors for convenience
  • New examples for blacklisting and ratelimiting.

[0.3.1] - 2021-08-02

Fixed

  • copy() now correctly copies (original not modified when restrictions added!)

[0.3] - 2021-08-01

Changed

  • Punctuation is now allowed in field values; \ is the escape mechanism

Added

  • Not equals operator (/) added.

[0.2] - 2021-07-31

Added

  • examples/decode.py: pretty print output into english phrases
  • Rune.copy() helper, and copy utils now work (eg. copy.deepcopy(Rune))
  • Simple check() and check_with_reason() routines for simplest usage.

[0.1] - 2021-07-30

Initial release.