Skip to content

Commit 1992660

Browse files
authored
Merge branch 'main' into issue-571
2 parents 0d29d82 + 4124e80 commit 1992660

File tree

11 files changed

+57
-49
lines changed

11 files changed

+57
-49
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
check:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818
- name: Cache Local Maven Repository
1919
uses: actions/cache@v4
2020
with:
@@ -23,27 +23,27 @@ jobs:
2323
restore-keys: |
2424
${{ runner.os }}-m2
2525
- name: Set up JDK
26-
uses: actions/setup-java@v3
26+
uses: actions/setup-java@v5
2727
with:
2828
java-version: 21
29-
distribution: 'adopt'
29+
distribution: 'temurin'
3030
- name: Check code style
3131
run: ./mvnw spotless:check
3232

3333
test:
3434
runs-on: ubuntu-24.04
3535
strategy:
3636
matrix:
37-
java: [ 8, 11, 17, 21]
38-
distribution: [ 'adopt' ]
37+
java: [ 8, 11, 17, 21, 25-ea ]
38+
distribution: [ 'temurin' ]
3939
fail-fast: false
40-
max-parallel: 4
40+
max-parallel: 5
4141

4242
name: Test JDK ${{ matrix.java }}
4343
steps:
44-
- uses: actions/checkout@v4
44+
- uses: actions/checkout@v5
4545
- name: Set up JDK
46-
uses: actions/setup-java@v4
46+
uses: actions/setup-java@v5
4747
with:
4848
java-version: ${{ matrix.java }}
4949
distribution: ${{ matrix.distribution }}

.github/workflows/codeql-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
language: [ 'java' ]
2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828
- name: Initialize CodeQL
2929
uses: github/codeql-action/init@v3
3030
with:

.github/workflows/fuzz-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
MAVEN_OPTS: '-Xmx2g -Xms2g -Dfile.encoding=UTF-8'
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919

20-
- name: Set up JDK 17
21-
uses: actions/setup-java@v4
20+
- name: Set up JDK
21+
uses: actions/setup-java@v5
2222
with:
2323
distribution: 'temurin'
24-
java-version: '17'
24+
java-version: '21'
2525
cache: 'maven'
2626

2727
- name: Run fuzz tests (fastexcel module)

.github/workflows/markdownlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818

1919
- name: Setup Node.js
2020
uses: actions/setup-node@v4

.github/workflows/nightly.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
runs-on: ubuntu-24.04
1212
strategy:
1313
matrix:
14-
java: [ 8, 11, 17, 21]
15-
distribution: [ 'adopt' ]
14+
java: [ 8, 11, 17, 21, 25-ea ]
15+
distribution: [ 'temurin' ]
1616
fail-fast: false
17-
max-parallel: 4
17+
max-parallel: 5
1818
name: Test JDK ${{ matrix.java }}
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2121
- name: Set up JDK
22-
uses: actions/setup-java@v4
22+
uses: actions/setup-java@v5
2323
with:
2424
java-version: ${{ matrix.java }}
2525
distribution: ${{ matrix.distribution }}

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ being your best choice for handling Excel files.
4343

4444
The following table lists the minimum Java language version requirements for each version of the FastExcel library:
4545

46-
| Version | JDK Version Support Range | Notes |
47-
|---------|:-------------------------:|-------|
48-
| 1.2.x | JDK8 - JDK21 | |
49-
| 1.1.x | JDK8 - JDK21 | |
50-
| 1.0.x | JDK8 - JDK21 | |
46+
| Version | JDK Version Support Range | Notes |
47+
|----------|:-------------------------:|-------|
48+
| 1.3.x | JDK8 - JDK25 | |
49+
| 1.2.x | JDK8 - JDK21 | |
50+
| 1.1.x | JDK8 - JDK21 | |
51+
| 1.0.x | JDK8 - JDK21 | |
5152

5253
We strongly recommend using the latest version of FastExcel, as performance optimizations, bug fixes, and new features
5354
in the latest version will enhance your experience.
@@ -92,12 +93,12 @@ Below is an example of reading an Excel document:
9293
```java
9394
// Implement the ReadListener interface to set up operations for reading data
9495
public class DemoDataListener implements ReadListener<DemoData> {
95-
96+
9697
@Override
9798
public void invoke(DemoData data, AnalysisContext context) {
9899
System.out.println("Parsed a data entry" + JSON.toJSONString(data));
99100
}
100-
101+
101102
@Override
102103
public void doAfterAllAnalysed(AnalysisContext context) {
103104
System.out.println("All data parsed!");
@@ -118,16 +119,16 @@ Below is a simple example of creating an Excel document:
118119
```java
119120
// Sample data class
120121
public class DemoData {
121-
122+
122123
@ExcelProperty("String Title")
123124
private String string;
124-
125+
125126
@ExcelProperty("Date Title")
126127
private Date date;
127-
128+
128129
@ExcelProperty("Number Title")
129130
private Double doubleData;
130-
131+
131132
@ExcelIgnore
132133
private String ignore;
133134
}

README_JP.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@ FastExcelは常にフリーでオープンソースであり、ビジネスに
3838

3939
以下の表は、各バージョンのFastExcel基礎ライブラリのJava言語バージョンの最低要件を一覧にしたものです:
4040

