Releases: goharbor/harbor
v2.8.4
Known issue
- There's a known issue #19320 that occurs when running harbor.yml migrate script with the specific
storage_service.redirect.disable
configuration. Impact version would be Harbor v2.8 and v2.9, for example migrate from v2.7.X to v2.8.Y or v2.7.X to v2.9.Z. Please refer to this comment as a workaround.
What's Changed
Component updates ⬆️
- [cherry-pick]fix accessory import issue by @wy65701436 in #19058
- fix: bump up TRIVYVERSION=v0.44.0 and TRIVYADAPTERVERSION=v0.30.15 by @zyyw in #19088
- [Cherry-pick]Convert the string "0" to number 0 by @AllForNothing in #19081
- [cherry-pick] fix: fix replication list projects with pure numberic name by @chlins in #19092
- bump go 1.20.7 && install git for p4 base golang image by @MinerYang in #19138
- [cherry-pick] chore: fix incorrect otel timeout in harbor yaml template by @chlins in #19122
- [cherry-pick] refactor: migrate the redis command keys to scan by @chlins in #19147
- fix: support customize cache db for business by @chlins in #19184
Other Changes
- [cherry-pick]Bump up setup-gcloud to 430.0.0 by @YangJiao0817 in #19117
Full Changelog: v2.8.3...v2.8.4
v2.8.4-rc1
Known issue
- There's a known issue #19320 that occurs when running harbor.yml migrate script with the specific
storage_service.redirect.disable
configuration. Impact version would be Harbor v2.8 and v2.9, for example migrate from v2.7.X to v2.8.Y or v2.7.X to v2.9.Z. Please refer to this comment as a workaround.
What's Changed
Component updates ⬆️
- [cherry-pick]fix accessory import issue by @wy65701436 in #19058
- fix: bump up TRIVYVERSION=v0.44.0 and TRIVYADAPTERVERSION=v0.30.15 by @zyyw in #19088
- [Cherry-pick]Convert the string �\ to number 0 by @AllForNothing in #19081
- [cherry-pick] fix: fix replication list projects with pure numberic name by @chlins in #19092
- bump go 1.20.7 && install git for p4 base golang image by @MinerYang in #19138
- [cherry-pick] chore: fix incorrect otel timeout in harbor yaml template by @chlins in #19122
- [cherry-pick] refactor: migrate the redis command keys to scan by @chlins in #19147
- fix: support customize cache db for business by @chlins in #19184
Other Changes
- [cherry-pick]Bump up setup-gcloud to 430.0.0 by @YangJiao0817 in #19117
Full Changelog: v2.8.3...v2.8.4-rc1
v2.9.0-rc1
Known issue
- There's a known issue #19320 that occurs when running harbor.yml migrate script with the specific
storage_service.redirect.disable
configuration. Impact version would be Harbor v2.8 and v2.9, for example migrate from v2.7.X to v2.8.Y or v2.7.X to v2.9.Z. Please refer to this comment as a workaround.
What's Changed
Exciting New Features 🎉
Security Hub
Admin users can now access valuable security insights, which including the number of scanned and unscanned artifacts, identification of dangerous artifacts and CVEs and advanced search capabilities for vulnerabilities using multiple combined conditions.
- Add Security Hub UI by @AllForNothing in #18942
- Update table scan_report and extract cvss_v3_score from vendor attribute by @stonezdj in #18854
- Add vulnerability search API by @stonezdj in #18924
- Add security hub summary API by @stonezdj in #18872
- Create index in vulnerability_record table by @stonezdj in #18949
GC Enhancements
Improved visibility with detailed GC execution history and enable parallel deletion for faster GC triggers.
- Add worker parameter for GC by @AllForNothing in #18882
- add more details in gc history by @wy65701436 in #18779
- add multiple deletion of GC by @wy65701436 in #18855
Supporting OCI Distribution Spec v1.1.0-rc2
Harbor now supports OCI Distribution Spec v1.1.0-rc2 and added support for Notation signature and Nydus conversion as referrers.
- support OCI-Subject header by @wy65701436 in #18885
- add notation support by @wy65701436 in #18909
- enable notary v2 policy checker by @wy65701436 in #18927
- Add Notation UI for deployment security by @AllForNothing in #18952
- support nydus as a accessory by @wy65701436 in #18953
Additional Features
Customized banner message
Admins can now set a customized banner message displayed on top of Harbor web pages.
- Add costomized banner message UI by @AllForNothing in #18827
Quota Update Provider
Introduced a new mechanism utilizing Redis for optimistic locking during quota updates when pushing images. Refer to the documentation at https://github.com/goharbor/perf/wiki/Quota-Update for instructions on enabling and utilizing this feature.
- feat: Optimize quota checking when pushing images by @lengrongfu in #17392
- perf: introduce update quota by redis by @chlins in #18871
- feat: add the configuration for quota update provider by @chlins in #18928
Deprecations ❌
Removal of Notary
Starting with version v2.9.0, Harbor no longer includes Notary in either the user interface or the backend.
- Remove notary test cases by @YangJiao0817 in #18620
- Remove notary UI by @AllForNothing in #18666
- remove the notary from backend by @wy65701436 in #18668
Enhancement 🚀
- Fix message prompt under the header by @AllForNothing in #18613
- fix: improve the performance of list artifacts by @chlins in #18610
- Improve repo_read_only header on the UI by @AllForNothing in #18729
- Add a text to explain the time window for GC by @AllForNothing in #18735
- Add a tooltip for slack notification by @AllForNothing in #18787
- 【UT】add unit test for collector system info by @lengrongfu in #18717
- Add Details column for gc history by @AllForNothing in #18797
- Add Podman push command to the UI by @AllForNothing in #18810
- Add new client Podman to the pull command by @AllForNothing in #18857
Component updates ⬆️
- fix: fix error bitsize of jobservice reaper scan locks by @chlins in #18487
- bump golang 1.20.3 on main by @MinerYang in #18492
- feat: update TRIVYVERSION=v0.39.0 & TRIVYADAPTERVERSION=v0.30.10 by @zyyw in #18501
- Reword quota definitions based on user input by @OrlinVasilev in #18512
- Synchronize text modification of quota tooltip to all the i18n files by @AllForNothing in #18518
- GC: correctly handle manifest unknown (404) condition in v2DeleteManifest retry loop by @dkulchinsky in #18386
- Change the permissions of the *.go file from 0755 to 0644 by @Iceber in #17919
- feat: log with trace ID by @pgillich in #18181
- Fix typos in common.sh by @Maxi-Mega in #18151
- bump golang.org/x/net && helm.sh/helm/v3 on main by @MinerYang in #18545
- Update position to vertical-align for copy button by @AllForNothing in #18563
- Add missing i18n key-value for helm chart by @AllForNothing in #18578
- Allow redis password using safe special characters by @MinerYang in #18566
- add goheader linter settings by @MinerYang in #18503
- fix: link to Github's rate limiting documentation. by @perjahn in #18588
- fix: error log use wrong variable err by @dyf991645 in #18602
- Upgrade the internal PostgreSQL to 14 in 2.9.0 by @YangJiao0817 in #18612
- Improve zh-tw (Traditional Chinese) locale by @PeterDaveHello in #18608
- bump golang 1.20.4 on main by @MinerYang in #18647
- fix: sweep executions of image scan job by @chlins in #18649
- fix: cherry pick the migration sql by @chlins in #18644
- chore: replace
github.com/ghodss/yaml
withsigs.k8s.io/yaml
by @Juneezee in #18606 - Bump kentaro-m/auto-assign-action from 1.2.4 to 1.2.5 by @dependabot in #18263
- Changed logic search projects in gitlab adapter by @lxShaDoWxl in #18529
- bump up github.com/distribution/distribution v2.8.2 by @MinerYang in #18687
- fix: add retry on the caller of v2DeleteManifest instead within v2DeleteManifest by @zyyw in #18662
- Fix the channel that never receives a value by @iAklis in #18139
- Use subtle.ConstantTimeCompare instead of compare directly by @stonezdj in #18697
- Upgrade Angular and Clarity to the latest version by @AllForNothing in #18709
- chore: bump registry release to 2.8.2 by @davidspek in #18685
- Add support for TLSv1.3 in nginx configurations by @malmor in #18659
- set tag pull time for proxy cache by @wy65701436 in #18731
- http2 enabled and ciphers changed to get an A+ rating instead of B fr… by @mcsage in #16990
- Return error when proxy cache get too many request error(429) by @stonezdj in #18728
- 【optimization】Use URL.Redacted method repleace redacted by @lengrongfu in #18716
- Fix syntax errors in comments by @lishaokai1995 in #18746
- add strong_ssl_ciphers for nginx https jinja template by @MinerYang in #18748
- fix: import optimization by @testwill in #18727
- fix invalid access action by @orblazer in #18188
- Fix: fix function name in comments by @cuishuang in #18726
- fix: clean up scan executions and reports after deleting artifact by @chlins in #18693
- Remove wrong format for boolean value in api definition by @sll552 in #18783
- fix: add checkpoint when enqueue scan tasks for scan all by @chlins in #18680
- Update/improve grafana dashboard by @mac-chaffee in #16661
- fix: optimize the mechanism of quota refresh by @chlins in #18795
- Update the text for the oidc cli secret tooltip by @AllForNothing in https://gith...
v2.8.3
Known issue
- There's a known issue #19320 that occurs when running harbor.yml migrate script with the specific
storage_service.redirect.disable
configuration. Impact version would be Harbor v2.8 and v2.9, for example migrate from v2.7.X to v2.8.Y or v2.7.X to v2.9.Z. Please refer to this comment as a workaround.
What's Changed
Component updates ⬆️
- Changed logic search projects in gitlab adapter for 2.8.0 by @lxShaDoWxl in #18785
- [cherry-pick][2.8] fix: add retry on the caller of v2DeleteManifest instead within v2DeleteManifest by @dkulchinsky in #18803
- [Cherry-pick] fix: bump-up TRIVYVERSION=v0.43.0 and TRIVYADAPTERVERSION=v0.30.14 by @zyyw in #18994
- bump golang1.20.6 on release-2.8.0& build golang based on photon by @MinerYang in #18990
Other Changes
- [cherry-pick]Add replication by chunk testcase by @YangJiao0817 in #18903
- [cherry-pick]Add CloudEvents format webhook testcase by @YangJiao0817 in #18907
- [cherry-pick]Add OIDC filter group testcase by @YangJiao0817 in #18915
- Refresh base images on 2.8 by @YangJiao0817 in #18961
- [cherry-pick]Fix APITEST_DB_PROXY_CACHE x509 by @YangJiao0817 in #18979
- Bump up version to v2.8.3 by @YangJiao0817 in #19007
Full Changelog: v2.8.2...v2.8.3
v2.8.3-rc1
Known issue
- There's a known issue #19320 that occurs when running harbor.yml migrate script with the specific
storage_service.redirect.disable
configuration. Impact version would be Harbor v2.8 and v2.9, for example migrate from v2.7.X to v2.8.Y or v2.7.X to v2.9.Z. Please refer to this comment as a workaround.
What's Changed
Component updates ⬆️
- Changed logic search projects in gitlab adapter for 2.8.0 by @lxShaDoWxl in #18785
- [cherry-pick][2.8] fix: add retry on the caller of v2DeleteManifest instead within v2DeleteManifest by @dkulchinsky in #18803
- [Cherry-pick] fix: bump-up TRIVYVERSION=v0.43.0 and TRIVYADAPTERVERSION=v0.30.14 by @zyyw in #18994
- bump golang1.20.6 on release-2.8.0& build golang based on photon by @MinerYang in #18990
Other Changes
- [cherry-pick]Add replication by chunk testcase by @YangJiao0817 in #18903
- [cherry-pick]Add CloudEvents format webhook testcase by @YangJiao0817 in #18907
- [cherry-pick]Add OIDC filter group testcase by @YangJiao0817 in #18915
- Refresh base images on 2.8 by @YangJiao0817 in #18961
- [cherry-pick]Fix APITEST_DB_PROXY_CACHE x509 by @YangJiao0817 in #18979
- Bump up version to v2.8.3 by @YangJiao0817 in #19007
Full Changelog: v2.8.2...v2.8.3-rc1
v2.8.2
Known issue
- In version v2.8.0-v2.8.2, please refrain from using the EXTERNAL REDIS USERNAME (ACL AUTH) due to issue-18892. So if you care about the registry performance, please follow the FAQ guidance to set up your Redis server that allow you to bypass this limitation, otherwise you could just ignore it.
- There's a known issue #19320 that occurs when running harbor.yml migrate script with the specific
storage_service.redirect.disable
configuration. Impact version would be Harbor v2.8 and v2.9, for example migrate from v2.7.X to v2.8.Y or v2.7.X to v2.9.Z. Please refer to this comment as a workaround.
What's Changed
Component updates ⬆️
- (cherry-pick) Use subtle.ConstantTimeCompare instead of compare directly by @stonezdj in #18712
- set tag pull time for proxy cache by @wy65701436 in #18741
- (cherry-pick) Return error when proxy cache get too many request error(429) by @stonezdj in #18750
- bump up distribution to v2.8.2 on release-2.8.0 by @MinerYang in #18769
- fix: update TRIVYVERSION=v0.42.0 & TRIVYADAPTERVERSION=v0.30.12 by @zyyw in #18782
Other Changes
- [cherry-pick]Fix setup-gcloud fails when building package by @YangJiao0817 in #18683
- [cherry-pick]Add Retain image last pull time API test case by @YangJiao0817 in #18691
- [cherry-pick]Add Retain image last pull time UI test case by @YangJiao0817 in #18696
- [cherry-pick]Update e2e engine image by @YangJiao0817 in #18749
- Bump up version to v2.8.2 by @YangJiao0817 in #18768
- [cherry-pick]Add Referrers API testcase by @YangJiao0817 in #18776
Full Changelog: v2.8.1...v2.8.2
v2.8.2-rc1
Known issue
- In version v2.8.0-v2.8.2, please refrain from using the EXTERNAL REDIS USERNAME (ACL AUTH) due to issue-18892. So if you care about the registry performance, please follow the FAQ guidance to set up your Redis server that allow you to bypass this limitation, otherwise you could just ignore it.
- There's a known issue #19320 that occurs when running harbor.yml migrate script with the specific
storage_service.redirect.disable
configuration. Impact version would be Harbor v2.8 and v2.9, for example migrate from v2.7.X to v2.8.Y or v2.7.X to v2.9.Z. Please refer to this comment as a workaround.
What's Changed
Component updates ⬆️
- (cherry-pick) Use subtle.ConstantTimeCompare instead of compare directly by @stonezdj in #18712
- set tag pull time for proxy cache by @wy65701436 in #18741
- (cherry-pick) Return error when proxy cache get too many request error(429) by @stonezdj in #18750
- bump up distribution to v2.8.2 on release-2.8.0 by @MinerYang in #18769
- fix: update TRIVYVERSION=v0.42.0 & TRIVYADAPTERVERSION=v0.30.12 by @zyyw in #18782
Other Changes
- [cherry-pick]Fix setup-gcloud fails when building package by @YangJiao0817 in #18683
- [cherry-pick]Add Retain image last pull time API test case by @YangJiao0817 in #18691
- [cherry-pick]Add Retain image last pull time UI test case by @YangJiao0817 in #18696
- [cherry-pick]Update e2e engine image by @YangJiao0817 in #18749
- Bump up version to v2.8.2 by @YangJiao0817 in #18768
- [cherry-pick]Add Referrers API testcase by @YangJiao0817 in #18776
Full Changelog: v2.8.1...v2.8.2-rc1
v1.10.18
Harbor v1.10.18 Upgrade to Harbor v2.x.x Considerations
Internal Database Change
- If you are upgrading from Harbor v1.10.18 to Harbor v2.x.x and using an internal database, please be aware of the following issue: Issue #19368.
- This issue arises due to differences in the database directory path between Harbor v1.10.18 and Harbor v2.1.x or Harbor v2.2.x.
Internal Redis Cleanup
- If your Harbor using an internal Redis, it is essential to perform Redis RDB (Redis Database) cleanup first.
- The path to the Redis RDB is
${data}/redis/
. - This is because the Redis version in Harbor v1.10.18 is 7.0, whereas the Redis version in Harbor v2.3.x is 6.0, resulting in an incompatibility with Redis RDB.
Upgrading from Harbor v1.10.18 to Harbor v2.3.x
- To successfully upgrade from Harbor v1.10.18 to Harbor v2.3.x, follow the steps mentioned above.
What's Changed
- Bump up photon version to 4.0 on release-1.10.0 by @YangJiao0817 in #18302
- Bump up version to v1.10.18 by @YangJiao0817 in #18577
- [Cherry-pick]Replace python script with node script for portal Dockerfile by @AllForNothing in #18641
- (cherry-pick) Use subtle.ConstantTimeCompare instead of compare directly by @stonezdj in #18710
Full Changelog: v1.10.17...v1.10.18
v2.8.1
Known issue
- In version v2.8.0-v2.8.2, please refrain from using the EXTERNAL REDIS USERNAME (ACL AUTH) due to issue-18892. So if you care about the registry performance, please follow the FAQ guidance to set up your Redis server that allow you to bypass this limitation, otherwise you could just ignore it.
- There's a known issue #19320 that occurs when running harbor.yml migrate script with the specific
storage_service.redirect.disable
configuration. Impact version would be Harbor v2.8 and v2.9, for example migrate from v2.7.X to v2.8.Y or v2.7.X to v2.9.Z. Please refer to this comment as a workaround.
What's Changed
Component updates ⬆️
- bump golang.org/x/net && helm.sh/helm/v3 on release-2.8.0 by @MinerYang in #18546
- [Cherry-pick]Add missing i18n key-value for helm chart by @AllForNothing in #18579
- [cherry-pick]allow redis password safe special characters on release-2.8.0 by @MinerYang in #18587
- fix: update TRIVYVERSION=v0.40.0 & TRIVYADAPTERVERSION=v0.30.11 by @zyyw in #18622
- [cherry-pick] fix: improve the performance of list artifacts by @chlins in #18639
- bump golang 1.20.4 on release-2.8.0 by @MinerYang in #18648
Other Changes
- [cherry-pick]Add Job Service Dashboard Schedules testcase by @YangJiao0817 in #18557
- [cherry-pick]Fix setup docker error by @YangJiao0817 in #18584
- [cherry-pick]Add Job Service Dashboard Workers testcase by @YangJiao0817 in #18581
- Refresh base images on release-2.8.0 by @YangJiao0817 in #18655
- Bump up version to v2.8.1 by @YangJiao0817 in #18657
Full Changelog: v2.8.0...v2.8.1
v2.8.1-rc1
Known issue
- In version v2.8.0-v2.8.2, please refrain from using the EXTERNAL REDIS USERNAME (ACL AUTH) due to issue-18892. So if you care about the registry performance, please follow the FAQ guidance to set up your Redis server that allow you to bypass this limitation, otherwise you could just ignore it.
- There's a known issue #19320 that occurs when running harbor.yml migrate script with the specific
storage_service.redirect.disable
configuration. Impact version would be Harbor v2.8 and v2.9, for example migrate from v2.7.X to v2.8.Y or v2.7.X to v2.9.Z. Please refer to this comment as a workaround.
What's Changed
Component updates ⬆️
- bump golang.org/x/net && helm.sh/helm/v3 on release-2.8.0 by @MinerYang in #18546
- [Cherry-pick]Add missing i18n key-value for helm chart by @AllForNothing in #18579
- [cherry-pick]allow redis password safe special characters on release-2.8.0 by @MinerYang in #18587
- fix: update TRIVYVERSION=v0.40.0 & TRIVYADAPTERVERSION=v0.30.11 by @zyyw in #18622
- [cherry-pick] fix: improve the performance of list artifacts by @chlins in #18639
- bump golang 1.20.4 on release-2.8.0 by @MinerYang in #18648
Other Changes
- [cherry-pick]Add Job Service Dashboard Schedules testcase by @YangJiao0817 in #18557
- [cherry-pick]Fix setup docker error by @YangJiao0817 in #18584
- [cherry-pick]Add Job Service Dashboard Workers testcase by @YangJiao0817 in #18581
- Refresh base images on release-2.8.0 by @YangJiao0817 in #18655
- Bump up version to v2.8.1 by @YangJiao0817 in #18657
Full Changelog: v2.8.0...v2.8.1-rc1