Release 4.43.0 (#3784)

This commit is contained in:
Naoki Takezoe
2025-06-29 13:00:21 +09:00
committed by GitHub
parent 001b9ae2ae
commit c99ff1cf0f
4 changed files with 37 additions and 12 deletions

View File

@@ -1,6 +1,23 @@
# Changelog
All changes to the project will be documented in this file.
## 4.43.0 - 29 Jun 2025
- Redirect to the top page if already authenticated at the sign-in page
- Upgrade H2 database from 1.x to 2.x
Note that upgrading from h2 1.x to 2.x requires data file migration: https://www.h2database.com/html/migration-to-v2.html
It can't be done automatically using GitBucket's auto migration mechanism because it relies on database itself. So, users who use h2 will have to dump and recreate their database manually with the following steps:
```
# Export database using the current version of H2
$ curl -O https://repo1.maven.org/maven2/com/h2database/h2/1.4.199/h2-1.4.199.jar
$ java -cp h2-1.4.199.jar org.h2.tools.Script -url "jdbc:h2:~/.gitbucket/data" -user sa -password sa -script dump.sql
# Recreate database using the new version of H2
$ curl -O https://repo1.maven.org/maven2/com/h2database/h2/2.3.232/h2-2.3.232.jar
$ java -cp h2-2.3.232.jar org.h2.tools.RunScript -url "jdbc:h2:~/.gitbucket/data" -user sa -password sa -script dump.sql
```
## 4.42.1 - 20 Jan 2025
- Fix LDAP issue with SSL

View File

@@ -59,16 +59,23 @@ Support
- If you can't find same question and report, send it to our [Gitter room](https://gitter.im/gitbucket/gitbucket) before raising an issue.
- The highest priority of GitBucket is the ease of installation and API compatibility with GitHub, so your feature request might be rejected if they go against those principles.
What's New in 4.42.x
What's New in 4.43.x
-------------
## 4.42.1 - 20 Jan 2025
- Fix LDAP issue with SSL
## 4.43.0 - 29 Jun 2025
- Redirect to the top page if already authenticated at the sign-in page
- Upgrade H2 database from 1.x to 2.x
## 4.42.0 - 30 Dec 2024
- Increase max branch name length 100 -> 255
- Fix some GitHub incompatible Web APIs
- Apply user-defined CSS after all plugins
- Improve performance of listing commit logs
- Drop Java 11 support. Java 17 is now required
Note that upgrading from h2 1.x to 2.x requires data file migration: https://www.h2database.com/html/migration-to-v2.html
See the [change log](CHANGELOG.md) for all of the updates.
It can't be done automatically using GitBucket's auto migration mechanism because it relies on database itself. So, users who use h2 will have to dump and recreate their database manually with the following steps:
```
# Export database using the current version of H2
$ curl -O https://repo1.maven.org/maven2/com/h2database/h2/1.4.199/h2-1.4.199.jar
$ java -cp h2-1.4.199.jar org.h2.tools.Script -url "jdbc:h2:~/.gitbucket/data" -user sa -password sa -script dump.sql
# Recreate database using the new version of H2
$ curl -O https://repo1.maven.org/maven2/com/h2database/h2/2.3.232/h2-2.3.232.jar
$ java -cp h2-2.3.232.jar org.h2.tools.RunScript -url "jdbc:h2:~/.gitbucket/data" -user sa -password sa -script dump.sql
```
See the [change log](CHANGELOG.md) for all the past updates.

View File

@@ -2,7 +2,7 @@ import com.jsuereth.sbtpgp.PgpKeys._
val Organization = "io.github.gitbucket"
val Name = "gitbucket"
val GitBucketVersion = "4.42.1"
val GitBucketVersion = "4.43.0"
val ScalatraVersion = "3.1.2"
val JettyVersion = "10.0.25"
val JgitVersion = "6.10.1.202505221210-r"

View File

@@ -119,7 +119,8 @@ object GitBucketCoreModule
new Version("4.40.0"),
new Version("4.41.0"),
new Version("4.42.0", new LiquibaseMigration("update/gitbucket-core_4.42.xml")),
new Version("4.42.1")
new Version("4.42.1"),
new Version("4.43.0")
) {
java.util.logging.Logger.getLogger("liquibase").setLevel(Level.SEVERE)
}