2.0.56 release
This commit is contained in:
parent
6771980803
commit
63a6854da9
20
README.md
20
README.md
@ -41,7 +41,7 @@
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.55'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.56'
|
||||
}
|
||||
```
|
||||
|
||||
@ -67,7 +67,7 @@ dependencies {
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -75,7 +75,7 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba:fastjson:2.0.55'
|
||||
implementation 'com.alibaba:fastjson:2.0.56'
|
||||
}
|
||||
```
|
||||
|
||||
@ -89,7 +89,7 @@ dependencies {
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-kotlin</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -114,7 +114,7 @@ dependencies {
|
||||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.55")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.56")
|
||||
}
|
||||
```
|
||||
|
||||
@ -135,7 +135,7 @@ dependencies {
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring5</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -143,7 +143,7 @@ dependencies {
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring6</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -151,14 +151,14 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.55'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.56'
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.55'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.56'
|
||||
}
|
||||
```
|
||||
|
||||
|
16
README_EN.md
16
README_EN.md
@ -47,7 +47,7 @@ Related Documents:
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -55,7 +55,7 @@ Related Documents:
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.55'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.56'
|
||||
}
|
||||
```
|
||||
|
||||
@ -73,7 +73,7 @@ If you are using `fastjson 1.2.x`, you can use the compatibility package. The co
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -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.55'
|
||||
implementation 'com.alibaba:fastjson:2.0.56'
|
||||
}
|
||||
```
|
||||
|
||||
@ -95,7 +95,7 @@ If your project uses `kotlin`, you can use the `Fastjson-Kotlin` module, and use
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-kotlin</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -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.55")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.56")
|
||||
}
|
||||
```
|
||||
|
||||
@ -141,7 +141,7 @@ If your project uses a framework such as `SpringFramework`, you can use the `fas
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -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.55'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.56'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.55'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.56'
|
||||
}
|
||||
```
|
||||
|
||||
@ -57,7 +57,7 @@ dependencies {
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -65,7 +65,7 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba:fastjson:2.0.55'
|
||||
implementation 'com.alibaba:fastjson:2.0.56'
|
||||
}
|
||||
```
|
||||
|
||||
@ -79,7 +79,7 @@ dependencies {
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-kotlin</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -87,7 +87,7 @@ dependencies {
|
||||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.55")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.56")
|
||||
}
|
||||
```
|
||||
|
||||
@ -101,7 +101,7 @@ dependencies {
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -109,7 +109,7 @@ dependencies {
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.55'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.56'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-kotlin</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.55")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.56")
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -10,7 +10,7 @@ If your project uses `kotlin`, you can use the` Fastjson-Kotlin` module, and use
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-kotlin</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -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.55")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.56")
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -10,7 +10,7 @@ Fastjson2采用多module的结构设计,对SpringFramework等框架的支持
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring5</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
|
||||
or
|
||||
@ -18,7 +18,7 @@ or
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring6</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -26,13 +26,13 @@ or
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.55'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.56'
|
||||
}
|
||||
|
||||
or
|
||||
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.55'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.56'
|
||||
}
|
||||
```
|
||||
> 2.0.23版本之后为了兼容Spring 5.x / 6.x,将不同版本独立开不同的依赖包。
|
||||
|
@ -11,7 +11,7 @@ independent in the `extension` dependency.
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring5</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
|
||||
or
|
||||
@ -19,7 +19,7 @@ or
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring6</artifactId>
|
||||
<version>2.0.55</version>
|
||||
<version>2.0.56</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
@ -27,13 +27,13 @@ or
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.55'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.56'
|
||||
}
|
||||
|
||||
or
|
||||
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.55'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.56'
|
||||
}
|
||||
```
|
||||
> 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.
|
||||
|
@ -1,3 +1,3 @@
|
||||
JDK 17中提供了[vector api](https://openjdk.org/jeps/426),可以用SIMD来优化性能。
|
||||
|
||||
fastjson 2.0.55版本开始全面使用SWAR(SIMD within a register)来做SIMD优化,不再需要使用vector api.
|
||||
fastjson 2.0.56版本开始全面使用SWAR(SIMD within a register)来做SIMD优化,不再需要使用vector api.
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
|
||||
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
|
||||
<fastjson2.version>2.0.56-SNAPSHOT</fastjson2.version>
|
||||
<fastjson2.version>2.0.56</fastjson2.version>
|
||||
<imageName>fastjson2-example-graalvm-native</imageName>
|
||||
</properties>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
<properties>
|
||||
<maven.test.skip>true</maven.test.skip>
|
||||
<maven.deploy.skip>true</maven.deploy.skip>
|
||||
<fastjson2.version>2.0.56-SNAPSHOT</fastjson2.version>
|
||||
<fastjson2.version>2.0.56</fastjson2.version>
|
||||
<java.version>17</java.version>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-jaxrs</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>fastjson2-extension-jaxrs-jakarta</artifactId>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-jaxrs</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>fastjson2-extension-jaxrs-javax</artifactId>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
</parent>
|
||||
<artifactId>fastjson2-extension-jaxrs</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<name>${project.artifactId}</name>
|
||||
<description>Fastjson is a JSON processor (JSON parser + JSON generator) written in Java</description>
|
||||
<packaging>pom</packaging>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.56-SNAPSHOT</version>
|
||||
<version>2.0.56</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user