Skip to content

v0.4.2

Compare
Choose a tag to compare
@Justintime50 Justintime50 released this 20 Oct 17:06
· 22 commits to main since this release
04ea3d7
  • Fix a bug where the error data of a bad HTTP request (4xx or 5xx) was not stored as expected in cassettes, causing
    empty error streams on replay.
    • Error data for a bad HTTP request is now stored as the "body" in the cassette just like a good HTTP request
      would, rather than needlessly stored in a separate "error" key. This more closely matches the behavior of EasyVCR C#.
    • This is a breaking change for previously-recorded "error" cassettes, which will no longer replay as expected and
      will need to be re-recorded (although likely never worked as expected in the first place).
  • Fix a bug where using any expiration time frame other than "forever" and "never" would throw a NullPointerException.