All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
- Switch from
atty
tois_terminal
- Avoids RUSTSEC-2021-0145
- Merges PR #47 - Thanks @rkd-msw
- Bump MSRV to 1.63
- This rust version was released almost 2 years ago. I don't consider this significant enough to bump the minor version.
- Switch from
chrono
totime
- Merges PR #39 - Thanks @JanZerebecki
- Avoids RUSTSEC-2020-0159
- BREAKING: Bump MSRV to 1.53
- Switch from Travis CI to Github Actions
- Disable default features on chrono to address RUSTSEC-2020-0071 aka CVE-2020-26235
- Use SPDX compliant license name
- BREAKING: bump MRSV to 1.36
- update
term
dependency
- option in full format builder to enable file location
print_msg_header
customization
- Fix detection of terminals without color support
- Add support for slog/nested-values
- Documentation fixes
- Upgrade to thread_local 1
- Fix
clippy
warnings on 2018 edition - Cargo.toml - 2018 edition
Make public the following elements to be able to reuse for your own implementations:
print_msg_header
Serializer
Serializer::new
Serializer.finish()
CompactFormatSerializer
CompactFormatSerializer::new
CompactFormatSerializer.finish()
CountingWriter
CountingWriter::new
CountingWriter.count()
- Lazily evaluate color detection (GH-214).
- Bump
term
dependency
- Change semantics of
TermDecorator::build
that didn't make sense before.
use_original_order
forFullFormat
- Writer that plays nicely with unit tests
- Improved documentation
- Relicense under MPL/Apache/MIT
- Fix commas on empty message
- Just release major version
- Update slog dependency
- Update slog dependency
TermDecoratorBuilder::build()
will not panic anymoreTermDecorator
will automatically detect if colors should be used- Add helper functions for drains with default settings
- Color settings for
TermDecorator
TermDecoratorBuilder::try_build()
that returnsOption
- Full rewrite, ditch
slog-stream
- Use
term
so should work on Linux and Windows shells out of the box - Allow extending (eg. for
termion
and other terminal crates) - Compact mode now prints one value per line. Groups are not exposed by
slog
anymore.
- Reverse the order of record values in full mode to match slog 1.5 definition
- Fix a bug in
new_plain
that would make it still use colors. - No comma will be printed after an empty "msg" field
- Changed order of full format values
- 1.3.4 with
?
operator breaks semver - fix allows builds on stable Rust back to 1.11
- Added
Send+Sync
toDrain
returned onbuild
- Fix compact format, repeating some values unnecessarily.
- Make
Format
public so it can be reused
- BREAKING: Switched
AsyncStramer
toslog_extra::Async
- BREAKING: Rewrite handling of owned values.
- Custom timestamp function support
- Logging level color uses only first 8 ANSI terminal colors for better compatibility
First stable release.