Skip to content

Commit

Permalink
Merge pull request #165 from macielti/use-clj-http-lite
Browse files Browse the repository at this point in the history
Use clj-http-lite
  • Loading branch information
macielti authored Nov 10, 2024
2 parents 3883f12 + 8d3bac0 commit 2848b9c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ of [keepachangelog.com](http://keepachangelog.com/).

## [Unreleased]

## [37.71.71] - 2024-11-10

### Changed

- Replaced clj-http with clj-http-lite for better compatibility with GraalVM.

## [37.71.70] - 2024-11-08

### Removed
Expand Down Expand Up @@ -1062,7 +1068,9 @@ of [keepachangelog.com](http://keepachangelog.com/).

- Add `loose-schema` function.

[Unreleased]: https://github.com/macielti/common-clj/compare/v37.71.70...HEAD
[Unreleased]: https://github.com/macielti/common-clj/compare/v37.71.71...HEAD

[37.71.71]: https://github.com/macielti/common-clj/compare/v37.71.70...v37.71.71

[37.71.70]: https://github.com/macielti/common-clj/compare/v36.71.70...v37.71.70

Expand Down
3 changes: 2 additions & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject net.clojars.macielti/common-clj "37.71.70"
(defproject net.clojars.macielti/common-clj "37.71.71"

:description "Just common Clojure code that I use across projects"

Expand All @@ -11,6 +11,7 @@

:dependencies [[org.clojure/clojure "1.12.0"]
[morse "0.4.3"]
[org.clj-commons/clj-http-lite "1.0.13"]
[prismatic/schema-generators "0.1.5"]
[siili/humanize "0.1.1"]
[camel-snake-kebab "0.4.3"]
Expand Down
4 changes: 2 additions & 2 deletions src/common_clj/integrant_components/http_client.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(ns common-clj.integrant-components.http-client
(:require [camel-snake-kebab.core :as camel-snake-kebab]
[cheshire.core :as json]
[clj-http.client :as client]
[clj-http.lite.client :as client]
[clojure.tools.logging :as log]
[iapetos.core :as prometheus]
[integrant.core :as ig]
Expand All @@ -11,7 +11,7 @@
(def method->request-fn
{:post client/post
:get client/get
:patch client/patch
:put client/put
:delete client/delete})

(defmulti request!
Expand Down

0 comments on commit 2848b9c

Please sign in to comment.