Skip to content

3.4.0

Choose a tag to compare

@StokesMIDE StokesMIDE released this 07 Jul 14:26
· 13 commits to development since this release

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