Skip to content

Releases: MideTechnology/ebmlite

3.4.1

24 Jul 15:07

Choose a tag to compare

  • Minor fix to ebmlite.core.parseSchema()

Full Changelog: 3.4.0...3.4.1

3.4.0

07 Jul 14:26

Choose a tag to compare

The most significant change in this version is documentation, which is now automatically generated and served by readthedocs: https://mide-technology-endaq-docs.readthedocs-hosted.com/projects/ebmlite/en/latest/

  • Type hinting added to all (or nearly all) user-facing functions/methods
  • Docstrings updated to use proper Sphinx tags, plus some content edits/corrections
  • README edits

Functional changes:

  • Added util.flatiter() function, which recursively crawls a Document/MasterElement yielding elements (same concept as numpy.flatiter()).
  • MasterElement.children (the container's valid child element classes) changed from a dictionary (of classes keyed by ID) to a set of IDs. This will only affect code that directly references the attribute (a somewhat obscure edge case).
  • name and id attributes explicitly added to Element, fixing some 'unknown attribute' linter warnings.
  • Python versions updated in package classifiers and GitHub unit tests (Python 3.9 - 3.13).
  • Removed some workarounds for Python <= 3.7 (deprecated 2023-06-27).

Full Changelog: 3.3.1...3.4.0

3.3.1

28 Feb 18:46

Choose a tag to compare

What's Changed

  • More useful and/or appropriate exceptions are raised during encoding errors (#118).
    • Most are still TypeError or ValueError as before, but have a meaningful message.
    • Errors raising a generic struct.error now raise TypeError with an appropriate explanation.
  • Corrected and improved documentation/docstrings (#116 and other PRs this release).
  • Tests updated to include Python 3.11 (#121).

Full Changelog: 3.3.0...3.3.1