Skip to content

fix: SDK update for version 0.18.0 - #35

Merged
ChiragAgg5k merged 2 commits into
mainfrom
release/0.17.1
Oct 12, 2026
Merged

ChiragAgg5k merged 2 commits into
mainfrom
release/0.17.1

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 0.18.0.

What's Changed

  • Breaking: ProjectAuthMethodId and ProjectPolicyId gain a Passkey variant; exhaustive match expressions need a new arm
  • Added: ProjectAuthMethodId::Passkey, so project.update_auth_method can enable passkeys
  • Added: ProjectPolicyId::Passkey and the PolicyPasskey model, so get_policy and list_policies return the passkey policy

Completes the passkeys release: 0.17.0 shipped the passkey methods, but not the passkey auth method and policy IDs or the PolicyPasskey model. The enums are exhaustive, so the new variants are source-breaking and this ships as 0.18.0 (a breaking bump for a 0.x crate under Cargo's rules), not 0.17.1. cargo build and cargo test (760) pass.

@hansi-codes

hansi-codes Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Adds passkey auth-method and policy IDs, plus the PolicyPasskey model and its public model registration. Updates the crate documentation and SDK metadata to version 0.18.0 for the breaking enum additions.

Latest changes: The newest commits bump the crate version, dependency examples, SDK request headers, and exported version constant from 0.17.1 to 0.18.0.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 8
File Change
Cargo.toml Sets the crate version to 0.18.0.
README.md Updates the dependency example to use version 0.18.0.
src/client.rs Updates the user-agent and SDK version request headers to 0.18.0.
src/enums/project_auth_method_id.rs Adds the passkey auth-method ID.
src/enums/project_policy_id.rs Adds the passkey policy ID.
src/lib.rs Updates the dependency example and exported SDK version constant to 0.18.0.
src/models/mod.rs Registers and re-exports the PolicyPasskey model.
src/models/policy_passkey.rs Defines the passkey policy model and basic tests.

Reviewed the commits since 81f4256 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@hansi-codes hansi-codes Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Tier A · See the inline comments. Summary

Comment thread Cargo.toml Outdated
Comment thread src/models/policy_passkey.rs
@ChiragAgg5k ChiragAgg5k changed the title fix: SDK update for version 0.17.1 fix: SDK update for version 0.18.0 Oct 12, 2026

@hansi-codes hansi-codes Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Tier A · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit fb2b68c into main Oct 12, 2026
1 check 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.

1 participant