Skip to content

Releases: speekha/httpmocker

1.3.0

21 Oct 17:17
0a1b37c
Compare
Choose a tag to compare

Bug fixes:
Fixed generated scenarios with a request body (invalid regex) #94
Fixed race condition on dynamic mocks #101

API Changes:
Updated to Kotlin 1.4.10 and OkHttp 4.0.0 (major)
Updated other dependencies (minor): Jackson (2.11.2), Moshi(1.11.0) and Kotlinx serialization (stable 1.0.0)
Changed RequestCallback to functional interface (thanks to Kotlin 1.4) and renamed its method to processRequest

1.2.0

31 Mar 21:46
7ecc010
Compare
Choose a tag to compare

General clean up of code:

  • package reorganization (no class has disappeared, but some have moved)
  • cleaner API for Java compatibility

Support for multiple static filing policies
Allow to specify a naming policy for recording (could be different from the one for mocks if desired)

Bug fixs:

  • fix mixed mode when FileNotFoundException is thrown

1.1.8

06 Nov 15:02
5948284
Compare
Choose a tag to compare

Support for XML scenario files
Fixed bug when computing response file extensions

1.1.7

24 Sep 21:38
478b138
Compare
Choose a tag to compare

Allow dynamic mocks to throw exceptions.
Support of exceptions instead of HTTP responses in static mocks.
Correction of custom JSON parser (incorrect parsing of lists or objects due to extra whitespaces).

1.1.6

09 Aug 20:33
a45c787
Compare
Choose a tag to compare

Support exact match of requests (headers and parameters defined in the mock must match exactly, not be a subset of the request data)
Allow to fail if an error occurs while recording (helps setting up the lib and detect why current configuration may fail)
Allow to check absence of header or query parameter to match a request

1.1.5

22 Jul 09:56
4c88b2b
Compare
Choose a tag to compare

Better naming for URL that end with a /
Updated demo app
Checks URL protocol when matching requests
Method renaming in the Mapper interface.

1.1.4

13 Jul 06:57
5a27eb7
Compare
Choose a tag to compare

Added support for Kotlinx serialization

1.1.3

02 Jul 16:22
8da4a13
Compare
Choose a tag to compare

Added support for dynamic and static mocks simultaneously.

1.1.2

02 Jul 16:24
3ff270c
Compare
Choose a tag to compare

Added support for dynamic callbacks
Added logging with SLF4J
Added proguard rule examples for obfuscation

1.1.1

02 Jul 16:45
a044cf4
Compare
Choose a tag to compare

Fixed bug with custom serialization of null fields