httpmocker v1.3.0 Release Notes

Release Date: 2020-10-21 // almost 3 years ago
  • ๐Ÿ› 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

Previous changes from v1.2.0

  • 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