unirest-java v3.0.00 Release Notes

Release Date: 2019-09-22 // over 1 year ago
    • 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.