41-
| バージョン | JDKバージョンサポート範囲 | 備考 |
42-
|--------|:--------------:|----|
43-
| 1.0.0+ | JDK8 - JDK21 | |
41+
| バージョン | JDKバージョンサポート範囲 | 備考 |
42+
|----------|:----------------:|--------------|
43+
| 1.3.x | JDK8 - JDK25 | |
44+
| 1.2.x | JDK8 - JDK21 | |
45+
| 1.1.x | JDK8 - JDK21 | |
46+
| 1.0.x | JDK8 - JDK21 | |
4447

4548
最新のFastExcelバージョンを使用することを強くお勧めします。最新バージョンのパフォーマンス最適化、バグ修正、および新機能は、使用の利便性を向上させます。
4649

@@ -82,12 +85,12 @@ dependencies {
8285
```java
8386
// ReadListenerインターフェースを実装してデータを読む操作を設定します
8487
public class DemoDataListener implements ReadListener<DemoData> {
85-
88+
8689
@Override
8790
public void invoke(DemoData data, AnalysisContext context) {
8891
System.out.println("データエントリを解析しました" + JSON.toJSONString(data));
8992
}
90-
93+
9194
@Override
9295
public void doAfterAllAnalysed(AnalysisContext context) {
9396
System.out.println("すべてのデータの解析が完了しました!");
@@ -108,16 +111,16 @@ public static void main(String[] args) {
108111
```java
109112
// サンプルデータクラス
110113
public class DemoData {
111-
114+
112115
@ExcelProperty("文字列タイトル")
113116
private String string;
114-
117+
115118
@ExcelProperty("日付タイトル")
116119
private Date date;
117-
120+
118121
@ExcelProperty("数字タイトル")
119122
private Double doubleData;
120-
123+
121124
@ExcelIgnore
122125
private String ignore;
123126
}

README_ZH.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Excel 文件的最佳选择。
4040

4141
| 版本 | jdk版本支持范围 | 备注 |
4242
|-------|:------------:|----|
43+
| 1.3.x | jdk8 - jdk25 | |
4344
| 1.2.x | jdk8 - jdk21 | |
4445
| 1.1.x | jdk8 - jdk21 | |
4546
| 1.0.x | jdk8 - jdk21 | |
@@ -86,12 +87,12 @@ dependencies {
8687
```java
8788
// 实现 ReadListener 接口,设置读取数据的操作
8889
public class DemoDataListener implements ReadListener<DemoData> {
89-
90+
9091
@Override
9192
public void invoke(DemoData data, AnalysisContext context) {
9293
System.out.println("解析到一条数据" + JSON.toJSONString(data));
9394
}
94-
95+
9596
@Override
9697
public void doAfterAllAnalysed(AnalysisContext context) {
9798
System.out.println("所有数据解析完成!");
@@ -112,16 +113,16 @@ public static void main(String[] args) {
112113
```java
113114
// 示例数据类
114115
public class DemoData {
115-
116+
116117
@ExcelProperty("字符串标题")
117118
private String string;
118-
119+
119120
@ExcelProperty("日期标题")
120121
private Date date;
121-
122+
122123
@ExcelProperty("数字标题")
123124
private Double doubleData;
124-
125+
125126
@ExcelIgnore
126127
private String ignore;
127128
}

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<java.version>1.8</java.version>
2929
<maven.compiler.target>1.8</maven.compiler.target>
3030
<maven.compiler.source>1.8</maven.compiler.source>
31+
<maven-compiler-plugin>3.14.0</maven-compiler-plugin>
3132
<maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version>
3233
<gpg.skip>true</gpg.skip>
3334
<maven.javadoc.skip>true</maven.javadoc.skip>
@@ -37,7 +38,7 @@
3738
<ehcache.version>3.9.11</ehcache.version>
3839
<commons-io.version>2.16.1</commons-io.version>
3940
<slf4j-api.version>1.7.36</slf4j-api.version>
40-
<lombok.version>1.18.32</lombok.version>
41+
<lombok.version>1.18.42</lombok.version>
4142
<spring-core.version>5.3.37</spring-core.version>
4243
<fastjson2.version>2.0.58</fastjson2.version>
4344
<spring-boot-starter-web.version>2.7.18</spring-boot-starter-web.version>
@@ -246,7 +247,7 @@
246247
<plugin>
247248
<groupId>org.apache.maven.plugins</groupId>
248249
<artifactId>maven-compiler-plugin</artifactId>
249-
<version>3.8.1</version>
250+
<version>${maven-compiler-plugin}</version>
250251
</plugin>
251252
<plugin>
252253
<groupId>org.apache.maven.plugins</groupId>

website/docs/quickstart/guide.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The following table lists the minimum Java language version requirements for eac
1111

1212
| Version | JDK Version Support Range | Notes |
1313
|---------|---------------------------|-------|
14+
| 1.3.x | JDK8 - JDK25 | |
1415
| 1.2.x | JDK8 - JDK21 | |
1516
| 1.1.x | JDK8 - JDK21 | |
1617
| 1.0.x | JDK8 - JDK21 | |
@@ -48,4 +49,4 @@ If you are using Gradle for project building, add the following configuration in
4849
dependencies {
4950
implementation 'cn.idev.excel:fastexcel:version'
5051
}
51-
```
52+
```

0 commit comments

Comments
 (0)