Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: workos/workos-php
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.28.0
Choose a base ref
...
head repository: workos/workos-php
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.29.0
Choose a head ref
  • 7 commits
  • 32 files changed
  • 2 contributors

Commits on Nov 25, 2025

  1. Add Organization Feature Flags & Vault Support (#299)

    * Added Organization Feature Flags functionality in Organizations by introducing the `listOrganizationFeatureFlags` method.
    
    Added tests to validate organization feature flags.
    
    Resolved a deprecated notice in the OrganizationsTest to ensure compatibility with newer PHP versions.
    
    Implemented support for reading Vault items.
    
    Expanded the test suite to encompass Vault-related functionalities.
    
    * Added patch with pagination and other changes from @nicknisi
    
    This brings it into alignment with the Node SDK
    blobaugh authored Nov 25, 2025
    Configuration menu
    Copy the full SHA
    cc4d46b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d88d10 View commit details
    Browse the repository at this point in the history
  3. Fix PHP 8.4 deprecation: Add explicit nullable type hints (#309)

    * Fix PHP 8.4 deprecation: Add explicit nullable type hints
    
    Resolves #296
    
    PHP 8.4 deprecates implicitly nullable parameters (e.g., `string $param = null`).
    This change adds explicit nullable type hints (`?string $param = null`) across
    the SDK to eliminate deprecation warnings while maintaining backward compatibility
    with PHP 7.3+.
    
    Changes:
    - Added explicit nullable type hints to all nullable parameters in:
      - UserManagement, AuditLogs, Organizations, SSO, MFA, Portal, DirectorySync
      - Client, CurlRequestClient, WebhookResponse
      - Exception classes (GenericException, BaseRequestException)
    - Updated RequestClientInterface to match implementation signature
    - Added tests to verify null parameter handling and backward compatibility
    - Fixed test expectations to match actual implementation behavior
    
    All 167 tests pass. No breaking changes - only type hints added.
    
    * Resolved conflicts due to missing changes upstream.
    
    Take particular note of the changes to $roleSlugs. There was a mismatch between the phpdoc, tests, and api docs. This commit went with the array due to both the test and api doc specifying the array type. The php doc was updated to reflect the array change.
    blobaugh authored Nov 25, 2025
    Configuration menu
    Copy the full SHA
    2714471 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2025

  1. Fix incomplete Portal intent documentation and add validation (#310)

    Update PHPDoc to include missing intent values (certificate_renewal,
    domain_verification) and add runtime validation for $intent parameter
    to provide better error messages before API calls. Includes test
    coverage for all intent values and invalid intent handling.
    
    Fixes #295
    blobaugh authored Nov 26, 2025
    Configuration menu
    Copy the full SHA
    b37dad7 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2025

  1. Add roles to directory user and SSO profile (#311)

    * Add roles to directory user and profile
    
    * fix roles serialization on org membership
    kendallstrautman authored Dec 3, 2025
    Configuration menu
    Copy the full SHA
    2aab862 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f31ec51 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    101d380 View commit details
    Browse the repository at this point in the history
Loading