Releases: skuzzle/spring-boot-wiremock
Releases · skuzzle/spring-boot-wiremock
0.0.18
Bug Fixes:
- Fixed release process
TEst
Maven Central coordinates for this release
<dependency>
<groupId>de.skuzzle.springboot.test</groupId>
<artifactId>spring-boot-wiremock</artifactId>
<version>0.0.18</version>
<scope>test</scope>
</dependency>
Gradle coordinates for this release
testImplementation 'de.skuzzle.springboot.test:spring-boot-wiremock:0.0.18'
0.0.17
Features:
- Add
@Response.withJsonBody
which allows to specify a json response body and automatically sets theContent-Type
toapplication/json
Bug Fixes:
Changes:
- #6 Remove deprecated attribute
HttpStub.wrapAround
(Deprecated since0.0.12
). UseHttpStub.onLastResponse
instead. - #6 Remove deprecated attribute
WithWiremock.httpPort
(Deprecated since0.0.15
). UseWithWiremock.fixedHttpPort
orWithWiremock.randomHttpPort
instead. - #6 Remove deprecated attribute
WithWiremock.httpsPort
(Deprecated since0.0.15
). UseWithWiremock.fixedHttpsPort
orWithWiremock.randomHttpsPort
instead.
Maven Central coordinates for this release
<dependency>
<groupId>de.skuzzle.springboot.test</groupId>
<artifactId>spring-boot-wiremock-parent</artifactId>
<version>0.0.17</version>
<scope>test</scope>
</dependency>
Gradle coordinates for this release
testImplementation 'de.skuzzle.springboot.test:spring-boot-wiremock-parent:0.0.17'
0.0.16
Bug Fixes
- #2 Eventually fix locating the keystore problem
- #11 Fix problem with properties not being injected into
ConfigurationProperties
Maven Central coordinates for this release
<dependency>
<groupId>de.skuzzle.springboot.test</groupId>
<artifactId>spring-boot-wiremock</artifactId>
<version>0.0.16</version>
<scope>test</scope>
</dependency>
Gradle coordinates for this release
testImplementation 'de.skuzzle.springboot.test:spring-boot-wiremock:0.0.16'
0.0.15
Features
- #3 Allow to inject host values into multiple properties
- #4 New properties to configure ports
- #9 Introduce ApiGuard annotations
Deprecations
WithWiremock.httpPort()
(in favor ofWithWiremock.randomHttpPort
orWithWiremock.fixedHttpPort
)WithWiremock.httpsPort()
(in favor ofWithWiremock.randomHttpsPort
orWithWiremock.fixedHttpsPort
)
Maven Central coordinates for this release
<dependency>
<groupId>de.skuzzle.springboot.test</groupId>
<artifactId>spring-boot-wiremock</artifactId>
<version>0.0.15</version>
<scope>test</scope>
</dependency>
Gradle coordinates for this release
testImplementation 'de.skuzzle.springboot.test:spring-boot-wiremock:0.0.15'
0.0.14
Bug Fixes
- #2 Keystores could not be found from classpath
Maven Central coordinates for this release
<dependency>
<groupId>de.skuzzle.springboot.test</groupId>
<artifactId>spring-boot-wiremock</artifactId>
<version>0.0.14</version>
<scope>test</scope>
</dependency>
Gradle coordinates for this release
testImplementation 'de.skuzzle.springboot.test:spring-boot-wiremock:0.0.14'
0.0.13
- Improve documentation
- [Change] Move stubbing annotations into their own package:
de.skuzzle.wiremock.test.stubs
(breaking) - [Change] Deprecated
HttpStub.wrapAround
and introducedHttpStub.onLastResponse
with new enumWrapAround
- [Add] New properties that will always be injected:
wiremock.server.http(s)Host
,wiremock.server.http(s)Port
- [Add]
WrapAround.REPEAT
which will repeat the last response on every subsequent request - [Add] Allow to globally define required authentication via
WithWiremock.withGlobalAuthentication
Maven Central coordinates for this release:
<dependency>
<groupId>de.skuzzle.springboot.test</groupId>
<artifactId>spring-boot-wiremock</artifactId>
<version>0.0.13</version>
<scope>test</scope>
</dependency>