Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Changelog

## 0.3.0

- Synced the vendored `v: 3` OpenAPI and fixture contract snapshot, added
`Event.getReason()` and `EventTrigger` v3 signal constants, and documented
empty `visitor_id` (`""`) on unidentifiable events.
- Enforced the `proxy.md` sanitize-and-restore contract across `FingerlyProxy`
and all servlet/WebFlux adapters: validated `X-Fingerly-SDK-Platform`
restoration after stripping `x-fingerly-*`, HTTP `400 missing_origin` when
both `Origin` and a validated native platform header are absent (never
synthesizing `X-Fingerly-Origin`), forwarding `Sec-Fetch-*` and `Sec-CH-UA-*`
headers, and optional cross-origin CORS support.
- `FingerlyProxy` requires a `fly_px_` proxy key and checks the caller's
public key on every request; a secret key is never sent upstream.
- `fingerly.deviceCheck().query(requestId)` and
`fingerly.deviceCheck().write(requestId, DeviceCheckWrite)` (with
`queryAsync` and `writeAsync`) read and write an iOS event's DeviceCheck
bits. They retry the identical request only after a `503` or a transport
failure, and `FingerlyApiException` names each DeviceCheck error code and
`getAppleStatus()`.
- Added `fingerly.events().verify(requestId, VerifyOptions)` (with
`verify(requestId)` and `verifyAsync`), which reads an event and checks it exists, is recent
(`maxAgeSeconds`, 300 by default), carries the expected `tag`, is
identifiable and scored, then consumes it once, and
`fingerly.events().consume(requestId)` (with `consumeAsync`), which throws
`EventAlreadyConsumedException` on `409 event_already_consumed`.

## 0.2.0

- `Event.getProjectId()` returns the Fingerly project an event belongs to, on
Expand Down
115 changes: 100 additions & 15 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions contract/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"schema": 1,
"serverCommit": "e22f96777b0d029464baa4e127d7a346b684d478",
"serverCommit": "2f24510cfb9a41f780936841cc47ca8a1c012201",
"files": {
"openapi.json": "850e7627dbbf1789fe7a0a214ae28838f2cd80d42e251f9994f5cb42d72e6009",
"openapi.json": "87c3881291f8a9cba673f2a62a3bad85f6ff7f8195c01efcae54f84f6887bd93",
"fixtures.json": "3fbf2efbcf3c8ebced3d2c9f2a3c1f5752ee94ece63d5c110291d9a8251ff68f"
}
}
Loading
Loading