From 85b48808ab3e33988502d42260214307a7da05c8 Mon Sep 17 00:00:00 2001 From: Miere Liniel Teixeira Date: Thu, 7 Nov 2024 11:58:19 +1100 Subject: [PATCH 1/4] Ensure it reads the body for DELETE requests --- kos-core/source/kos/core/SimplifiedRouter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/kos-core/source/kos/core/SimplifiedRouter.java b/kos-core/source/kos/core/SimplifiedRouter.java index 25c8135..a0aaebd 100644 --- a/kos-core/source/kos/core/SimplifiedRouter.java +++ b/kos-core/source/kos/core/SimplifiedRouter.java @@ -145,6 +145,7 @@ public static SimplifiedRouter wrapWithAutoBodyReader(KosContext kosContext, Rou mapOf( HttpMethod.POST, false ) .and( HttpMethod.PUT, false ) .and( HttpMethod.PATCH, false ) + .and( HttpMethod.DELETE, false ) .build(); return new SimplifiedRouter( From 96065bef0c3417a5331c111436b7623c023b971a Mon Sep 17 00:00:00 2001 From: Miere Liniel Teixeira Date: Thu, 7 Nov 2024 11:58:32 +1100 Subject: [PATCH 2/4] Version 0.8.9 --- builder.conf | 2 +- kos-annotations/pom.yml | 2 +- kos-bom/pom.yml | 14 +++++++------- kos-config-yaml/pom.yml | 2 +- kos-core/pom.yml | 2 +- kos-injector/pom.yml | 2 +- pom.yml | 2 +- report/pom.yml | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/builder.conf b/builder.conf index 546ad03..5d80e25 100644 --- a/builder.conf +++ b/builder.conf @@ -1 +1 @@ -CURRENT_VERSION='0.8.8' +CURRENT_VERSION='0.8.9' diff --git a/kos-annotations/pom.yml b/kos-annotations/pom.yml index 63e8f23..cd612cd 100644 --- a/kos-annotations/pom.yml +++ b/kos-annotations/pom.yml @@ -3,7 +3,7 @@ modelVersion: 4.0.0 parent: groupId: io.skullabs.kos artifactId: kos-parent - version: "0.8.8" + version: "0.8.9" relativePath: "../pom.yml" artifactId: kos-annotations diff --git a/kos-bom/pom.yml b/kos-bom/pom.yml index 1858cb7..caec808 100644 --- a/kos-bom/pom.yml +++ b/kos-bom/pom.yml @@ -2,7 +2,7 @@ modelVersion: 4.0.0 groupId: io.skullabs.kos artifactId: kos-bom -version: "0.8.8" +version: "0.8.9" packaging: pom name: kos-bom @@ -29,12 +29,12 @@ properties: dependencyManagement: dependencies: - - { groupId: "io.skullabs.kos", artifactId: kos-core, version: "0.8.8" } - - { groupId: "io.skullabs.kos", artifactId: kos-annotations, version: "0.8.8" } - - { groupId: "io.skullabs.kos", artifactId: kos-config-yaml, version: "0.8.8" } - - { groupId: "io.skullabs.kos", artifactId: kos-logging-slf4j, version: "0.8.8" } - - { groupId: "io.skullabs.kos", artifactId: kos-injector, version: "0.8.8" } - - { groupId: "io.skullabs.kos", artifactId: kos-webapp, version: "0.8.8" } + - { groupId: "io.skullabs.kos", artifactId: kos-core, version: "0.8.9" } + - { groupId: "io.skullabs.kos", artifactId: kos-annotations, version: "0.8.9" } + - { groupId: "io.skullabs.kos", artifactId: kos-config-yaml, version: "0.8.9" } + - { groupId: "io.skullabs.kos", artifactId: kos-logging-slf4j, version: "0.8.9" } + - { groupId: "io.skullabs.kos", artifactId: kos-injector, version: "0.8.9" } + - { groupId: "io.skullabs.kos", artifactId: kos-webapp, version: "0.8.9" } profiles: - id: use-sonatype-stagging-repo diff --git a/kos-config-yaml/pom.yml b/kos-config-yaml/pom.yml index 6f17cee..34e29fa 100644 --- a/kos-config-yaml/pom.yml +++ b/kos-config-yaml/pom.yml @@ -3,7 +3,7 @@ modelVersion: 4.0.0 parent: groupId: io.skullabs.kos artifactId: kos-parent - version: "0.8.8" + version: "0.8.9" relativePath: "../pom.yml" artifactId: kos-config-yaml diff --git a/kos-core/pom.yml b/kos-core/pom.yml index f8a78f0..2449c81 100644 --- a/kos-core/pom.yml +++ b/kos-core/pom.yml @@ -3,7 +3,7 @@ modelVersion: 4.0.0 parent: groupId: io.skullabs.kos artifactId: kos-parent - version: "0.8.8" + version: "0.8.9" relativePath: "../pom.yml" artifactId: kos-core diff --git a/kos-injector/pom.yml b/kos-injector/pom.yml index 91a1189..2066c81 100644 --- a/kos-injector/pom.yml +++ b/kos-injector/pom.yml @@ -3,7 +3,7 @@ modelVersion: 4.0.0 parent: groupId: io.skullabs.kos artifactId: kos-parent - version: "0.8.8" + version: "0.8.9" relativePath: "../pom.yml" artifactId: kos-injector diff --git a/pom.yml b/pom.yml index 6ded074..1edf555 100644 --- a/pom.yml +++ b/pom.yml @@ -7,7 +7,7 @@ parent: groupId: io.skullabs.kos artifactId: kos-parent -version: "0.8.8" +version: "0.8.9" packaging: pom properties: diff --git a/report/pom.yml b/report/pom.yml index 199bd6e..140c424 100644 --- a/report/pom.yml +++ b/report/pom.yml @@ -3,7 +3,7 @@ modelVersion: 4.0.0 parent: groupId: io.skullabs.kos artifactId: kos-parent - version: "0.8.8" + version: "0.8.9" relativePath: "../pom.yml" artifactId: tests-report From 0baa09fa170b2db3650482333c273e1be012a05e Mon Sep 17 00:00:00 2001 From: Miere Liniel Teixeira Date: Thu, 7 Nov 2024 13:06:25 +1100 Subject: [PATCH 3/4] Bump nexus-staging-maven-plugin --- pom.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.yml b/pom.yml index 1edf555..f5bb0c4 100644 --- a/pom.yml +++ b/pom.yml @@ -79,7 +79,7 @@ build: pluginManagement: plugins: - groupId: org.sonatype.plugins - version: 1.6.3 + version: 1.7.0 artifactId: nexus-staging-maven-plugin extensions: true configuration: From 3ebf47243b101e1f69b12b9c518455264f965ac3 Mon Sep 17 00:00:00 2001 From: Miere Liniel Teixeira Date: Thu, 7 Nov 2024 13:14:24 +1100 Subject: [PATCH 4/4] Do not drop release upon Staging Rule failures --- pom.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.yml b/pom.yml index f5bb0c4..3e292e3 100644 --- a/pom.yml +++ b/pom.yml @@ -86,6 +86,7 @@ build: serverId: ossrh nexusUrl: https://oss.sonatype.org/ autoReleaseAfterClose: true + keepStagingRepositoryOnCloseRuleFailure: true - groupId: org.jacoco version: "${version.jacoco}"