Skip to content

Commit 28749e8

Browse files
CopilotIntegerAlex
andcommitted
docs: add CHANGELOG entry for version 2.2.0
Co-authored-by: IntegerAlex <84370725+IntegerAlex@users.noreply.github.com>
1 parent b343688 commit 28749e8

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.2.0] - 2026-03-17
11+
12+
### Added
13+
- `LOG_LEVEL_DEBUG`, `LOG_LEVEL_INFO`, `LOG_LEVEL_WARNING`, `LOG_LEVEL_ERROR`, and `LOG_LEVEL_CRITICAL` named constants exported from the top-level package, replacing bare integer literals throughout the API.
14+
- `AsyncLogger.close()` method for an explicit per-instance best-effort flush before discarding an async logger.
15+
- `CONTRIBUTING.md` with setup, testing, style, and pull-request guidelines (the README linked to this file but it was previously missing).
16+
17+
### Changed
18+
- `shutdown_async_logging` is now registered with `atexit` so buffered async messages are flushed when the interpreter exits rather than being silently dropped.
19+
- `shutdown_async_logging()` now drains the queue via a `None` sentinel and waits for the background worker to finish before returning, ensuring pending messages are processed.
20+
- `AsyncLogger.flush()` and `AsyncLogger.close()` docstrings clarified to accurately describe the best-effort, timing-based nature of the operation.
21+
- Removed legacy root-level `__init__.py` that shadowed the `kakashi/` package in editable installs.
22+
- Removed `setup.py`; `pyproject.toml` is now the single canonical build configuration.
23+
24+
### Fixed
25+
- README license text corrected from MIT to LGPL-2.1, matching the `LICENSE` file and packaging metadata.
26+
1027
## [0.2.1] - 2026-02-05
1128

1229
### Changed

0 commit comments

Comments
 (0)