Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@

## Unreleased

## v0.11.0 2025/07/01

- Change/fix: Minimum supported Rust version is now officially 1.86. Previously released, v0.10.0, used a feature stabalized in 1.86 but did not correctly update the MSRV (https://github.com/heroku-buildpacks/bullet_stream/pull/47).

## v0.10.0 2025/06/09

- Change: Uses a feature of Rust not supported until 1.86, although the MSRV was not correctly incremented in this release (https://github.com/heroku-buildpacks/bullet_stream/pull/43).
- Add: New function `global::with_locked_writer` is introduced to allow consistently capturing write output. This function is designed for use in testing output or in other non-reentrant capture cases. This blocks all threads using this function but one from executing so that a deterministic and consistent output is captured. Previously tests could be written with a thread_local writer, however there's a subtle race condition in that approach if the output relies on "paragraph" style text (https://github.com/heroku-buildpacks/bullet_stream/pull/43).

## v0.9.0 2025/06/05
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bullet_stream"
version = "0.10.0"
version = "0.11.0"
edition = "2021"
license = "MIT"
description = "Bulletproof printing for bullet point text"
Expand All @@ -9,6 +9,7 @@ repository = "https://github.com/schneems/bullet_stream"
documentation = "https://docs.rs/bullet_stream"
readme = "README.md"
include = ["src/**/*", "LICENSE", "README.md"]
rust-version = "1.86"

[dependencies]
fun_run = { version = ">=0.5,<1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ mod test {
.join()
.expect("First thread should complete successfully");

assert!(result.is_err(), "Expected panic to be caught {:?}", result);
assert!(result.is_err(), "Expected panic to be caught {result:?}");

let handle2 = thread::spawn(|| {
let output = with_locked_writer(Vec::new(), || {
Expand Down
Loading