Closed KrazyK786 closed 2 weeks ago
Hm. I think those types were marked as deprecated since v26.0.0, which added temporary aliases to point to the new location; https://github.com/moby/moby/blob/v26.0.0/api/types/types_deprecated.go#L7-L35 (and those are removed with the v27.xx release
@mdelapenya do you know if there's a linter in this repository that would check for those deprecations?
Ah, looks like this repo depends on v25.0.0, so yes, updating to two major versions ahead is somewhat expected to break things; https://github.com/testcontainers/testcontainers-go/blob/5d68a528f263685c8183e11e2a842f76926a1a28/go.mod#L10
I guess we can update it to v26.1, and adjust the code
@thaJeztah thanks for checking. Indeed, I'm going to bump docker version to v26.1 then.
I have a branch; pushing a PR now 😄
Testcontainers version
0.31.0
Using the latest Testcontainers version?
Yes
Host OS
MacOS
Host arch
ARM64
Go version
1.22.3
Docker version
Docker info
What happened?
Updated testcontainers package to latest:
Saw several dependencies update, including:
Ran tests and received output in next section
Relevant log output
Additional information
Docker confirmed in this issue that v27.0.0 is a release candidate version accidentally tagged as a full version and that they should be releasing the actual full version (v27.0.1) sometime next week. With the errors given and the fact that the version is still a candidate for release, wanted to give testcontainers a heads up in case these changes are permanent.
Also, thank you for your amazing package!! It has been a blessing on our team and we truly appreciate all the effort the people behind this put in 🙇🏾