Skip to content

Releases: lukewestby/elm-http-builder

2.0.0

19 Jun 22:27
Compare
Choose a tag to compare

Fixes:

  • corrects behavior with withZeroStatusAllowed internal behavior so that it no longer looks for file:// protocol
  • documentation corrected for put function

Breaking changes:

  • withFileZeroStatusAllowed renamed to withZeroStatusAllowed to reflect new behavior

Thanks to @ccapndave and @rudle for the work in this release!

1.1.0

24 May 01:26
Compare
Choose a tag to compare

Additions:

Two new chaining functions!

  • withCacheBuster : RequestBuilder -> RequestBuilder: at the time the request is sent, first grab the current time from Time.now and append a url parameter _=<current time> to it to break server caching. Thank you to @canadaduane for this one! Closes #2.
  • withFileZeroStatusAllowed : RequestBuilder -> RequestBuilder: if the request is for a file:// url and returns with a status code of 0, allow it through as a successful response as if its status were 200. This helps with a common issue encountered in environments like Cordova. Thank you to @ccapndave for this one!

Release for 0.17 as HttpBuilder

01 May 18:15
Compare
Choose a tag to compare

Release notes:

  • Everything previously under Http.Extra is now under HttpBuilder