Skip to content

Commit 09ef63d

Browse files
authored
Revert #1201 / #1200 (#1456)
1 parent d9281b6 commit 09ef63d

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

release-notes/VERSION

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ JSON library.
1515
=== Releases ===
1616
------------------------------------------------------------------------
1717

18-
3.0.0-rc5 (18-Jul-2025)
18+
3.0.0-rc7 (not yet released)
19+
20+
* REVERT #1200: Change `JsonWriteFeature.ESCAPE_FORWARD_SLASHES` default
21+
to `true` for 3.0
22+
(that is, default remains `false` same as in 2.x)
23+
24+
3.0.0-rc6 (18-Jul-2025)
1925

2026
#1434: Change `JsonParser.getNumberType()` to return `null` instead of
2127
throwing exception in 3.0
@@ -59,7 +65,8 @@ No changes since 3.0.0-rc1
5965
#793: Rename "com.fasterxml.jackson" -> "tools.jackson"
6066
#1090: Remove `BufferRecyclers.SYSTEM_PROPERTY_TRACK_REUSABLE_BUFFERS`
6167
#1125: Remove `TokenStreamFactory.Feature.USE_THREAD_LOCAL_FOR_BUFFER_RECYCLING`
62-
#1200: Change `JsonWriteFeature.ESCAPE_FORWARD_SLASHES` default to `true` for 3.0
68+
(REVERTED in 3.0.0-rc7: #1200: Change `JsonWriteFeature.ESCAPE_FORWARD_SLASHES`
69+
default to `true` for 3.0)
6370
#1231: Enable Fast Floating-Point reading by default in 3.0
6471
#1233: Lower default `maxNestingDepth` of `StreamReadConstraints` /
6572
`StreamWriteConstraints` to 500 in 3.0

src/main/java/tools/jackson/core/json/JsonWriteFeature.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ public enum JsonWriteFeature
5959
COMBINE_UNICODE_SURROGATES_IN_UTF8(true),
6060

6161
/**
62-
* Feature that specifies whether {@link JsonGenerator} should escape forward slashes.
62+
* Feature that specifies whether {@link JsonGenerator} should escape forward slashes
63+
* (unless overridden by custom escaping (see {@link tools.jackson.core.io.CharacterEscapes})).
6364
* <p>
64-
* Feature is enabled by default in Jackson 3.0 (was disabled in 2.x).
65+
* Feature is disabled by default.
6566
*/
6667
ESCAPE_FORWARD_SLASHES(true),
6768

0 commit comments

Comments
 (0)