diff --git a/CHANGELOG/en/CHANGELOG-3.1.md b/CHANGELOG/en/CHANGELOG-3.1.md index 2277cf869d23..93a6ece84c69 100644 --- a/CHANGELOG/en/CHANGELOG-3.1.md +++ b/CHANGELOG/en/CHANGELOG-3.1.md @@ -1,4 +1,7 @@ +- [v3.1.0](#v310) + - [Changelog since v3.0.0](#changelog-since-v300) + - [v3.1.0-rc.3](#v310-rc3) - [Changelog since v3.1.0-rc.2](#changelog-since-v310-rc2) @@ -13,6 +16,360 @@ +# v3.1.0 +## 2025-01-08 +### Changelog since v3.0.0 +#### New + +##### Pipeline +- [New] feat: Export pipeline function optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11304) +- [New] feat: Recommended version number template optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11186) +- [New] feat: Git branch/Tag and Svn branch/Tag type variable optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/10774) +- [New] Plugin configuration supports linkage between fields [link](http://github.com/TencentBlueKing/bk-ci/issues/11251) +- [New] feat: Optimize PUSH event pre-matching logic [link](http://github.com/TencentBlueKing/bk-ci/issues/11317) +- [New] AI big model integration [link](http://github.com/TencentBlueKing/bk-ci/issues/10825) +- [New] feat: copilot editor supports login-free [link](http://github.com/TencentBlueKing/bk-ci/issues/11290) +- [New] feat: Project settings support administrators to configure the naming conventions of pipelines under the project [link](http://github.com/TencentBlueKing/bk-ci/issues/11057) +- [New] feat: Support setting tags when creating pipelines [link](http://github.com/TencentBlueKing/bk-ci/issues/11055) +- [New] feat: Pipeline variable syntax supports two styles [link](http://github.com/TencentBlueKing/bk-ci/issues/10576) +- [New] [bugfix] okhttp3 Response not closing actively may cause potential memory leak [link](http://github.com/TencentBlueKing/bk-ci/issues/11234) +- [New] Pipeline plugin development custom UI hopes to get the jobid attribute of the container [link](http://github.com/TencentBlueKing/bk-ci/issues/11197) +- [New] [Blue Shield - Reviewed by the Review Committee] [PAC] feat: Pipeline version management mechanism [link](http://github.com/TencentBlueKing/bk-ci/issues/8161) +- [New] [Blue Shield - Reviewed by the Review Committee] [PAC] feat: Create/edit pipelines to support arranging pipelines in Code [link](http://github.com/TencentBlueKing/bk-ci/issues/8125) +- [New] feat: Optimize the editing of drop-down type variable options [link](http://github.com/TencentBlueKing/bk-ci/issues/10747) +- [New] feat: Remove CI administrator related information from pipeline group management [link](http://github.com/TencentBlueKing/bk-ci/issues/11165) +- [New] feat: Custom trigger control callback of trigger adds event type [link](http://github.com/TencentBlueKing/bk-ci/issues/11196) +- [New] feat: When the pipeline runs concurrently, support limiting the number of concurrent calls and queuing [link](http://github.com/TencentBlueKing/bk-ci/issues/10718) +- [New] feat: Recommended version number optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/10958) +- [New] feat: Pipeline trigger history supports searching by trigger results [ link ](http://github.com/TencentBlueKing/bk-ci/issues/11006) +- [New] Added a build details view configuration item. When you click a plugin in the build details interface, the default page you enter is the log or configuration tab page. [Link](http://github.com/TencentBlueKing/bk-ci/issues/10808) +- [New] feat: Runtime check whether the authority of the delegate has expired [link](http://github.com/TencentBlueKing/bk-ci/issues/10478) +- [New] feat: When queuing in a mutually exclusive job group, the queue length supports up to 50 [link](http://github.com/TencentBlueKing/bk-ci/issues/10975) +- [New] feat: pipeline list, add label display [link](http://github.com/TencentBlueKing/bk-ci/issues/11054) +- [New] feat: Community version pipeline completion notification, support notification group [link](http://github.com/TencentBlueKing/bk-ci/issues/10976) +- [New] feat: Trigger event replay operation permission control [link](http://github.com/TencentBlueKing/bk-ci/issues/11052) +- [New] feat: Execution triggered by sub-pipeline call, supports retry [link](http://github.com/TencentBlueKing/bk-ci/issues/11015) +- [New] feat: stage review supports checklist confirmation scenarios [link](http://github.com/TencentBlueKing/bk-ci/issues/10920) +- [New] feat: "Execute when all parameters meet the conditions" and "Do not execute when all parameters meet the conditions" in UI mode are converted to Code optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/10930) +- [New] feat: Support pipeline indicator monitoring [link](http://github.com/TencentBlueKing/bk-ci/issues/9860) +- [New] feat: Engine and other MQ scenarios are connected to the SCS framework [link](http://github.com/TencentBlueKing/bk-ci/issues/7443) +- [New] Enrich the audit function of pipeline-stage admission, support configuring roles or user groups as auditors [link](http://github.com/TencentBlueKing/bk-ci/issues/10689) +- [New] feat: MR event trigger support WIP [link](http://github.com/TencentBlueKing/bk-ci/issues/10683) +- [New] [PAC] feat: Draft version UI display [link](http://github.com/TencentBlueKing/bk-ci/issues/9861) + +##### Code Repository +- [New] feat: Worker bee MR trigger adds action=edit [link](http://github.com/TencentBlueKing/bk-ci/issues/11024) +- [New] feat: Support managing my OAUTH [link](http://github.com/TencentBlueKing/bk-ci/issues/10995) +- [New] feat: Add build interface for obtaining worker bees and github oauth url [link](http://github.com/TencentBlueKing/bk-ci/issues/10826) + +##### Store +- [New] feat: Support obtaining parent task ID in Post action [link](http://github.com/TencentBlueKing/bk-ci/issues/10968) +- [New] feat:java plugin supports running in a specified java environment [link](http://github.com/TencentBlueKing/bk-ci/issues/10978) +- [New] feat: Add default public plugin display to the plugin list in the plugin management menu [ link ](http://github.com/TencentBlueKing/bk-ci/issues/10472) +- [New] feat: Whether the sdk-related API is displayed in the application list and supports configurability [link](http://github.com/TencentBlueKing/bk-ci/issues/10840) + +##### Environmental Management +- [New] feat: Environment management optimization changes [link](http://github.com/TencentBlueKing/bk-ci/issues/11003) + +##### Log Service +- [New] When accessing the pipeline search log, the search bar above will disappear when querying the search log in the full-screen browser [link](http://github.com/TencentBlueKing/bk-ci/issues/11118) +- [New] [feat] Archive plugin logs 10w+ into a compressed package [link](http://github.com/TencentBlueKing/bk-ci/issues/11183) +- [New] Pipeline log supports AI repair [link](http://github.com/TencentBlueKing/bk-ci/issues/10913) + +###### Permission Center +- [New] feat: Optimized user personal perspective permission management [link](http://github.com/TencentBlueKing/bk-ci/issues/11138) +- [New] feat: Provide openapi interface related to project management [link](http://github.com/TencentBlueKing/bk-ci/issues/11231) +- [New] feat: Optimize the acquisition of user group members under the project [link](http://github.com/TencentBlueKing/bk-ci/issues/11221) +- [New] feat: Optimize user application to join group [link](http://github.com/TencentBlueKing/bk-ci/issues/11219) +- [New] feat: Environment supports resource-level permission management entry [link](http://github.com/TencentBlueKing/bk-ci/issues/11074) +- [New] feat: pipeline list display permission control [link](http://github.com/TencentBlueKing/bk-ci/issues/10895) +- [New] feat: Provides interfaces for obtaining the user groups and renewal of users [link](http://github.com/TencentBlueKing/bk-ci/issues/11136) +- [New] feat: auth service open class interface rectification [link](http://github.com/TencentBlueKing/bk-ci/issues/10403) +- [New] bug: Changes in the returned fields of the query department information interface cause exceptions [link](http://github.com/TencentBlueKing/bk-ci/issues/11151) +- [New] feat: Optimize the synchronization logic of user groups [link](http://github.com/TencentBlueKing/bk-ci/issues/11122) +- [New] feat: oauth2 adds password mode [link](http://github.com/TencentBlueKing/bk-ci/issues/10663) +- [New] feat: Create custom groups and grant group permissions [link](http://github.com/TencentBlueKing/bk-ci/issues/11026) +- [New] feat: Synchronize and store resource group permission data in separate tables [link](http://github.com/TencentBlueKing/bk-ci/issues/10964) +- [New] feat: Project members can be searched by expiration date/user group name [ link ](http://github.com/TencentBlueKing/bk-ci/issues/10892) + +##### project management +- [New] feat: Optimize query project interface [link](http://github.com/TencentBlueKing/bk-ci/issues/11276) +- [New] feat: Fix the invalid change of maximum authorized scope [link](http://github.com/TencentBlueKing/bk-ci/issues/11153) +- [New] feat: Active user record operations and times [link](http://github.com/TencentBlueKing/bk-ci/issues/10891) + +##### Stream +- [New] [stream] Project supports linking to operational products [link](http://github.com/TencentBlueKing/bk-ci/issues/9948) +- [New] [stream] Optimize the retention issue [link](http://github.com/TencentBlueKing/bk-ci/issues/11045) +- [New] feat: Notification method for stream stage review supports enterprise WeChat group [link](http://github.com/TencentBlueKing/bk-ci/issues/10796) + +##### Scheduling +- [New] feat: Optimize the dispatch-sdk dispatch logic's dependency on other services [link](http://github.com/TencentBlueKing/bk-ci/issues/10882) +- [New] feat: No compilation resource optimization environment dependency scheduling [link](http://github.com/TencentBlueKing/bk-ci/issues/11126) +- [New] feat: The builder triggers the user to be adjusted to the pipeline authority holder [link](http://github.com/TencentBlueKing/bk-ci/issues/11117) +- [New] AgentId reuse type conversion issue [link](http://github.com/TencentBlueKing/bk-ci/issues/10915) +- [New] Support for third-party build machine DockerUi interface [link](http://github.com/TencentBlueKing/bk-ci/issues/10962) + + +##### Agent +- [New] feat: pipeline/job concurrency and queue data landing [link](http://github.com/TencentBlueKing/bk-ci/issues/10997) +- [New] [bugfix] The bash plugin unconfigures and there is dirty data [link](http://github.com/TencentBlueKing/bk-ci/issues/11177) +- [New] feat: Enable worker to run in JDK17 [link](http://github.com/TencentBlueKing/bk-ci/issues/10412) +- [New] Worker and agent support Java 17 and Java 8 synchronous operation [link](http://github.com/TencentBlueKing/bk-ci/issues/10586) + +##### OpenApi +- [New] feat: OpenApi provides an interface for forwarding Turbo compilation to accelerate reporting of resource statistics data [link](http://github.com/TencentBlueKing/bk-ci/issues/10508) +- [New] feat: openapi filter optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/10679) + +##### Uncategorized +- [New] API automation documentation optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11339) +- [New] feat: Health check optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11336) +- [New] feat: Upgrade openresty to 1.19 [link](http://github.com/TencentBlueKing/bk-ci/issues/11295) +- [New] OpenAPI adds document generation capability [link](http://github.com/TencentBlueKing/bk-ci/issues/7412) +- [New] feat: Upgrade undertow version to solve memory leak problem [link](http://github.com/TencentBlueKing/bk-ci/issues/11300) +- [New] feat: Organize the tag routing of the gateway [link](http://github.com/TencentBlueKing/bk-ci/issues/11050) +- [New] SQL doc document update [link](http://github.com/TencentBlueKing/bk-ci/issues/9974) +- [New] feat: Fix the startup problem of the open source version [link](http://github.com/TencentBlueKing/bk-ci/issues/11202) +- [New] feat: Added Hongmeng platform [link](http://github.com/TencentBlueKing/bk-ci/issues/11191) +- [New] feat: Adjust the helm image to support imageRegistry configuration [link](http://github.com/TencentBlueKing/bk-ci/issues/11171) +- [New] [feat] API documentation optimization-2024-10 batch [link](http://github.com/TencentBlueKing/bk-ci/issues/11107) +- [New] feat: Optimize AESUtil [link](http://github.com/TencentBlueKing/bk-ci/issues/11084) +- [New] feat: Changes in Blue Whale 7.2 version [link](http://github.com/TencentBlueKing/bk-ci/issues/10558) +- [New] feat: Remove the config ns configuration of the docker build plugin [link](http://github.com/TencentBlueKing/bk-ci/issues/10926) +- [New] feat: Newly started POD needs to be warmed up [link](http://github.com/TencentBlueKing/bk-ci/issues/10887) + + +#### optimization + +##### Pipeline +- [Optimization] pref: Optimize the query of installed plug-ins associated with pipelines under pipeline projects [link](http://github.com/TencentBlueKing/bk-ci/issues/11307) +- [Optimization] pref: The file operator related to the pipeline is adjusted to the authority holder of the pipeline [link](http://github.com/TencentBlueKing/bk-ci/issues/11016) +- [New] feat: Source material display optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/10733) +- [New] feat: Trigger variable supplement [link](http://github.com/TencentBlueKing/bk-ci/issues/11002) +- [New] feat: When the strategy is "Lock Build Number", the execution interface can modify the current value [link](http://github.com/TencentBlueKing/bk-ci/issues/11089) +- [New] feat: Optimize the display of names in breadcrumbs on pipeline view page/edit page/build details interface [link](http://github.com/TencentBlueKing/bk-ci/issues/10800) +- [New] feat: Job concurrency supports Code configuration [link](http://github.com/TencentBlueKing/bk-ci/issues/10860) +- [New] feat: Third-party build machine jobs can reuse build environments and support Code configuration [link](http://github.com/TencentBlueKing/bk-ci/issues/10254) +- [Optimization] pref: The task before matrix splitting in the pipeline with matrix does not need to be written into the record table [link](http://github.com/TencentBlueKing/bk-ci/issues/10873) +- [Optimization] pref: Optimization of signature verification of sensitive interfaces in Stores [link](http://github.com/TencentBlueKing/bk-ci/issues/10759) + +##### Code Repository +- [Optimization] perf: repository service removes dependency on git command [link](http://github.com/TencentBlueKing/bk-ci/issues/11193) + +##### Credential Management +- [New] feat: My credential list shows creation and update information [link](http://github.com/TencentBlueKing/bk-ci/issues/11023) + +##### Store +- [Optimization] pref: The built-in packaging pipeline of the Store component is now under a unified platform project [link](http://github.com/TencentBlueKing/bk-ci/issues/10475) +- [Optimization] pref: The domain name of the nodejs installation package download address supports returning according to the deployment environment [link](http://github.com/TencentBlueKing/bk-ci/issues/11327) +- [Optimization] pref: Store universal interface encapsulation optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11049) +- [Optimization] perf: Optimize the default plugin query in the plugin management menu [link](http://github.com/TencentBlueKing/bk-ci/issues/11142) +- [Optimization] pref: Adjust the file storage path of the file upload interface [link](http://github.com/TencentBlueKing/bk-ci/issues/10919) +- [Optimization] perf: Store component indicator data field optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/10219) +- [Optimization] pref: Optimize the error message when pulling the plugin task.json file content [link](http://github.com/TencentBlueKing/bk-ci/issues/10446) +- [Optimization] pref: Optimize the path and variable adjustment of the public build machine plugin cache area [link](http://github.com/TencentBlueKing/bk-ci/issues/10844) + +##### Environmental Management +- [Optimization] perf: Add some error codes [link](http://github.com/TencentBlueKing/bk-ci/issues/11279) + +##### Stream +- [New] [stream] Optimize the triggering time of large warehouse [link](http://github.com/TencentBlueKing/bk-ci/issues/10861) + +##### Scheduling +- [New] feat: Optimize resource scheduling priority when multiple builds are performed on the same pipeline [link](http://github.com/TencentBlueKing/bk-ci/issues/9897) + +##### project management +- [New] Issue: Fix the problem of querying the entire project table under sample authentication [link](http://github.com/TencentBlueKing/bk-ci/issues/10941) +- [New] feat: Project member management optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/10927) + +##### Uncategorized +- [Optimization] perf: The version log date is adjusted to the second-level title [link](http://github.com/TencentBlueKing/bk-ci/issues/11162) +- [Optimization] perf: Change the application schema so that each version can set different configurations [link](http://github.com/TencentBlueKing/bk-ci/issues/10929) +- [New] feat: Interaction optimization when dependent services are not deployed [link](http://github.com/TencentBlueKing/bk-ci/issues/10612) + +#### Fixes + +##### Pipeline +- [Fix] bug: Fix pipeline event replay reporting 500 error [link](http://github.com/TencentBlueKing/bk-ci/issues/11333) +- [Fix] bug: GIT trigger single monitoring [new branch] does not work [link](http://github.com/TencentBlueKing/bk-ci/issues/11338) +- [Fix] fix: Fix the problem of plugin pop-up window being paused before execution [link](http://github.com/TencentBlueKing/bk-ci/issues/11296) +- [Fix] Bug: When saving a pipeline as a template, if the template name is the same as the pipeline name, it will report "The pipeline name is already in use" [link](http://github.com/TencentBlueKing/bk-ci/issues/11264) +- [Fix] bug: Failed to create pipeline group, causing the code base to open PAC and always show "synchronizing" [link](http://github.com/TencentBlueKing/bk-ci/issues/11253) +- [Fix] Bug: The plugin that was canceled due to heartbeat timeout did not refresh the front-end status [link](http://github.com/TencentBlueKing/bk-ci/issues/11265) +- [Fix] Bug: The directory under [PAC].ci has been deleted, but the associated pipeline group has not been deleted and cannot be deleted manually [link](http://github.com/TencentBlueKing/bk-ci/issues/11254) +- [Fix] Bug: When clicking Skip during finally stage execution, the failed job status will be stuck in the execution [link](http://github.com/TencentBlueKing/bk-ci/issues/11143) +- [Fix] feat: Template management-list supports display fields and sorting optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11056) +- [Fix] bug: fix github pull request id out of bounds [link](http://github.com/TencentBlueKing/bk-ci/issues/11146) +- [Fix] feat: Debug records and pipeline job view pages, support "login debugging" [link](http://github.com/TencentBlueKing/bk-ci/issues/10933) +- [New] feat: The trigger condition introduces ${{variables.xxx}} variables and cannot trigger the pipeline [link](http://github.com/TencentBlueKing/bk-ci/issues/10987) +- [Fixed] Bug: The CONTAINER_ID field value inserted into the T_PIPELINE_BUILD_RECORD_TASK table is incorrect in some build scenarios [link](http://github.com/TencentBlueKing/bk-ci/issues/11029) +- [Fix] Bug: The pipeline template was uploaded to the Store, but it could not be found in the "Store" tab when creating a new pipeline [link](http://github.com/TencentBlueKing/bk-ci/issues/10865) +- [Fix] bug: Failed retry display issue on new build details page [link](http://github.com/TencentBlueKing/bk-ci/issues/10735) + +##### Code Repository +- [Fix] bug: When PAC is enabled in the fixed code base, the git_project_id field is empty [link](http://github.com/TencentBlueKing/bk-ci/issues/11167) + +##### Store +- [Fix] Bug: Optimize the error code type attribution problem when the plugin fails to execute [link](http://github.com/TencentBlueKing/bk-ci/issues/11294) +- [Fix] Bug: After the latest version of the plugin is released using the historical version fix method, the branch released using the normal method will inherit the previous [link](http://github.com/TencentBlueKing/bk-ci/issues/11301) +- [Fix] Bug: When different language plugins generate startup commands for the same job, there may be conflicts due to system variables [link](http://github.com/TencentBlueKing/bk-ci/issues/11229) +- [Fix] bug: Optimize the log permissions for viewing Store components [link](http://github.com/TencentBlueKing/bk-ci/issues/11208) +- [Fix] Bug: Optimize the paging data query of the plugin installed in the project, and exclude the built-in pipeline associated with the plugin [link](http://github.com/TencentBlueKing/bk-ci/issues/11210) +- [Fix] bug: Optimize the upload and download of Store component package files [link](http://github.com/TencentBlueKing/bk-ci/issues/11115) +- [Fix] Bug: When updating component associated initialization project information, the old debug project records were not successfully cleared when adding debug project records [link](http://github.com/TencentBlueKing/bk-ci/issues/11011) +- [Fix] Bug: The plugin environment information query interface does not correctly handle the plugin test branch version number [link](http://github.com/TencentBlueKing/bk-ci/issues/10924) + +##### Quality Red Line +- [Fix] Bug: When using pipeline variables to pass in multiple reviewers, the approval does not take effect [link](http://github.com/TencentBlueKing/bk-ci/issues/11127) + +###### Permission Center +- [Fix] bug: Permission management - permission renewal data synchronization [link](http://github.com/TencentBlueKing/bk-ci/issues/11271) +- [Fix] Synchronize data when adding personnel to permission management user group template [link](http://github.com/TencentBlueKing/bk-ci/issues/11217) +- [Fix] feat: Support administrators to view project members [link](http://github.com/TencentBlueKing/bk-ci/issues/9620) + +##### Scheduling +- [Fix] feat: Third-party build machines support using dcoker to run build tasks [link](http://github.com/TencentBlueKing/bk-ci/issues/9820) + +##### Uncategorized +- [Fix] bugfix: Upgrading JDK17 causes worker to be unable to kill the process [link](http://github.com/TencentBlueKing/bk-ci/issues/11320) +- [Fix] bugfix: Agent will log infinitely if monitoring is not enabled [link](http://github.com/TencentBlueKing/bk-ci/issues/11274) +- [Fix] feat: Support viewing version log [link](http://github.com/TencentBlueKing/bk-ci/issues/10938) +- [Fix] bug: Version log pop-up window based on configuration control [link](http://github.com/TencentBlueKing/bk-ci/issues/11260) +- [Fix] bug: Remove illegal placeholder information in international description information [link](http://github.com/TencentBlueKing/bk-ci/issues/11182) +- [Fix] fix UnreachableCode [link](http://github.com/TencentBlueKing/bk-ci/issues/11172) +- [Fix] Bug: Optimize cluster name obtained based on Profile [link](http://github.com/TencentBlueKing/bk-ci/issues/11137) +- [Fix] Archive report plugin creation token is not implemented [link](http://github.com/TencentBlueKing/bk-ci/issues/10693) +- [Fix] Unify the style and content of the top bar drop-down box of the product [link](http://github.com/TencentBlueKing/bk-ci/issues/10939) + +# v3.1.0-rc.6 +## 2025-01-08 +### Changelog since v3.1.0-rc.5 +#### New + +##### Pipeline +- [New] feat: Export pipeline function optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11304) +- [New] feat: Recommended version number template optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11186) +- [New] feat: Git branch/Tag and Svn branch/Tag type variable optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/10774) + +###### Permission Center +- [New] feat: Optimized user personal perspective permission management [link](http://github.com/TencentBlueKing/bk-ci/issues/11138) + +##### Uncategorized +- [New] feat: Support managing my OAUTH [link](http://github.com/TencentBlueKing/bk-ci/issues/10995) +- [New] API automation documentation optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11339) +- [New] feat: Health check optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11336) +- [New] [feat] Archive plugin logs 10w+ into a compressed package [link](http://github.com/TencentBlueKing/bk-ci/issues/11183) + +#### optimization + +##### Pipeline +- [Optimization] pref: Optimize the query of installed plug-ins associated with pipelines under pipeline projects [link](http://github.com/TencentBlueKing/bk-ci/issues/11307) + +##### Store +- [Optimization] pref: The built-in packaging pipeline of the Store component is now under a unified platform project [link](http://github.com/TencentBlueKing/bk-ci/issues/10475) + +#### Fixes + +##### Pipeline +- [Fix] bug: Fix pipeline event replay reporting 500 error [link](http://github.com/TencentBlueKing/bk-ci/issues/11333) +- [Fix] bug: GIT trigger single monitoring [new branch] does not work [link](http://github.com/TencentBlueKing/bk-ci/issues/11338) + +##### Store +- [Fix] Bug: Optimize the error code type attribution problem when the plugin fails to execute [link](http://github.com/TencentBlueKing/bk-ci/issues/11294) + +# v3.1.0-rc.5 +## 2024-12-23 +### Changelog since v3.1.0-rc.4 +#### New + +##### Pipeline +- [New] Plugin configuration supports linkage between fields [link](http://github.com/TencentBlueKing/bk-ci/issues/11251) +- [New] feat: Git branch/Tag and Svn branch/Tag type variable optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/10774) +- [New] feat: Optimize PUSH event pre-matching logic [link](http://github.com/TencentBlueKing/bk-ci/issues/11317) +- [New] AI big model integration [link](http://github.com/TencentBlueKing/bk-ci/issues/10825) +- [New] feat: copilot editor supports login-free [link](http://github.com/TencentBlueKing/bk-ci/issues/11290) +- [New] feat: Recommended version number template optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11186) +- [New] [Blue Shield - Reviewed by the Review Committee] [PAC] feat: Pipeline version management mechanism [link](http://github.com/TencentBlueKing/bk-ci/issues/8161) +- [New] feat: Runtime check whether the authority of the delegate has expired [link](http://github.com/TencentBlueKing/bk-ci/issues/10478) + +###### Permission Center +- [New] feat: Provide openapi interface related to project management [link](http://github.com/TencentBlueKing/bk-ci/issues/11231) + +##### project management +- [New] feat: Optimize query project interface [link](http://github.com/TencentBlueKing/bk-ci/issues/11276) + +##### Stream +- [New] [stream] Project supports linking to operational products [link](http://github.com/TencentBlueKing/bk-ci/issues/9948) + +##### Scheduling +- [New] feat: Optimize the dispatch-sdk dispatch logic's dependency on other services [link](http://github.com/TencentBlueKing/bk-ci/issues/10882) + +##### Uncategorized +- [New] feat: Upgrade openresty to 1.19 [link](http://github.com/TencentBlueKing/bk-ci/issues/11295) +- [New] OpenAPI adds document generation capability [link](http://github.com/TencentBlueKing/bk-ci/issues/7412) +- [New] feat: Upgrade undertow version to solve memory leak problem [link](http://github.com/TencentBlueKing/bk-ci/issues/11300) +- [New] SQL doc document update [link](http://github.com/TencentBlueKing/bk-ci/issues/9974) + +#### optimization + +##### Store +- [Optimization] pref: The domain name of the nodejs installation package download address supports returning according to the deployment environment [link](http://github.com/TencentBlueKing/bk-ci/issues/11327) +- [Optimization] pref: Store universal interface encapsulation optimization [link](http://github.com/TencentBlueKing/bk-ci/issues/11049) + +##### Environmental Management +- [Optimization] perf: Add some error codes [link](http://github.com/TencentBlueKing/bk-ci/issues/11279) + +#### Fixes + +##### Pipeline +- [Fix] fix: Fix the problem of plugin pop-up window being paused before execution [ link ](http://github.com/TencentBlueKing/bk-ci/issues/11296) + +##### Store +- [Fix] Bug: After the latest version of the plugin is released using the historical version fix method, the branch released using the normal method will inherit the previous [link](http://github.com/TencentBlueKing/bk-ci/issues/11301) + +##### Uncategorized +- [Fix] bugfix: Upgrading JDK17 causes worker to be unable to kill the process [link](http://github.com/TencentBlueKing/bk-ci/issues/11320) + +# v3.1.0-rc.4 +## 2024-12-05 +### Changelog since v3.1.0-rc.3 +#### New + +##### Pipeline +- [New] feat: Project settings support administrators to configure the naming conventions of pipelines under the project [link](http://github.com/TencentBlueKing/bk-ci/issues/11057) +- [New] feat: Support setting tags when creating pipelines [link](http://github.com/TencentBlueKing/bk-ci/issues/11055) +- [New] Pipeline plugin development custom UI hopes to get the jobid attribute of the container [link](http://github.com/TencentBlueKing/bk-ci/issues/11197) +- [New] feat: Custom trigger control callback of trigger adds event type [link](http://github.com/TencentBlueKing/bk-ci/issues/11196) + +##### Uncategorized +- [New] feat: Organize the tag routing of the gateway [link](http://github.com/TencentBlueKing/bk-ci/issues/11050) +- [New] feat: My credential list shows creation and update information [link](http://github.com/TencentBlueKing/bk-ci/issues/11023) +- [New] Worker and agent support Java 17 and Java 8 synchronous operation [link](http://github.com/TencentBlueKing/bk-ci/issues/10586) +- [New] feat: Engine and other MQ scenarios are connected to the SCS framework [link](http://github.com/TencentBlueKing/bk-ci/issues/7443) + +#### optimization + +##### Code Repository +- [Optimization] perf: repository service removes dependency on git command [link](http://github.com/TencentBlueKing/bk-ci/issues/11193) + +#### Fixes + +##### Pipeline +- [Fix] Bug: When saving a pipeline as a template, if the template name is the same as the pipeline name, it will report "The pipeline name is already in use" [link](http://github.com/TencentBlueKing/bk-ci/issues/11264) +- [Fix] bug: Failed to create pipeline group, causing the code base to open PAC and always show "synchronizing" [link](http://github.com/TencentBlueKing/bk-ci/issues/11253) +- [Fix] Bug: The plugin that was canceled due to heartbeat timeout did not refresh the front-end status [link](http://github.com/TencentBlueKing/bk-ci/issues/11265) +- [Fix] Bug: The directory under [PAC].ci has been deleted, but the associated pipeline group has not been deleted and cannot be deleted manually [link](http://github.com/TencentBlueKing/bk-ci/issues/11254) + +###### Permission Center +- [Fix] bug: Permission management - permission renewal data synchronization [link](http://github.com/TencentBlueKing/bk-ci/issues/11271) + +##### Scheduling +- [Fix] feat: Third-party build machines support using dcoker to run build tasks [link](http://github.com/TencentBlueKing/bk-ci/issues/9820) + +##### Uncategorized +- [Fix] bugfix: Agent will log infinitely if monitoring is not enabled [link](http://github.com/TencentBlueKing/bk-ci/issues/11274) +- [Fix] feat: Support viewing version log [link](http://github.com/TencentBlueKing/bk-ci/issues/10938) +- [Fix] bug: Version log pop-up window based on configuration control [link](http://github.com/TencentBlueKing/bk-ci/issues/11260) + # v3.1.0-rc.3 ## 2024-11-22 ### Changelog since v3.1.0-rc.2 @@ -110,6 +467,7 @@ - [Fix] bug: Remove illegal placeholder information in international description information [link](http://github.com/TencentBlueKing/bk-ci/issues/11182) - [Fix] fix UnreachableCode [link](http://github.com/TencentBlueKing/bk-ci/issues/11172) - [Fix] Bug: Optimize cluster name obtained based on Profile [link](http://github.com/TencentBlueKing/bk-ci/issues/11137) + # v3.1.0-rc.2 ## 2024-10-26 ## Changelog since v3.1.0-rc.1 diff --git a/CHANGELOG/zh_CN/CHANGELOG-3.0.md b/CHANGELOG/zh_CN/CHANGELOG-3.0.md index dbfae1cbd9c9..cceca5f70dee 100644 --- a/CHANGELOG/zh_CN/CHANGELOG-3.0.md +++ b/CHANGELOG/zh_CN/CHANGELOG-3.0.md @@ -1,8 +1,11 @@ +- [v3.0.12](#v3012) + - [Changelog since v3.0.11](#changelog-since-v3011) + - [v3.0.11](#v3011) - [Changelog since v3.0.0](#changelog-since-v300) -- [v3.0.1-v3.0.11] - - 因镜像版本与仓库版本没有统一,v3.0.1-v3.0.11已有镜像版本,但没有仓库版本,所以仓库这些版本直接跳过 +- [v3.0.1-v3.0.10] + - 因镜像版本与仓库版本没有统一,v3.0.1-v3.0.10已有镜像版本,但没有仓库版本,所以仓库这些版本直接跳过 - [v3.0.0](#v300) - [Changelog since v2.1.0](#changelog-since-v210) - [v3.0.0-rc.1](#v300-rc1) @@ -13,6 +16,14 @@ +# v3.0.12 +## 2025-01-08 +### Changelog since v3.0.11 +#### 修复 + +##### 未分类 +- [修复] bug: 修复v3.0版本打helm chart包时报错 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11391) + # v3.0.11 ## 2024-12-05 ### Changelog since v3.0.0 diff --git a/CHANGELOG/zh_CN/CHANGELOG-3.1.md b/CHANGELOG/zh_CN/CHANGELOG-3.1.md index e57751df795f..5d468fff934a 100644 --- a/CHANGELOG/zh_CN/CHANGELOG-3.1.md +++ b/CHANGELOG/zh_CN/CHANGELOG-3.1.md @@ -1,4 +1,7 @@ +- [v3.1.0](#v310) + - [Changelog since v3.0.0](#changelog-since-v300) + - [v3.1.0-rc.6](#v310-rc6) - [Changelog since v3.1.0-rc.5](#changelog-since-v310-rc5) @@ -22,6 +25,230 @@ +# v3.1.0 +## 2025-01-08 +### Changelog since v3.0.0 +#### 新增 + +##### 流水线 +- [新增] feat:导出流水线功能优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11304) +- [新增] feat:推荐版本号模版优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11186) +- [新增] feat:Git分支/Tag和Svn分支/Tag类型的变量优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10774) +- [新增] 插件配置支持字段间联动 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11251) +- [新增] feat: 优化PUSH事件预匹配逻辑 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11317) +- [新增] AI大模型融入 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10825) +- [新增] feat: copilot 编辑器支持免登录 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11290) +- [新增] feat:项目设置支持管理员配置项目下流水线的命名规范 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11057) +- [新增] feat:创建流水线时支持设置标签 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11055) +- [新增] feat:流水线变量语法支持两种风格 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10576) +- [新增] [bugfix] okhttp3 Response 不主动关闭会有潜在的内存泄露问题 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11234) +- [新增] 流水线插件开发自定义UI希望可以获取到container 的 jobid 属性 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11197) +- [新增] 【蓝盾-评审会已评审】【PAC】feat:流水线版本管理机制 [链接](http://github.com/TencentBlueKing/bk-ci/issues/8161) +- [新增] 【蓝盾-评审会已评审】【PAC】feat:新建/编辑流水线支持以 Code 方式编排流水线 [链接](http://github.com/TencentBlueKing/bk-ci/issues/8125) +- [新增] feat:下拉类型变量选项编辑优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10747) +- [新增] feat:流水线组管理去掉CI管理员相关信息 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11165) +- [新增] feat: 触发器的自定义触发控制回调增加事件类型 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11196) +- [新增] feat:流水线并发运行时,支持限制并发个数和排队 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10718) +- [新增] feat:推荐版本号优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10958) +- [新增] feat:流水线触发历史支持按照触发结果搜索 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11006) +- [新增] 增加构建详情的查看配置项,在构建详情界面点击插件时,默认进入的是 日志 or 配置 Tab页面。 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10808) +- [新增] feat:运行时校验权限代持人权限是否已失效 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10478) +- [新增] feat:Job 互斥组排队时,队列长度支持最长到 50 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10975) +- [新增] feat:流水线列表,增加标签展示 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11054) +- [新增] feat:社区版流水线完成通知,支持通知组 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10976) +- [新增] feat:触发事件重放操作权限控制 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11052) +- [新增] feat:通过子流水线调用触发的执行,支持重试 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11015) +- [新增] feat:stage 审核支持 checklist 确认场景 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10920) +- [新增] feat: UI方式下的「所有参数满足条件时执行」和「所有参数满足条件时不执行」转为Code 优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10930) +- [新增] feat:支持流水线指标监控 [链接](http://github.com/TencentBlueKing/bk-ci/issues/9860) +- [新增] feat: 引擎等MQ场景接入SCS框架 [链接](http://github.com/TencentBlueKing/bk-ci/issues/7443) +- [新增] 丰富流水线-stage准入的审核功能,支持配置角色或用户组作为审核人 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10689) +- [新增] feat:MR 事件触发器支持 WIP [链接](http://github.com/TencentBlueKing/bk-ci/issues/10683) +- [新增] 【PAC】feat:草稿版本UI展示 [链接](http://github.com/TencentBlueKing/bk-ci/issues/9861) + +##### 代码库 +- [新增] feat:工蜂 MR 触发增加 action=edit [链接](http://github.com/TencentBlueKing/bk-ci/issues/11024) +- [新增] feat:支持管理我的 OAUTH [链接](http://github.com/TencentBlueKing/bk-ci/issues/10995) +- [新增] feat: 增加获取工蜂和github oauth url的build接口 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10826) + +##### 研发商店 +- [新增] feat:Post action 中支持获取父任务ID [链接](http://github.com/TencentBlueKing/bk-ci/issues/10968) +- [新增] feat:java插件支持在指定的java环境下运行 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10978) +- [新增] feat: 插件管理菜单对应插件列表增加默认公共插件显示 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10472) +- [新增] feat:sdk相关的api是否显示在申请列表中支持可配置化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10840) + +##### 环境管理 +- [新增] feat: 环境管理优化改动 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11003) + +##### 日志服务 +- [新增] 访问流水线搜索日志,全屏浏览器查询搜索的日志,上方的搜索栏会消失 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11118) +- [新增] [feat] 插件日志10w+即归档为压缩包 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11183) +- [新增] 流水线日志支持AI修复 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10913) + +##### 权限中心 +- [新增] feat:用户个人视角 权限管理优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11138) +- [新增] feat:提供项目管理相关openapi接口 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11231) +- [新增] feat:获取项目下用户组成员优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11221) +- [新增] feat:用户申请加入组优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11219) +- [新增] feat:环境支持资源级别的权限管理入口 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11074) +- [新增] feat:流水线列表展示权限控制 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10895) +- [新增] feat : 提供 获取用户加入的用户组、续期接口 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11136) +- [新增] feat:auth服务 open类接口整改 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10403) +- [新增] bug:查询部门信息接口 返回字段变动导致异常 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11151) +- [新增] feat:同步用户组逻辑优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11122) +- [新增] feat:oauth2 增加密码模式 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10663) +- [新增] feat:创建自定义组并赋予组组权限 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11026) +- [新增] feat:同步并分表存储资源组权限数据 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10964) +- [新增] feat:项目成员支持按照过期时间/用户组名称搜索 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10892) + +##### 项目管理 +- [新增] feat:查询项目接口优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11276) +- [新增] feat:最大可授权范围更改无效修复 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11153) +- [新增] feat:活跃用户记录操作和次数 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10891) + +##### Stream +- [新增] [stream] 项目支持关联到运营产品 [链接](http://github.com/TencentBlueKing/bk-ci/issues/9948) +- [新增] [stream] 存留问题优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11045) +- [新增] feat:stream stage 审核的通知方式支持企业微信群 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10796) + +##### 调度 +- [新增] feat:优化dispatch-sdk调度逻辑对其他服务的依赖 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10882) +- [新增] feat:无编译资源优化环境依赖调度 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11126) +- [新增] feat: 构建机触发用户调整为流水线权限代持人 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11117) +- [新增] AgentId复用类型转换问题 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10915) +- [新增] 第三方构建机DockerUi界面支持 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10962) + + +##### Agent +- [新增] feat:流水线/Job并发和排队数据落地 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10997) +- [新增] [bugfix] bash插件取消配置<脚本返回非零时归档文件>存在脏数据 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11177) +- [新增] feat: 让worker支持在JDK17中运行 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10412) +- [新增] worker和agent支持java17和java8同步运行 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10586) + +##### OpenApi +- [新增] feat:OpenApi提供转发Turbo编译加速上报资源统计数据接口 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10508) +- [新增] feat: openapi filter 优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10679) + +##### 未分类 +- [新增] API自动化文档优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11339) +- [新增] feat: 健康检查优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11336) +- [新增] feat: 升级openresty到1.19 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11295) +- [新增] openapi新增文档生成能力 [链接](http://github.com/TencentBlueKing/bk-ci/issues/7412) +- [新增] feat: 升级undertow版本解决内存泄漏问题 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11300) +- [新增] feat: 整理网关的tag路由 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11050) +- [新增] sql doc 文档更新 [链接](http://github.com/TencentBlueKing/bk-ci/issues/9974) +- [新增] feat: 修复开源版启动问题 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11202) +- [新增] feat: 新增鸿蒙平台 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11191) +- [新增] feat: 调整helm的镜像使其支持配置imageRegistry [链接](http://github.com/TencentBlueKing/bk-ci/issues/11171) +- [新增] [feat] API文档优化-2024-10批次 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11107) +- [新增] feat: 优化AESUtil [链接](http://github.com/TencentBlueKing/bk-ci/issues/11084) +- [新增] feat: 蓝鲸7.2版本的改动 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10558) +- [新增] feat: 把docker build插件的config ns配置给去掉 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10926) +- [新增] feat: 新启动的POD需要热身 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10887) + + +#### 优化 + +##### 流水线 +- [优化] pref:优化流水线项目下已安装插件关联流水线查询 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11307) +- [优化] pref:流水线相关的文件操作人调整为流水线的权限代持人 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11016) +- [新增] feat:源材料展示优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10733) +- [新增] feat: 触发器变量补充 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11002) +- [新增] feat:当策略为「锁定构建号」时,执行界面可以修改当前值 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11089) +- [新增] feat:流水线查看页面/编辑页面/构建详情界面 面包屑中的名字展示优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10800) +- [新增] feat:Job 并发支持 Code 配置 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10860) +- [新增] feat:第三方构建机 Job 间复用构建环境支持 Code 配置 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10254) +- [优化] pref:带矩阵的流水线运行矩阵分裂前的task任务无需写入记录表 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10873) +- [优化] pref:研发商店敏感接口签名校验优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10759) + +##### 代码库 +- [优化] perf: repository服务去掉对git命令依赖 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11193) + +##### 凭证管理 +- [新增] feat:我的凭证列表展示创建和更新信息 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11023) + +##### 研发商店 +- [优化] pref:研发商店组件内置打包流水线都归属到统一的平台项目下 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10475) +- [优化] pref:nodejs安装包下载地址域名支持按部署环境返回 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11327) +- [优化] pref:研发商店通用化接口封装优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11049) +- [优化] perf:优化插件管理菜单默认插件查询 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11142) +- [优化] pref:对文件上传接口的文件存储路径进行调整 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10919) +- [优化] perf:研发商店组件指标数据字段优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10219) +- [优化] pref:拉取插件task.json文件内容报错提示优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10446) +- [优化] pref:公共构建机插件缓存区路径和变量调整优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10844) + +##### 环境管理 +- [优化] perf: 增加部分错误码 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11279) + +##### Stream +- [新增] [stream] 优化大仓触发耗时 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10861) + +##### 调度 +- [新增] feat:同一流水线多次构建时资源调度优先级优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/9897) + +##### 项目管理 +- [新增] issue: 修复sample鉴权下查project全表的问题 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10941) +- [新增] feat:项目成员管理优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10927) + +##### 未分类 +- [优化] perf: 版本日志日期调整为二级标题 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11162) +- [优化] perf: 应用Schema改为每个版本都可以设置不同的配置 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10929) +- [新增] feat:依赖的服务未部署时的交互优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10612) + +#### 修复 + +##### 流水线 +- [修复] bug: 修复流水线事件重放报500错误 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11333) +- [修复] bug: GIT触发器单独监听[新增分支]不生效 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11338) +- [修复] fix: 执行前暂停的插件弹窗问题处理 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11296) +- [修复] bug: 流水线另存为模版,模版名字与流水线名字一样,会报"流水线名称已被使用" [链接](http://github.com/TencentBlueKing/bk-ci/issues/11264) +- [修复] bug: 创建流水线组失败,导致代码库开启PAC一直显示同步中 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11253) +- [修复] bug: 心跳超时被取消的插件没有刷新前端状态 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11265) +- [修复] bug: [PAC].ci下的目录已经删除,但是关联的流水线组没有删除,也无法手工删除 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11254) +- [修复] bug: finally stage执行时点击跳过,失败的job状态会卡在执行中 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11143) +- [修复] feat:模版管理-列表支持展示字段和排序优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11056) +- [修复] bug: 修复github pull request id越界 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11146) +- [修复] feat: 调试记录和流水线 Job 查看页面,支持「登录调试」 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10933) +- [新增] feat: 触发器条件引入${{variables.xxx}}变量触发不了流水线 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10987) +- [修复] bug:某些构建场景下插入T_PIPELINE_BUILD_RECORD_TASK表的CONTAINER_ID字段值错误 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11029) +- [修复] bug:上架流水线模板到研发商店,但是新建流水线的时候在“研发商店”Tab搜不出来 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10865) +- [修复] bug: 新构建详情页的失败重试展示问题 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10735) + +##### 代码库 +- [修复] bug: 修复代码库开启PAC时,git_project_id字段为空 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11167) + +##### 研发商店 +- [修复] bug:插件执行失败时的错误码类型归属错误问题优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11294) +- [修复] bug:插件最新版本使用历史版本修复方式发布后,再用普通方式发布的分支会继承上一次的 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11301) +- [修复] bug:同一个job下不同语言的插件生成启动命令时可能会因为系统变量冲突 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11229) +- [修复] bug:研发商店组件上架查看日志权限优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11208) +- [修复] bug:优化项目下安装插件分页数据查询,排除与插件关联的内置流水线 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11210) +- [修复] bug:研发商店组件包文件上传下载优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11115) +- [修复] bug:修复更新组件关联初始化项目信息时,新增调试项目记录时未成功把旧的调试项目记录清理 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11011) +- [修复] bug:查插件环境信息接口未正确处理插件测试分支版本号情况 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10924) + +##### 质量红线 +- [修复] bug: 使用流水线变量传入多个审核人时,审批不生效 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11127) + +##### 权限中心 +- [修复] bug: 权限管理-权限续期数据同步 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11271) +- [修复] 权限管理用户组添加人员模板同步数据 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11217) +- [修复] feat:支持管理员查看项目成员 [链接](http://github.com/TencentBlueKing/bk-ci/issues/9620) + +##### 调度 +- [修复] feat:第三方构建机支持使用 dcoker 运行构建任务 [链接](http://github.com/TencentBlueKing/bk-ci/issues/9820) + +##### 未分类 +- [修复] bugfix: 升级JDK17导致worker无法强杀进程 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11320) +- [修复] bugfix: Agent没有开启监控会无限打日志 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11274) +- [修复] feat:支持查看版本日志 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10938) +- [修复] bug: 版本日志根据配置控制弹框 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11260) +- [修复] bug: 去除国际化描述信息中的非法占位符信息 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11182) +- [修复] fix UnreachableCode [链接](http://github.com/TencentBlueKing/bk-ci/issues/11172) +- [修复] bug:根据Profile获取集群名称优化 [链接](http://github.com/TencentBlueKing/bk-ci/issues/11137) +- [修复] 归档报告插件创建token没有实现 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10693) +- [修复] 产品的顶栏下拉框样式和内容统一规范 [链接](http://github.com/TencentBlueKing/bk-ci/issues/10939) + # v3.1.0-rc.6 ## 2025-01-08 ### Changelog since v3.1.0-rc.5 diff --git a/src/backend/ci/core/common/common-api/src/main/kotlin/com/tencent/devops/common/api/pojo/ErrorType.kt b/src/backend/ci/core/common/common-api/src/main/kotlin/com/tencent/devops/common/api/pojo/ErrorType.kt index 1f453fec3be0..99db847acedd 100644 --- a/src/backend/ci/core/common/common-api/src/main/kotlin/com/tencent/devops/common/api/pojo/ErrorType.kt +++ b/src/backend/ci/core/common/common-api/src/main/kotlin/com/tencent/devops/common/api/pojo/ErrorType.kt @@ -36,6 +36,7 @@ enum class ErrorType( val typeName: String, val num: Int ) { + // 非常注意:此关联前端展示的图标,前端枚举需要同步更新 SYSTEM("system", 0), // 0 系统运行报错 USER("user", 1), // 1 用户配置报错 THIRD_PARTY("thirdParty", 2), // 2 第三方系统接入错误 diff --git a/src/backend/ci/core/process/api-process/src/main/kotlin/com/tencent/devops/process/api/service/ServicePipelineViewResource.kt b/src/backend/ci/core/process/api-process/src/main/kotlin/com/tencent/devops/process/api/service/ServicePipelineViewResource.kt index 9f0a1cda35c7..13ac3deb1233 100644 --- a/src/backend/ci/core/process/api-process/src/main/kotlin/com/tencent/devops/process/api/service/ServicePipelineViewResource.kt +++ b/src/backend/ci/core/process/api-process/src/main/kotlin/com/tencent/devops/process/api/service/ServicePipelineViewResource.kt @@ -208,4 +208,14 @@ interface ServicePipelineViewResource { @PathParam("pipelineId") pipelineId: String ): Result> + + @Operation(summary = "根据视图ID获取流水线ID列表") + @POST + @Path("/pipelines/listPipelineIdByViewIds") + fun listPipelineIdByViewIds( + @PathParam("projectId") + projectId: String, + @Parameter(description = "按视图过滤", required = false) + viewIdsEncode: List + ): Result> } diff --git a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/api/ServicePipelineViewResourceImpl.kt b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/api/ServicePipelineViewResourceImpl.kt index cf6add53457a..906d239d5058 100644 --- a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/api/ServicePipelineViewResourceImpl.kt +++ b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/api/ServicePipelineViewResourceImpl.kt @@ -208,4 +208,13 @@ class ServicePipelineViewResourceImpl @Autowired constructor( pipelineViewGroupService.listViewIdsByPipelineId(projectId, pipelineId) ) } + + override fun listPipelineIdByViewIds( + projectId: String, + viewIdsEncode: List + ): Result> { + return Result( + pipelineViewGroupService.listPipelineIdsByViewIds(projectId, viewIdsEncode) + ) + } } diff --git a/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/service/impl/AbsProjectServiceImpl.kt b/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/service/impl/AbsProjectServiceImpl.kt index 31bed594fb25..3877d4fa72eb 100644 --- a/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/service/impl/AbsProjectServiceImpl.kt +++ b/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/service/impl/AbsProjectServiceImpl.kt @@ -59,6 +59,7 @@ import com.tencent.devops.common.auth.api.pojo.ProjectConditionDTO import com.tencent.devops.common.auth.api.pojo.ResourceRegisterInfo import com.tencent.devops.common.auth.api.pojo.SubjectScopeInfo import com.tencent.devops.common.auth.code.ProjectAuthServiceCode +import com.tencent.devops.common.auth.enums.SubjectScopeType import com.tencent.devops.common.client.Client import com.tencent.devops.common.client.ClientTokenService import com.tencent.devops.common.event.dispatcher.SampleEventDispatcher @@ -766,9 +767,27 @@ abstract class AbsProjectServiceImpl @Autowired constructor( beforeSubjectScopes: List, afterSubjectScopes: List ): Boolean { - val beforeIds = beforeSubjectScopes.map { it.id }.toSet() - val afterIds = afterSubjectScopes.map { it.id }.toSet() - return beforeIds != afterIds + val beforeUsernames = beforeSubjectScopes + .filter { it.type == SubjectScopeType.USER.value } + .map { it.username } + .toSet() + + val afterUsernames = afterSubjectScopes + .filter { it.type == SubjectScopeType.USER.value } + .map { it.username } + .toSet() + + val beforeDeptIds = beforeSubjectScopes + .filter { it.type != SubjectScopeType.USER.value } + .map { it.id } + .toSet() + + val afterDeptIds = afterSubjectScopes + .filter { it.type != SubjectScopeType.USER.value } + .map { it.id } + .toSet() + + return beforeUsernames != afterUsernames || beforeDeptIds != afterDeptIds } private fun updateApprovalInfo( diff --git a/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/AtomPropServiceImpl.kt b/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/AtomPropServiceImpl.kt index 049b9231146a..5424da5817dc 100644 --- a/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/AtomPropServiceImpl.kt +++ b/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/atom/service/impl/AtomPropServiceImpl.kt @@ -29,19 +29,22 @@ package com.tencent.devops.store.atom.service.impl import com.fasterxml.jackson.core.type.TypeReference import com.github.benmanes.caffeine.cache.Caffeine +import com.tencent.devops.common.api.auth.REFERER import com.tencent.devops.common.api.constant.CommonMessageCode import com.tencent.devops.common.api.exception.ErrorCodeException import com.tencent.devops.common.api.util.JsonUtil +import com.tencent.devops.common.api.util.ThreadLocalUtil import com.tencent.devops.common.util.RegexUtils +import com.tencent.devops.common.web.utils.BkApiUtil import com.tencent.devops.common.web.utils.I18nUtil import com.tencent.devops.model.store.tables.TAtom import com.tencent.devops.store.atom.dao.AtomDao import com.tencent.devops.store.atom.dao.AtomPropDao -import com.tencent.devops.store.pojo.atom.AtomProp import com.tencent.devops.store.atom.service.AtomPropService import com.tencent.devops.store.common.service.StoreI18nMessageService import com.tencent.devops.store.common.service.action.StoreDecorateFactory import com.tencent.devops.store.common.utils.StoreUtils +import com.tencent.devops.store.pojo.atom.AtomProp import com.tencent.devops.store.pojo.atom.enums.AtomStatusEnum import com.tencent.devops.store.pojo.common.ATOM_OUTPUT import com.tencent.devops.store.pojo.common.enums.StoreTypeEnum @@ -81,8 +84,10 @@ class AtomPropServiceImpl @Autowired constructor( var atomPropMap: MutableMap? = null // 从缓存中查找插件属性信息 var queryDbAtomCodes: MutableList? = null + val referer = BkApiUtil.getHttpServletRequest()?.getHeader(REFERER) ?: ThreadLocalUtil.get(REFERER)?.toString() + val refererHost = referer?.let { RegexUtils.splitDomainContextPath("$referer/")?.first } ?: "" atomCodes.forEach { atomCode -> - val atomProp = atomPropCache.getIfPresent(atomCode) + val atomProp = atomPropCache.getIfPresent("$refererHost:$atomCode") if (atomProp != null) { if (atomPropMap == null) { atomPropMap = mutableMapOf() @@ -124,7 +129,7 @@ class AtomPropServiceImpl @Autowired constructor( ) atomPropMap!![atomCode] = atomProp // 把数据放入缓存 - atomPropCache.put(atomCode, atomProp) + atomPropCache.put("$refererHost:$atomCode", atomProp) } } return atomPropMap