Skip to content

4.1.0

Latest

Choose a tag to compare

@gmr gmr released this 15 Feb 18:59
· 4 commits to main since this release
efd9e1b

What's Changed

Bug Fixes

  • Fixed stray characters in FlatDict.__repr__ output

Improvements

  • Added type annotations to FlatDict and FlatterDict
  • Converted from single module (flatdict.py) to package (flatdict/)
  • Removed __version__ attribute (use importlib.metadata.version('flatdict') instead)
  • Replaced == with is for type comparisons in FlatterDict
  • Added exception chaining in FlatterDict.__setitem__
  • Removed Python < 3.6 compatibility code

Tooling & Infrastructure

  • Migrated from pip to uv for dependency management
  • Switched test runner from unittest discovery to pytest
  • Switched to OIDC trusted publishing for PyPI deploys
  • Converted from setup.py/setup.cfg to pyproject.toml with hatchling
  • Switched to hatch-vcs for version management
  • Upgraded CI to use astral-sh/setup-uv@v5 and codecov/codecov-action@v5
  • Renamed default branch from master to main
  • Widened Python support to 3.10–3.14