From 6c8d9fd37697fb3b17c48123931043f71d3946e3 Mon Sep 17 00:00:00 2001 From: muzakon Date: Tue, 17 Nov 2026 17:17:47 +0300 Subject: [PATCH] Release 0.4.1 --- CHANGELOG.md | 7 +++++++ README.md | 6 +++--- .../src/main/java/io/fingerly/server/FingerlyClient.java | 2 +- gradle.properties | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a535308..f743a99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.4.1 + +- Each `AttestSkippedReason` constant describes when the iOS and Android + SDKs send it. +- The vendored OpenAPI contract declares `enum` for the closed string + fields. The SDK's own types are unchanged and stay open strings. + ## 0.4.0 - Named constants for every closed string set the API sends: `Signal` (every diff --git a/README.md b/README.md index 012e4eb..858bce9 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,12 @@ Java 11 or newer, and Kotlin and Scala through the same artifacts. Releases are io.fingerly fingerly-server - 0.4.0 + 0.4.1 ``` ```kotlin -implementation("io.fingerly:fingerly-server:0.4.0") +implementation("io.fingerly:fingerly-server:0.4.1") ``` For the proxy, add the adapter for your stack as well (see [Artifacts](#artifacts)). @@ -474,7 +474,7 @@ The proxy key (`fly_px_{production|staging|development}_…`) is required: `buil Incoming headers follow the sanitize-and-restore sequence: all incoming `X-Fingerly-*`, `Cookie` and `Authorization` headers are stripped, restoring `X-Fingerly-SDK-Platform` only if it matches an exact lowercase native or bridge platform (`ios`, `android`, `react-native`, `react-native-ios`, `react-native-android`, `flutter`, `flutter-ios`, `flutter-android`, `lynx-ios`, `lynx-android`, `capacitor`, `kotlin-multiplatform`). When both `Origin` and a validated `X-Fingerly-SDK-Platform` are absent, the request is rejected locally with `400` (`missing_origin`), and `X-Fingerly-Origin` is never synthesized from `Host`, `Referer` or the request URL. A request carries one channel upstream: with an `Origin`, the proxy sends `X-Fingerly-Origin` and drops the platform header, as the API does on a direct call; without one, it sends the validated `X-Fingerly-SDK-Platform`. -Alongside verified proxy metadata (`X-Fingerly-Host` included), only `Content-Type`, `X-Api-Key`, `User-Agent`, `Idempotency-Key`, `Sec-Fetch-*` and `Sec-CH-UA-*` are forwarded; customer cookies and authorization headers never are, and a visitor header that could not be forwarded is dropped. The proxy reports itself upstream as `java/0.4.0`, which the dashboard shows per proxy. +Alongside verified proxy metadata (`X-Fingerly-Host` included), only `Content-Type`, `X-Api-Key`, `User-Agent`, `Idempotency-Key`, `Sec-Fetch-*` and `Sec-CH-UA-*` are forwarded; customer cookies and authorization headers never are, and a visitor header that could not be forwarded is dropped. The proxy reports itself upstream as `java/0.4.1`, which the dashboard shows per proxy. Only `Content-Type`, `X-Request-Id`, `RateLimit-Limit`, `RateLimit-Remaining` and `Retry-After` are relayed back, plus `Cache-Control: no-store`, so nothing on the response names Fingerly. The answer is read whole before anything is relayed, so a truncated one is never passed on as a success. diff --git a/fingerly-server/src/main/java/io/fingerly/server/FingerlyClient.java b/fingerly-server/src/main/java/io/fingerly/server/FingerlyClient.java index 337501b..92ea45a 100644 --- a/fingerly-server/src/main/java/io/fingerly/server/FingerlyClient.java +++ b/fingerly-server/src/main/java/io/fingerly/server/FingerlyClient.java @@ -32,7 +32,7 @@ public final class FingerlyClient { /** The SDK version, reported to the API on every request. */ - public static final String VERSION = "0.4.0"; + public static final String VERSION = "0.4.1"; private static final Duration DEFAULT_TIMEOUT = Duration.ofSeconds(10); private static final String DEFAULT_API_VERSION = "v1"; diff --git a/gradle.properties b/gradle.properties index e0f018c..3c0b0f4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -version=0.4.0 +version=0.4.1 org.gradle.jvmargs=-Xmx2g org.gradle.caching=true org.gradle.parallel=true