Skip to content

v4.0.0

Compare
Choose a tag to compare
@thinkingserious thinkingserious released this 19 May 01:28

BREAKING CHANGE

  • PR #162 Update java http client dependency to 4.1.0 from 2.3.4
  • BIG thanks to Diego Camargo for the pull request!
  • The breaking change is that variables that were public are now private and accessable only via getters and setters
  • The Request object attributes are now only accessable through getters/setters
  • request.method is now request.setMethod(string)
  • request.endpoint is now request.setEndpoint(string)
  • request.body is now request.setBody(string)
  • The Response object attributes are now only accessable through getters/setters
  • response.statusCode is now response.getStatusCode()
  • response.body is now response.getBody()
  • response.headers is now response.getHeaders()
  • Adding a query parameter goes from:
Map<String,String> queryParams = new HashMap<String, String>();
request.addQueryParam("limit", "1");
queryParams.put("limit", "1");
request.queryParams = queryParams;

to:

request.addQueryParam("limit", "1");