diff --git a/.fern/metadata.json b/.fern/metadata.json index 83dc364..836c12f 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -1,14 +1,14 @@ { - "cliVersion": "5.68.0", + "cliVersion": "5.75.0", "generatorName": "fernapi/fern-java-sdk", - "generatorVersion": "4.13.3", + "generatorVersion": "4.14.4", "generatorConfig": { "client-class-name": "Lattice", "package-prefix": "com.anduril" }, - "originGitCommit": "8321bd837c4be3b7b8cb046c8c7e8b0e898ce550", + "originGitCommit": "4999fd7a01ac9b12158b89b220c932e4149a13ba", "originGitCommitIsDirty": false, "invokedBy": "manual", - "requestedVersion": "5.18.0", - "sdkVersion": "5.18.0" + "requestedVersion": "5.19.0", + "sdkVersion": "5.19.0" } \ No newline at end of file diff --git a/README.md b/README.md index 9e7da5b..a873c77 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Add the dependency in your `build.gradle` file: ```groovy dependencies { - implementation 'com.anduril:lattice-sdk:5.18.0' + implementation 'com.anduril:lattice-sdk:5.19.0' } ``` @@ -53,7 +53,7 @@ Add the dependency in your `pom.xml` file: com.anduril lattice-sdk - 5.18.0 + 5.19.0 ``` diff --git a/build.gradle b/build.gradle index 3deb296..dca81d6 100644 --- a/build.gradle +++ b/build.gradle @@ -57,7 +57,7 @@ java { group = 'com.anduril' -version = '5.18.0' +version = '5.19.0' jar { dependsOn(":generatePomFileForMavenPublication") @@ -88,7 +88,7 @@ publishing { maven(MavenPublication) { groupId = 'com.anduril' artifactId = 'lattice-sdk' - version = '5.18.0' + version = '5.19.0' from components.java pom { name = 'Anduril Industries, Inc.' diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..bcda61b --- /dev/null +++ b/changelog.md @@ -0,0 +1,4 @@ +# Changelog + +## [5.19.0] - 2026-07-16 + diff --git a/src/main/java/com/anduril/core/ClientOptions.java b/src/main/java/com/anduril/core/ClientOptions.java index b46f87f..fafa637 100644 --- a/src/main/java/com/anduril/core/ClientOptions.java +++ b/src/main/java/com/anduril/core/ClientOptions.java @@ -47,10 +47,10 @@ private ClientOptions( this.headers.putAll(headers); this.headers.putAll(new HashMap() { { - put("User-Agent", "com.anduril.lattice-sdk/5.18.0"); + put("User-Agent", "com.anduril.lattice-sdk/5.19.0"); put("X-Fern-Language", "JAVA"); put("X-Fern-SDK-Name", "com.anduril:lattice-sdk"); - put("X-Fern-SDK-Version", "5.18.0"); + put("X-Fern-SDK-Version", "5.19.0"); } }); this.headerSuppliers = headerSuppliers; @@ -153,7 +153,9 @@ public Builder environment(Environment environment) { } public Builder addHeader(String key, String value) { - this.headers.put(key, value); + if (value != null) { + this.headers.put(key, value); + } return this; }