Skip to content

Commit

Permalink
docs(2.1.5): 2.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
hylexus committed Jul 20, 2024
1 parent e1f3b1a commit ac28a88
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 11 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ Jt-808协议服务端。

## Compatibility

支持 **spring-boot-2.x
** [![spring-boot-2.x](https://img.shields.io/maven-central/v/io.github.hylexus.jt/jt-808-server-spring-boot-starter-boot2.svg?label=spring-boot-2.x)](https://search.maven.org/search?q=g:%22io.github.hylexus.jt%22%20AND%20a:%22jt-808-server-spring-boot-starter-boot2%22)
**spring-boot-3.x
** [![spring-boot-3.x](https://img.shields.io/maven-central/v/io.github.hylexus.jt/jt-808-server-spring-boot-starter.svg?label=spring-boot-3.x)](https://search.maven.org/search?q=g:%22io.github.hylexus.jt%22%20AND%20a:%22jt-808-server-spring-boot-starter%22)
支持 **spring-boot-2.x** [![spring-boot-2.x](https://img.shields.io/maven-central/v/io.github.hylexus.jt/jt-808-server-spring-boot-starter-boot2.svg?label=spring-boot-2.x)](https://search.maven.org/search?q=g:%22io.github.hylexus.jt%22%20AND%20a:%22jt-808-server-spring-boot-starter-boot2%22)
**spring-boot-3.x** [![spring-boot-3.x](https://img.shields.io/maven-central/v/io.github.hylexus.jt/jt-808-server-spring-boot-starter.svg?label=spring-boot-3.x)](https://search.maven.org/search?q=g:%22io.github.hylexus.jt%22%20AND%20a:%22jt-808-server-spring-boot-starter%22)

更多有关版本兼容性的信息,请移步: [入门--兼容性](https://hylexus.github.io/jt-framework/v2/jt-808/guide/quick-start/compatibility.html)

Expand Down Expand Up @@ -141,7 +139,7 @@ Jt-808协议服务端。
- gradle

```groovy
implementation group: 'io.github.hylexus.jt', name: 'jt-808-server-spring-boot-starter-boot2', version: "2.1.4"
implementation group: 'io.github.hylexus.jt', name: 'jt-808-server-spring-boot-starter-boot2', version: "2.1.5"
```

- maven
Expand All @@ -151,7 +149,7 @@ implementation group: 'io.github.hylexus.jt', name: 'jt-808-server-spring-boot-s
<dependency>
<groupId>io.github.hylexus.jt</groupId>
<artifactId>jt-808-server-spring-boot-starter-boot2</artifactId>
<version>2.1.4</version>
<version>2.1.5</version>
</dependency>
```

Expand Down
8 changes: 4 additions & 4 deletions docs/src/v2/jt-808/guide/quick-start/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ icon: launch
<dependency>
<groupId>io.github.hylexus.jt</groupId>
<artifactId>jt-808-server-spring-boot-starter-boot2</artifactId>
<version>2.1.4</version>
<version>2.1.5</version>
</dependency>
```

@tab:active gradle

```groovy
implementation 'io.github.hylexus.jt:jt-808-server-spring-boot-starter-boot2:2.1.4'
implementation 'io.github.hylexus.jt:jt-808-server-spring-boot-starter-boot2:2.1.5'
```

:::
Expand All @@ -62,14 +62,14 @@ implementation 'io.github.hylexus.jt:jt-808-server-spring-boot-starter-boot2:2.1
<dependency>
<groupId>io.github.hylexus.jt</groupId>
<artifactId>jt-808-server-spring-boot-starter</artifactId>
<version>2.1.4</version>
<version>2.1.5</version>
</dependency>
```

@tab:active gradle

```groovy
implementation 'io.github.hylexus.jt:jt-808-server-spring-boot-starter:2.1.4'
implementation 'io.github.hylexus.jt:jt-808-server-spring-boot-starter:2.1.5'
```

:::
Expand Down
62 changes: 62 additions & 0 deletions docs/src/v2/release-notes/latest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,68 @@ icon: branch

# 2.1.x

## 2.1.5(2024-07-20)

### ⭐ New Features

`BitOperator` 新增方法:

- `mapIf(...)`
- `setIf(...)`
- `setWithStatus(...)`
- `setWithStatusIf(...)`
- `setRangeIf(...)`
- `resetIf(...)`
- `resetRangeIf(...)`
- `unsignedLongValue(...)`
- `rangedUnsignedIntValue(...)`
- `rangedUnsignedLongValue(...)`

### 🐞 Bug Fixes

`BitOperator` 操作 `offset >= 31``bit` 时溢出的问题,涉及到的方法如下:

- `BitOperator#set(int offset)`
- `BitOperator#reset(int offset)`
- `BitOperatorget(int offset)`

### 🔨 Dependency Upgrades

- `oaks-common-utils` 升级到 **1.0.7**

## 2.1.4(2024-06-08)

### ⭐ New Features

- 完善 `Jt808MsgBuilder`
- 新增 `RebuildableByteBufJt808MsgBuilder`

### 🔨 Dependency Upgrades

- `Gradle` : **8.6** 升级到 **8.8**
- `spring-boot-dependencies`
- **2.7.14** 升级到 **2.7.18**
- **3.1.2** 升级到 **3.3.0**
- `spring-cloud-dependencies`
- **2021.0.8** 升级到 **2021.0.9**
- **2022.0.4** 升级到 **2023.0.2**

### 📔 Documentation

- 新增消息加解密相关文档
- 新增 `RebuildableByteBufJt808MsgBuilder` 相关文档

## 2.1.4-rc.4(2024-06-02)

### ⭐ New Features

初步支持消息加解密,详情见: [#82](https://github.com/hylexus/jt-framework/issues/82)

- 新增 `Jt808MsgEncryptionHandler`
- `@Jt808ResponseBody` 新增 `encryptionType(int)` 属性
- `Jt808Response` 新增 `encryptionType(int)` 属性
- `Jt808MsgBuilder` 新增 `encryptionType(int)` 属性

## 2.1.4-rc.3(2024-03-24)

### 🐞 Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
org.gradle.jvmargs=-Dio.netty.allocator.type=unpooled
projectGroup=io.github.hylexus.jt
projectVersion=2.1.4
projectVersion=2.1.5
# scm
projectScmUrl=https://github.com/hylexus/jt-framework
projectScmConnection=scm:git:[email protected]:hylexus/jt-framework.git
Expand Down

0 comments on commit ac28a88

Please sign in to comment.