Skip to content

Commit 218409d

Browse files
authored
Merge pull request #35 from bordoni/release/1.0.7
Prepare 1.0.7 release
2 parents 489c5df + b8a97c8 commit 218409d

6 files changed

Lines changed: 18 additions & 5 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Enterprise identity management for WordPress powered by WorkOS. SSO, directory sync, MFA, and user management.
66

7-
- **Version:** 1.0.6
7+
- **Version:** 1.0.7
88
- **Namespace:** `WorkOS\`
99
- **PHP Requirement:** 7.4+
1010
- **WordPress Requirement:** 5.9+

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [1.0.7] - 2026-06-23
4+
5+
### Fixed
6+
7+
- **Active environment no longer reverts on settings save** (#34) — saving WorkOS settings no longer resets `workos_active_environment` to `staging` when the active environment field is absent from the form. The sanitizer now preserves the current active environment, including legacy `workos_global['active_environment']` fallback state.
8+
39
## [1.0.6] - 2026-06-11
410

511
### Added

integration-workos.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Integration with WorkOS
44
* Plugin URI: https://github.com/bordoni/integration-workos
55
* Description: Enterprise identity management for WordPress powered by WorkOS. SSO, directory sync, MFA, and user management.
6-
* Version: 1.0.6
6+
* Version: 1.0.7
77
* Author: Gustavo Bordoni
88
* Author URI: https://github.com/bordoni
99
* License: GPL-2.0-or-later

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "integration-workos",
3-
"version": "1.0.1",
3+
"version": "1.0.7",
44
"description": "Enterprise identity management for WordPress powered by WorkOS.",
55
"private": true,
66
"scripts": {

readme.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tags: sso, identity, workos, authentication, directory-sync
55
Requires at least: 6.2
66
Tested up to: 6.9
77
Requires PHP: 7.4
8-
Stable tag: 1.0.6
8+
Stable tag: 1.0.7
99
License: GPL-2.0-or-later
1010
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1111

@@ -175,6 +175,10 @@ WorkOS is provided by WorkOS, Inc.
175175

176176
== Changelog ==
177177

178+
= 1.0.7 - 2026-06-23 =
179+
180+
* Fix: Active environment no longer reverts on settings save. Saving WorkOS settings no longer resets `workos_active_environment` to `staging` when the active environment field is absent from the form. The sanitizer now preserves the current active environment, including legacy `workos_global['active_environment']` fallback state. (#34)
181+
178182
= 1.0.6 - 2026-06-11 =
179183

180184
* New: WorkOS-verified change-email flow. Self-service `[workos:change-email]` shortcode + admin row action on `wp-admin/users.php` + panel on the user-edit screen. The new address must be confirmed via a hashed token emailed by the plugin (because WorkOS's `email_verification` endpoints can't verify a *pending* change); the old address simultaneously receives a one-click cancel link. Configurable conflict policy (`block` default, `allow_orphan`, `merge_request`) keeps the new email from silently overwriting another local WP user. Commits to WorkOS first (`update_user`) and then mirrors into WordPress, with a 60-second in-progress transient that short-circuits the webhook fan-back. Eight new filters, five new actions, seven new activity-log events, and 40 new WPUnit tests. See `docs/change-email.md`. (#22)
@@ -262,6 +266,9 @@ Base platform:
262266

263267
== Upgrade Notice ==
264268

269+
= 1.0.7 =
270+
Fixes settings saves resetting the active WorkOS environment to Staging when the environment field is absent from the form. The saved active environment is now preserved, including legacy fallback state.
271+
265272
= 1.0.6 =
266273
Adds a WorkOS-verified change-email flow (self-service `[workos:change-email]` shortcode, admin row action, and user-edit panel) with hashed confirm/cancel tokens, a configurable conflict policy, and an old-address cancel notice. Also adds two per-environment magic-code registration toggles (default and legacy sign-in forms) that close an account-enumeration leak by no longer creating accounts — or revealing whether an address exists — for unknown emails when registration is off. Fixes a username-generation memory exhaustion that prevented users with popular email local parts (e.g. `info@`) from being provisioned: collisions now get a hash-derived suffix instead of sequential probing.
267274

src/WorkOS/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Plugin {
5757
*
5858
* @var string
5959
*/
60-
private string $version = '1.0.6';
60+
private string $version = '1.0.7';
6161

6262
/**
6363
* Container instance.

0 commit comments

Comments
 (0)