Skip to content

Releases: micronaut-projects/micronaut-test-resources

Micronaut Test Resources 2.0.0-M1

05 Apr 11:47
Compare
Choose a tag to compare
Pre-release

What's Changed

Breaking Changes 🛠

  • Rename Application -> TestResourcesService by @melix in #117
  • Fix close methods returning void by @melix in #192

Improvements ⭐

  • Default to Oracle XE slim-faststart by @melix in #161
  • Make all test resources client factory methods public by @melix in #193

Docs 📖

Dependency updates 🚀

  • Update micronaut-gradle-plugin to v3.6.6 by @renovate in #145
  • Use Micronaut 4.0.0-M1 by @melix in #190
  • Update dependency gradle.plugin.com.github.johnrengelman:shadow to v8 by @renovate in #172
  • Update aws-java-sdk monorepo to v1.12.434 by @renovate in #166
  • Update aws-java-sdk-v2 monorepo to v2.20.31 by @renovate in #167

Other Changes 💡

New Contributors

  • @scprek made their first contribution in #156
  • @Colonel-Rogue made their first contribution in #202
  • @sdelamo made their first contribution in #201

Full Changelog: v1.2.5...v2.0.0-M1

Micronaut Test Resources 1.2.5

09 Mar 23:06
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • Only use kebab case for resolvable properties by @melix in #184

Full Changelog: v1.2.4...v1.2.5

  • Only use kebab case for resolvable properties (#184)

Micronaut Test Resources 1.2.4

01 Mar 11:55
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • Avoid trying to get datasource name from non-datasource expressions by @melix in #176

Docs 📖

  • Migrate to new configuration asciidoc macro and build plugin 5.4.5 by @wetted in #163

New Contributors

Full Changelog: v1.2.3...v1.2.4

  • Avoid trying to get datasource name from non-datasource expressions (#176)

Micronaut Test Resources 1.2.3

19 Dec 09:19
Compare
Choose a tag to compare

Security fix

This version fixes a potential security issue with Micronaut Test Resources.
Micronaut Test Resources spawns a server which is responsible for the lifecycle of test resources, and in particular spawning test docker containers.
This server only accepts connections from the local machine, but is additionally secured by an optional security token, in order to restrict access to particular users.

In previous releases of Micronaut Test Resources, the way the server was started prevented the token from being used, which means that different users from the same machine could potentially access the test resources service.
In practice, this means that if a server was started on a particular multi-user machine, other users could:

  • list the started test containers
  • list and read the Micronaut properties which are resolved by the test resources service

In theory this would allow different users to access test resources spawned by another user on the same machine.

This problem is fixed in Micronaut Test Resources 1.2.3.

What's Changed

Bug Fixes 🐞

  • Fix system property used to inject the server access token by @melix in #151

Full Changelog: v1.2.2...v1.2.3

  • Fix system property used to inject the server access token (#151)

Micronaut Test Resources 1.2.2

16 Dec 14:32
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • Fix flat jar being deleted when directories change by @melix in #149

Full Changelog: v1.2.1...v1.2.2

Micronaut Test Resources 1.2.1

07 Dec 14:22
Compare
Choose a tag to compare

v1.2.1 (2022-12-07)

Full Changelog

Merged pull requests:

  • [backport] Correct use of generics #143 (@melix)

* This Changelog was automatically generated by github_changelog_generator

  • [backport] Correct use of generics (#143)

Micronaut Test Resources 1.2.0

02 Dec 09:19
Compare
Choose a tag to compare

What's Changed

Improvements ⭐

  • Provide a method to get the client from an application context by @melix in #138
  • Add support for wait strategies by @melix in #141

Other Changes 💡

  • Fix possible values for db-type in documentation by @mryan43 in #139

New Contributors

Full Changelog: v1.1.5...v1.2.0

Micronaut Test Resources 1.1.5

25 Nov 15:23
Compare
Choose a tag to compare

v1.1.5 (2022-11-25)

Full Changelog

Merged pull requests:

  • Support reading server connection details from system properties #132 (@melix)

* This Changelog was automatically generated by github_changelog_generator

  • Support reading server connection details from system properties (#132)

Micronaut Test Resources 1.1.4

24 Nov 09:55
Compare
Choose a tag to compare

What's Changed

Dependency updates 🚀

  • Update micronaut-gradle-plugin to v3.6.4 by @renovate in #118
  • Update micronaut-gradle-plugin to v3.6.5 by @renovate in #128
  • Update dependency org.testcontainers:testcontainers-bom to v1.17.6 by @renovate in #127

Other Changes 💡

  • Fix property resolving when client returns a 404 by @melix in #130

Full Changelog: v1.1.3...v1.1.4

  • Fix property resolving when client returns a 404 (#130)

Micronaut Test Resources 1.1.3

28 Oct 09:17
Compare
Choose a tag to compare

What's Changed

Dependency updates 🚀

  • Update micronaut-gradle-plugin to v3.6.2 by @renovate in #106
  • Update plugin io.micronaut.build.shared.settings to v5.3.15 by @renovate in #114
  • Update dependency org.testcontainers:testcontainers-bom to v1.17.5 by @renovate in #105
  • Update slsa-framework/slsa-github-generator action to v1.2.1 by @renovate in #115

Other Changes 💡

  • Avoid spawning an Oracle container when Oracle cloud is used by @melix in #110

Full Changelog: v1.1.2...v1.1.3