Conversation
CHANGELOG.md
Outdated
| ### Fixed | ||
|
|
||
| ### Changed | ||
| - Database container images are now pinned to a specific version rather than using `latest`. The tags selected are the most recent as of the time of this change. If a JDBC URL is used with no tag specified, a WARN level log message is output, pending a future change to make tags mandatory in the JDBC URL. |
There was a problem hiding this comment.
Now that I have one I will :D
There was a problem hiding this comment.
I have the same issue every time I submit a PR :D Even started to predict the next number 😂
docs/usage/database_containers.md
Outdated
| `jdbc:tc:mysql://somehostname:someport/databasename` | ||
|
|
||
| *(Note: this will use the latest version of MySQL)* | ||
| *(Note: this will implicitly use the `latest` version of MySQL. Using `latest` is risky and Testcontainers will soon require an explicit tag name to be provided)* |
There was a problem hiding this comment.
Maybe we should implicitly set it to 5 if no version was provided?
There was a problem hiding this comment.
Perhaps - I think I might sleep on it. Both approaches have tradeoffs, so I guess it's just a case of which one we think is least troublesome for users.
There was a problem hiding this comment.
True. Just thought that given the fact that the latest MySQL broke our own tests, a lot of users will also be affected, especially the ones who use the JDBC url approach :)
There was a problem hiding this comment.
I've decided 😆
Updated following your suggestion. We're now using a fixed version (which is similar to current latest) if there is no tag provided in the JDBC URL.
(equivalent to current 'latest')
* Pin tags where it makes sense to do so * Update changelog and docs * Use fixed tag names for JDBC URLs when none specified (equivalent to current 'latest')
No description provided.