Skip to content

Commit

Permalink
Bump Sentry Java SDK to 5.1.1
Browse files Browse the repository at this point in the history
Some other small updates.

-=david=-
  • Loading branch information
dharrigan committed Aug 22, 2021
1 parent 8bcbe60 commit e083254
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 33 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---

updates:
- directory: /
package-ecosystem: github-actions
schedule:
interval: monthly

version: 2
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v2.1.0
uses: actions/setup-java@v2.2.0
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
tools-deps: '1.10.3.855'
tools-deps: 'latest'
- name: Run Tests
run: clojure -M:test -m kaocha.runner
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [5.0.151]

- Update Sentry Java SDK to 5.1.1
- Minor updates

## [5.0.149]

- Updated Sentry Java SDK to 5.0.1
Expand Down Expand Up @@ -112,7 +117,8 @@
compatible with Sentry 10.0.1 and below. If you wish to use those
versions, please continue to use sentry-clj 1.7.30.

[Unreleased]: https://github.com/getsentry/sentry-clj/compare/5.0.149...HEAD
[Unreleased]: https://github.com/getsentry/sentry-clj/compare/5.0.151...HEAD
[5.0.151]: https://github.com/getsentry/sentry-clj/compare/5.0.147...5.0.151
[5.0.149]: https://github.com/getsentry/sentry-clj/compare/5.0.147...5.0.149
[5.0.147]: https://github.com/getsentry/sentry-clj/compare/4.3.146...5.0.147
[4.3.146]: https://github.com/getsentry/sentry-clj/compare/4.3.143...4.3.146
Expand Down
7 changes: 5 additions & 2 deletions bin/build
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash

tag=$(git describe --abbrev=0 --match="*" 2>/dev/null || echo "0.0.0")
clojure -X:jar :version "\"$tag\""
if [ -z $1 ]; then
clojure -X:jar
else
clojure -X:jar :version "\"$1\""
fi
2 changes: 1 addition & 1 deletion bin/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ REQD_VALUES=("CLOJARS_URL" "CLOJARS_USERNAME" "CLOJARS_PASSWORD")
i=$((i+1)) ; : ${VALUE:?$var_name is missing}
done ) || usage

