@studio-design/studio-auth-node 0.2.27-rc.9 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @studio-design/studio-auth-node
2
2
 
3
+ ## [0.3.0](https://github.com/studio-design/studio-auth/compare/sdk-v0.2.26...sdk-v0.3.0) (2026-05-20)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **sdk:** PATCH /organizations/{organization_id}/members/{member_id} no longer returns 400 when the caller targets their own membership. Successful self-demotions now return 200, and attempts that would remove the last remaining owner return 409 (LastOwnerRoleCannotBeChanged) instead of 400. Clients that branched on the previous 400 contract must be updated to handle 200/409 accordingly.
9
+
10
+ ### Features
11
+
12
+ * **sdk:** allow self-demotion on organization member role update ([ffbe6ab](https://github.com/studio-design/studio-auth/commit/ffbe6ab5dd5fefc7dd84d2c1625314ed928b5409))
13
+
3
14
  ## [0.2.26](https://github.com/studio-design/studio-auth/compare/sdk-v0.2.25...sdk-v0.2.26) (2026-05-16)
4
15
 
5
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studio-design/studio-auth-node",
3
- "version": "0.2.27-rc.9",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for Studio Auth Service API",
6
6
  "license": "MIT",