From 69071ab164fbc68d0ffde1df4767af9255e4de37 Mon Sep 17 00:00:00 2001 From: "shaojin.wensj" Date: Tue, 18 Jul 2023 21:50:51 +0800 Subject: [PATCH] 2.0.36 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/jsonpath_cn.md | 2 -- 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 | 2 +- safemode-test/pom.xml | 2 +- test-jdk17/pom.xml | 2 +- 25 files changed, 58 insertions(+), 60 deletions(-) diff --git a/README.md b/README.md index 706020d421..e8bf8e13c5 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ com.alibaba.fastjson2 fastjson2 - 2.0.35 + 2.0.36 ``` @@ -49,7 +49,7 @@ ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2:2.0.35' + implementation 'com.alibaba.fastjson2:fastjson2:2.0.36' } ``` @@ -67,7 +67,7 @@ dependencies { com.alibaba fastjson - 2.0.35 + 2.0.36 ``` @@ -75,7 +75,7 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba:fastjson:2.0.35' + implementation 'com.alibaba:fastjson:2.0.36' } ``` @@ -89,7 +89,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-kotlin - 2.0.35 + 2.0.36 ``` @@ -111,7 +111,7 @@ dependencies { ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.35") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.36") } ``` @@ -132,7 +132,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-extension-spring5 - 2.0.35 + 2.0.36 ``` @@ -140,7 +140,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-extension-spring6 - 2.0.35 + 2.0.36 ``` @@ -148,14 +148,14 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.35' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.36' } ``` ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.35' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.36' } ``` diff --git a/README_EN.md b/README_EN.md index be8e7c01e9..2925a22a12 100644 --- a/README_EN.md +++ b/README_EN.md @@ -47,7 +47,7 @@ Related Documents: com.alibaba.fastjson2 fastjson2 - 2.0.35 + 2.0.36 ``` @@ -55,7 +55,7 @@ Related Documents: ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2:2.0.35' + implementation 'com.alibaba.fastjson2:fastjson2:2.0.36' } ``` @@ -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.35 + 2.0.36 ``` @@ -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.35' + implementation 'com.alibaba:fastjson:2.0.36' } ``` @@ -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.35 + 2.0.36 ``` @@ -117,7 +117,7 @@ If your project uses `kotlin`, you can use the `Fastjson-Kotlin` module, and use ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.35") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.36") } ``` @@ -138,7 +138,7 @@ If your project uses a framework such as `SpringFramework`, you can use the `fas com.alibaba.fastjson2 fastjson2-extension - 2.0.35 + 2.0.36 ``` @@ -146,7 +146,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.35' + implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.36' } ``` diff --git a/benchmark/pom.xml b/benchmark/pom.xml index b09ed3beea..01a7ba57ac 100644 --- a/benchmark/pom.xml +++ b/benchmark/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/codegen-test/pom.xml b/codegen-test/pom.xml index edb262bbb6..7aa8f30dce 100644 --- a/codegen-test/pom.xml +++ b/codegen-test/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/codegen/pom.xml b/codegen/pom.xml index fa397cd2ea..8c85408296 100644 --- a/codegen/pom.xml +++ b/codegen/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/core/pom.xml b/core/pom.xml index 2971c8e2fd..f1a4a7adea 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/docs/index.md b/docs/index.md index b2ea1182a5..6388a4e7ab 100644 --- a/docs/index.md +++ b/docs/index.md @@ -31,7 +31,7 @@ com.alibaba.fastjson2 fastjson2 - 2.0.35 + 2.0.36 ``` @@ -39,7 +39,7 @@ ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2:2.0.35' + implementation 'com.alibaba.fastjson2:fastjson2:2.0.36' } ``` @@ -57,7 +57,7 @@ dependencies { com.alibaba fastjson - 2.0.35 + 2.0.36 ``` @@ -65,7 +65,7 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba:fastjson:2.0.35' + implementation 'com.alibaba:fastjson:2.0.36' } ``` @@ -79,7 +79,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-kotlin - 2.0.35 + 2.0.36 ``` @@ -87,7 +87,7 @@ dependencies { ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.35") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.36") } ``` @@ -101,7 +101,7 @@ dependencies { com.alibaba.fastjson2 fastjson2-extension - 2.0.35 + 2.0.36 ``` @@ -109,7 +109,7 @@ dependencies { ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.35' + implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.36' } ``` diff --git a/docs/jsonpath_cn.md b/docs/jsonpath_cn.md index ef3b7f5bd8..e3b8060e1a 100644 --- a/docs/jsonpath_cn.md +++ b/docs/jsonpath_cn.md @@ -110,8 +110,6 @@ public void test_entity() throws Exception { assertSame(entity.getValue(), JSONPath.eval(entity, "$.value")); assertTrue(JSONPath.contains(entity, "$.value")); - assertTrue(JSONPath.containsValue(entity, "$.id", 123)); - assertTrue(JSONPath.containsValue(entity, "$.value", entity.getValue())); assertEquals(2, JSONPath.size(entity, "$")); assertEquals(0, JSONPath.size(new Object[], "$")); } diff --git a/docs/kotlin_cn.md b/docs/kotlin_cn.md index d698d4299a..b1c4e98af4 100644 --- a/docs/kotlin_cn.md +++ b/docs/kotlin_cn.md @@ -10,7 +10,7 @@ com.alibaba.fastjson2 fastjson2-kotlin - 2.0.35 + 2.0.36 ``` @@ -32,7 +32,7 @@ ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.35") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.36") } ``` diff --git a/docs/kotlin_en.md b/docs/kotlin_en.md index f4d33ad67c..0b04518d16 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.35 + 2.0.36 ``` @@ -32,7 +32,7 @@ If your project uses `kotlin`, you can use the` Fastjson-Kotlin` module, and use ```kotlin dependencies { - implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.35") + implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.36") } ``` diff --git a/docs/spring_support_cn.md b/docs/spring_support_cn.md index 57cd2035c7..98c94f3c12 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.35 + 2.0.36 or @@ -18,7 +18,7 @@ or com.alibaba.fastjson2 fastjson2-extension-spring6 - 2.0.35 + 2.0.36 ``` @@ -26,13 +26,13 @@ or ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.35' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.36' } or dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.35' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.36' } ``` > 2.0.23版本之后为了兼容Spring 5.x / 6.x,将不同版本独立开不同的依赖包。 diff --git a/docs/spring_support_en.md b/docs/spring_support_en.md index 50244d687b..5b9414aabf 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.35 + 2.0.36 or @@ -19,7 +19,7 @@ or com.alibaba.fastjson2 fastjson2-extension-spring6 - 2.0.35 + 2.0.36 ``` @@ -27,13 +27,13 @@ or ```groovy dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.35' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.36' } or dependencies { - implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.35' + implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.36' } ``` > 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 3175bc7f8d..31630df211 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.35中已经支持vector api,这个优化目前处于incubator状态,需要通过如下方法打开: +fastjson 2.0.36中已经支持vector api,这个优化目前处于incubator状态,需要通过如下方法打开: 加上依赖 ```xml com.alibaba.fastjson2 fastjson2-incubator-vector - 2.0.35 + 2.0.36 ``` diff --git a/example-graalvm-native/pom.xml b/example-graalvm-native/pom.xml index 182ad8a6b3..cf7a1f3efe 100644 --- a/example-graalvm-native/pom.xml +++ b/example-graalvm-native/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml @@ -35,7 +35,7 @@ 17 ${maven.compiler.source} 3.2.2 - 2.0.36-SNAPSHOT + 2.0.36 fastjson2-example-graalvm-native diff --git a/example-spring-test/pom.xml b/example-spring-test/pom.xml index 6d9be9d27f..5585db9d98 100644 --- a/example-spring-test/pom.xml +++ b/example-spring-test/pom.xml @@ -5,7 +5,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/example-spring6-test/pom.xml b/example-spring6-test/pom.xml index b843136c3d..02f6f87ed4 100644 --- a/example-spring6-test/pom.xml +++ b/example-spring6-test/pom.xml @@ -5,7 +5,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml @@ -16,7 +16,7 @@ true true - 2.0.36-SNAPSHOT + 2.0.36 17 17 ${maven.compiler.source} diff --git a/extension-spring5/pom.xml b/extension-spring5/pom.xml index 2febd20b7c..2476ac7227 100644 --- a/extension-spring5/pom.xml +++ b/extension-spring5/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/extension-spring6/pom.xml b/extension-spring6/pom.xml index 379ef826fb..2abcbdcd1e 100644 --- a/extension-spring6/pom.xml +++ b/extension-spring6/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/extension/pom.xml b/extension/pom.xml index 1cc80c328a..4aca829767 100644 --- a/extension/pom.xml +++ b/extension/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/fastjson1-compatible/pom.xml b/fastjson1-compatible/pom.xml index 80dcc93f29..8736f2d897 100644 --- a/fastjson1-compatible/pom.xml +++ b/fastjson1-compatible/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/incubator-vector/pom.xml b/incubator-vector/pom.xml index b1d7211257..b1e459c02e 100644 --- a/incubator-vector/pom.xml +++ b/incubator-vector/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/kotlin/pom.xml b/kotlin/pom.xml index e6c6b13ecc..696e6510f8 100644 --- a/kotlin/pom.xml +++ b/kotlin/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/pom.xml b/pom.xml index 4d9437604b..54c295af40 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ${project.artifactId} Fastjson is a JSON processor (JSON parser + JSON generator) written in Java pom diff --git a/safemode-test/pom.xml b/safemode-test/pom.xml index afe65e70be..87f4e95c50 100644 --- a/safemode-test/pom.xml +++ b/safemode-test/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml diff --git a/test-jdk17/pom.xml b/test-jdk17/pom.xml index 31544a0cc8..b08172fe4b 100644 --- a/test-jdk17/pom.xml +++ b/test-jdk17/pom.xml @@ -6,7 +6,7 @@ com.alibaba.fastjson2 fastjson2-parent - 2.0.36-SNAPSHOT + 2.0.36 ../pom.xml