Skip to content

chore: bump docker-compose-types from 0.22 to 0.23#936

Closed
georgesfarah wants to merge 1 commit into
testcontainers:mainfrom
georgesfarah:bump-docker-compose-types
Closed

chore: bump docker-compose-types from 0.22 to 0.23#936
georgesfarah wants to merge 1 commit into
testcontainers:mainfrom
georgesfarah:bump-docker-compose-types

Conversation

@georgesfarah

@georgesfarah georgesfarah commented Apr 13, 2026

Copy link
Copy Markdown

Summary

Bumps docker-compose-types from 0.22 to 0.23.

Motivation

docker-compose-types 0.22.0 hardcodes its serde_yaml dependency to the exact version =0.9.33. This strict pin means any workspace that transitively depends on both testcontainers (with the docker-compose feature) and a crate requiring serde_yaml >= 0.9.34 will fail to resolve dependencies entirely — Cargo cannot satisfy both constraints simultaneously.

docker-compose-types 0.23.0 fixes this in two ways:

  1. serde_yaml is now optional, gated behind the yaml feature (which remains on by default for backwards compatibility)
  2. The version constraint is relaxed from =0.9.33 to ^0.9.33, allowing any compatible 0.9.x release

The fix was made in stephanbuys/docker-compose-types#64 and released as 0.23.0.

Because testcontainers declares docker-compose-types = "0.22", Cargo's semver resolution restricts it to >=0.22.0, <0.23.0 and will never pick up the fixed 0.23.0 release without this bump. Updating testcontainers to "0.23" is therefore required to let downstream workspaces benefit from the fix.

Test plan

  • Existing CI passes

docker-compose-types 0.23.0 makes serde_yaml optional (behind the
`yaml` feature) and relaxes its version constraint from `=0.9.33` to
`^0.9.33`, fixing a conflict when the workspace uses serde_yaml >=0.9.34.
@netlify

netlify Bot commented Apr 13, 2026

Copy link
Copy Markdown

Deploy Preview for testcontainers-rust ready!

Name Link
🔨 Latest commit 6674232
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-rust/deploys/69dcb6c3d54307000861abe9
😎 Deploy Preview https://deploy-preview-936--testcontainers-rust.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@georgesfarah georgesfarah marked this pull request as ready for review April 13, 2026 11:05

@DDtKey DDtKey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution!

@DDtKey

DDtKey commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Sorry, closing in favor of #931 as it's duplicate

@DDtKey DDtKey closed this Apr 14, 2026
@georgesfarah

Copy link
Copy Markdown
Author

Its okay! @DDtKey When are you planning to cut a new release?

@DDtKey

DDtKey commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

I'm about to do it today or tomorrow.

@georgesfarah

Copy link
Copy Markdown
Author

Thank you!

@DDtKey

DDtKey commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@georgesfarah it's been released!

@georgesfarah

Copy link
Copy Markdown
Author

Thank you!

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