Repository navigation
v1.0.0rc2
Pre-release
Pre-release
dankmemer.py v1.0.0rc2
This release candidate adds the new DankAlert stream endpoint and improves the client internals ahead of the stable 1.0 release.
Highlights
- Added
client.streamfor the/dank/streamendpoint. - Added
StreamDataandTrendingGameresponse models. - Parsed stream
lastModifiedvalues into timezone-awaredatetimeobjects. - Added shared internal route cache and filtering helpers to reduce duplicated route code.
- Added configurable retry handling for rate limits, temporary server errors, timeouts, and connection errors.
- Added cache controls:
client.clear_cache()client.clear_route_cache(...)- route-level
clear_cache() - route-level
cache_info()
- Added support for disabling cache with
cache_ttl_hours=0orNone. - Added session ownership support for user-provided
aiohttp.ClientSessionobjects. - Added configurable logging modes:
logging_mode="default"logging_mode="null"logging_mode="inherit"logger=custom_logger
- Updated supported Python versions to Python 3.11+.
- Updated README and Sphinx docs.
- Added more automated tests and a manual maintainer smoke script.
Install
pip install --upgrade dankmemeror:
pip install --upgrade dankmemer.pyNotes
This is still a release candidate. The package has not yet had a stable 1.0.0 release, so this version is intended for final testing before promoting the API to stable.
Full Changelog: v1.0.0rc1...v1.0.0rc2