Releases: wiremock/wiremock
Releases · wiremock/wiremock
4.0.0-beta.36
🐞 Bug fixes
- fix: Prevent exception when `LoggedRequest` is constructed from an entity that cannot be decompressed (#3447) @tomakehurst
- fix: Prevent response body templating being attempted when no template expressions are present (#3447) @tomakehurst
- fix: Exception thrown when a templated content-type header is present in a response definition (#3447) @tomakehurst
👻 Maintenance
- Release workflow now triggers docs version bump and wiremock-docker release @tomakehurst
Full Changelog: 4.0.0-beta.35...4.0.0-beta.36
4.0.0-beta.35
🚀 New Features
- feat: Unified `Entity` / `EntityDefinition` / `EntityResolver` body abstraction for HTTP stubs, webhooks and messages (#3428) @tomakehurst
- feat: Add `Entity` body getter to `Request` interface (#3434) @tomakehurst
- feat: Switch webhooks to use `EntityDefinition`, allowing file paths, JSON and binary bodies (#3432) @tomakehurst
- feat: Fixed message channel handling (#3440) @tomakehurst
- feat: Breaking change reporting via japicmp on `@PublishedAPI`-annotated classes (#3427) @tomakehurst
🔒 API Deprecations
- Deprecate `Body` in favour of `Entity` (#3433) @tomakehurst
📦 Dependency updates
9 changes
- chore(deps): bump handlebars from 4.5.0 to 4.5.1 (#3411) @dependabot
- chore(deps): bump org.sonarqube (#3409) @dependabot
- chore(deps): bump com.autonomousapps.build-health (#3419, #3424) @dependabot
- chore(deps): bump com.diffplug.spotless (#3425, #3426, #3438) @dependabot
- chore(deps): bump me.champeau.gradle.japicmp (#3429, #3435) @dependabot
- chore(deps): bump jsonUnit from 5.1.1 to 5.1.2 (#3441) @dependabot
- chore(deps): bump xmlUnit from 2.11.0 to 2.12.0 (#3444) @dependabot
Full Changelog: 4.0.0-beta.34...4.0.0-beta.35
4.0.0-beta.34
🐞 Bug fixes
- fix: Include all operands in `AbstractLogicalMatcher` equals/hashCode (#3400) @rnagulapalle
- fix: Standalone JAR startup regression — stop relocating joptsimple in shadow JAR (#3408) @tomakehurst
Full Changelog: 4.0.0-beta.33...4.0.0-beta.34
4.0.0-beta.33
🚀 New Features
- feat: Use Bouncycastle to generate HTTPS certificates (#3354) @Malandril
- feat: Recorder serve event transformer — allows transforming stubs during recording (#3403) @tomakehurst
- feat: `LoggedRequest` and `LoggedResponse` constructor parameters now immutable (#3405) @tomakehurst
📦 Dependency updates
9 changes
- chore(deps): bump com.fasterxml.jackson:jackson-bom (#3402) @dependabot
- chore(deps): bump org.junit:junit-bom (#3398) @dependabot
- chore(deps): bump commons-io:commons-io (#3396) @dependabot
- chore(deps): bump com.uber.nullaway:nullaway (#3394) @dependabot
- chore(deps): bump com.autonomousapps.build-health (#3393) @dependabot
- chore(deps): bump archunit (#3390) @dependabot
- chore(deps): bump org.apache.httpcomponents.client5:httpclient5 (#3392) @dependabot
- chore(deps): bump com.google.guava:guava (#3386) @dependabot
- chore(deps-dev): bump dompurify in /ui (#3388) @dependabot
Full Changelog: 4.0.0-beta.32...4.0.0-beta.33
4.0.0-beta.32
👻 Maintenance
- Remove need for breaking-change `MappingsSaver.mutate`; return removed stubs from delete operations (#3383) @Mahoney
Full Changelog: 4.0.0-beta.31...4.0.0-beta.32
4.0.0-beta.31
🐞 Bug fixes
- fix: Improve consistency of stub modification — persist before updating in-memory store (#3379) @Mahoney
📦 Dependency updates
- chore(deps): bump jetty from 12.1.7 to 12.1.8 (#3380) @dependabot
- chore(deps): bump com.networknt:json-schema-validator to 2.0.1 (#3344) @pedroboado
- chore(deps): bump com.fasterxml.jackson:jackson-bom (#3372) @dependabot
- chore(deps): bump com.diffplug.spotless (#3369) @dependabot
Full Changelog: 4.0.0-beta.30...4.0.0-beta.31
4.0.0-beta.30
🚀 New Features
- feat: `jsonPath` helper now writes extracted arrays as JSON instead of toString (#3330) @picimako
- feat: Add batch methods to `StubLifecycleListener` (#3351) @RafeArnold
🐞 Bug fixes
- fix: Prepend `http://` to proxy URIs appropriately (#3352) @RafeArnold
- fix: Improve proxy URL error message and handling (#3338) @RafeArnold
- fix: Stop deleting ignored stubs on import @RafeArnold
📦 Dependency updates
12 changes
- chore(deps): bump com.jayway.jsonpath:json-path from 2.10.0 to 3.0.0 (#3341) @dependabot
- chore(deps): bump com.fasterxml.jackson:jackson-bom (#3340) @dependabot
- chore(deps): bump org.jetbrains:annotations (#3339) @dependabot
- chore(deps): bump com.squareup.okio:okio (#3361) @dependabot
- chore(deps): bump jsonUnit from 5.1.0 to 5.1.1 (#3359) @dependabot
- chore(deps): bump org.junit:junit-bom (#3331) @dependabot
- chore(deps): bump mockito (#3348, #3362) @dependabot
- chore(deps): bump jetty from 12.1.6 to 12.1.7 (#3355) @dependabot
- chore(deps): bump org.sonarqube (#3356) @dependabot
- chore(deps): bump org.apache.httpcomponents.core5:httpcore5 (#3357) @dependabot
- chore(deps): bump com.diffplug.spotless (#3350) @dependabot
- chore(deps): bump net.ltgt.errorprone (#3349) @dependabot
Full Changelog: 4.0.0-beta.29...4.0.0-beta.30
4.0.0-beta.29
🚀 New Features
- Add `fromProxy` flag to `LoggedResponse` (#3329) @RafeArnold
👻 Maintenance
- Improve wiremock-url performance (#3323) @Mahoney
- Null-mark `GlobalSettings` with jspecify (#3322) @RafeArnold
📦 Dependency updates
- chore(deps): bump jetty from 12.1.5 to 12.1.6 (#3324) @dependabot
- chore(deps): bump org.apache.httpcomponents.core5:httpcore5 (#3328) @dependabot
- chore(deps): bump com.uber.nullaway:nullaway (#3313) @dependabot
Full Changelog: 4.0.0-beta.28...4.0.0-beta.29
4.0.0-beta.28
🐞 Bug fixes
- fix: Improve and fix percent encoding logic in wiremock-url (#3321) @Mahoney
- fix: `Authority.of()` should not produce authorities with empty ports (#3318) @Mahoney
- fix: Make `Uri` → `java.net.URI` conversion less confusing (#3316) @Mahoney
- fix: Handle surrogate pairs in percent encoding (#3321) @Mahoney
📦 Dependency updates
- chore(deps): bump net.ltgt.errorprone (#3320) @dependabot
- chore(deps): bump com.diffplug.spotless (#3315) @dependabot
Full Changelog: 4.0.0-beta.27...4.0.0-beta.28
4.0.0-beta.27
🚀 New Features
- URL improvements: use typed URL in proxy renderer, add common Path transformations, improve builders (#3314) @Mahoney
Full Changelog: 4.0.0-beta.26...4.0.0-beta.27