From 23592b052d32461533b2207322ae410e1367d9b9 Mon Sep 17 00:00:00 2001 From: "shaojin.wensj" Date: Sun, 3 Sep 2023 17:12:13 +0800 Subject: [PATCH] 2.0.40 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 193139a10f..088d3198f8 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ com.alibaba.fastjson2 fastjson2 - 2.0.39 + 2.0.40 ``` @@ -49,7 +49,7 @@ ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2:2.0.39' + implementation 'com.alibaba.fastjson2:fastjson2:2.0.40' } ``` @@ -67,7 +67,7 @@ dependencies { com.alibaba fastjson - 2.0.39 + 2.0.40 ``` @@ -75,7 +75,7 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba:fastjson:2.0.39' + implementation 'com.alibaba:fastjson:2.0.40' } ``` @@ -89,7 +89,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-kotlin - 2.0.39 + 2.0.40 ``` @@ -114,7 +114,7 @@ dependencies { ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.39") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.40") } ``` @@ -135,7 +135,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-extension-spring5 - 2.0.39 + 2.0.40 ``` @@ -143,7 +143,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-extension-spring6 - 2.0.39 + 2.0.40 ``` @@ -151,14 +151,14 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.39' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.40' } ``` ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.39' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.40' } ``` diff --git a/README_EN.md b/README_EN.md index 696c2c920a..d20d2d13af 100644 --- a/README_EN.md +++ b/README_EN.md @@ -47,7 +47,7 @@ Related Documents: com.alibaba.fastjson2 fastjson2 - 2.0.39 + 2.0.40 ``` @@ -55,7 +55,7 @@ Related Documents: ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2:2.0.39' + implementation 'com.alibaba.fastjson2:fastjson2:2.0.40' } ``` @@ -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.39 + 2.0.40 ``` @@ -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.39' + implementation 'com.alibaba:fastjson:2.0.40' } ``` @@ -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.39 + 2.0.40 ``` @@ -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.39") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.40") } ``` @@ -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.39 + 2.0.40 ``` @@ -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.39' + implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.40' } ``` diff --git a/benchmark/pom.xml b/benchmark/pom.xml index 004a1c03ad..fb0d98c5aa 100644 --- a/benchmark/pom.xml +++ b/benchmark/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml diff --git a/codegen-test/pom.xml b/codegen-test/pom.xml index d5c1be7b56..492f484d66 100644 --- a/codegen-test/pom.xml +++ b/codegen-test/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml diff --git a/codegen/pom.xml b/codegen/pom.xml index 18bad45c60..5d3d359966 100644 --- a/codegen/pom.xml +++ b/codegen/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml diff --git a/core/pom.xml b/core/pom.xml index 22d667bd97..81217efc95 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml diff --git a/docs/index.md b/docs/index.md index 95d45b807c..d65084a3b4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -31,7 +31,7 @@ com.alibaba.fastjson2 fastjson2 - 2.0.39 + 2.0.40 ``` @@ -39,7 +39,7 @@ ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2:2.0.39' + implementation 'com.alibaba.fastjson2:fastjson2:2.0.40' } ``` @@ -57,7 +57,7 @@ dependencies { com.alibaba fastjson - 2.0.39 + 2.0.40 ``` @@ -65,7 +65,7 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba:fastjson:2.0.39' + implementation 'com.alibaba:fastjson:2.0.40' } ``` @@ -79,7 +79,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-kotlin - 2.0.39 + 2.0.40 ``` @@ -87,7 +87,7 @@ dependencies { ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.39") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.40") } ``` @@ -101,7 +101,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-extension - 2.0.39 + 2.0.40 ``` @@ -109,7 +109,7 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.39' + implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.40' } ``` diff --git a/docs/kotlin_cn.md b/docs/kotlin_cn.md index 9cba069729..de16ca82e5 100644 --- a/docs/kotlin_cn.md +++ b/docs/kotlin_cn.md @@ -10,7 +10,7 @@ com.alibaba.fastjson2 fastjson2-kotlin - 2.0.39 + 2.0.40 ``` @@ -35,7 +35,7 @@ ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.39") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.40") } ``` diff --git a/docs/kotlin_en.md b/docs/kotlin_en.md index be4f34c391..082a532827 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.39 + 2.0.40 ``` @@ -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.39") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.40") } ``` diff --git a/docs/spring_support_cn.md b/docs/spring_support_cn.md index bbb9a3fc31..cd92afe0cd 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.39 + 2.0.40 or @@ -18,7 +18,7 @@ or com.alibaba.fastjson2 fastjson2-extension-spring6 - 2.0.39 + 2.0.40 ``` @@ -26,13 +26,13 @@ or ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.39' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.40' } or dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.39' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.40' } ``` > 2.0.23版本之后为了兼容Spring 5.x / 6.x,将不同版本独立开不同的依赖包。 diff --git a/docs/spring_support_en.md b/docs/spring_support_en.md index 379f56dfda..95c410b4e1 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.39 + 2.0.40 or @@ -19,7 +19,7 @@ or com.alibaba.fastjson2 fastjson2-extension-spring6 - 2.0.39 + 2.0.40 ``` @@ -27,13 +27,13 @@ or ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.39' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.40' } or dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.39' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.40' } ``` > 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 9a8dcf6d2d..62d28a1693 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.39中已经支持vector api,这个优化目前处于incubator状态,需要通过如下方法打开: +fastjson 2.0.40中已经支持vector api,这个优化目前处于incubator状态,需要通过如下方法打开: 加上依赖 ```xml com.alibaba.fastjson2 fastjson2-incubator-vector - 2.0.39 + 2.0.40 ``` diff --git a/example-graalvm-native/pom.xml b/example-graalvm-native/pom.xml index 0a009599ca..7e8dff56bb 100644 --- a/example-graalvm-native/pom.xml +++ b/example-graalvm-native/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml @@ -35,7 +35,7 @@ 17 ${maven.compiler.source} 3.2.2 - 2.0.40-SNAPSHOT + 2.0.40 fastjson2-example-graalvm-native diff --git a/example-spring-test/pom.xml b/example-spring-test/pom.xml index 422e820dce..55a68aa748 100644 --- a/example-spring-test/pom.xml +++ b/example-spring-test/pom.xml @@ -5,7 +5,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml diff --git a/example-spring6-test/pom.xml b/example-spring6-test/pom.xml index db9646a1fd..bc984c27c9 100644 --- a/example-spring6-test/pom.xml +++ b/example-spring6-test/pom.xml @@ -5,7 +5,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml @@ -16,7 +16,7 @@ true true - 2.0.40-SNAPSHOT + 2.0.40 17 17 ${maven.compiler.source} diff --git a/extension-spring5/pom.xml b/extension-spring5/pom.xml index b1c6856f3a..5b4f6b7f23 100644 --- a/extension-spring5/pom.xml +++ b/extension-spring5/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml diff --git a/extension-spring6/pom.xml b/extension-spring6/pom.xml index f4127cf140..eeb934dd84 100644 --- a/extension-spring6/pom.xml +++ b/extension-spring6/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml diff --git a/extension/pom.xml b/extension/pom.xml index 9a1a1b0056..19d5a7cf1c 100644 --- a/extension/pom.xml +++ b/extension/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml diff --git a/fastjson1-compatible/pom.xml b/fastjson1-compatible/pom.xml index a29d1ac669..127b10d0f3 100644 --- a/fastjson1-compatible/pom.xml +++ b/fastjson1-compatible/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml diff --git a/incubator-vector/pom.xml b/incubator-vector/pom.xml index 20abda32e2..23511543a1 100644 --- a/incubator-vector/pom.xml +++ b/incubator-vector/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml diff --git a/kotlin/pom.xml b/kotlin/pom.xml index d5957c0c47..a96c5265ff 100644 --- a/kotlin/pom.xml +++ b/kotlin/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ../pom.xml diff --git a/pom.xml b/pom.xml index 8c29c9c263..ea03c790fa 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.40-SNAPSHOT + 2.0.40 ${project.artifactId} Fastjson is a JSON processor (JSON parser + JSON generator) written in Java pom @@ -61,8 +61,10 @@ adapter --> benchmark + core