Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v0.16.0 #593

Closed

Conversation

github-actions[bot]
Copy link
Contributor

🤖 New release

  • testcontainers: 0.15.0 -> 0.16.0 (⚠️ API breaking changes)

⚠️ testcontainers breaking changes

--- failure constructible_struct_adds_private_field: struct no longer constructible due to new private field ---

Description:
A struct constructible with a struct literal has a new non-public field. It can no longer be constructed using a struct literal outside of its crate.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.31.0/src/lints/constructible_struct_adds_private_field.ron

Failed in:
  field ExecCommand.cmd_ready_condition in /tmp/.tmpGMV5Yq/testcontainers-rs/testcontainers/src/core/image.rs:107
  field ExecCommand.container_ready_conditions in /tmp/.tmpGMV5Yq/testcontainers-rs/testcontainers/src/core/image.rs:108

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.31.0/src/lints/enum_missing.ron

Failed in:
  enum testcontainers::core::env::Command, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/env.rs:36

--- failure function_missing: pub fn removed or renamed ---

Description:
A publicly-visible function cannot be imported by its prior path. A `pub use` may have been removed, or the function itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.31.0/src/lints/function_missing.ron

Failed in:
  function testcontainers::core::env::command, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/env.rs:4

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.31.0/src/lints/inherent_method_missing.ron

Failed in:
  ContainerState::host_port, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/image.rs:120
  ContainerAsync::get_host_port, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/container_async.rs:68
  ContainerAsync::get_host_port, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/container_async.rs:68
  RunnableImage::inner, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/image.rs:163
  RunnableImage::inner, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/image.rs:163
  Container::get_host_port, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/container.rs:124
  Container::get_host_port, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/container.rs:124

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.31.0/src/lints/module_missing.ron

Failed in:
  mod testcontainers::core::env, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/env.rs:1
  mod testcontainers::clients, previously in file /tmp/.tmpXmBnAS/testcontainers/src/clients.rs:1

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.31.0/src/lints/struct_missing.ron

Failed in:
  struct testcontainers::clients::Http, previously in file /tmp/.tmpXmBnAS/testcontainers/src/clients/http.rs:23
  struct testcontainers::core::env::Os, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/env.rs:26
  struct testcontainers::clients::Cli, previously in file /tmp/.tmpXmBnAS/testcontainers/src/clients/cli.rs:22

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.31.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field cmd of struct ExecCommand, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/image.rs:101
  field ready_conditions of struct ExecCommand, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/image.rs:103

--- failure struct_pub_field_now_doc_hidden: pub struct field is now #[doc(hidden)] ---

Description:
A pub field of a pub struct is now marked #[doc(hidden)] and is no longer part of the public API.
        ref: https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#hidden
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.31.0/src/lints/struct_pub_field_now_doc_hidden.ron

Failed in:
  field ExecCommand.cmd in file /tmp/.tmpGMV5Yq/testcontainers-rs/testcontainers/src/core/image.rs:105

--- failure trait_missing: pub trait removed or renamed ---

Description:
A publicly-visible trait cannot be imported by its prior path. A `pub use` may have been removed, or the trait itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.31.0/src/lints/trait_missing.ron

Failed in:
  trait testcontainers::core::env::GetEnvValue, previously in file /tmp/.tmpXmBnAS/testcontainers/src/core/env.rs:20
Changelog

[0.16.0] - 2024-04-27

Details

Bug Fixes

  • Use the binds option instead of volumes for mounts (#581)

Documentation

  • Mention a way to preserve running containers (#586)

Features

  • Support for docker cli flag --add-host (#547)
  • Allow to override args in a RunnableImage (#558)
  • Add name parameter to RunnableImage (#549)
  • [❗]Container-centric API with refactored underlying layer (#575)
  • Add ability to pull-image explicitly (#579)

Miscellaneous Tasks

  • Remove spectral from dev-dependencies (#526)
  • Update reqwest requirement from 0.11.14 to 0.12.3 (#569)
  • Update bollard and bollard-stubs (#574)
  • Reuse workspace level configs (#568)

Styling

  • Derive Default to fix clippy lint (#525)
  • Actualize formatting configs (#567)
  • Enable StdExternalCrate grouping


This PR was generated with release-plz.

@DDtKey DDtKey closed this Apr 27, 2024
@DDtKey DDtKey deleted the release-plz-2024-04-27T15-02-24Z branch April 27, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant