Commit Graph

41 Commits

Author SHA1 Message Date
John Niang
9dc980d923 Upgrade to Gradle 9.2.0 (#7886)
#### What type of PR is this?

/kind cleanup
/area core
/milestone 2.22.x

#### What this PR does / why we need it:

This PR upgrades to Gradle [9.2.0](https://github.com/gradle/gradle/releases/tag/v9.2.0) and enable configuration cache by default.

#### Does this PR introduce a user-facing change?

```release-note
None
```
2025-11-05 03:18:26 +00:00
John Niang
40a7785c58 Upgrade Spring Boot to version 3.5.7 (#7871)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.22.x

#### What this PR does / why we need it:

This PR upgrades to Spring Boot [3.5.7](https://github.com/spring-projects/spring-boot/releases/tag/v3.5.7) as usual.

#### Does this PR introduce a user-facing change?

```release-note
升级 Spring Boot 至 3.5.7
```
2025-10-27 04:12:16 +00:00
John Niang
90b292288e Upgrade Checkstyle to version 12.1.0 and standardize plugin declaration (#7828) 2025-10-20 11:16:54 +08:00
John Niang
b5b448d842 Upgrade thumbnailator to version 0.4.21 and remove imgscalr and metadata-extractor dependencies (#7818)
#### What type of PR is this?

/kind cleanup
/area core
/milestone 2.22.x

#### What this PR does / why we need it:

This PR upgrades thumbnailator to version 0.4.21 and remove unused imgscalr and metadata-extractor dependencies.

#### Does this PR introduce a user-facing change?

```release-note
None
```
2025-10-17 10:09:52 +00:00
John Niang
033117cd9c Refactor image attachment thumbnail feature 2025-10-02 10:29:30 +08:00
John Niang
50405a9409 Upgrade Gradle wrapper to version 9.1.0 (#7776)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.21.x

#### What this PR does / why we need it:

This PR upgrades Gradle to version [9.1.0](https://docs.gradle.org/9.1.0/release-notes.html).

#### Does this PR introduce a user-facing change?

```release-note
升级 Gradle 至 9.1.0
```
2025-09-23 02:46:06 +00:00
John Niang
974c645b4a Upgrade Spring Boot version to 3.5.6 (#7774)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.21.x

#### What this PR does / why we need it:

This PR upgrades Spring Boot to [3.5.6](https://github.com/spring-projects/spring-boot/releases/tag/v3.5.6).

#### Does this PR introduce a user-facing change?

```release-note
升级 Spring Boot 至 3.5.6
```
2025-09-19 03:20:02 +00:00
John Niang
cd2dac7f01 Add build and publish tasks for Docker images using Buildpacks 2025-09-16 20:06:44 +08:00
John Niang
98f655c018 Upgrade Lucene to version 10.3.0 (#7752)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.21.x

#### What this PR does / why we need it:

This PR upgrads Lucene to version [10.3.0](https://github.com/apache/lucene/releases/tag/releases%2Flucene%2F10.3.0).

#### Does this PR introduce a user-facing change?

```release-note
升级 Lucene 至 10.3.0
```
2025-09-15 05:00:40 +00:00
John Niang
a32cd4b551 Upgrade to Spring Boot 3.5.5 (#7715)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.21.x

#### What this PR does / why we need it:

This PR is a regular update for Spring Boot. See https://github.com/spring-projects/spring-boot/releases/tag/v3.5.5 for more.

#### Does this PR introduce a user-facing change?

```release-note
升级依赖 Spring Boot 至 3.5.5
```
2025-08-29 03:28:14 +00:00
John Niang
27c18631e0 Upgrade to Gradle 9.0.0 (#7657)
#### What type of PR is this?

/kind cleanup
/area core
/milestone 2.21.x

#### What this PR does / why we need it:

See https://docs.gradle.org/9.0.0/release-notes.html and https://github.com/gradle/gradle/releases/tag/v9.0.0 for more.

#### Does this PR introduce a user-facing change?

```release-note
升级 Gradle 至 9.0.0
```
2025-08-04 04:04:29 +00:00
John Niang
177cfcc69c Upgrade to Spring Boot 3.5.4 (#7640)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.21.x

#### What this PR does / why we need it:

This PR upgrades to Spring Boot [3.5.4](https://github.com/spring-projects/spring-boot/releases/tag/v3.5.4).

#### Does this PR introduce a user-facing change?

```release-note
升级依赖 Spring Boot 至 3.5.4
```
2025-07-28 02:35:47 +00:00
John Niang
b9806bbcb8 Upgrade dependencies (#7596) 2025-06-27 15:45:42 +08:00
John Niang
86d5cd24e1 Upgrade SpringDoc to 2.8.9 (#7532) 2025-06-10 22:08:30 +08:00
John Niang
d18f37df0a Bump Lucene to 10.2.1 2025-05-26 22:44:51 +08:00
John Niang
fb2fc31cdd Bump Spring Boot to 3.5.0 (#7467)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.21.x

#### What this PR does / why we need it:

This PR bumps Spring Boot to [3.5.0](https://github.com/spring-projects/spring-boot/releases/tag/v3.5.0).

#### Does this PR introduce a user-facing change?

```release-note
升级依赖 Spring Boot 至 3.5.0
```
2025-05-23 04:22:12 +00:00
Ryan Wang
d382b45236 Merge branch 'main' into refactor/libs-versions 2025-05-20 10:07:25 +08:00
John Niang
ba99692174 Upgrade to Gradle 8.14 (#7450) 2025-05-20 10:06:23 +08:00
John Niang
d099acfffa Update dependencies 2025-05-19 16:15:08 +08:00
John Niang
e6f753bb5d Refactor dependencies and plugins with version catelog 2025-05-19 16:05:56 +08:00
John Niang
4eb8ba616b Upgrade to Gradle 8.13 (#7387)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.20.x

#### What this PR does / why we need it:

This PR upgrades Gradle to 8.13.

#### Does this PR introduce a user-facing change?

```release-note
升级构建工具 Gradle 至 8.13
```
2025-04-25 04:37:52 +00:00
John Niang
201afcae31 Upgrade to Gradle 8.11 (#7062)
#### What type of PR is this?

/kind cleanup
/area core

#### What this PR does / why we need it:

This PR upgrades to [Gradle 8.11](https://github.com/gradle/gradle/releases/tag/v8.11.1) because Spring Boot 3.4.0 is using that version.

#### Does this PR introduce a user-facing change?

```release-note
升级至 Gradle 8.11
```
2024-11-22 04:16:12 +00:00
John Niang
1cb8c040c5 Upgrade to Gradle 8.10.2 (#6755)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.20.x

#### What this PR does / why we need it:

This PR upgrades to Gradle 8.10.2 regularly. See https://github.com/gradle/gradle/releases/tag/v8.10.2 for more.

#### Does this PR introduce a user-facing change?

```release-note
升级至 Gradle 8.10.2
```
2024-10-04 06:40:42 +00:00
John Niang
a188f719cb Upgrade to Gradle 8.8 (#6033)
#### What type of PR is this?

/kind cleanup
/area core

#### What this PR does / why we need it:

This PR upgrades Gradle to 8.8. See https://github.com/gradle/gradle/releases/tag/v8.8.0 for more.

#### Does this PR introduce a user-facing change?

```release-note
升级 Gradle 至 8.8
```
2024-06-03 15:05:45 +00:00
John Niang
c7d506c8b5 Upgrade Gradle to 8.6 (#5533)
#### What type of PR is this?

/kind cleanup
/area core

#### What this PR does / why we need it:

Upgrade Gradle to 8.6 by executing command `./gradlew wrapper --gradle-version=8.6` according to <https://github.com/gradle/gradle/releases/tag/v8.6.0>.

#### Does this PR introduce a user-facing change?

```release-note
升级 Gradle 至 8.6
```
2024-03-20 12:32:07 +00:00
John Niang
9963ad359c Upgrade to Gradle 8.4 (#4848)
#### What type of PR is this?

/kind cleanup
/area core
/milestone 2.11.x

#### What this PR does / why we need it:

Upgrade to Gradle 8.4 by executing command `./gradlew wrapper --gradle-version 8.4 --distribution-type all`.

See https://docs.gradle.org/8.4/release-notes.html for more.

#### Does this PR introduce a user-facing change?

```release-note
升级 Gradle 至 8.4
```
2023-11-13 03:06:08 +00:00
John Niang
f7eb0cd522 Upgrade to Gradle 8.0.2 (#3543)
#### What type of PR is this?

/kind cleanup
/area core

#### What this PR does / why we need it:

Upgrade to Gradle 8.0.2 by using command `./gradlew wrapper --gradle-version 8.0.2 --distribution-type bin`.

Recently, we have a plan to restructure our project via Gradle 8, so I upgrade to Gradle 8.0.2 now.

#### Does this PR introduce a user-facing change?

```release-note
None
```
2023-03-21 02:44:27 +00:00
John Niang
062af6fcad Update Spring Boot to 3.0.4 (#3451)
#### What type of PR is this?

/kind improvement
/area core

#### What this PR does / why we need it:

See https://github.com/halo-dev/halo/issues/3450 for more.

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/3450

#### Does this PR introduce a user-facing change?

```release-note
升级 Spring Boot 至 3.0.4
```
2023-03-06 03:44:11 +00:00
guqing
e2843adbe7 Create basic project structure for halo 2.0 (#1699)
* feat: Add project structure

* feat: Add config

* feat: Add flyway migrate config for h2 and mysql and postgresql

* fix: checkstyle config

* chore: Upgrade springboot 2.6 to 3.0.0-m1

* feat: Add spring snapshot url for repositories

* refactor: Change jdk11 to jdk17 for github ci config

* refactor: update build.gradle config
2022-03-04 15:04:11 +08:00
Ryan Wang
641264ba5c chore: clean code for next major version
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-03 11:34:42 +08:00
Ryan Wang
0dff0e9ce5 chore(deps): upgrade to spring boot 2.5.0-RC.1. (#1376) 2021-05-17 20:22:04 +08:00
John Niang
c22348e03a Upgrade spring boot version (#1289)
* Update gradle wrapper version

* Update spring boot version to 2.5.0-M2

* Fix wrong const of temp_dir

* Refactor error controller

* Fix startup error due to theme not found

* Refine error controller handler

* Refine multipart resolver config

* Fix ThemeRepositoryImplTest error

* Fix freemarker not found error

* chore: change jetty to undertow.

* Remove useless throws

Co-authored-by: Ryan Wang <i@ryanc.cc>
2021-03-06 00:58:12 +08:00
John Niang
6fb65d0128 Make more friendly error track (#1191)
* Update gradle wrapper version to 6.6.1

* Upgrade h2 version to 1.4.197

* Make controller log more details

* Refactor FileHandler

* Fix image reader error
2020-12-12 23:47:06 +08:00
John Niang
e16f418167 Refactor extra properties in build.gradle (#719)
* Upgrade gradle version to 6.3

* Upgrade gradle version to 6.3
Refactor extra properties configuration
2020-03-27 13:53:32 +08:00
Ryan Wang
fc989c965c chore: upgrade gradle and dependencies. (#688) 2020-03-17 23:56:24 +08:00
ruibaby
d41d3d8517 Refactor generateThumbnail method. 2019-09-09 12:55:08 +08:00
ruibaby
b27123adf5 Fixed #290 2019-09-08 21:29:25 +08:00
johnniang
08ba24d330 Add git and github test 2019-05-21 23:45:50 +08:00
Ryan Wang
e7bef97f85 Update gradle-wrapper.properties 2019-05-12 22:32:21 +08:00
johnniang
36c8a21af4 Rename output dto to dto 2019-04-23 17:50:36 +08:00
johnniang
49e9d9e842 Change build tool from maven to gradle 2019-04-09 14:48:16 +08:00