Certain WorkOS features may be available only in the beta version of the SDK. Beta versions have the -beta.* suffix, for example, 3.2.0-beta.1. For more information on how to use the beta versions, refer to the README in the GitHub repository.
Releases
May 3, 2024
v4.6.0
Latest
May 3, 2024
Added
Added acceptInvitationUrl to invitation object returned by API (#224)
Added new endpoints for the Magic Auth API: getMagicAuth and createMagicAuth (#224)
Deprecation notice for sendMagicAuthCode method in favor of createMagicAuth (#224)
May 2, 2024
v4.5.0
May 2, 2024
Added
Add domain_data to Organizations Create and Update methods to replace the now deprecated domains parameter (#221)
[Breaking Change] Removed beta version of the User Management module. Stable User Management release coming soon! (#198)
September 20, 2023
v3.4.0
September 20, 2023
What's Changed
Add .gitattributes file by @sheldonvaughn in https://github.com/workos/workos-php/pull/176
May 4, 2023
v3.3.0
May 4, 2023
What's Changed
Remove illuminate/support dependency to allow Laravel 10 by @sheldonvaughn in https://github.com/workos/workos-php/pull/147
Add actorNames and actorIds to createExport by @robframpton in https://github.com/workos/workos-php/pull/146
Full Changelog: https://github.com/workos/workos-php/compare/v3.2.0...v3.3.0
April 13, 2023
v3.2.0
April 13, 2023
What's Changed
Fix team name in CODEOWNERS by @willmanduffy in https://github.com/workos/workos-php/pull/143
Add throws tag to every methods by @VincentLanglet in https://github.com/workos/workos-php/pull/142
Bump Version to 3.2.0 by @sheldonvaughn in https://github.com/workos/workos-php/pull/144
Full Changelog: https://github.com/workos/workos-php/compare/v3.1.1...v3.2.0
March 30, 2023
v3.1.1
March 30, 2023
What's Changed
Fix ConnectionType usage by replacing all null|ConnectionType variable types with null|string in phpdoc(s) by @VincentLanglet in https://github.com/workos/workos-php/pull/140
March 7, 2023
v3.1.0
March 7, 2023
Added
Added groups attribute to SSO user profile. This feature is in beta, please reach out to support@workos.com to access this feature. (#137)
February 2, 2023
v3.0.0
February 2, 2023
Breaking Changes
PHP 7.3.0 and above required
Other Changes
Updated syntax for PHP 8.2 compatibility re:
https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
Added @property annotation to Profile and ProfileAndToken classes in order to have autocompletion from PHPStorm or for static analysis tools like PHPStan. This way, both understand the syntax
The Profile returned in SSO::getProfileAndToken will now return a profile array (https://workos.com/docs/reference/sso/profile) with values using camelCasing instead of snake_casing (#91) in line with PHP standards and the other workos-php functions.
November 10, 2022
v1.19.0
November 10, 2022
Changed
Remove default null value on domain parameter for getAuthorizationUrl function to resolve https://github.com/workos/workos-php/issues/124
Note: This release was mistakenly tagged v1.19.9. If you installed immediately you may see the version downgrade from v1.19.9 -> v1.19.0 on your next composer command.
October 18, 2022
v1.18.0
October 18, 2022
Added
Add success_url to generateLink (https://github.com/workos/workos-php/pull/125)
Add getFactor and deleteFactor methods to MFA class (https://github.com/workos/workos-php/pull/122)
October 12, 2022
v1.17.0
October 12, 2022
Added
Added job title attribute for directory users (#121)
September 26, 2022
v1.16.0
September 26, 2022
Changed
Improved error handling to return detailed error message from the API