testcontainers-java
testcontainers-java copied to clipboard
Deprecate withEnterpriseEdition due to version pinning
Deprecate the method in favour of a version-agnostic replacement. The withEnterpriseEdition pulls in the former neo4j:4.4 default image / LTS version without users noting the implicit change from their defined image version.
A Neo4jContainer("neo4j:5.26").withEnterpriseEdition() becomes neo4j:4.4-enterprise and let's say that this is at least a surprise, even though it's explicitly mentioned in the documentation.
Also upgrade the test images to be used to 5.26 (latest LTS version) where possible.