Install
uv add "digintlab-langfuse-python @ git+https://github.com/DigintLab/digintlab-langfuse-python@v0.4.0"
# with PII redaction
uv add "digintlab-langfuse-python[redaction] @ git+https://github.com/DigintLab/digintlab-langfuse-python@v0.4.0"
Added
- Added support for Python 3.15.
- Declared each public module's exports with
__all__ and documented the API stability and versioning policy.
Changed
- Licensed the package under LGPL-3.0-or-later.
- Pinned Langfuse 5.2.0. Clients created through
init_langfuse_telemetry pick up the SDK's LangChain CallbackHandler fixes: root-run propagated attributes now reach child runs under ainvoke, Langfuse prompts are deregistered when a chain errors, and message.name is kept in generation input.
- Documented installation from tagged GitHub releases; the package is not published on PyPI.
- Limited the source distribution to the package, tests, docs, and license files.
Fixed
- Sensitive-data redaction now masks credential fields inside JSON documents carried as strings, such as LangChain tool
input_str and string tool outputs, in both the Langfuse mask and the OpenTelemetry mask.