aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / log / CHANGELOG.md
| 1 | # Change Log |
| 2 | |
| 3 | ## [0.4.34] - 2026-08-22 |
| 4 | |
| 5 | ## What's Changed |
| 6 | * doc: Add context-logger utility to README by @alekseysidorov in https://github.com/rust-lang/log/pull/735 |
| 7 | * Add alloc support for boxed loggers by @malezjaa in https://github.com/rust-lang/log/pull/737 |
| 8 | |
| 9 | ## New Contributors |
| 10 | * @alekseysidorov made their first contribution in https://github.com/rust-lang/log/pull/735 |
| 11 | * @malezjaa made their first contribution in https://github.com/rust-lang/log/pull/737 |
| 12 | |
| 13 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.33...0.4.34 |
| 14 | |
| 15 | ## [0.4.33] - 2026-06-20 |
| 16 | |
| 17 | ## What's Changed |
| 18 | * Fixed key comparison by @matteo-zeggiotti-ok in https://github.com/rust-lang/log/pull/732 |
| 19 | |
| 20 | ## New Contributors |
| 21 | * @matteo-zeggiotti-ok made their first contribution in https://github.com/rust-lang/log/pull/732 |
| 22 | |
| 23 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.32...0.4.33 |
| 24 | |
| 25 | ## [0.4.32] - 2026-06-04 |
| 26 | |
| 27 | ### What's Changed |
| 28 | * Support `Value` -> string conversions with `kv` + `std` features instead of `kv_std` by @tisonkun in https://github.com/rust-lang/log/pull/729 |
| 29 | |
| 30 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.31...0.4.32 |
| 31 | |
| 32 | ## [0.4.31] - 2026-06-02 |
| 33 | |
| 34 | ### What's Changed |
| 35 | * Leverage static str key when possible by @tisonkun in https://github.com/rust-lang/log/pull/727 |
| 36 | |
| 37 | ### New Contributors |
| 38 | * @Isvane made their first contribution in https://github.com/rust-lang/log/pull/726 |
| 39 | |
| 40 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.30...0.4.31 |
| 41 | |
| 42 | ## [0.4.30] - 2026-05-21 |
| 43 | |
| 44 | ### What's Changed |
| 45 | * Support capturing of `std::net` types by @KodrAus in https://github.com/rust-lang/log/pull/724 |
| 46 | |
| 47 | ### New Contributors |
| 48 | * @V0ldek made their first contribution in https://github.com/rust-lang/log/pull/720 |
| 49 | * @woodruffw made their first contribution in https://github.com/rust-lang/log/pull/723 |
| 50 | |
| 51 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.29...0.4.30 |
| 52 | |
| 53 | ### Notable Changes |
| 54 | * MSRV is bumped to 1.71.0 in https://github.com/rust-lang/log/pull/723 |
| 55 | |
| 56 | ## [0.4.29] - 2025-12-02 |
| 57 | |
| 58 | ### What's Changed |
| 59 | * perf: reduce llvm-lines of FromStr for `Level` and `LevelFilter` by @dishmaker in https://github.com/rust-lang/log/pull/709 |
| 60 | * Replace serde with serde_core by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/712 |
| 61 | |
| 62 | ### New Contributors |
| 63 | * @AldaronLau made their first contribution in https://github.com/rust-lang/log/pull/703 |
| 64 | * @dishmaker made their first contribution in https://github.com/rust-lang/log/pull/709 |
| 65 | |
| 66 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.28...0.4.29 |
| 67 | |
| 68 | ## [0.4.28] - 2025-09-02 |
| 69 | |
| 70 | ### What's Changed |
| 71 | * ci: drop really old trick and ensure MSRV for all feature combo by @tisonkun in https://github.com/rust-lang/log/pull/676 |
| 72 | * Chore: delete compare_exchange method for AtomicUsize on platforms without atomics by @HaoliangXu in https://github.com/rust-lang/log/pull/690 |
| 73 | * Add `increment_severity()` and `decrement_severity()` methods for `Level` and `LevelFilter` by @nebkor in https://github.com/rust-lang/log/pull/692 |
| 74 | |
| 75 | ## New Contributors |
| 76 | * @xixishidibei made their first contribution in https://github.com/rust-lang/log/pull/677 |
| 77 | * @ZylosLumen made their first contribution in https://github.com/rust-lang/log/pull/688 |
| 78 | * @HaoliangXu made their first contribution in https://github.com/rust-lang/log/pull/690 |
| 79 | * @nebkor made their first contribution in https://github.com/rust-lang/log/pull/692 |
| 80 | |
| 81 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.27...0.4.28 |
| 82 | |
| 83 | ### Notable Changes |
| 84 | * MSRV is bumped to 1.61.0 in https://github.com/rust-lang/log/pull/676 |
| 85 | |
| 86 | ## [0.4.27] - 2025-03-24 |
| 87 | |
| 88 | ### What's Changed |
| 89 | * A few minor lint fixes by @nyurik in https://github.com/rust-lang/log/pull/671 |
| 90 | * Enable clippy support for format-like macros by @nyurik in https://github.com/rust-lang/log/pull/665 |
| 91 | * Add an optional logger param by @tisonkun in https://github.com/rust-lang/log/pull/664 |
| 92 | * Pass global logger by value, supplied logger by ref by @KodrAus in https://github.com/rust-lang/log/pull/673 |
| 93 | |
| 94 | |
| 95 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.26...0.4.27 |
| 96 | |
| 97 | |
| 98 | ## [0.4.26] - 2025-02-18 |
| 99 | |
| 100 | ### What's Changed |
| 101 | * Derive `Clone` for `kv::Value` by @SpriteOvO in https://github.com/rust-lang/log/pull/668 |
| 102 | * Add `spdlog-rs` link to crate doc by @SpriteOvO in https://github.com/rust-lang/log/pull/669 |
| 103 | |
| 104 | |
| 105 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.25...0.4.26 |
| 106 | |
| 107 | ## [0.4.25] - 2025-01-14 |
| 108 | |
| 109 | ### What's Changed |
| 110 | * Revert loosening of kv cargo features by @KodrAus in https://github.com/rust-lang/log/pull/662 |
| 111 | |
| 112 | |
| 113 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.24...0.4.25 |
| 114 | |
| 115 | ## [0.4.24] - 2025-01-11 |
| 116 | |
| 117 | ### What's Changed |
| 118 | * Fix up kv feature activation by @KodrAus in https://github.com/rust-lang/log/pull/659 |
| 119 | |
| 120 | |
| 121 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.23...0.4.24 |
| 122 | |
| 123 | ## [0.4.23] - 2025-01-10 (yanked) |
| 124 | |
| 125 | ### What's Changed |
| 126 | * Fix some typos by @Kleinmarb in https://github.com/rust-lang/log/pull/637 |
| 127 | * Add logforth to implementation by @tisonkun in https://github.com/rust-lang/log/pull/638 |
| 128 | * Add `spdlog-rs` link to README by @SpriteOvO in https://github.com/rust-lang/log/pull/639 |
| 129 | * Add correct lifetime to kv::Value::to_borrowed_str by @stevenroose in https://github.com/rust-lang/log/pull/643 |
| 130 | * docs: Add logforth as an impl by @tisonkun in https://github.com/rust-lang/log/pull/642 |
| 131 | * Add clang_log implementation by @DDAN-17 in https://github.com/rust-lang/log/pull/646 |
| 132 | * Bind lifetimes of &str returned from Key by the lifetime of 'k rather than the lifetime of the Key struct by @gbbosak in https://github.com/rust-lang/log/pull/648 |
| 133 | * Fix up key lifetimes and add method to try get a borrowed key by @KodrAus in https://github.com/rust-lang/log/pull/653 |
| 134 | * Add Ftail implementation by @tjardoo in https://github.com/rust-lang/log/pull/652 |
| 135 | |
| 136 | ### New Contributors |
| 137 | * @Kleinmarb made their first contribution in https://github.com/rust-lang/log/pull/637 |
| 138 | * @tisonkun made their first contribution in https://github.com/rust-lang/log/pull/638 |
| 139 | * @SpriteOvO made their first contribution in https://github.com/rust-lang/log/pull/639 |
| 140 | * @stevenroose made their first contribution in https://github.com/rust-lang/log/pull/643 |
| 141 | * @DDAN-17 made their first contribution in https://github.com/rust-lang/log/pull/646 |
| 142 | * @gbbosak made their first contribution in https://github.com/rust-lang/log/pull/648 |
| 143 | * @tjardoo made their first contribution in https://github.com/rust-lang/log/pull/652 |
| 144 | |
| 145 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.22...0.4.23 |
| 146 | |
| 147 | ## [0.4.22] - 2024-06-27 |
| 148 | |
| 149 | ### What's Changed |
| 150 | * Add some clarifications to the library docs by @KodrAus in https://github.com/rust-lang/log/pull/620 |
| 151 | * Add links to `colog` crate by @chrivers in https://github.com/rust-lang/log/pull/621 |
| 152 | * adding line_number test + updating some testing infrastructure by @DIvkov575 in https://github.com/rust-lang/log/pull/619 |
| 153 | * Clarify the actual set of functions that can race in _racy variants by @KodrAus in https://github.com/rust-lang/log/pull/623 |
| 154 | * Replace deprecated std::sync::atomic::spin_loop_hint() by @Catamantaloedis in https://github.com/rust-lang/log/pull/625 |
| 155 | * Check usage of max_level features by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/627 |
| 156 | * Remove unneeded import by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/628 |
| 157 | * Loosen orderings for logger initialization in https://github.com/rust-lang/log/pull/632. Originally by @pwoolcoc in https://github.com/rust-lang/log/pull/599 |
| 158 | * Use Location::caller() for file and line info in https://github.com/rust-lang/log/pull/633. Originally by @Cassy343 in https://github.com/rust-lang/log/pull/520 |
| 159 | |
| 160 | ### New Contributors |
| 161 | * @chrivers made their first contribution in https://github.com/rust-lang/log/pull/621 |
| 162 | * @DIvkov575 made their first contribution in https://github.com/rust-lang/log/pull/619 |
| 163 | * @Catamantaloedis made their first contribution in https://github.com/rust-lang/log/pull/625 |
| 164 | |
| 165 | **Full Changelog**: https://github.com/rust-lang/log/compare/0.4.21...0.4.22 |
| 166 | |
| 167 | ## [0.4.21] - 2024-02-27 |
| 168 | |
| 169 | ### What's Changed |
| 170 | * Minor clippy nits by @nyurik in https://github.com/rust-lang/log/pull/578 |
| 171 | * Simplify Display impl by @nyurik in https://github.com/rust-lang/log/pull/579 |
| 172 | * Set all crates to 2021 edition by @nyurik in https://github.com/rust-lang/log/pull/580 |
| 173 | * Various changes based on review by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/583 |
| 174 | * Fix typo in file_static() method doc by @dimo414 in https://github.com/rust-lang/log/pull/590 |
| 175 | * Specialize empty key value pairs by @EFanZh in https://github.com/rust-lang/log/pull/576 |
| 176 | * Fix incorrect lifetime in Value::to_str() by @peterjoel in https://github.com/rust-lang/log/pull/587 |
| 177 | * Remove some API of the key-value feature by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/585 |
| 178 | * Add logcontrol-log and log-reload by @swsnr in https://github.com/rust-lang/log/pull/595 |
| 179 | * Add Serialization section to kv::Value docs by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/593 |
| 180 | * Rename Value::to_str to to_cow_str by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/592 |
| 181 | * Clarify documentation and simplify initialization of `STATIC_MAX_LEVEL` by @ptosi in https://github.com/rust-lang/log/pull/594 |
| 182 | * Update docs to 2021 edition, test by @nyurik in https://github.com/rust-lang/log/pull/577 |
| 183 | * Add "alterable_logger" link to README.md by @brummer-simon in https://github.com/rust-lang/log/pull/589 |
| 184 | * Normalize line ending by @EFanZh in https://github.com/rust-lang/log/pull/602 |
| 185 | * Remove `ok_or` in favor of `Option::ok_or` by @AngelicosPhosphoros in https://github.com/rust-lang/log/pull/607 |
| 186 | * Use `Acquire` ordering for initialization check by @AngelicosPhosphoros in https://github.com/rust-lang/log/pull/610 |
| 187 | * Get structured logging API ready for stabilization by @KodrAus in https://github.com/rust-lang/log/pull/613 |
| 188 | |
| 189 | ### New Contributors |
| 190 | * @nyurik made their first contribution in https://github.com/rust-lang/log/pull/578 |
| 191 | * @dimo414 made their first contribution in https://github.com/rust-lang/log/pull/590 |
| 192 | * @peterjoel made their first contribution in https://github.com/rust-lang/log/pull/587 |
| 193 | * @ptosi made their first contribution in https://github.com/rust-lang/log/pull/594 |
| 194 | * @brummer-simon made their first contribution in https://github.com/rust-lang/log/pull/589 |
| 195 | * @AngelicosPhosphoros made their first contribution in https://github.com/rust-lang/log/pull/607 |
| 196 | |
| 197 | ## [0.4.20] - 2023-07-11 |
| 198 | |
| 199 | * Remove rustversion dev-dependency by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/568 |
| 200 | * Remove `local_inner_macros` usage by @EFanZh in https://github.com/rust-lang/log/pull/570 |
| 201 | |
| 202 | ## [0.4.19] - 2023-06-10 |
| 203 | |
| 204 | * Use target_has_atomic instead of the old atomic_cas cfg by @GuillaumeGomez in https://github.com/rust-lang/log/pull/555 |
| 205 | * Put MSRV into Cargo.toml by @est31 in https://github.com/rust-lang/log/pull/557 |
| 206 | |
| 207 | ## [0.4.18] - 2023-05-28 |
| 208 | |
| 209 | * fix Markdown links (again) by @hellow554 in https://github.com/rust-lang/log/pull/513 |
| 210 | * add cargo doc to workflow by @hellow554 in https://github.com/rust-lang/log/pull/515 |
| 211 | * Apply Clippy lints by @hellow554 in https://github.com/rust-lang/log/pull/516 |
| 212 | * Replace ad-hoc eq_ignore_ascii_case with slice::eq_ignore_ascii_case by @glandium in https://github.com/rust-lang/log/pull/519 |
| 213 | * fix up windows targets by @KodrAus in https://github.com/rust-lang/log/pull/528 |
| 214 | * typo fix by @jiangying000 in https://github.com/rust-lang/log/pull/529 |
| 215 | * Remove dependency on cfg_if by @EriKWDev in https://github.com/rust-lang/log/pull/536 |
| 216 | * GitHub Workflows security hardening by @sashashura in https://github.com/rust-lang/log/pull/538 |
| 217 | * Fix build status badge by @atouchet in https://github.com/rust-lang/log/pull/539 |
| 218 | * Add call_logger to the documentation by @a1ecbr0wn in https://github.com/rust-lang/log/pull/547 |
| 219 | * Use stable internals for key-value API by @KodrAus in https://github.com/rust-lang/log/pull/550 |
| 220 | * Change wording of list of implementations by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/553 |
| 221 | * Add std-logger to list of implementations by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/554 |
| 222 | * Add `set_max_level_racy` and gate `set_max_level` by @djkoloski in https://github.com/rust-lang/log/pull/544 |
| 223 | * [doc] src/lib.rs : prefix an unused variable with an underscore by @OccupyMars2025 in https://github.com/rust-lang/log/pull/561 |
| 224 | * [doc] src/macros.rs : correct grammar errors of an example in lib documentation by @OccupyMars2025 in https://github.com/rust-lang/log/pull/562 |
| 225 | |
| 226 | ## [0.4.17] - 2022-04-29 |
| 227 | |
| 228 | * Update `kv_unstable` internal dependencies. |
| 229 | |
| 230 | ## [0.4.16] - 2022-03-22 |
| 231 | |
| 232 | * Fix a conflict with unqualified `Option` use in macros. |
| 233 | |
| 234 | ## [0.4.15] - 2022-02-23 |
| 235 | |
| 236 | * Silence a warning about the deprecated `spin_loop_hint`. |
| 237 | * Relax ordering in the atomic `set_max_level` call. |
| 238 | * Add thumbv4t-none-eabi to targets that don't support atomics |
| 239 | * Allow levels to be iterated over. |
| 240 | * Implement `Log` on some common wrapper types. |
| 241 | * Improvements to test coverage. |
| 242 | * Improvements to documentation. |
| 243 | * Add key-value support to the `log!` macros. |
| 244 | * Tighten `kv_unstable` internal dependencies, so they don't bump past their current alpha. |
| 245 | * Add a simple visit API to `kv_unstable`. |
| 246 | * Support `NonZero*` integers as values in structured logging |
| 247 | * Support static strings as keys in structured logging |
| 248 | |
| 249 | ## [0.4.14] - 2021-01-27 |
| 250 | |
| 251 | * Remove the `__private_api_log_lit` special case. |
| 252 | * Fixed incorrect combination of `kv_unstable` and `std` features causing compile failures. |
| 253 | * Remove unstable `Value::to_*` conversions that were incorrectly using `as`. |
| 254 | * Rename unstable `Value::to_error` to `Value::to_borrowed_error`. |
| 255 | |
| 256 | ## [0.4.13] - 2021-01-11 |
| 257 | |
| 258 | * This is the same as `0.4.11`, except with a `kv_unstable_std` feature added to aid migrating current dependents to `0.4.14` (which was originally going to be `0.4.13` until it was decided to create a patch from `0.4.11` to minimize disruption). |
| 259 | |
| 260 | ## [0.4.12] - 2020-12-24 |
| 261 | |
| 262 | ### New |
| 263 | |
| 264 | * Support platforms without atomics by racing instead of failing to compile |
| 265 | * Implement `Log` for `Box<T: Log>` |
| 266 | * Update `cfg-if` to `1.0` |
| 267 | * Internal reworks of the structured logging API. Removed the `Fill` API |
| 268 | and added `source::as_map` and `source::as_list` to easily serialize a `Source` |
| 269 | as either a map of `{key: value, ..}` or as a list of `[(key, value), ..]`. |
| 270 | |
| 271 | ### Fixed |
| 272 | |
| 273 | * Fixed deserialization of `LevelFilter` to use their `u64` index variants |
| 274 | |
| 275 | ## [0.4.11] - 2020-07-09 |
| 276 | |
| 277 | ### New |
| 278 | |
| 279 | * Support coercing structured values into concrete types. |
| 280 | * Reference the `win_dbg_logger` in the readme. |
| 281 | |
| 282 | ### Fixed |
| 283 | |
| 284 | * Updates a few deprecated items used internally. |
| 285 | * Fixed issues in docs and expands sections. |
| 286 | * Show the correct build badge in the readme. |
| 287 | * Fix up a possible inference breakage with structured value errors. |
| 288 | * Respect formatting flags in structured value formatting. |
| 289 | |
| 290 | ## [0.4.10] - 2019-12-16 (yanked) |
| 291 | |
| 292 | ### Fixed |
| 293 | |
| 294 | * Fixed the `log!` macros, so they work in expression context (this regressed in `0.4.9`, which has been yanked). |
| 295 | |
| 296 | ## [0.4.9] - 2019-12-12 (yanked) |
| 297 | |
| 298 | ### Minimum Supported Rust Version |
| 299 | |
| 300 | This release bumps the minimum compiler version to `1.31.0`. This was mainly needed for `cfg-if`, |
| 301 | but between `1.16.0` and `1.31.0` there are a lot of language and library improvements we now |
| 302 | take advantage of. |
| 303 | |
| 304 | ### New |
| 305 | |
| 306 | * Unstable support for capturing key-value pairs in a record using the `log!` macros |
| 307 | |
| 308 | ### Improved |
| 309 | |
| 310 | * Better documentation for max level filters. |
| 311 | * Internal updates to line up with bumped MSRV |
| 312 | |
| 313 | ## [0.4.8] - 2019-07-28 |
| 314 | |
| 315 | ### New |
| 316 | |
| 317 | * Support attempting to get `Record` fields as static strings. |
| 318 | |
| 319 | ## [0.4.7] - 2019-07-06 |
| 320 | |
| 321 | ### New |
| 322 | |
| 323 | * Support for embedded environments with thread-unsafe initialization. |
| 324 | * Initial unstable support for capturing structured data under the `kv_unstable` |
| 325 | feature gate. This new API doesn't affect existing users and may change in future |
| 326 | patches (so those changes may not appear in the changelog until it stabilizes). |
| 327 | |
| 328 | ### Improved |
| 329 | |
| 330 | * Docs for using `log` with the 2018 edition. |
| 331 | * Error messages for macros missing arguments. |
| 332 | |
| 333 | ## [0.4.6] - 2018-10-27 |
| 334 | |
| 335 | ### Improved |
| 336 | |
| 337 | * Support 2018-style macro import for the `log_enabled!` macro. |
| 338 | |
| 339 | ## [0.4.5] - 2018-09-03 |
| 340 | |
| 341 | ### Improved |
| 342 | |
| 343 | * Make `log`'s internal helper macros less likely to conflict with user-defined |
| 344 | macros. |
| 345 | |
| 346 | ## [0.4.4] - 2018-08-17 |
| 347 | |
| 348 | ### Improved |
| 349 | |
| 350 | * Support 2018-style imports of the log macros. |
| 351 | |
| 352 | ## [0.4.3] - 2018-06-29 |
| 353 | |
| 354 | ### Improved |
| 355 | |
| 356 | * More code generation improvements. |
| 357 | |
| 358 | ## [0.4.2] - 2018-06-05 |
| 359 | |
| 360 | ### Improved |
| 361 | |
| 362 | * Log invocations now generate less code. |
| 363 | |
| 364 | ### Fixed |
| 365 | |
| 366 | * Example Logger implementations now properly set the max log level. |
| 367 | |
| 368 | ## [0.4.1] - 2017-12-30 |
| 369 | |
| 370 | ### Fixed |
| 371 | |
| 372 | * Some doc links were fixed. |
| 373 | |
| 374 | ## [0.4.0] - 2017-12-24 |
| 375 | |
| 376 | The changes in this release include cleanup of some obscure functionality and a more robust public |
| 377 | API designed to support bridges to other logging systems, and provide more flexibility to new |
| 378 | features in the future. |
| 379 | |
| 380 | ### Compatibility |
| 381 | |
| 382 | Vast portions of the Rust ecosystem use the 0.3.x release series of log, and we don't want to force |
| 383 | the community to go through the pain of upgrading every crate to 0.4.x at the exact same time. Along |
| 384 | with 0.4.0, we've published a new 0.3.9 release which acts as a "shim" over 0.4.0. This will allow |
| 385 | crates using either version to coexist without losing messages from one side or the other. |
| 386 | |
| 387 | There is one caveat - a log message generated by a crate using 0.4.x but consumed by a logging |
| 388 | implementation using 0.3.x will not have a file name or module path. Applications affected by this |
| 389 | can upgrade their logging implementations to one using 0.4.x to avoid losing this information. The |
| 390 | other direction does not lose any information, fortunately! |
| 391 | |
| 392 | **TL;DR** Libraries should feel comfortable upgrading to 0.4.0 without treating that as a breaking |
| 393 | change. Applications may need to update their logging implementation (e.g. env-logger) to a newer |
| 394 | version using log 0.4.x to avoid losing module and file information. |
| 395 | |
| 396 | ### New |
| 397 | |
| 398 | * The crate is now `no_std` by default. |
| 399 | * `Level` and `LevelFilter` now implement `Serialize` and `Deserialize` when the `serde` feature is |
| 400 | enabled. |
| 401 | * The `Record` and `Metadata` types can now be constructed by third-party code via a builder API. |
| 402 | * The `logger` free function returns a reference to the logger implementation. This, along with the |
| 403 | ability to construct `Record`s, makes it possible to bridge from another logging framework to |
| 404 | this one without digging into the private internals of the crate. The standard `error!` `warn!`, |
| 405 | etc., macros now exclusively use the public API of the crate rather than "secret" internal APIs. |
| 406 | * `Log::flush` has been added to allow crates to tell the logging implementation to ensure that all |
| 407 | "in flight" log events have been persisted. This can be used, for example, just before an |
| 408 | application exits to ensure that asynchronous log sinks finish their work. |
| 409 | |
| 410 | ### Removed |
| 411 | |
| 412 | * The `shutdown` and `shutdown_raw` functions have been removed. Supporting shutdown significantly |
| 413 | complicated the implementation and imposed a performance cost on each logging operation. |
| 414 | * The `log_panics` function and its associated `nightly` Cargo feature have been removed. Use the |
| 415 | [log-panics](https://crates.io/crates/log-panics) instead. |
| 416 | |
| 417 | ### Changed |
| 418 | |
| 419 | * The `Log` prefix has been removed from type names. For example, `LogLevelFilter` is now |
| 420 | `LevelFilter`, and `LogRecord` is now `Record`. |
| 421 | * The `MaxLogLevelFilter` object has been removed in favor of a `set_max_level` free function. |
| 422 | * The `set_logger` free functions have been restructured. The logger is now directly passed to the |
| 423 | functions rather than a closure which returns the logger. `set_logger` now takes a `&'static |
| 424 | Log` and is usable in `no_std` contexts in place of the old `set_logger_raw`. `set_boxed_logger` |
| 425 | is a convenience function which takes a `Box<Log>` but otherwise acts like `set_logger`. It |
| 426 | requires the `std` feature. |
| 427 | * The `file` and `module_path` values in `Record` no longer have the `'static` lifetime to support |
| 428 | integration with other logging frameworks that don't provide a `'static` lifetime for the |
| 429 | equivalent values. |
| 430 | * The `file`, `line`, and `module_path` values in `Record` are now `Option`s to support integration |
| 431 | with other logging frameworks that don't provide those values. |
| 432 | |
| 433 | ### In the Future |
| 434 | |
| 435 | * We're looking to add support for *structured* logging - the inclusion of extra key-value pairs of |
| 436 | information in a log event in addition to the normal string message. This should be able to be |
| 437 | added in a backwards compatible manner to the 0.4.x series when the design is worked out. |
| 438 | |
| 439 | ## Older |
| 440 | |
| 441 | Look at the [release tags] for information about older releases. |
| 442 | |
| 443 | [Unreleased]: https://github.com/rust-lang-nursery/log/compare/0.4.34...HEAD |
| 444 | [0.4.34]: https://github.com/rust-lang/log/compare/0.4.33...0.4.34 |
| 445 | [0.4.33]: https://github.com/rust-lang/log/compare/0.4.32...0.4.33 |
| 446 | [0.4.32]: https://github.com/rust-lang/log/compare/0.4.31...0.4.32 |
| 447 | [0.4.31]: https://github.com/rust-lang/log/compare/0.4.30...0.4.31 |
| 448 | [0.4.30]: https://github.com/rust-lang/log/compare/0.4.29...0.4.30 |
| 449 | [0.4.29]: https://github.com/rust-lang/log/compare/0.4.28...0.4.29 |
| 450 | [0.4.28]: https://github.com/rust-lang/log/compare/0.4.27...0.4.28 |
| 451 | [0.4.27]: https://github.com/rust-lang/log/compare/0.4.26...0.4.27 |
| 452 | [0.4.26]: https://github.com/rust-lang/log/compare/0.4.25...0.4.26 |
| 453 | [0.4.25]: https://github.com/rust-lang/log/compare/0.4.24...0.4.25 |
| 454 | [0.4.24]: https://github.com/rust-lang/log/compare/0.4.23...0.4.24 |
| 455 | [0.4.23]: https://github.com/rust-lang/log/compare/0.4.22...0.4.23 |
| 456 | [0.4.22]: https://github.com/rust-lang/log/compare/0.4.21...0.4.22 |
| 457 | [0.4.21]: https://github.com/rust-lang/log/compare/0.4.20...0.4.21 |
| 458 | [0.4.20]: https://github.com/rust-lang-nursery/log/compare/0.4.19...0.4.20 |
| 459 | [0.4.19]: https://github.com/rust-lang-nursery/log/compare/0.4.18...0.4.19 |
| 460 | [0.4.18]: https://github.com/rust-lang-nursery/log/compare/0.4.17...0.4.18 |
| 461 | [0.4.17]: https://github.com/rust-lang-nursery/log/compare/0.4.16...0.4.17 |
| 462 | [0.4.16]: https://github.com/rust-lang-nursery/log/compare/0.4.15...0.4.16 |
| 463 | [0.4.15]: https://github.com/rust-lang-nursery/log/compare/0.4.13...0.4.15 |
| 464 | [0.4.14]: https://github.com/rust-lang-nursery/log/compare/0.4.13...0.4.14 |
| 465 | [0.4.13]: https://github.com/rust-lang-nursery/log/compare/0.4.11...0.4.13 |
| 466 | [0.4.12]: https://github.com/rust-lang-nursery/log/compare/0.4.11...0.4.12 |
| 467 | [0.4.11]: https://github.com/rust-lang-nursery/log/compare/0.4.10...0.4.11 |
| 468 | [0.4.10]: https://github.com/rust-lang-nursery/log/compare/0.4.9...0.4.10 |
| 469 | [0.4.9]: https://github.com/rust-lang-nursery/log/compare/0.4.8...0.4.9 |
| 470 | [0.4.8]: https://github.com/rust-lang-nursery/log/compare/0.4.7...0.4.8 |
| 471 | [0.4.7]: https://github.com/rust-lang-nursery/log/compare/0.4.6...0.4.7 |
| 472 | [0.4.6]: https://github.com/rust-lang-nursery/log/compare/0.4.5...0.4.6 |
| 473 | [0.4.5]: https://github.com/rust-lang-nursery/log/compare/0.4.4...0.4.5 |
| 474 | [0.4.4]: https://github.com/rust-lang-nursery/log/compare/0.4.3...0.4.4 |
| 475 | [0.4.3]: https://github.com/rust-lang-nursery/log/compare/0.4.2...0.4.3 |
| 476 | [0.4.2]: https://github.com/rust-lang-nursery/log/compare/0.4.1...0.4.2 |
| 477 | [0.4.1]: https://github.com/rust-lang-nursery/log/compare/0.4.0...0.4.1 |
| 478 | [0.4.0]: https://github.com/rust-lang-nursery/log/compare/0.3.8...0.4.0 |
| 479 | [release tags]: https://github.com/rust-lang-nursery/log/releases |