Compare commits
12
Commits
8e4d8ef427
..
v1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e06aa67c24 | ||
|
|
2031aa93e6 | ||
|
|
3f28774944 | ||
|
|
0ddc6b29ce | ||
|
|
b95d9bc5a0 | ||
|
|
980942fac5 | ||
|
|
6dd9a477e5 | ||
|
|
50d8d385f7 | ||
|
|
9de0eaf850 | ||
|
|
d09b5cb98b | ||
|
|
02dee0f720 | ||
|
|
b35517afa7 |
No files matched your search
@@ -7,6 +7,7 @@ on:
|
|||||||
- 'feature/**'
|
- 'feature/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [ opened, synchronize, reopened ]
|
types: [ opened, synchronize, reopened ]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
- 1.0.0-SNAPSHOT:
|
- 1.0.0:
|
||||||
- **Breaking Changes**:
|
- **Breaking Changes**:
|
||||||
- `recordList` overloads replaced, because they were ambiguous (e.g. `recordList(zone, null)` didn't compile):
|
- `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...)`
|
- `recordList(zone, String subdomain, RecordType... types)` and `recordList(zone, String subdomain)` → `recordListBySubdomain(zone, subdomain, types...)`
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<groupId>codes.thischwa</groupId>
|
<groupId>codes.thischwa</groupId>
|
||||||
<artifactId>cloudflaredns</artifactId>
|
<artifactId>cloudflaredns</artifactId>
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
<version>1.0.0</version>
|
||||||
<name>CloudflareDNS-java</name>
|
<name>CloudflareDNS-java</name>
|
||||||
<inceptionYear>2025</inceptionYear>
|
<inceptionYear>2025</inceptionYear>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
<developerConnection>scm:git:https://git.mein-gateway.de/thischwa/CloudflareDNS-java.git</developerConnection>
|
<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>
|
<connection>scm:git:https://git.mein-gateway.de/thischwa/CloudflareDNS-java.git</connection>
|
||||||
<url>https://git.mein-gateway.de/thischwa/CloudflareDNS-java</url>
|
<url>https://git.mein-gateway.de/thischwa/CloudflareDNS-java</url>
|
||||||
<tag>HEAD</tag>
|
<tag>v1.0.0</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
# Test Report
|
# Test Report
|
||||||
|
|
||||||
_Generated on 2026-11-09 15:57:46 UTC_
|
_Generated on 2026-11-16 18:29:19 UTC_
|
||||||
|
|
||||||
**✅ All tests passed**
|
**✅ All tests passed**
|
||||||
|
|
||||||
|
|||||||
@@ -56,13 +56,14 @@ public class CfDnsClientBuilder {
|
|||||||
* Sets the base URL to be used by the {@code CfDnsClient}.
|
* 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.
|
* 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
|
* @param baseUrl the base URL to be used for API requests, {@code null} resets it to
|
||||||
* {@link #DEFAULT_BASEURL}
|
* {@link #DEFAULT_BASEURL}
|
||||||
* @return the current instance of {@code CfDnsClientBuilder}, enabling method chaining
|
* @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
|
* @throws IllegalArgumentException if the URL is invalid, doesn't use HTTPS, has no host or
|
||||||
* {@code api.cloudflare.com}
|
* contains user information, a query or a fragment
|
||||||
*/
|
*/
|
||||||
public CfDnsClientBuilder withBaseUrl(@Nullable String baseUrl) {
|
public CfDnsClientBuilder withBaseUrl(@Nullable String baseUrl) {
|
||||||
this.baseUrl = baseUrl == null ? null : validateBaseUrl(baseUrl);
|
this.baseUrl = baseUrl == null ? null : validateBaseUrl(baseUrl);
|
||||||
|
|||||||
Reference in new issue
Block a user