httpmocker v1.3.0 Release Notes

Release Date: 2020-10-21 // over 2 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