Skip to content

3.1.0

Latest

Choose a tag to compare

@M0r13n M0r13n released this 06 Jun 12:36
· 1 commit to main since this release
293bc44
  • implemented a pre-computed decoder plan for each class (#206)
    • improved decoding efficiency by ~20%
  • added json_to_data to aid in re-encoding JSON messages
    • decodes the base64 string fields produced by to_json back into bytes
    • thanks to @fabrepe
  • encode_msg & encode_dict now require a mandatory sentence argument
    • !BREAKING CHANGE!
    • previously talker_id was used to pass both talker and sentence type
    • this was incorrect and did not match the implementation in messages.py
    • before: `encode_msg(talker_id="AIVDO", ...)