|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +## [0.1.0] - 2025-01-20 |
| 11 | + |
| 12 | +### Added |
| 13 | + |
| 14 | +- Initial release of `safe-debug` |
| 15 | +- `SafeDebug` derive macro for automatic sensitive field redaction |
| 16 | +- Support for named structs, tuple structs, and unit structs |
| 17 | +- Comprehensive enum support: |
| 18 | + - Unit variants (`Variant`) |
| 19 | + - Tuple variants (`Variant(T, U)`) with per-field sensitivity |
| 20 | + - Struct variants (`Variant { field: T }`) with per-field sensitivity |
| 21 | + - Mixed variant types in same enum |
| 22 | +- Full generic support: |
| 23 | + - Type parameters with auto-generated trait bounds |
| 24 | + - Lifetime parameters |
| 25 | + - Higher-ranked trait bounds (HRTB) for facet integration |
| 26 | + - Multi-generic types (`Pair<T, U>`, `Triple<T, U, V>`) |
| 27 | +- Pretty-print formatting support (`{:#?}`) |
| 28 | +- Security-first fallback behavior: |
| 29 | + - Structs: Redact all fields if metadata unavailable |
| 30 | + - Enums: Show only type name if metadata unavailable |
| 31 | +- Zero unsafe code |
| 32 | +- Minimal runtime overhead (single Shape access + per-field sensitivity check) |
| 33 | +- MIT OR Apache-2.0 dual license |
| 34 | + |
| 35 | +### Security |
| 36 | + |
| 37 | +- Automatic `[REDACTED]` output for fields marked `#[facet(sensitive)]` |
| 38 | +- Conservative fallback: fails safe by hiding data when metadata is unavailable |
| 39 | +- No data leakage in debug output for HIPAA-compliant and other sensitive applications |
| 40 | + |
| 41 | +[Unreleased]: https://github.com/ceejbot/safe-debug/compare/v0.1.0...HEAD |
| 42 | +[0.1.0]: https://github.com/ceejbot/safe-debug/releases/tag/v0.1.0 |
0 commit comments