12 Commits
Author SHA1 Message Date
thischwa e06aa67c24 [maven-release-plugin] prepare release v1.0.0
Build and Analyse / build-and-analyse (push) Successful in 1m37s
2026-11-16 19:32:38 +01:00
gitea-actions-bot 2031aa93e6 ci: update test report [skip ci] 2026-11-16 19:29:19 +01:00
thischwa 3f28774944 Merge remote-tracking branch 'origin/develop' into develop
Build and Analyse / build-and-analyse (push) Successful in 1m50s
2026-11-16 19:27:25 +01:00
thischwa 0ddc6b29ce Release 1.0.0
Bump version from 1.0.0-SNAPSHOT to 1.0.0 in changelog.
2026-11-16 19:27:19 +01:00
gitea-actions-bot b95d9bc5a0 ci: update test report [skip ci] 2026-11-14 14:30:20 +00:00
thischwa 980942fac5 .gitea/workflows/build-and-analyse.yml aktualisiert
Build and Analyse / build-and-analyse (push) Successful in 1m32s
2026-11-14 15:28:47 +01:00
gitea-actions-bot 6dd9a477e5 ci: update test report [skip ci] 2026-11-14 14:23:41 +00:00
gitea-actions-bot 50d8d385f7 ci: update test report [skip ci] 2026-11-09 17:36:34 +00:00
thischwaandJunie 9de0eaf850 docs: clarify base URL HTTPS requirements
Build and Analyse / build-and-analyse (push) Successful in 1m41s
Co-authored-by: Junie <junie@jetbrains.com>
2026-11-09 18:35:03 +01:00
gitea-actions-bot d09b5cb98b ci: update test report [skip ci] 2026-11-09 16:02:28 +00:00
thischwa 02dee0f720 Merge remote-tracking branch 'origin/develop' into develop
Build and Analyse / build-and-analyse (push) Successful in 1m31s
2026-11-09 17:00:51 +01:00
thischwaandJunie b35517afa7 - Remove loopback HTTP exception; withBaseUrl now accepts only HTTPS URLs targeting api.cloudflare.com
- Reject base URLs containing user info, query strings, or fragments
- Update README example and changelog to reflect the stricter policy
- Adapt tests to use the private CfDnsClient constructor for local HTTP servers
- Bump version from 1.0.0-rc.1-SNAPSHOT to 1.0.0-SNAPSHOT in pom.xml and changelog

Co-authored-by: Junie <junie@jetbrains.com>
2026-11-09 17:00:11 +01:00
5 changed files with 9 additions and 7 deletions

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ on:
- 'feature/**'
pull_request:
types: [ opened, synchronize, reopened ]
workflow_dispatch:
defaults:
run:
+1 -1
View File
@@ -1,6 +1,6 @@
# Changelog
- 1.0.0-SNAPSHOT:
- 1.0.0:
- **Breaking Changes**:
- `recordList` overloads replaced, because they were ambiguous (e.g. `recordList(zone, null)` didn't compile):
- `recordList(zone, String subdomain, RecordType... types)` and `recordList(zone, String subdomain)` → `recordListBySubdomain(zone, subdomain, types...)`
+2 -2
View File
@@ -4,7 +4,7 @@
<groupId>codes.thischwa</groupId>
<artifactId>cloudflaredns</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
<name>CloudflareDNS-java</name>
<inceptionYear>2025</inceptionYear>
<packaging>jar</packaging>
@@ -51,7 +51,7 @@
<developerConnection>scm:git:https://git.mein-gateway.de/thischwa/CloudflareDNS-java.git</developerConnection>
<connection>scm:git:https://git.mein-gateway.de/thischwa/CloudflareDNS-java.git</connection>
<url>https://git.mein-gateway.de/thischwa/CloudflareDNS-java</url>
<tag>HEAD</tag>
<tag>v1.0.0</tag>
</scm>
<distributionManagement>
+1 -1
View File
@@ -1,6 +1,6 @@
# Test Report
_Generated on 2026-11-09 15:57:46 UTC_
_Generated on 2026-11-16 18:29:19 UTC_
**✅ All tests passed**
@@ -56,13 +56,14 @@ public class CfDnsClientBuilder {
* Sets the base URL to be used by the {@code CfDnsClient}.
* This method allows configuring the base URL for API requests, overriding any default value.
*
* <p>To protect the credentials, only HTTPS URLs for {@code api.cloudflare.com} are accepted.
* <p>Only HTTPS URLs with a host are accepted. User information, query parameters and fragments
* are not permitted. Credentials are sent to the configured host, so only use trusted URLs.
*
* @param baseUrl the base URL to be used for API requests, {@code null} resets it to
* {@link #DEFAULT_BASEURL}
* @return the current instance of {@code CfDnsClientBuilder}, enabling method chaining
* @throws IllegalArgumentException if the URL is invalid, doesn't use HTTPS or doesn't target
* {@code api.cloudflare.com}
* @throws IllegalArgumentException if the URL is invalid, doesn't use HTTPS, has no host or
* contains user information, a query or a fragment
*/
public CfDnsClientBuilder withBaseUrl(@Nullable String baseUrl) {
this.baseUrl = baseUrl == null ? null : validateBaseUrl(baseUrl);