All Versions
104
Latest Version
Avg Release Cycle
14 days
Latest Release
-

Changelog History
Page 1

  • v3.13.0 Changes

    • ๐Ÿ‘Œ Support InputStreams as bodies.
    • ๐Ÿ‘Œ Support ProgressMonitors for InputStream bodies
    • ๐Ÿคก Unirest-Mocks now includes a MockResponse and a MockConfig for use independent of the MockClient
  • v3.12.0 Changes

    • โฌ†๏ธ Bump GSON to 2.8.8
    • ๐Ÿ‘Œ Support honoring Retry-After headers on 429/529 for regular (not async) requests.
      • This feature will likely not make it to async until Unirest 4.
      • Can be enabled with Unirest.config().retryAfter(true);
      • Has a max re-try counter with a default of 10 which can be set with:
      • Unirest.config().retryAfter(true, maxNumberOfRetries);
      • ๐Ÿ”ฅ While Honoring The Retry-After header the thread will be blocked! ๐Ÿ”ฅ
      • It is highly recommend that this feature be used in conjunction with a circuit-breaking framework.
      • Let's say you have a web app that is making Unirest calls to downstream system X. You have many requests invoking this same service. If X starts to return 429's and Unirest is waiting on ALL of those requests. Unirest will quickly consume all your threads. At this time Unirest has no circuit-breaker of it's own to detect that this is happening. It will simply be happy to pause all of your threads forever.
  • v3.11.14 Changes

    • โฌ†๏ธ Bump GSON to 2.8.8
  • v3.11.13 Changes

    • โฌ†๏ธ Bump Jackson version in object-mapper-jackson to 2.12.4
    • โฌ†๏ธ Bump test and CI dependencies
  • v3.11.12 Changes

    • 0๏ธโƒฃ make the default basic cache concurrent.
  • v3.11.11 Changes

    • ๐Ÿ‘‰ useSystemProperties is not overwritten and should be reset back to true on reset
  • v3.11.10 Changes

    • ๐Ÿ”ง issue #394 use the configured Object Mapper rather than always Json
    • internal pre-factorings to get ready for Unirest 4
  • v3.11.09 Changes

    • ๐Ÿคก Expected body param values for Mock expects need to be url encoded
    • ๐Ÿ‘Œ Support ANY expectation on methods for MockClient. (e.g. `expect(HttpMethod.GET))
  • v3.11.08 Changes

    • โž• Adds new body matchers to the Mock client for asserting multipart forms.
  • v3.11.07 Changes

    • โž• add a new object constructor on JSONObject for basic object serialization
    • issue #392 overwrite non-specified number serialization