Skip to content

Commit

Permalink
Upgrade Java version to 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejwalkowiak committed Nov 23, 2020
1 parent b4ecaa4 commit fe7085f
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions src/includes/getting-started-install/java.log4j2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-log4j2</artifactId>
<version>{{ packages.version('sentry.java', '3.1.1') }}</version>
<version>{{ packages.version('sentry.java', '3.2.0') }}</version>
</dependency>
```

```groovy {tabTitle:Gradle}
implementation 'io.sentry:sentry-log4j2:{{ packages.version('sentry.java', '3.1.1') }}'
implementation 'io.sentry:sentry-log4j2:{{ packages.version('sentry.java', '3.2.0') }}'
```

```scala {tabTitle: SBT}
libraryDependencies += "io.sentry" % "sentry-log4j2" % "{{ packages.version('sentry.java', '3.1.1') }}"
libraryDependencies += "io.sentry" % "sentry-log4j2" % "{{ packages.version('sentry.java', '3.2.0') }}"
```

For other dependency managers see the [central Maven repository](https://search.maven.org/artifact/io.sentry/sentry-log4j2).
4 changes: 2 additions & 2 deletions src/includes/getting-started-install/java.spring-boot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-spring-boot-starter</artifactId>
<version>{{ packages.version('sentry.java', '3.1.1') }}</version>
<version>{{ packages.version('sentry.java', '3.2.0') }}</version>
</dependency>
```

```groovy {tabTitle:Gradle}
implementation 'io.sentry:sentry-spring-boot-starter:{{ packages.version('sentry.java', '3.1.1') }}'
implementation 'io.sentry:sentry-spring-boot-starter:{{ packages.version('sentry.java', '3.2.0') }}'
```
6 changes: 3 additions & 3 deletions src/includes/getting-started-install/java.spring.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-spring</artifactId>
<version>{{ packages.version('sentry.java', '3.1.1') }}</version>
<version>{{ packages.version('sentry.java', '3.2.0') }}</version>
</dependency>
```

```groovy {tabTitle:Gradle}
implementation 'io.sentry:sentry-spring:{{ packages.version('sentry.java', '3.1.1') }}'
implementation 'io.sentry:sentry-spring:{{ packages.version('sentry.java', '3.2.0') }}'
```

```scala {tabTitle: SBT}
libraryDependencies += "io.sentry" % "sentry-spring" % "{{ packages.version('sentry.java', '3.1.1') }}"
libraryDependencies += "io.sentry" % "sentry-spring" % "{{ packages.version('sentry.java', '3.2.0') }}"
```

For other dependency managers see the [central Maven repository](https://search.maven.org/artifact/io.sentry/sentry-spring).
4 changes: 2 additions & 2 deletions src/platforms/java/guides/logback/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ The source can be found [on GitHub](https://github.com/getsentry/sentry-java/tre
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-logback</artifactId>
<version>{{ packages.version('sentry.java', '3.1.1') }}</version>
<version>{{ packages.version('sentry.java', '3.2.0') }}</version>
</dependency>
```

```groovy {tabTitle:Gradle}
implementation 'io.sentry:sentry-logback:{{ packages.version('sentry.java', '3.1.1') }}'
implementation 'io.sentry:sentry-logback:{{ packages.version('sentry.java', '3.2.0') }}'
```

```scala {tabTitle: SBT}
Expand Down
4 changes: 2 additions & 2 deletions src/platforms/java/guides/spring-boot/logging-frameworks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ To use Sentry Logback integration in Spring Boot application you must include a
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-logback</artifactId>
<version>{{ packages.version('sentry.java', '3.1.1') }}</version>
<version>{{ packages.version('sentry.java', '3.2.0') }}</version>
</dependency>
```

```groovy {tabTitle:Gradle}
implementation 'io.sentry:sentry-logback:{{ packages.version('sentry.java', '3.1.1') }}'
implementation 'io.sentry:sentry-logback:{{ packages.version('sentry.java', '3.2.0') }}'
```

Minimum logging levels for `SentryAppender` can be configured in `application.properties` or `application.yml` file.
Expand Down
10 changes: 5 additions & 5 deletions src/platforms/java/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ description: "Learn more about passing configuration options to a static Sentry#
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry</artifactId>
<version>3.1.1</version>
<version>3.2.0</version>
</dependency>
```

```groovy {tabTitle:Gradle}
implementation 'io.sentry:sentry:3.1.1'
implementation 'io.sentry:sentry:3.2.0'
```

```scala {tabTitle:SBT}
libraryDependencies += "io.sentry" % "sentry" % "3.1.1"
libraryDependencies += "io.sentry" % "sentry" % "3.2.0"
```

For other dependency managers see the [central Maven repository](https://search.maven.org/artifact/io.sentry/sentry-spring).
Expand All @@ -47,7 +47,7 @@ public class MyClass {

// All events get assigned to the release. See more at
// https://docs.sentry.io/workflow/releases/
options.setRelease("io.sentry.samples.console@3.1.1+1");
options.setRelease("io.sentry.samples.console@3.2.0+1");

// Modifications to event before it goes out. Could replace the event altogether
options.setBeforeSend(
Expand Down Expand Up @@ -103,7 +103,7 @@ fun main() {

// All events get assigned to the release. See more at
// https://docs.sentry.io/workflow/releases/
it.release = "io.sentry.samples.console@3.1.1+1"
it.release = "io.sentry.samples.console@3.2.0+1"

// Modifications to event before it goes out. Could replace the event altogether
it.beforeSend = BeforeSendCallback { event: SentryEvent, hint: Any? ->
Expand Down
8 changes: 4 additions & 4 deletions src/wizard/java/spring-boot.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Install the SDK via Maven or Gradle:
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-spring-boot-starter</artifactId>
<version>{{ packages.version('sentry.java', '3.1.1') }}</version>
<version>{{ packages.version('sentry.java', '3.2.0') }}</version>
</dependency>
```

```groovy {tabTitle:Gradle}
implementation 'io.sentry:sentry-spring-boot-starter:{{ packages.version('sentry.java', '3.1.1') }}'
implementation 'io.sentry:sentry-spring-boot-starter:{{ packages.version('sentry.java', '3.2.0') }}'
```

### Configure
Expand All @@ -46,12 +46,12 @@ Add a dependency to `sentry-logback` module and Sentry Spring Boot Starter will
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-logback</artifactId>
<version>{{ packages.version('sentry.java', '3.1.1') }}</version>
<version>{{ packages.version('sentry.java', '3.2.0') }}</version>
</dependency>
```

```groovy {tabTitle:Gradle}
implementation 'io.sentry:sentry-logback:{{ packages.version('sentry.java', '3.1.1') }}'
implementation 'io.sentry:sentry-logback:{{ packages.version('sentry.java', '3.2.0') }}'
```

### Send First Event
Expand Down

0 comments on commit fe7085f

Please sign in to comment.