Skip to content

Commit 2621edc

Browse files
committed
upgrade to 3.0.0 and update changelog
1 parent c485230 commit 2621edc

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ This project does not adhere to [Semantic Versioning](https://semver.org/) and m
1313

1414
### Changed
1515

16+
## 3.0.0- 2025-12-13
17+
18+
### Added
19+
20+
### Changed
21+
22+
- Upgrade to Jackson 3 and JDK 17 (#1219) Thanks @justin-tay
23+
24+
1625
## 2.0.1- 2025-12-11
1726

1827
### Added

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,15 @@ The library supports Java 8 and up. If you want to build from the source code, y
219219

220220
### Adding the dependency
221221

222-
This package is available on Maven central.
222+
The `json-schema-validator` package is published to Maven Central and is available in two major release lines, depending on your Java and Jackson versions:
223+
224+
- **2.x.x** — Compatible with **Java 8+** and **Jackson 2.x**
225+
- **3.x.x** — Compatible with **Java 17+** and **Jackson 3.x**
223226

224227
#### Maven:
225228

229+
**Jackson 2 (Java 8+)**
230+
226231
```xml
227232
<dependency>
228233
<groupId>com.networknt</groupId>
@@ -231,14 +236,40 @@ This package is available on Maven central.
231236
</dependency>
232237
```
233238

239+
240+
**Jackson 3 (Java 17+)**
241+
242+
```xml
243+
<dependency>
244+
<groupId>com.networknt</groupId>
245+
<artifactId>json-schema-validator</artifactId>
246+
<version>3.0.0</version>
247+
</dependency>
248+
```
249+
234250
#### Gradle:
235251

252+
253+
**Jackson 2 (Java 8+)**
254+
255+
236256
```java
237257
dependencies {
238258
implementation(group: 'com.networknt', name: 'json-schema-validator', version: '2.0.1');
239259
}
240260
```
241261

262+
263+
**Jackson 3 (Java 17+)**
264+
265+
266+
```java
267+
dependencies {
268+
implementation(group: 'com.networknt', name: 'json-schema-validator', version: '3.0.0');
269+
}
270+
```
271+
272+
242273
### Validating inputs against a schema
243274

244275
The following example demonstrates how inputs are validated against a schema. It comprises the following steps.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<groupId>com.networknt</groupId>
2525
<artifactId>json-schema-validator</artifactId>
26-
<version>3.0.0-SNAPSHOT</version>
26+
<version>3.0.0</version>
2727
<packaging>bundle</packaging>
2828
<name>JsonSchemaValidator</name>
2929
<description>A json schema validator that supports draft v4, v6, v7, v2019-09 and v2020-12</description>

0 commit comments

Comments
 (0)