# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## 0.5.1 - 2023-07-11 ### Fixed - Building the docs for this library should now work with `nightly` Rust versions (used by [docs.rs](https://docs.rs)) ### Changed - Upgrade all used dependencies to their latest versions ## 0.5.0 - 2023-07-06 ### Added - Add the `build_with_validation()` method to validate the passed parameters before trying to create a new `Fenrir` instance - Add a `reqwest-async` backend for doing the actual networking requests (thanks to [zero](https://github.com/tazz4843)) ### Changed - Fix a typo in the README - Updated the documentation of all traits, structs and enums in the crate ## 0.4.1 - 2023-06-05 ### Changed - `include_framework` is now deprecated since the same functionality can be achieved by using the `tag` method - If compiled in debug mode, the logger will panic if the logs could not be sent to Loki ## 0.4.0 - 2023-05-30 ### Added - Add an option to the builder to enable settings the `logging_framework` tag for all messages - Add an option to the builder to enable settings the `level` tag for all messages - Add an option for adding custom tags to all messages (e.g. for adding the application or service name) ### Fixed - Fix a linting warning in case the `structured_logging` feature was not selected ### Removed - The default behavior for adding the `logging_framework` and the `level` tag was removed ## 0.3.0 - 2023-05-26 ### Added - Add a new example for the use of the library without frameworks like `fern` - Add the `NoopBackend` for dropping all messages and not sending them to any Loki instance - Add a feature for selecting the `ureq` network backend - Add a feature for selecting the `json` as a serialization method - Add a feature for selecting the using structured logging (currently **unstable**) ### Changed - Refactor the code to be able to deal with different network backends for sending information to a Loki instance - Refactor the code to be able to switch the serialization type for the send messages - Increase the minimum supported Rust version to 1.60.0 ## 0.2.0 - 2023-05-21 ### Added - The docker example environment now also includes a nginx reverse proxy for authentication purposes - Add support for sending logs to Loki using a reverse proxy for authentication via Basic Auth ### Changed - Rename the `logging_level` to `level` to comply with the standard for Grafana - Change the way the builder for the `Fenrir` is obtained to make it easier to use - Reduce the minimum supported Rust version to 1.57.0 ## 0.1.1 - 2023-05-12 ### Added - Add the content of the README.md file to the documentation on [docs.rs](https://docs.rs/fenrir-rs) - Add a container setup for easier local testing (using `docker compose`) - Add a `logging_level` tag to each logged entry send to Loki ### Changed - Correctly added the license tag; it shows up now up correctly on [crates.io](https://crates.io/crates/fenrir-rs) ## 0.1.0 - 2023-05-10 ### Added - Initial support for basic logging in Loki using the JSON interface