Skip to content

Commit

Permalink
2.0.41 release
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Oct 6, 2023
1 parent 41be860 commit c7f50ae
Show file tree
Hide file tree
Showing 24 changed files with 60 additions and 58 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```groovy
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2:2.0.40'
implementation 'com.alibaba.fastjson2:fastjson2:2.0.41'
}
```

Expand All @@ -67,15 +67,15 @@ dependencies {
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```groovy
dependencies {
implementation 'com.alibaba:fastjson:2.0.40'
implementation 'com.alibaba:fastjson:2.0.41'
}
```

Expand All @@ -89,7 +89,7 @@ dependencies {
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-kotlin</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

Expand All @@ -114,7 +114,7 @@ dependencies {

```kotlin
dependencies {
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.40")
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.41")
}
```

Expand All @@ -135,30 +135,30 @@ dependencies {
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-extension-spring5</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

```xml
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-extension-spring6</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```groovy
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.40'
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.41'
}
```


```groovy
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.40'
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.41'
}
```

Expand Down
16 changes: 8 additions & 8 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ Related Documents:
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```groovy
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2:2.0.40'
implementation 'com.alibaba.fastjson2:fastjson2:2.0.41'
}
```

Expand All @@ -73,15 +73,15 @@ 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.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```groovy
dependencies {
implementation 'com.alibaba:fastjson:2.0.40'
implementation 'com.alibaba:fastjson:2.0.41'
}
```

Expand All @@ -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.40</version>
<version>2.0.41</version>
</dependency>
```

Expand All @@ -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.40")
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.41")
}
```

Expand All @@ -141,15 +141,15 @@ 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.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```groovy
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.40'
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.41'
}
```

Expand Down
2 changes: 1 addition & 1 deletion benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-parent</artifactId>
<version>2.0.41-SNAPSHOT</version>
<version>2.0.41</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion codegen-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-parent</artifactId>
<version>2.0.41-SNAPSHOT</version>
<version>2.0.41</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion codegen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-parent</artifactId>
<version>2.0.41-SNAPSHOT</version>
<version>2.0.41</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-parent</artifactId>
<version>2.0.41-SNAPSHOT</version>
<version>2.0.41</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
16 changes: 8 additions & 8 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```groovy
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2:2.0.40'
implementation 'com.alibaba.fastjson2:fastjson2:2.0.41'
}
```

Expand All @@ -57,15 +57,15 @@ dependencies {
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```groovy
dependencies {
implementation 'com.alibaba:fastjson:2.0.40'
implementation 'com.alibaba:fastjson:2.0.41'
}
```

Expand All @@ -79,15 +79,15 @@ dependencies {
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-kotlin</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```kotlin
dependencies {
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.40")
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.41")
}
```

Expand All @@ -101,15 +101,15 @@ dependencies {
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-extension</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```groovy
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.40'
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.41'
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/kotlin_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-kotlin</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

Expand All @@ -35,7 +35,7 @@

```kotlin
dependencies {
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.40")
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.41")
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/kotlin_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.40</version>
<version>2.0.41</version>
</dependency>
```

Expand All @@ -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.40")
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.41")
}
```

Expand Down
8 changes: 4 additions & 4 deletions docs/spring_support_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@ Fastjson2采用多module的结构设计,对SpringFramework等框架的支持
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-extension-spring5</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>

or

<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-extension-spring6</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```groovy
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.40'
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.41'
}
or
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.40'
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.41'
}
```
> 2.0.23版本之后为了兼容Spring 5.x / 6.x,将不同版本独立开不同的依赖包。
Expand Down
8 changes: 4 additions & 4 deletions docs/spring_support_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,29 @@ independent in the `extension` dependency.
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-extension-spring5</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>

or

<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-extension-spring6</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

`Gradle`:

```groovy
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.40'
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.41'
}
or
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.40'
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.41'
}
```
> 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.
Expand Down
4 changes: 2 additions & 2 deletions docs/vector_optimized.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
JDK 17中提供了[vector api](https://openjdk.org/jeps/426),可以用SIMD来优化性能。

fastjson 2.0.40中已经支持vector api,这个优化目前处于incubator状态,需要通过如下方法打开:
fastjson 2.0.41中已经支持vector api,这个优化目前处于incubator状态,需要通过如下方法打开:

加上依赖
```xml
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-incubator-vector</artifactId>
<version>2.0.40</version>
<version>2.0.41</version>
</dependency>
```

Expand Down
Loading

0 comments on commit c7f50ae

Please sign in to comment.