unirest-java v3.1.00 Release Notes
Release Date: 2019-09-28 // over 4 years 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()
- Start accessing the config with
- โ 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.