Skip to content

Commit

Permalink
release "3.55"
Browse files Browse the repository at this point in the history
  • Loading branch information
yogthos committed Dec 30, 2019
1 parent 23508f1 commit c58439b
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## 3.55

- fixed `+auth-jwe` profile
- cprop 0.1.15
- expound 0.8.3
- markdown-clj 1.10.1
- org.postgresql/postgresql 42.2.9
- binaryage/devtools 0.9.11

## 3.54

Expand Down
2 changes: 1 addition & 1 deletion resources/leiningen/new/luminus/core/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# <<name>>

generated using Luminus version "3.54"
generated using Luminus version "3.55"

FIXME

Expand Down
7 changes: 6 additions & 1 deletion resources/leiningen/new/luminus/core/src/middleware.clj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@

(defn token [username]
(let [claims {:user (keyword username)
:exp (tick/new-time (tick/hour (tick/instant)) 60)}]
:exp (let [fmt (java.text.SimpleDateFormat. "yyyy-MM-dd'T'HH:mm:ssZ")]
(.format fmt
(.getTime
(doto (java.util.Calendar/getInstance)
(.setTime (java.util.Date.))
(.add java.util.Calendar/HOUR_OF_DAY 1)))))}]
(encrypt claims secret {:alg :a256kw :enc :a128gcm})))<% endif %>

(defn wrap-auth [handler]
Expand Down
4 changes: 1 addition & 3 deletions src/leiningen/new/auth_jwe.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
(if (some #{"+auth-jwe"} (:features options))
[assets
(-> options
(append-options :dependencies [['tick "0.4.21-alpha"]])
(append-formatted :auth-jwe
[['buddy.auth.backends.token :refer ['jwe-backend]]
['buddy.sign.jwt :refer ['encrypt]]
['buddy.core.nonce :refer ['random-bytes]]
['tick.alpha.api :as 'tick]]
['buddy.core.nonce :refer ['random-bytes]]]
plugin-indent))]
state))
2 changes: 1 addition & 1 deletion src/leiningen/new/cljs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

(defn cljs-dev-dependencies [features]
(let [piggieback-version "0.4.2"
devtools-version "0.9.10"]
devtools-version "0.9.11"]
(if (some #{"+shadow-cljs"} features)
[['binaryage/devtools devtools-version]
['cider/piggieback piggieback-version]]
Expand Down
2 changes: 1 addition & 1 deletion src/leiningen/new/db.clj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
(defn db-dependencies [options]
(into [['luminus-migrations "0.6.6"]
['conman "0.8.4"]]
({:postgres [['org.postgresql/postgresql "42.2.8"]]
({:postgres [['org.postgresql/postgresql "42.2.9"]]
:mysql [['mysql/mysql-connector-java "8.0.18"]
['com.google.protobuf/protobuf-java "3.8.0"]]
:h2 [['com.h2database/h2 "1.4.200"]]
Expand Down
6 changes: 3 additions & 3 deletions src/leiningen/new/luminus.clj
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
['selmer "1.12.18"]
['clojure.java-time "0.3.2"]
['luminus-transit "0.1.2"]
['markdown-clj "1.10.0"]
['markdown-clj "1.10.1"]
['metosin/muuntaja "0.6.6"]
['cheshire "5.9.0"]
['metosin/ring-http-response "0.9.1"]
Expand All @@ -136,10 +136,10 @@
['ring/ring-defaults "0.3.2"]
['luminus/ring-ttl-session "0.3.3"]
['mount "0.1.16"]
['cprop "0.1.14"]
['cprop "0.1.15"]
['org.clojure/tools.cli "0.4.2"]
['nrepl "0.6.0"]
['expound "0.8.1"]])
['expound "0.8.3"]])

(def core-dev-dependencies
[['prone "2019-07-08"]
Expand Down

0 comments on commit c58439b

Please sign in to comment.