Releases: workos/workos-go
Releases · workos/workos-go
v6.4.0
What's Changed
- Make Pipes interface a little more idiomatic Go by @dandorman in #488
- Bump version to 6.3.0 by @workos-sdk-automation[bot] in #489
- Add custom_attributes field to OrganizationMembership by @ajworkos in #490
- add list session method by @petarTenderly in #470
- Bump version to 6.4.0 by @workos-sdk-automation[bot] in #491
New Contributors
- @workos-sdk-automation[bot] made their first contribution in #489
- @petarTenderly made their first contribution in #470
Full Changelog: v6.3.0...v6.4.0
v6.3.0
What's Changed
- Add context7.json to repo by @nicknisi in #483
- Add
ReadObjectByNamemethod for Vault API by @hexedpackets in #484 - Add Pipes module by @dandorman in #487
- Make Pipes interface a little more idiomatic Go by @dandorman in #488
- Bump version to 6.3.0 by @workos-sdk-automation[bot] in #489
New Contributors
- @dandorman made their first contribution in #487
- @workos-sdk-automation[bot] made their first contribution in #489
Full Changelog: v6.2.0...v6.3.0
v6.2.0
What's Changed
- Add
rolesproperty to directory user & sso profile by @kendallstrautman in #481 - Bump version v6.2.0 by @kendallstrautman in #482
Full Changelog: v6.1.0...v6.2.0
v6.1.0
What's Changed
- Default to adding idempotecy-key to audit-logs/events if not present, added in retryability logic to endpoints#492 by @swaroopAkkineniWorkos in #475
- Add support for resending invites by @antn in #476
New Contributors
- @swaroopAkkineniWorkos made their first contribution in #475
- @antn made their first contribution in #476
Full Changelog: v6.0.0...v6.1.0
v6.0.0
What's Changed
- Add
permissionsto the ListOrganizationRoles response by @jyecusch in #468 - Fix UpdateOrganization JSON serialization by @nicknisi in #472
- Change organization metadata to map[string]*string by @nicknisi in #471
- Remove "domain" param from directories query by @ameesha in #301
- Fix CreateOrganizationOpts.Metadata to use map[string]string by @nicknisi in #474
New Contributors
Full Changelog: v5.2.0...v6.0.0
v5.2.0
What's Changed
- Add organization name field to OrganizationMembership struct by @kaylagordon in #463
- updated the UpdateOrganizationOpts fields to optional by @rarevalo13 in #460
- V5.2.0 by @rarevalo13 in #465
New Contributors
- @kaylagordon made their first contribution in #463
Full Changelog: v5.1.0...v5.2.0
v5.1.0
v5.0.0
What's Changed
Breaking Changes Summary
The v5 release includes the following breaking change:
UpdateUserOpts.Metadatafield type changed frommap[string]stringtomap[string]*string(introduced in PR #457)- This allows setting metadata values to
nilto remove them server-side
Migration Guide for Users
// v4 (old)
import "github.com/workos/workos-go/v4/pkg/usermanagement"
opts := usermanagement.UpdateUserOpts{
User: "user_123",
Metadata: map[string]string{
"department": "Engineering",
},
}
// v5 (new)
import "github.com/workos/workos-go/v5/pkg/usermanagement"
dept := "Engineering"
opts := usermanagement.UpdateUserOpts{
User: "user_123",
Metadata: map[string]*string{
"department": &dept,
"old_field": nil, // Removes this field
},
}Full Changelog: v4.46.1...v5.0.0