From f0f06b0a5876f75475cf325097365b1b515238d6 Mon Sep 17 00:00:00 2001 From: "shaojin.wensj" Date: Sat, 24 Feb 2024 05:04:52 +0800 Subject: [PATCH] 2.0.47 release --- README.md | 20 ++++++++++---------- README_EN.md | 16 ++++++++-------- benchmark/pom.xml | 2 +- codegen-test/pom.xml | 2 +- codegen/pom.xml | 2 +- core/pom.xml | 2 +- docs/index.md | 16 ++++++++-------- docs/kotlin_cn.md | 4 ++-- docs/kotlin_en.md | 4 ++-- docs/spring_support_cn.md | 8 ++++---- docs/spring_support_en.md | 8 ++++---- docs/vector_optimized.md | 4 ++-- example-graalvm-native/pom.xml | 4 ++-- example-spring-test/pom.xml | 2 +- example-spring6-test/pom.xml | 4 ++-- extension-spring5/pom.xml | 2 +- extension-spring6/pom.xml | 2 +- extension/pom.xml | 2 +- fastjson1-compatible/pom.xml | 2 +- incubator-vector/pom.xml | 2 +- kotlin/pom.xml | 2 +- pom.xml | 4 +++- safemode-test/pom.xml | 2 +- test-jdk17/pom.xml | 2 +- 24 files changed, 60 insertions(+), 58 deletions(-) diff --git a/README.md b/README.md index e9875ea681..007b1dfe67 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ com.alibaba.fastjson2 fastjson2 - 2.0.46 + 2.0.47 ``` @@ -49,7 +49,7 @@ ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2:2.0.46' + implementation 'com.alibaba.fastjson2:fastjson2:2.0.47' } ``` @@ -67,7 +67,7 @@ dependencies { com.alibaba fastjson - 2.0.46 + 2.0.47 ``` @@ -75,7 +75,7 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba:fastjson:2.0.46' + implementation 'com.alibaba:fastjson:2.0.47' } ``` @@ -89,7 +89,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-kotlin - 2.0.46 + 2.0.47 ``` @@ -114,7 +114,7 @@ dependencies { ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.46") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.47") } ``` @@ -135,7 +135,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-extension-spring5 - 2.0.46 + 2.0.47 ``` @@ -143,7 +143,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-extension-spring6 - 2.0.46 + 2.0.47 ``` @@ -151,14 +151,14 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.46' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.47' } ``` ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.46' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.47' } ``` diff --git a/README_EN.md b/README_EN.md index 5d011b2b9e..a6e5ef95eb 100644 --- a/README_EN.md +++ b/README_EN.md @@ -47,7 +47,7 @@ Related Documents: com.alibaba.fastjson2 fastjson2 - 2.0.46 + 2.0.47 ``` @@ -55,7 +55,7 @@ Related Documents: ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2:2.0.46' + implementation 'com.alibaba.fastjson2:fastjson2:2.0.47' } ``` @@ -73,7 +73,7 @@ If you are using `fastjson 1.2.x`, you can use the compatibility package. The co com.alibaba fastjson - 2.0.46 + 2.0.47 ``` @@ -81,7 +81,7 @@ If you are using `fastjson 1.2.x`, you can use the compatibility package. The co ```groovy dependencies { - implementation 'com.alibaba:fastjson:2.0.46' + implementation 'com.alibaba:fastjson:2.0.47' } ``` @@ -95,7 +95,7 @@ If your project uses `kotlin`, you can use the `Fastjson-Kotlin` module, and use com.alibaba.fastjson2 fastjson2-kotlin - 2.0.46 + 2.0.47 ``` @@ -120,7 +120,7 @@ If the data class is used or the parameters are passed in through constructor, t ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.46") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.47") } ``` @@ -141,7 +141,7 @@ If your project uses a framework such as `SpringFramework`, you can use the `fas com.alibaba.fastjson2 fastjson2-extension - 2.0.46 + 2.0.47 ``` @@ -149,7 +149,7 @@ If your project uses a framework such as `SpringFramework`, you can use the `fas ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.46' + implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.47' } ``` diff --git a/benchmark/pom.xml b/benchmark/pom.xml index cee51f8aef..ef47878bdd 100644 --- a/benchmark/pom.xml +++ b/benchmark/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml diff --git a/codegen-test/pom.xml b/codegen-test/pom.xml index ca9157f7fb..4671858c1f 100644 --- a/codegen-test/pom.xml +++ b/codegen-test/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml diff --git a/codegen/pom.xml b/codegen/pom.xml index 975f32a6df..b429112c14 100644 --- a/codegen/pom.xml +++ b/codegen/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml diff --git a/core/pom.xml b/core/pom.xml index 8042ac43e0..c66701aa08 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml diff --git a/docs/index.md b/docs/index.md index 44b7def61c..cce6277819 100644 --- a/docs/index.md +++ b/docs/index.md @@ -31,7 +31,7 @@ com.alibaba.fastjson2 fastjson2 - 2.0.46 + 2.0.47 ``` @@ -39,7 +39,7 @@ ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2:2.0.46' + implementation 'com.alibaba.fastjson2:fastjson2:2.0.47' } ``` @@ -57,7 +57,7 @@ dependencies { com.alibaba fastjson - 2.0.46 + 2.0.47 ``` @@ -65,7 +65,7 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba:fastjson:2.0.46' + implementation 'com.alibaba:fastjson:2.0.47' } ``` @@ -79,7 +79,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-kotlin - 2.0.46 + 2.0.47 ``` @@ -87,7 +87,7 @@ dependencies { ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.46") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.47") } ``` @@ -101,7 +101,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-extension - 2.0.46 + 2.0.47 ``` @@ -109,7 +109,7 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.46' + implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.47' } ``` diff --git a/docs/kotlin_cn.md b/docs/kotlin_cn.md index b52a3e1d23..2295090f91 100644 --- a/docs/kotlin_cn.md +++ b/docs/kotlin_cn.md @@ -10,7 +10,7 @@ com.alibaba.fastjson2 fastjson2-kotlin - 2.0.46 + 2.0.47 ``` @@ -35,7 +35,7 @@ ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.46") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.47") } ``` diff --git a/docs/kotlin_en.md b/docs/kotlin_en.md index 75b0d5fe01..88c334a307 100644 --- a/docs/kotlin_en.md +++ b/docs/kotlin_en.md @@ -10,7 +10,7 @@ If your project uses `kotlin`, you can use the` Fastjson-Kotlin` module, and use com.alibaba.fastjson2 fastjson2-kotlin - 2.0.46 + 2.0.47 ``` @@ -35,7 +35,7 @@ If the data class is used or the parameters are passed in through constructor, t ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.46") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.47") } ``` diff --git a/docs/spring_support_cn.md b/docs/spring_support_cn.md index 0fffb460fb..28ca9ea901 100644 --- a/docs/spring_support_cn.md +++ b/docs/spring_support_cn.md @@ -10,7 +10,7 @@ Fastjson2采用多module的结构设计,对SpringFramework等框架的支持 com.alibaba.fastjson2 fastjson2-extension-spring5 - 2.0.46 + 2.0.47 or @@ -18,7 +18,7 @@ or com.alibaba.fastjson2 fastjson2-extension-spring6 - 2.0.46 + 2.0.47 ``` @@ -26,13 +26,13 @@ or ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.46' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.47' } or dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.46' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.47' } ``` > 2.0.23版本之后为了兼容Spring 5.x / 6.x,将不同版本独立开不同的依赖包。 diff --git a/docs/spring_support_en.md b/docs/spring_support_en.md index 7d80d4ea8d..38b23d802b 100644 --- a/docs/spring_support_en.md +++ b/docs/spring_support_en.md @@ -11,7 +11,7 @@ independent in the `extension` dependency. com.alibaba.fastjson2 fastjson2-extension-spring5 - 2.0.46 + 2.0.47 or @@ -19,7 +19,7 @@ or com.alibaba.fastjson2 fastjson2-extension-spring6 - 2.0.46 + 2.0.47 ``` @@ -27,13 +27,13 @@ or ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.46' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.47' } or dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.46' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.47' } ``` > After version 2.0.23, in order to be compatible with Spring 5.x / 6.x, different versions are independently opened with different dependency packages. diff --git a/docs/vector_optimized.md b/docs/vector_optimized.md index c0d44aefda..5529a36164 100644 --- a/docs/vector_optimized.md +++ b/docs/vector_optimized.md @@ -1,13 +1,13 @@ JDK 17中提供了[vector api](https://openjdk.org/jeps/426),可以用SIMD来优化性能。 -fastjson 2.0.46中已经支持vector api,这个优化目前处于incubator状态,需要通过如下方法打开: +fastjson 2.0.47中已经支持vector api,这个优化目前处于incubator状态,需要通过如下方法打开: 加上依赖 ```xml com.alibaba.fastjson2 fastjson2-incubator-vector - 2.0.46 + 2.0.47 ``` diff --git a/example-graalvm-native/pom.xml b/example-graalvm-native/pom.xml index 588d235c4f..d5bc2febbb 100644 --- a/example-graalvm-native/pom.xml +++ b/example-graalvm-native/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml @@ -35,7 +35,7 @@ 17 ${maven.compiler.source} 3.2.2 - 2.0.47-SNAPSHOT + 2.0.47 fastjson2-example-graalvm-native diff --git a/example-spring-test/pom.xml b/example-spring-test/pom.xml index 06daaff841..2631595c4a 100644 --- a/example-spring-test/pom.xml +++ b/example-spring-test/pom.xml @@ -5,7 +5,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml diff --git a/example-spring6-test/pom.xml b/example-spring6-test/pom.xml index 8406832c87..f6245e0064 100644 --- a/example-spring6-test/pom.xml +++ b/example-spring6-test/pom.xml @@ -5,7 +5,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml @@ -16,7 +16,7 @@ true true - 2.0.47-SNAPSHOT + 2.0.47 17 17 ${maven.compiler.source} diff --git a/extension-spring5/pom.xml b/extension-spring5/pom.xml index 4a7ff7f491..5fdad6bcd0 100644 --- a/extension-spring5/pom.xml +++ b/extension-spring5/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml diff --git a/extension-spring6/pom.xml b/extension-spring6/pom.xml index a1f4170029..09151de3a2 100644 --- a/extension-spring6/pom.xml +++ b/extension-spring6/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml diff --git a/extension/pom.xml b/extension/pom.xml index 88af77862c..80aba50bab 100644 --- a/extension/pom.xml +++ b/extension/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml diff --git a/fastjson1-compatible/pom.xml b/fastjson1-compatible/pom.xml index f7f53016e1..2289febf0d 100644 --- a/fastjson1-compatible/pom.xml +++ b/fastjson1-compatible/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml diff --git a/incubator-vector/pom.xml b/incubator-vector/pom.xml index 043cf2236a..9863b0e72f 100644 --- a/incubator-vector/pom.xml +++ b/incubator-vector/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml diff --git a/kotlin/pom.xml b/kotlin/pom.xml index 79f0f1d62c..20d66f9169 100644 --- a/kotlin/pom.xml +++ b/kotlin/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ../pom.xml diff --git a/pom.xml b/pom.xml index d08d5698ef..244535190b 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.47-SNAPSHOT + 2.0.47 ${project.artifactId} Fastjson is a JSON processor (JSON parser + JSON generator) written in Java pom @@ -65,8 +65,10 @@ adapter --> benchmark + core