Skip to content

0.8.2 : Http breaking changes

Compare
Choose a tag to compare
@agourlay agourlay released this 30 Jun 09:49
· 2874 commits to master since this release

Maintenance release introducing a couple of syntax breaking changes which can be fixed mechanically.

  • Http Dsl
    • post(url, payload) is now post(url).withBody(body)
  • Http Service
    • methods are not capitalized anymore
    • payload: String argument is replaced by body: Option[String]

As a side effect, all http verbs in the DSL have a similar builder, that means it is now possible to have a request body in http GET, HEAD and DELETE.