-
Notifications
You must be signed in to change notification settings - Fork 42
Comparing changes
Open a pull request
base repository: d-e-s-o/test-log
base: v0.2.13
head repository: d-e-s-o/test-log
compare: v0.2.14
- 17 commits
- 12 files changed
- 4 contributors
Commits on Nov 4, 2023
-
Specify two more rustfmt options
With this change we adjust our rustfmt configuration to include two more options pertaining the formatting of import/use statements.
Configuration menu - View commit details
-
Copy full SHA for a5c137c - Browse repository at this point
Copy the full SHA a5c137cView commit details -
Cache build artifacts in build-minimum CI job
With this change we use the Swatinem/rust-cache GitHub action to cache Rust build artifacts for the build-minimum CI job, which currently takes the most time to complete. In so doing we more than halve overall CI wall clock time.
Configuration menu - View commit details
-
Copy full SHA for b5d07af - Browse repository at this point
Copy the full SHA b5d07afView commit details -
Refactor into try_test + syn::Result
syn::Result allows us to return spanned errors which can be converted into nice compile errors when there is unexpected input. For example: ``` error: Failed to parse value, expected a string! --> tests/mod.rs:94:33 | 94 | #[test_log(default_log_filter = 6)] | ^ ```
Configuration menu - View commit details
-
Copy full SHA for e1d5d67 - Browse repository at this point
Copy the full SHA e1d5d67View commit details -
Add #[test_log(default_log_filter = "___")]
Users can now specify a default_log_filter via #[test_log(default_log_filter = "foo")] which will be used when RUST_LOG is not specified. Please note that because env_logger / tracing is initialized globally, it is possible that this value will be ignored if they have already been initialized by a different test. Fixes: #25
Configuration menu - View commit details
-
Copy full SHA for 858ad05 - Browse repository at this point
Copy the full SHA 858ad05View commit details
Commits on Nov 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5b25c00 - Browse repository at this point
Copy the full SHA 5b25c00View commit details -
.github: replace actions-rs with dtolnay/rust-toolchain
actions-rs is no longer maintained.
Configuration menu - View commit details
-
Copy full SHA for e08b08e - Browse repository at this point
Copy the full SHA e08b08eView commit details -
Configuration menu - View commit details
-
Copy full SHA for acf589c - Browse repository at this point
Copy the full SHA acf589cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64e01b9 - Browse repository at this point
Copy the full SHA 64e01b9View commit details
Commits on Nov 22, 2023
-
Merge pull request #38 from tamird/actions
.github: replace actions-rs with dtolnay/rust-toolchain, add caching
Configuration menu - View commit details
-
Copy full SHA for e30969a - Browse repository at this point
Copy the full SHA e30969aView commit details
Commits on Nov 25, 2023
-
Automatically include dependencies
- Move macros to a new test-log-macros crate. - Export env_logger and tracing_subscriber from the test-log crate. - Macros emit test_log::{env_logger,tracing_subscriber} references. Removes the need for users to explicitly depend on additional crates. Fixes #36.Configuration menu - View commit details
-
Copy full SHA for c94977b - Browse repository at this point
Copy the full SHA c94977bView commit details
Commits on Dec 4, 2023
-
Add CHANGELOG entry for test-log-macros crate introduction
Add a CHANGELOG entry for the recent introduction of the test-log-macros crate.
Configuration menu - View commit details
-
Copy full SHA for c94e830 - Browse repository at this point
Copy the full SHA c94e830View commit details -
Put 'default_log_filter' attribute behind 'unstable' feature
The 'default_log_filter', while useful, is arguably a bit of a kludge given that it is inherently racy with respect to other tests initializing the corresponding log/tracing infrastructure beforehand. What we would really want is to make it a global attribute, but that is not currently possible on stable Rust. Put this attribute behind a newly introduce feature, unstable, so that we have more flexibility for changing/removing it in the future, without being required to break semantic versioning guarantees.
Configuration menu - View commit details
-
Copy full SHA for cbcdb8c - Browse repository at this point
Copy the full SHA cbcdb8cView commit details
Commits on Feb 23, 2024
-
Update minimum supported Rust version to 1.61.0
This change updates the minimum version of Rust that we support to 1.61.0. We need this version because it is a requirement for env_logger version 0.10, to which we would like to update subsequently. In the process we switch the crate over to using Rust edition 2021.
Configuration menu - View commit details
-
Copy full SHA for 0add4a0 - Browse repository at this point
Copy the full SHA 0add4a0View commit details
Commits on Feb 24, 2024
-
Bump env_logger dependency to 0.10
This change bumps the env_logger dependency we use to version 0.10.
Configuration menu - View commit details
-
Copy full SHA for f092c4e - Browse repository at this point
Copy the full SHA f092c4eView commit details
Commits on Feb 25, 2024
-
Drop actions-rs/toolchain usage from publish workflow
Similar to what we did for the test GitHub Action workflow, replace the deprecated actions-rs/toolchain with dtolnay/rust-toolchain.
Configuration menu - View commit details
-
Copy full SHA for 936713a - Browse repository at this point
Copy the full SHA 936713aView commit details -
Update publish workflow for test-log-macros
This change updates the publish workflow to accommodate for the recent introduction of the test-log-macros crate to the workspace. Said crate needs to be published before test-log itself, because test-log depends on it. In terms of crate versioning we unconditionally release both crates in lockstep for the sake of simplicity.
Configuration menu - View commit details
-
Copy full SHA for b4bd011 - Browse repository at this point
Copy the full SHA b4bd011View commit details
Commits on Feb 27, 2024
-
This change bumps the version of the crate to 0.2.14. The following notable changes have been made since 0.2.13: - Factored out test-log-macros crate to relieve users from having to care about tracing/logging dependencies themselves - Introduced default_log_filter attribute for setting the default log filter on a per-test basis behind new unstable feature - Improved compile error output on wrong usage - Bumped minimum supported Rust version to 1.61 - Bumped env_logger dependency to 0.10
Configuration menu - View commit details
-
Copy full SHA for 8b48901 - Browse repository at this point
Copy the full SHA 8b48901View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.2.13...v0.2.14