Skip to content

Latest commit

 

History

History
101 lines (58 loc) · 3.99 KB

CHANGELOG.md

File metadata and controls

101 lines (58 loc) · 3.99 KB

Changelog

Babashka http-client: HTTP client for Clojure and babashka built on java.net.http

0.4.22 (2024-11-11)

  • #73: Allow implicit ports when specifying the URL as a map (@lvh)
  • #71: Link back to sources in release artifact (@lread)

0.4.21 (2024-09-10)

  • #68 Fix accidental URI path decoding in uri-with-query (@hxtmdev)

0.4.20 (2024-08-13)

  • #60: Minimum Clojure version is now 1.10 instead of 1.11 (@lread)

0.4.19 (2024-04-24)

  • #55: allow :body be java.net.http.HttpRequest$BodyPublisher

0.4.18 (2024-04-18)

  • Support a Clojure function as :client option, mostly useful for testing

0.4.17 (2024-04-12)

  • #49: add ::oauth-token interceptor
  • #52: document :throw option

0.4.16 (2024-02-10)

  • #45: query param values are double encoded

0.4.15 (2023-09-04)

  • #43: when using a string key for Accept header, the value is overridden by the default

0.4.14 (2023-08-17)

  • #41: add :uri to response map

0.4.13 (2023-08-08)

  • #38: Fix double wrapping of futures on exceptions during async requests (@axvr)

0.4.12

  • Add babashka.http-client.websocket API (mostly based on hato, thanks @gnarroway). See API docs.
  • The :ssl-context {:insecure true} option was made more accepting, see babashka issue #1587
  • #32: Documentation updates for missing parameters and functions (@casselc)
  • #34: add construction helpers for :cookie-handler, :ssl-parameters, and :executor (@casselc)

0.3.11

  • Fix #28: add :authenticator option

0.2.9

  • Accept java.net.URI as uri directly in request, get, etc.
  • #22: Support options for :ssl-context, similar to hato
  • #23: ease construction of ProxySelector via :proxy key

0.1.8

  • Fix binary file uploads

0.1.7

  • Add :async-then and :async-catch callbacks that go together with :async
  • Change :follow-redirects option from :always to the safer :normal

0.1.6

  • Merge client :request options earlier to pick up on :interceptors settings

0.1.5

  • Add http/put convenience function

0.1.4

  • Implement :multipart uploads, largely based on hato's implementation
  • #13: Add a default user-agent header: babashka.http-client/<released-version> (@lispyclouds)

0.0.3

  • #12: Do not uncompress (empty) body of :head request

0.0.2

  • Introduce :request option in client function for passing default request options via client.
  • Expose default-client-opts, a map which can be used to get same behavior as (implicit) default client
  • Accept gzip and deflate as encoding in default client
  • Set accept header to */* in default client

0.0.1

Initial version