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

Changelog History
Page 5

  • v3.2.05 Changes

    • UnirestInstance is autoclosable
  • v3.2.04 Changes

    • โž• Adds chainable ifSuccess and ifFailure consumer methods to the response. Now you can handle the response like java Unirest.get("https://localhost/somewhere") .asString() .ifSuccess(r -> log.info("Yippy!")) .ifFailure(r -> log.error("Booo"));
  • v3.2.03 Changes

    • ๐Ÿ‘ Allow the configuration of header suppliers. java Unirest.config().setDefaultHeader("trace", () -> value);
  • v3.2.02 Changes

    • 0๏ธโƒฃ distinguish between set and add for default headers.
  • v3.2.01 Changes

    • โž• add method to replace a header rather than append to it.
  • v3.2.00 Changes

    November 28, 2019
    • This is a major release with several breaking changes which (other than the namespace change) should ONLY impact you if you are using some of Unirests more advanced features or custom configurations.
    • The maven artifact has changed to open-unirest-java
    • The namespace has been shortened to just unirest (inspired by Java Spark)
    • โฌ†๏ธ The configuration system has been completely redone. Previously it was scattered across several classes and was entirely static. The new system has instances and supports multiple configurations. See the UPGRADE_GUIDE.md for details.
      • Start accessing the config with Unirest.config()
    • โœ… Almost everything is now fronted by interfaces, this makes testing easier.
    • Unirest itself can now be accessed as a interface with UnirestInstance
    • ๐Ÿ— ObjectMappers can be passed in as part of the builder.
    • ๐Ÿ‘ option no longer supports body (per http spec)
    • ๐Ÿ— Accept and ContentType are now 1st class headers in the builder (Unirest.get(path).accept("application/json"))
    • ๐Ÿ— Major internal fixes so that which builder operations were available when is consistent.
  • v3.1.04

    November 07, 2019
  • v3.1.03

    October 24, 2019
  • v3.1.02 Changes

    October 14, 2019
    • This is a major release with several breaking changes which (other than the namespace change) should ONLY impact you if you are using some of Unirests more advanced features or custom configurations.
    • The maven artifact has changed to open-unirest-java
    • The namespace has been shortened to just unirest (inspired by Java Spark)
    • โฌ†๏ธ The configuration system has been completely redone. Previously it was scattered across several classes and was entirely static. The new system has instances and supports multiple configurations. See the UPGRADE_GUIDE.md for details.
      • Start accessing the config with Unirest.config()
    • โœ… Almost everything is now fronted by interfaces, this makes testing easier.
    • Unirest itself can now be accessed as a interface with UnirestInstance
    • ๐Ÿ— ObjectMappers can be passed in as part of the builder.
    • ๐Ÿ‘ option no longer supports body (per http spec)
    • ๐Ÿ— Accept and ContentType are now 1st class headers in the builder (Unirest.get(path).accept("application/json"))
    • ๐Ÿ— Major internal fixes so that which builder operations were available when is consistent.
  • v3.1.01 Changes

    October 14, 2019
    • ๐Ÿ”ง Detect if the async client has stopped for some reason and construct a new one. This one may be different from the one that was originally configured so we need to add a way to configure a supplier for clients rather than a direct client.