Skip to content

Commit 8d4c1f6

Browse files
authored
Update readme for 8.0 (#1029)
1 parent 94ccc40 commit 8d4c1f6

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

README.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
> !! This document applies to the next version under development.
22
>
3-
>     See [here for documentation on the latest released version](https://github.com/logfellow/logstash-logback-encoder/tree/logstash-logback-encoder-7.4).
3+
>     See [here for documentation on the latest released version](https://github.com/logfellow/logstash-logback-encoder/tree/logstash-logback-encoder-8.0).
44
55
# Logstash Logback Encoder
66

@@ -99,7 +99,7 @@ Maven style:
9999
<dependency>
100100
<groupId>net.logstash.logback</groupId>
101101
<artifactId>logstash-logback-encoder</artifactId>
102-
<version>7.4</version>
102+
<version>8.0</version>
103103
<!-- Use runtime scope if the project does not have any compile-time usage of logstash-logback-encoder,
104104
such as usage of StructuredArguments/Markers or implementations such as
105105
JsonProvider, AppenderListener, JsonFactoryDecorator, JsonGeneratorDecorator, etc
@@ -110,7 +110,7 @@ Maven style:
110110
<dependency>
111111
<groupId>ch.qos.logback</groupId>
112112
<artifactId>logback-classic</artifactId>
113-
<version>1.3.7</version>
113+
<version>1.5.6</version>
114114
<!-- Use runtime scope if the project does not have any compile-time usage of logback,
115115
such as implementations of Appender, Encoder, Layout, TurboFilter, etc
116116
<scope>runtime</scope>
@@ -123,10 +123,10 @@ then ensure the required dependencies (and appropriate versions) as specified in
123123
from the maven repository exist on the runtime classpath.
124124
Specifically, the following need to be available on the runtime classpath:
125125

126-
* jackson-databind / jackson-core / jackson-annotations >= 2.12.0
127-
* logback-core >= 1.3.0
128-
* logback-classic >= 1.3.0 (required for logging _LoggingEvents_)
129-
* logback-access >= 1.3.0 (required for logging _AccessEvents_)
126+
* jackson-databind / jackson-core / jackson-annotations >= 2.17.0
127+
* logback-core >= 1.5.0
128+
* logback-classic >= 1.5.0 (required for logging _LoggingEvents_)
129+
* logback-access >= 2.0.0 (required for logging _AccessEvents_)
130130
* slf4j-api (usually comes as a transitive dependency of logback-classic)
131131
* java-uuid-generator (required if the `uuid` provider is used)
132132

@@ -139,24 +139,25 @@ For example, to ensure that maven doesn't pick different versions of logback-cor
139139

140140
```xml
141141
<properties>
142-
<logback.version>1.3.7</logback.version>
142+
<logback-classic.version>1.5.6</logback-classic.version>
143+
<logback-access.version>2.0.2</logback-access.version>
143144
</properties>
144145
<dependencyManagement>
145146
<dependencies>
146147
<dependency>
147148
<groupId>ch.qos.logback</groupId>
148149
<artifactId>logback-core</artifactId>
149-
<version>${logback.version}</version>
150+
<version>${logback-classic.version}</version>
150151
</dependency>
151152
<dependency>
152153
<groupId>ch.qos.logback</groupId>
153154
<artifactId>logback-classic</artifactId>
154-
<version>${logback.version}</version>
155+
<version>${logback-classic.version}</version>
155156
</dependency>
156157
<dependency>
157-
<groupId>ch.qos.logback</groupId>
158-
<artifactId>logback-access</artifactId>
159-
<version>${logback.version}</version>
158+
<groupId>ch.qos.logback.access</groupId>
159+
<artifactId>common</artifactId>
160+
<version>${logback-access.version}</version>
160161
</dependency>
161162
</dependencies>
162163
</dependencyManagement>
@@ -166,7 +167,9 @@ For example, to ensure that maven doesn't pick different versions of logback-cor
166167

167168
| logstash-logback-encoder | Minimum Java Version supported |
168169
|--------------------------|--------------------------------|
169-
| &gt;= 6.0 | 8 |
170+
| 8.x | 11 |
171+
| 7.x | 8 |
172+
| 6.x | 8 |
170173
| 5.x | 7 |
171174
| &lt;= 4.x | 6 |
172175

0 commit comments

Comments
 (0)