-
Notifications
You must be signed in to change notification settings - Fork 44
v7.74.0 #1388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Greptile OverviewGreptile SummaryThis release bumps the SDK version to 7.74.0 and includes two new features: the ability to resend user invitations and automatic idempotency key generation for audit log events.
The changes follow established patterns in the codebase and include comprehensive test coverage. No security concerns were identified. Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Client
participant UserManagement
participant AuditLogs
participant API
Note over Client,API: v7.74.0 Release Changes
rect rgb(200, 220, 255)
Note right of Client: Feature 1: Resend Invitation
Client->>UserManagement: resendInvitation(invitationId)
UserManagement->>API: POST /user_management/invitations/{id}/resend
alt Invitation Valid
API-->>UserManagement: 200 OK (Invitation)
UserManagement-->>Client: Invitation object
else Invitation Not Found
API-->>UserManagement: 404 Not Found
UserManagement-->>Client: Throw error
else Invitation Expired/Revoked/Accepted
API-->>UserManagement: 400 Bad Request
UserManagement-->>Client: Throw error
end
end
rect rgb(220, 255, 220)
Note right of Client: Feature 2: Auto-generated Idempotency Keys
Client->>AuditLogs: createEvent(org, event)
Note over AuditLogs: Auto-generate idempotency key<br/>with workos-node prefix
AuditLogs->>API: POST /audit_logs/events<br/>with Idempotency-Key header
alt Success
API-->>AuditLogs: 201 Created
AuditLogs-->>Client: void
else Retryable Error (500, 502, 504, 408)
API-->>AuditLogs: 5xx/408 Error
Note over AuditLogs: Retry with same key<br/>(max 3 retries)
AuditLogs->>API: POST /audit_logs/events<br/>with same Idempotency-Key
API-->>AuditLogs: 201 Created
AuditLogs-->>Client: void
end
end
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 files reviewed, no comments
|
This ended up being bumped in #1393. |
Toward AUTH-5512.
Description
Contains:
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.