Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Changelog

## 0.4.0 - 2026-07-11

### Added

- Support dynamic channel credentials by allowing fields such as `token`, `topic`,
and `user` to be zero-argument callables resolved when a request is built.
- Add CI coverage enforcement with a 95% minimum total coverage threshold.
- Add explicit channel registry lookup for `Notify.from_settings`.

### Fixed

- Avoid rendering `None` in title-less Chanify and WeChat messages.
- Align Email async missing-recipient logging with the documented `to_emails`
field.
- Avoid over-redacting ordinary single-segment URLs while still redacting
secret-like provider paths.
- Reject bool values for numeric retry and Email port configuration.

### Tests

- Expand channel, retry, Email, provider response, redaction, and dynamic
credential coverage. The suite now runs 126 tests with 97% total coverage.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "use-notify"
version = "0.3.5"
version = "0.4.0"
description = "一个简单可扩展的异步消息通知库"
readme = "README.md"
requires-python = ">=3.8,<4.0"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.