You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restructure Jackson modules for 1.0.0: Jackson 3 becomes jackson-dataformat-msgpack
- msgpack-jackson now hosts the Jackson 3.x integration (artifact
jackson-dataformat-msgpack, package org.msgpack.jackson3.dataformat,
Java 17+)
- msgpack-jackson2 hosts the Jackson 2.x integration in maintenance mode
(artifact jackson2-dataformat-msgpack, package org.msgpack.jackson.dataformat
unchanged, Java 8+)
- Distinct packages and artifactIds let both integrations coexist on one
classpath for incremental migration
- Add sbt-jupiter-interface so the Jackson 2 module's JUnit 5 tests actually
run; they had been silently skipped (0 tests detected) on main
- Fix MessagePackDataformatTestBase lifecycle annotations (JUnit 4 @Before/
@after on JUnit 5 tests meant setup never ran)
- Restore byte-offset-as-columnNr in Jackson 2 MessagePackParser locations,
regressed unnoticed in #903 when the deprecated JsonLocation constructor
was replaced
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014ZZUaHusAjVx6SNu4sA42s
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,10 +59,10 @@ Two artifacts are published depending on which Jackson major version your projec
59
59
60
60
| Jackson version | Artifact | Requirements |
61
61
| --- | --- | --- |
62
-
| Jackson 2.x |[`jackson-dataformat-msgpack`](https://github.com/msgpack/msgpack-java/blob/develop/msgpack-jackson/README.md)| Java 8+ |
63
-
| Jackson 3.x |[`jackson-dataformat-msgpack-jackson3`](https://github.com/msgpack/msgpack-java/blob/develop/msgpack-jackson3/README.md)| Java 17+ |
62
+
| Jackson 3.x |[`jackson-dataformat-msgpack`](https://github.com/msgpack/msgpack-java/blob/main/msgpack-jackson/README.md)(1.x) | Java 17+ |
63
+
| Jackson 2.x |[`jackson2-dataformat-msgpack`](https://github.com/msgpack/msgpack-java/blob/main/msgpack-jackson2/README.md)(maintenance mode) | Java 8+ |
64
64
65
-
Use `jackson-dataformat-msgpack`if your project still depends on Jackson 2.x, or `jackson-dataformat-msgpack-jackson3` if you've upgraded to Jackson 3.x. See each module's README for install instructions and usage details.
65
+
Since msgpack-java 1.0.0, `jackson-dataformat-msgpack`targets Jackson 3.x. If your project still depends on Jackson 2.x, either stay on `jackson-dataformat-msgpack` 0.9.x or switch to `jackson2-dataformat-msgpack` to keep receiving msgpack-core updates (only the artifactId changes; the Java package is the same). See each module's README for install instructions and usage details.
Copy file name to clipboardExpand all lines: msgpack-jackson/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
# jackson-dataformat-msgpack-jackson3
1
+
# jackson-dataformat-msgpack
2
2
3
3
This Jackson 3.x extension library is a component to easily read and write [MessagePack](http://msgpack.org/) encoded data through jackson-databind API.
4
4
5
5
It extends standard Jackson streaming API (`JsonFactory`, `JsonParser`, `JsonGenerator`), and as such works seamlessly with all the higher level data abstractions (data binding, tree model, and pluggable extensions).
6
6
7
-
**Requirements:** Java 17+ and Jackson 3.x. For the Jackson 2.x compatible version, see [`msgpack-jackson`](../msgpack-jackson/).
7
+
**Requirements:** Java 17+ and Jackson 3.x. This artifact supports Jackson 3.x since version 1.0.0 (version 0.9.x supported Jackson 2.x). For the Jackson 2.x compatible version, see [`jackson2-dataformat-msgpack`](../msgpack-jackson2/).
8
8
9
-
**Note on imports:** Jackson 3 moved its core and databind packages from `com.fasterxml.jackson` to `tools.jackson`. User-facing annotations (`@JsonProperty`, `@JsonFormat`, etc.) remain in `com.fasterxml.jackson.annotation` for backward compatibility.
9
+
**Note on imports:** Jackson 3 moved its core and databind packages from `com.fasterxml.jackson` to `tools.jackson`. User-facing annotations (`@JsonProperty`, `@JsonFormat`, etc.) remain in `com.fasterxml.jackson.annotation` for backward compatibility. Similarly, this library uses the `org.msgpack.jackson3.dataformat` package, while the Jackson 2.x artifact keeps `org.msgpack.jackson.dataformat` — so both artifacts can coexist on the same classpath during an incremental migration.
10
10
11
11
## Install
12
12
@@ -15,15 +15,15 @@ It extends standard Jackson streaming API (`JsonFactory`, `JsonParser`, `JsonGen
### Serialize and deserialize BigDecimal as str type internally in MessagePack format
221
221
222
-
`jackson-dataformat-msgpack-jackson3` represents BigDecimal values as float type in MessagePack format by default for backward compatibility. But the default behavior could fail when handling too large value for `double` type. So we strongly recommend calling `MessagePackMapper.Builder#handleBigIntegerAndBigDecimalAsString()` to internally handle BigDecimal values as String.
222
+
`jackson-dataformat-msgpack` represents BigDecimal values as float type in MessagePack format by default for backward compatibility. But the default behavior could fail when handling too large value for `double` type. So we strongly recommend calling `MessagePackMapper.Builder#handleBigIntegerAndBigDecimalAsString()` to internally handle BigDecimal values as String.
0 commit comments