Skip to content

The Unified and Autonomous Development Platform

chore: Remove unnecessary params from Tod resource

Robin Shen5bfd6ccd3981
diff --git a/server-core/src/main/java/io/onedev/server/ai/TodResource.java b/server-core/src/main/java/io/onedev/server/ai/TodResource.java
index 21ac3a34b8..470dc76d21 100644
--- a/server-core/src/main/java/io/onedev/server/ai/TodResource.java
+++ b/server-core/src/main/java/io/onedev/server/ai/TodResource.java
@@ -588,7 +588,6 @@ public class TodResource {
projectDetail.put("issueManagement", project.isIssueManagement());
projectDetail.put("timeTracking", project.isTimeTracking());
}
- projectDetail.put("effectiveDefaultPullRequestMergeStrategy", project.findDefaultPullRequestMergeStrategy());
projectDetail.put("defaultBranch", project.getDefaultBranch());
projectDetail.put("link", urlService.urlFor(project, true));
return projectDetail;
@@ -1279,8 +1278,7 @@ public class TodResource {
@QueryParam("targetProject") String targetProjectPath,
@QueryParam("sourceProject") String sourceProjectPath,
@QueryParam("targetBranch") String targetBranch,
- @QueryParam("sourceBranch") @NotNull String sourceBranch,
- @QueryParam("mergeStrategy") String mergeStrategyName) {
+ @QueryParam("sourceBranch") @NotNull String sourceBranch) {
var createPullRequestEssentialInfo = getCreatePullRequestEssentialInfo(
currentProjectPath, targetProjectPath, sourceProjectPath,
targetBranch, sourceBranch);
diff --git a/server-product/system/incompatibilities/incompatibilities.md b/server-product/system/incompatibilities/incompatibilities.md
index e70559d9b1..b1b0581e48 100644
--- a/server-product/system/incompatibilities/incompatibilities.md
+++ b/server-product/system/incompatibilities/incompatibilities.md
@@ -1,3 +1,11 @@
+# 16.1.0
+
+### CI/CD
+
+1. Issues defined in parent project are now longer able to link with commits/builds/PRs in child projects. This restriction is added to address the performance problem when a project has many child projects
+
+1. Users authorized to access a projectd will be able to access artifacts of all CI/CD jobs of the project. This is added to address performance issue when massive number of projects are created in OneDev
+
# 16.0.0
### CI/CD