|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "GitBucket 4.42.0 released!" |
| 4 | +date: 2024-12-30 00:00:00 |
| 5 | +image: /images/gitbucket-4.42.0/pull-request-creation-error.png |
| 6 | +categories: gitbucket |
| 7 | +--- |
| 8 | + |
| 9 | +Today, we are pleased to announce the availability of new version of Scala based self-hosting Git server [GitBucket 4.42.0](https://github.com/gitbucket/gitbucket/releases/tag/4.42.0)! |
| 10 | + |
| 11 | +Here are major changes in this version. |
| 12 | + |
| 13 | +## Increase max branch name length 100 -> 255 |
| 14 | + |
| 15 | +While Git accepts long branch names, GitBucket has its own max branch name length limit when creating pull request and configurating branch protection. |
| 16 | + |
| 17 | +Until the previous version, the max length was 100 chars but it's now 255 chars. In addition, error message is properly shown in the pull request creation form when pull request can't be created. |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +## Fix some GitHub incompatible Web APIs |
| 22 | + |
| 23 | +Fixed response of list-repository-tags API and payload of webhook which were not compatible with GitHub. |
| 24 | + |
| 25 | +## Apply user-defined CSS after all plugins |
| 26 | + |
| 27 | +Some plugins insert CSS dynamically using JavaScript and it's can override user-defined CSS. |
| 28 | + |
| 29 | +In this version, user-defined CSS is applied after plugin's JavaScript to prevent overriding by plugins. |
| 30 | + |
| 31 | +## Improve performance of listing commit logs |
| 32 | + |
| 33 | +Improve GitBucket's internal implementation which would gain the performance of listing commit logs in many places in GitBucket when the target repository has many commits. |
| 34 | + |
| 35 | +Even when pushing a branch, GitBucket intenally lists existing commits to identify new commits. The performance of this kind of processes would be also improved. |
| 36 | + |
| 37 | +This release also includes some bugfixes, improvements, and internal library updates. See all closed issues in [4.42.0](https://github.com/gitbucket/gitbucket/issues?q=is%3Aclosed+milestone%3A4.42.0) to know details. |
| 38 | + |
| 39 | +Enjoy GitBucket! |
0 commit comments