clj -M:deploy
clj -X:deploy
28 changes: 19 additions & 9 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,27 +1,37 @@
{:paths ["src"]

:deps {org.clojure/clojure {:mvn/version "1.10.3"}
io.sentry/sentry {:mvn/version "5.0.1"}
ring/ring-core {:mvn/version "1.9.3"}}
:deps {io.sentry/sentry {:mvn/version "5.1.1"}
org.clojure/clojure {:mvn/version "1.10.3"}
ring/ring-core {:mvn/version "1.9.4"}}

:aliases {:test {:extra-paths ["test"]
:extra-deps {cheshire/cheshire {:mvn/version "5.10.0"}
:extra-deps {cheshire/cheshire {:mvn/version "5.10.1"}
expectations/clojure-test {:mvn/version "1.2.1"}
lambdaisland/kaocha {:mvn/version "1.0.861"}
lambdaisland/kaocha-cloverage {:mvn/version "1.0.75"}
lambdaisland/kaocha-junit-xml {:mvn/version "0.0.76"}
org.clojure/test.check {:mvn/version "1.1.0"}}}

:jar {:replace-deps {com.github.seancorfield/depstar {:mvn/version "2.0.216"}}
:jar {:replace-deps {com.github.seancorfield/depstar {:mvn/version "2.1.278"}}
:exec-fn hf.depstar/jar
:exec-args {:jar sentry-clj.jar
:exec-args {:jar target/sentry-clj.jar
:group-id io.sentry
:artifact-id sentry-clj
:version "0.0.1" ;; this will be replaced at build time.
:sync-pom true}}

:antq {:replace-deps {org.slf4j/slf4j-nop {:mvn/version "1.7.32"}
com.github.liquidz/antq {:mvn/version "0.16.3"}}
:main-opts ["-m" "antq.core"
"--skip" "pom"
"--upgrade"
"--force"]}

:deploy {:extra-deps {slipset/deps-deploy {:mvn/version "0.1.5"}}
:main-opts ["-m" "deps-deploy.deps-deploy" "deploy" "sentry-clj.jar"]}
:exec-fn deps-deploy.deps-deploy/deploy
:exec-args {:installer :remote
:artifact "target/sentry-clj.jar"}}

:install {:extra-deps {slipset/deps-deploy {:mvn/version "0.1.5"}}
:main-opts ["-m" "deps-deploy.deps-deploy" "install" "sentry-clj.jar"]}}}
:exec-fn deps-deploy.deps-deploy/deploy
:exec-args {:installer :local
:artifact "target/sentry-clj.jar"}}}}
14 changes: 7 additions & 7 deletions examples/basic/deps.edn
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{:paths ["src" "resources"]

:deps {ch.qos.logback/logback-classic {:mvn/version "1.2.3"}
io.sentry/sentry {:mvn/version "5.0.1"}
io.sentry/sentry-clj {:mvn/version "5.0.149"}
:deps {ch.qos.logback/logback-classic {:mvn/version "1.2.5"}
io.sentry/sentry {:mvn/version "5.1.1"}
io.sentry/sentry-clj {:mvn/version "5.0.151"}
org.clojure/clojure {:mvn/version "1.10.3"}
org.clojure/tools.cli {:mvn/version "1.0.206"}
org.clojure/tools.logging {:mvn/version "1.1.0"}
org.slf4j/jcl-over-slf4j {:mvn/version "1.7.30"}
org.slf4j/jul-to-slf4j {:mvn/version "1.7.30"}
org.slf4j/log4j-over-slf4j {:mvn/version "1.7.30"}
org.slf4j/slf4j-api {:mvn/version "1.7.30"}}}
org.slf4j/jcl-over-slf4j {:mvn/version "1.7.32"}
org.slf4j/jul-to-slf4j {:mvn/version "1.7.32"}
org.slf4j/log4j-over-slf4j {:mvn/version "1.7.32"}
org.slf4j/slf4j-api {:mvn/version "1.7.32"}}}
14 changes: 7 additions & 7 deletions examples/uncaught/deps.edn
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{:paths ["src" "resources"]

:deps {ch.qos.logback/logback-classic {:mvn/version "1.2.3"}
io.sentry/sentry {:mvn/version "5.0.1"}
io.sentry/sentry-clj {:mvn/version "5.0.149"}
:deps {ch.qos.logback/logback-classic {:mvn/version "1.2.5"}
io.sentry/sentry {:mvn/version "5.1.1"}
io.sentry/sentry-clj {:mvn/version "5.0.151"}
org.clojure/clojure {:mvn/version "1.10.3"}
org.clojure/tools.cli {:mvn/version "1.0.206"}
org.clojure/tools.logging {:mvn/version "1.1.0"}
org.slf4j/jcl-over-slf4j {:mvn/version "1.7.30"}
org.slf4j/jul-to-slf4j {:mvn/version "1.7.30"}
org.slf4j/log4j-over-slf4j {:mvn/version "1.7.30"}
org.slf4j/slf4j-api {:mvn/version "1.7.30"}}}
org.slf4j/jcl-over-slf4j {:mvn/version "1.7.32"}
org.slf4j/jul-to-slf4j {:mvn/version "1.7.32"}
org.slf4j/log4j-over-slf4j {:mvn/version "1.7.32"}
org.slf4j/slf4j-api {:mvn/version "1.7.32"}}}
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<packaging>jar</packaging>
<groupId>io.sentry</groupId>
<artifactId>sentry-clj</artifactId>
<version>5.0.149</version>
<version>5.0.151</version>
<name>sentry-clj</name>
<description>A very thin wrapper around the official Java library for Sentry.</description>
<url>https://github.com/getsentry/sentry-clj</url>
Expand All @@ -18,7 +18,7 @@
<url>https://github.com/getsentry/sentry-clj</url>
<connection>scm:git:git://github.com/getsentry/sentry-clj.git</connection>
<developerConnection>scm:git:ssh://[email protected]/getsentry/sentry-clj.git</developerConnection>
<tag>5.0.149</tag>
<tag>5.0.151</tag>
</scm>
<dependencies>
<dependency>
Expand All @@ -29,12 +29,12 @@
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry</artifactId>
<version>5.0.1</version>
<version>5.1.1</version>
</dependency>
<dependency>
<groupId>ring</groupId>
<artifactId>ring-core</artifactId>
<version>1.9.3</version>
<version>1.9.4</version>
</dependency>
</dependencies>
<build>
Expand Down
1 change: 1 addition & 0 deletions src/sentry_clj/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@
(doseq [[k v] (java-util-hashmappify-vals contexts)]
(.setContexts scope ^String k ^Object {"value" v})))))))))

#_{:clj-kondo/ignore [:clojure-lsp/unused-public-var]}
(defn close!
"Closes the SDK"
[]
Expand Down

0 comments on commit e083254

Please sign in to comment.