What's Changed
Exciting New Features 🎉
Jobservice monitor
Add the job service dashboard to monitor and control the job queues/schedules/workers
- Add jobservice monitoring api list pool, worker and stop running task by @stonezdj in #17658
- feat: support customize session timeout by @chlins in #17767
- Add REST API to list job queue status, pause/resume job queue and list schedulers by @stonezdj in #17707
- Add Jobservice UI by @AllForNothing in #17722
Replication by chunk
Support copy over chunk when copying image blobs for harbor replication.
- feat: introduce the copy by chunk for replication by @chlins in #17602
- Add copy_by-chunk checkbox for replication rule by @AllForNothing in #17617
Additional Features
- Add session timeout input by @AllForNothing in #17769
- Add JFrog Artifactory As Supported Proxy-Cache Registry Source by @erismaster in #17738
- Sort group search result by most match order by @stonezdj in #17708
- bump beego by @wy65701436 in #17801
- bump up golang to 1.19.4 by @MinerYang in #17996
Deprecations ❌
- Start the deprecation of Chartmuseum from v2.6.0 and begin to remove in v2.8.0. More details, please refer to the discussion.
- Start the deprecation of Notary(signer&server) from v2.6.0 and begin to remove in v2.8.0. More details, please refer to the discussion.
- Remove email config page by @AllForNothing in #17711
- Remove email configuration by @stonezdj in #17712
- Drop build postgresql 9.6 by @YangJiao0817 in #17458. Because of this change, for those who want to upgrade to v2.7.0, you must first upgrade the version to any of [v2.5.0 ~ v2.6.2] firstly, then upgrade to v2.7.0
Enhancement 🚀
- Fix ui issues found in testing-day-round-2 by @AllForNothing in #17357
- Improve input validator for copy-component by @AllForNothing in #17310
- Improve unit test for sub-accessories component by @AllForNothing in #17372
- Refactor swagger ui by @AllForNothing in #17428
- Add WASM filter for artifacts list by @AllForNothing in #17447
- Fix css issue for resource type filter by @AllForNothing in #17529
- Refactor artifact-list-tab component by @AllForNothing in #17542
- Change ldap.Search to ldap.SearchWithPaging by @stonezdj in #17534
- Refactor artifact-list component by @AllForNothing in #17577
- Simplify proxy config by @AllForNothing in #17548
- Add default project when pulling from dockerhub without project name by @stonezdj in #17537
- Fix ecr authorization token issue by @vincentni in #17645
- Fix redirect url redirect_url when OIDC auth mode is enabled by @tpoxa in #17628
- Update the way for generating new cli secret by @AllForNothing in #17744
- Add JFrog Artifactory As Supported Proxy-Cache Registry Source by @erismaster in #17738
- Improve css for tags column by @AllForNothing in #17734
- Add OIDC group filter input by @AllForNothing in #17752
- Add OIDC group filter by @stonezdj in #17736
- Migrate policy API calls to generated service by @AllForNothing in #17782
- Sort group search result by most match order by @stonezdj in #17708
- Add auto-assignee for new PRs by @OrlinVasilev in #17753
- Update cve export UI by @AllForNothing in #17814
- add parameters for PostgreSQL by @sayaoailun in #16641
Component updates ⬆️
- fix cve allowlist projectmeta validation by @elenz97 in #15800
- Fix null pointer issue for creating reolication rule by @AllForNothing in #17274
- fix: oidc token is not respected in /service/token endpoint by @tmaroschik in #16442
- upgrade: bump up beego to 1.12.11 by @chlins in #17277
- feature: Use RegisteredClaims instead of deprecated staruct StandardClaims by @wujunwei in #16206
- Upgrade Angular dev-tool package by @AllForNothing in #17287
- Return time.Time{} when cron string is empty by @stonezdj in #17289
- update image extra attributes author in labels by @MinerYang in #17291
- bumpup golang to v1.18.5 by @MinerYang in #17307
- fix copy artifact accessory quota issue by @wy65701436 in #17293
- fix: reduce the high db cpu usage for tag retention by @chlins in #17296
- fix: replication webhook lost when src namespace different with dest by @chlins in #17312
- _version:2.6.0 correction in migration yml jinja by @MinerYang in #17328
- enhancement: add error log for create task by @chlins in #17397
- Update to latest version of angular by @mrbusche in #17303
- upgrade: bump up mockery to v2.14.0 by @chlins in #17415
- Update portal-base and nginx-base Dockerfile.base by @YangJiao0817 in #17442
- Change title for Swagger UI by @AllForNothing in #17451
- Remove preload for theme css files by @AllForNothing in #17468
- Correct i18n key for zh-cn-lang.json by @AllForNothing in #17457
- fix: handle the break change for parse external sentinel redis url by @chlins in #17501
- Fix cross account issue by @vincentni in #17533
- Add check on the audit log forward and skip audit log database by @stonezdj in #17575
- Drop build postgresql 9.6 by @YangJiao0817 in #17458
- Bump up golang version to v1.19 by @MinerYang in #17588
- Refresh config every time entering the configuration page by @AllForNothing in #17600
- Improve auth check guard service by @AllForNothing in #17605
- Fix message processing issue by @AllForNothing in #17609
- Bump actions/stale from 5.0.0 to 6.0.1 by @dependabot in #17638
- Bump codecov/codecov-action from 1 to 3 by @dependabot in #17640
- Remove validator for username claim input by @AllForNothing in #17663
- Bump actions/checkout from 2 to 3 by @dependabot in #17660
- Bump actions/setup-node from 1 to 3 by @dependabot in #17641
- Bump github/codeql-action from 1 to 2 by @dependabot in #17639
- feat: bump TRIVYVERSION to v0.32.1 and bump TRIVYADAPTERVERSION to v0.30.2 by @zyyw in #17681
- bump up golang to 1.19.2 by @MinerYang in #17694
- bump up helm.sh/helm/v3 by @MinerYang in #17698
- bump up golang.org/x/text to v0.4.0 by @MinerYang in #17689
- Add check when adding project member by @stonezdj in #17701
- feat: log completion message when database migrated by @chlins in #17684
- bump up github.com/prometheus/client_golang to v1.13.0 by @MinerYang in #17688
- fix: add human friendly message when export cve job failure by @chlins in #17726
- Bump mheap/github-action-required-labels from 1 to 2 by @dependabot in #17682
- bump up golang.org/x/crypto to v0.1.0 by @MinerYang in #17691
- Add triggers and filters check for target changing under push mode by @AllForNothing in #17731
- add cli randomly for empty update by @wy65701436 in #17740
- bump up golang to 1.19.3 by @MinerYang in #17751
- feat: support customize registry http client timeout by @chlins in #17768
- Fix permission issue for edit button of repo info by @AllForNothing in #17775
- fix permission denied error for non existing projects (#17586) by @tpoxa in #17619
- fix: pre check notification enable for artifact webhook by @chlins in #17779
- Replaced io/ioutil with \os / io\ package. by @yanggangtony in #17792
- fix: skip to push system artifact for empty CSV file by @chlins in #17816
- Fix issue related to redhat registry proxy cache by @stonezdj in #17789
- Updated German Translation by @sluetze in #17829
- add migration script for 2.7 by @MinerYang in #17838
- Update English text for job service UI by @AllForNothing in #17832
- bump beego by @wy65701436 in #17801
- Update schedule list by @AllForNothing in #17851
- Update i18n for group filter and schedule list by @AllForNothing in #17884
- Update jobservice dashboard UI by @AllForNothing in #17894
- Change inputs type from text to number by @AllForNothing in #17897
- update system artifact schedult timeout by @wy65701436 in #17902
- fix: align some configuration api fields validation with frontend by @chlins in #17903
- Refresh base images by @YangJiao0817 in #17907
- bump up golang.org/x/net to v0.2.0 by @MinerYang in #17909
- remove artifact_blob with aritfact deletion by @wy65701436 in #17938
- remove the redundant data from table artifact_blob by @wy65701436 in #17959
- (cherry-pick) Update the log information in proxy cache by @stonezdj in #17945
- (cherry-pick) Avoid internal error in the UI when reset a schedule by @stonezdj in #17960
- [Cherry-pick]Fix some UI issues by @AllForNothing in #17965
- [Cherry-pick] fix: upgrade trivy version to v0.35.0 and trivy-adapter version to v0.30.3 by @zyyw in #17977
- Bump up golang 1.19.4 for release 2.7.0 by @MinerYang in #17996
Other Changes
- Add purge audit log API test cases by @YangJiao0817 in #17175
- Update replication and trivy testcases by @YangJiao0817 in #17367
- Add audit log and log rotation test cases by @YangJiao0817 in #17465
- Remove the log in testcase by @YangJiao0817 in #17500
- Update filter label xpath by @YangJiao0817 in #17585
- Add audit log forword API test case by @YangJiao0817 in #17589
- Add audit log forward UI testcase by @YangJiao0817 in #17591
- Add dependabot.yaml to enable PRs by @OrlinVasilev in #17620
- Add scan data export API test case by @YangJiao0817 in #17603
- Remove singularity testcase by @YangJiao0817 in #17664
- Add labeling for dependa bot PRs by @OrlinVasilev in #17662
- Add export CVE UI testcase by @YangJiao0817 in #17672
- Bump docker-practice/actions-setup-docker from 0.0.1 to 1.0.11 by @dependabot in #17661
- test: use
T.Setenv
to set env vars in tests by @Juneezee in #17670 - Add FOSSA badge and licence analysis by @OrlinVasilev in #17656
- Remove email config testcases by @YangJiao0817 in #17763
- Update e2e engine image by @YangJiao0817 in #17793
- Add metrics test case by @YangJiao0817 in #17795
- Modify audit log forward test case by @YangJiao0817 in #17780
- Fix setup gcloud error by @YangJiao0817 in #17847
- add new workflow for nightly image scan by @akhilerm in #17818
- Refresh the base images by @YangJiao0817 in #17963
- Refresh base images on release-2.7.0 by @YangJiao0817 in #17988
New Contributors
- @tmaroschik made their first contribution in #16442
- @wujunwei made their first contribution in #16206
- @lengrongfu made their first contribution in #17306
- @mrbusche made their first contribution in #17303
- @vincentni made their first contribution in #17533
- @gaius-qi made their first contribution in #17581
- @Juneezee made their first contribution in #17670
- @94rain made their first contribution in #17718
- @erismaster made their first contribution in #17738
- @yanggangtony made their first contribution in #17792
- @akhilerm made their first contribution in #17818
- @sayaoailun made their first contribution in #16641
Full Changelog: v2.6.0...v2.7.0-rc2