Skip to content

Commit

Permalink
Bump dependencies, pedestal 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hlship committed Jul 12, 2024
1 parent 172980b commit 660b6c4
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected].6
uses: actions/[email protected].7
- name: Setup Java
uses: actions/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hasn't changed.
Other changes:

* Bumped many dependencies to latest
* Bumped Pedestal dependency to 0.7.0-beta-1
* Bumped Pedestal dependency to 0.7.0

## 1.2 -- 23 Jun 2023

Expand Down
15 changes: 7 additions & 8 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{:deps {org.clojure/clojure {:mvn/version "1.11.3"}
com.walmartlabs/lacinia {:mvn/version "1.2.2"}
com.fasterxml.jackson.core/jackson-core {:mvn/version "2.17.1"}
io.pedestal/pedestal.service
{:local/root "../pedestal/service"}
#_{:mvn/version "0.7.0-beta-1"}
io.pedestal/pedestal.jetty {:mvn/version "0.7.0-beta-1"}
com.fasterxml.jackson.core/jackson-core {:mvn/version "2.17.2"}
io.pedestal/pedestal.service {:mvn/version "0.7.0"}
io.pedestal/pedestal.jetty {:mvn/version "0.7.0"}
com.rpl/proxy-plus {:mvn/version "0.0.11"}}
:mvn/repos {"redplanetlabs" {:url "https://nexus.redplanetlabs.com/repository/maven-public-releases"}}
:paths ["src" "resources"]
Expand All @@ -17,10 +15,11 @@
com.walmartlabs/test-reporting {:mvn/version "1.2"}
com.stuartsierra/component {:mvn/version "1.1.0"}
expound/expound {:mvn/version "0.9.0"}
hato/hato {:mvn/version "0.9.0"}
hato/hato {:mvn/version "1.0.0"}
nubank/matcher-combinators {:mvn/version "3.9.1"}
io.github.hlship/trace {:mvn/version "1.3"}
org.clj-commons/pretty {:mvn/version "2.6.0"}
io.github.tonsky/clj-reload {:mvn/version "0.5.0"}
org.clj-commons/pretty {:mvn/version "3.0.0"}
io.github.tonsky/clj-reload {:mvn/version "0.7.1"}
ch.qos.logback/logback-classic {:mvn/version "1.5.6"}}

:jvm-opts ["-Xmx500m"]
Expand Down
3 changes: 2 additions & 1 deletion dev-resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
<logger name="com.walmartlabs.lacinia" level="warn"/>
<logger name="com.walmartlabs.lacinia.test-utils" level="warn"/>

<logger name="org.eclipse.jetty.websocket" level="warn"/>
<logger name="clj-antlr.common" level="error"/>
<logger name="demo" level="debug"/>

<logger name="com.walmartlabs.lacinia.pedestal.subscriptions" level="warn"/>

</configuration>
1 change: 1 addition & 0 deletions dev-resources/user.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[clojure.spec.alpha :as s]
[net.lewisship.trace :as trace]
[clj-commons.pretty.repl :as repl]
matcher-combinators.test
[expound.alpha :as expound]))

(s/check-asserts true)
Expand Down
10 changes: 6 additions & 4 deletions src/com/walmartlabs/lacinia/pedestal/subscriptions.clj
Original file line number Diff line number Diff line change
Expand Up @@ -551,11 +551,13 @@
(log/trace :event ::connected :id session-id)
(when session-initializer
(session-initializer session config)))
response-data-ch (response-chan-fn) ; server data -> client
; server data -> client
response-data-ch (response-chan-fn)
send-ch (ws/start-ws-connection session {:send-buffer-or-n send-buffer-or-n})
ws-text-ch (chan 1) ; client text -> server
ws-data-ch (chan 10) ; client text -> client data
]
; client text -> server
ws-text-ch (chan 1)
; client text -> client data
ws-data-ch (chan 10)]
(response-encode-loop response-data-ch send-ch)
(ws-parse-loop session-id ws-text-ch ws-data-ch response-data-ch)
(connection-loop session-id keep-alive-ms ws-data-ch response-data-ch base-context)
Expand Down

0 comments on commit 660b6c4

Please sign in to comment.