Skip to content

v1.3.0

Choose a tag to compare

@citrusvanilla citrusvanilla released this 03 Nov 00:34
· 10 commits to master since this release

New Features

  • Field values may now be strings and booleans in addition to numbers. Numbers serialize exactly as before, so existing files read back unchanged. Strings are written in double quotes with escaping and booleans as true/false.
  • FieldQuery accepts string right-hand sides. Booleans only compare equal to booleans, and ordering comparisons skip values of a different kind.

Bug Fixes

  • Fixed bool-vs-numeric FieldQuery identity so queries like FieldQuery().a == True and FieldQuery().a == 1 remain distinct while numeric 1 and 1.0 remain equivalent.
  • Fixed indexed operations for negated FieldQuery expressions so search(), count(), contains(), get(), select(), update(), and remove() match storage-scan behavior.

Performance

  • Preserved numeric field serialization hot paths while adding support for string and boolean field values.

Release

  • Published to PyPI as tinyflux==1.3.0.
  • Closes #56.