Skip to content

Release 0.4.0 - #6

Merged
hasan-muzak merged 4 commits into
mainfrom
feat/sdk-enums
Nov 17, 2026
Merged

hasan-muzak merged 4 commits into
mainfrom
feat/sdk-enums

Conversation

@hasan-muzak

Copy link
Copy Markdown
Contributor

Releases 0.4.0 on merge (release.yml publishes when the manifest version is new).

  • Export str enums for the fixed API and webhook values: Signal, SuspectLevel, Confidence, EventState, Environment, AttestationState, AttestationStatus, AttestSkippedReason, VerifyReason and WebhookEventType. Model fields stay str, so unknown future values still parse.
  • VerifyReason is now an enum class instead of a Literal alias (breaking for type checkers; runtime values unchanged).
  • Match the signal list to the server: add repeated_reinstall, device_activity_high and device_activity_very_high, drop app_attest_key_churn.
  • Use the named constants in the README examples.
  • Bump the version, proxy version and user agent to 0.4.0 and add the changelog entry.

Closes #5

Signal, SuspectLevel, Confidence, EventState, Environment, AttestationState, AttestationStatus, AttestSkippedReason, VerifyReason and WebhookEventType are str enums whose members equal their raw values. Model fields stay typed str so an unknown value still parses. VerifyReason is now an enum class instead of a Literal alias, and SIGNAL_NAMES is built from Signal.
Add repeated_reinstall, device_activity_high and device_activity_very_high, and drop the retired app_attest_key_churn.
@hasan-muzak
hasan-muzak merged commit e28459c into main Nov 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose named constants for fixed API string values

1 participant