Skip to content

chore: upgrade utoipa to 6.0 and dependencies, release v0.7.0 - #123

Merged
joaquinbejar merged 1 commit into
mainfrom
chore/utoipa-6
Oct 5, 2026
Merged

joaquinbejar merged 1 commit into
mainfrom
chore/utoipa-6

Conversation

@joaquinbejar

@joaquinbejar joaquinbejar commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Summary

Upgrades the optional utoipa dependency to 6.0 so downstream crates on utoipa 6 get impl utoipa::ToSchema for Positive (today they fail with "positive::Positive: utoipa::ToSchema is not satisfied"), and releases this as v0.7.0: utoipa is a public optional dependency, so its major change is breaking in 0.x.

Dependency upgrades

Crate Old New
utoipa (optional) 5.5 6.0
rust_decimal 1.43 1.43 (already latest)
rust_decimal_macros 1.40 1.40 (already latest)
num-traits, serde, thiserror, approx, serde_json, criterion unchanged already latest stable

cargo update also refreshed transitive deps (utoipa-gen 6.0.1, wasip2, wit-bindgen). No pre-releases.

Code changes

  • No source changes needed: #[derive(utoipa::ToSchema)] on Positive compiles unchanged against utoipa 6.
  • MSRV raised 1.85 -> 1.88 (rust-version and the CI msrv job), because utoipa 6 requires 1.88 and the MSRV job checks --all-features.
  • New tests/utoipa_schema.rs (feature gated): checks the schema name, that the schema is a decimal string, and that Positive composes into a derived schema via $ref.
  • No new Rust 1.99 deprecation warnings in this crate.
  • Coverage CI: cargo-tarpaulin 0.37.0 -> 0.37.5 (0.37.0 cannot parse Rust 1.99 profraw files: consistency check for reading counts failed), and --timeout 0 -> --timeout 600 in the workflow and Makefile (0.37.5 treats 0 as a zero second timeout).

Version bump

  • 0.6.1 -> 0.7.0 in Cargo.toml; README and lib docs install snippets updated to "0.7"; CHANGELOG entry for 0.7.0.

Gate

  • make pre-push: exit 0, zero warnings, zero errors (Rust 1.99.0).
  • CI: all checks green.
  • cargo +1.88 check --lib --all-features and --no-default-features: OK.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joaquinbejar
joaquinbejar merged commit 18b4be5 into main Oct 5, 2026
19 checks passed
@joaquinbejar
joaquinbejar deleted the chore/utoipa-6 branch October 5, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants