PHP SDK

PHP SDK v2.0.0

View on GitHub

New Features and Improvements

  • Anchored Bucketing Layout:
    Introduced anchored bucketing layout with contract v12.
    Commit cdafc96

  • Experiment Preview Links:
    Integrated experiment preview links and debugToken into the Laravel demo.
    Commit 8070ea4

  • In-Process Event Tracing:
    Implemented zero-trace for in-process events related to bucketing, conversion, and location.
    Commit 875efe0

  • Shared Predicate Extraction:
    Extracted shared active-variation predicate in DataManager for enhanced data handling.
    Commit b044c4f

Bug Fixes

  • Debug Token Redaction:
    Added encoding-agnostic redaction and null guard for preview keys to improve security.
    Commit cd00939, closes #51

  • Null Visitor Properties Handling:
    Coerced null visitor properties and added guards for arrays and IDs in the mutual-exclusion path to prevent errors.
    Commit ad15917


PHP SDK v1.1.2

View on GitHub

New Features and Improvements

  • New Comparison Operators: Added exists, not_exists, and doesNotExist operators to achieve parity with the JS SDK. These operators allow for more flexible conditional logic in your applications. (5f78fa6)

Bug Fixes

  • Visitor Type Segment Key Update: Changed the visitor_type segment key to visitorType to ensure consistency with the JS SDK. This helps maintain uniform segment handling across different SDKs. (89a8391)

PHP SDK v1.1.1

View on GitHub

New Features and Improvements

  • Automated PHP Serving API: Automated PHP Serving API types update

Bug Fixes

  • segments: adopt renamed spec: segments: adopt renamed spec property customSegments

PHP SDK v1.1.0

View on GitHub

New Features and Improvements

  • api: always announce as: api: always announce as Convert SDK via ConvertAgent User-Agent

Refactoring

  • api: extract CONVERT_AGENT_USER_AGENT as: api: extract CONVERT_AGENT_USER_AGENT as a class constant

PHP SDK v1.0.1

View on GitHub

Bug Fixes

  • context: forward all BucketingAttributes: context: forward all BucketingAttributes to ExperienceManager
  • release: stop monorepo-builder from: release: stop monorepo-builder from creating release commits
  • release: switch to tag-only: release: switch to tag-only release pipeline (no branch commits)
  • Restore Berry-format yarn.lock from: Restore Berry-format yarn.lock from main

Did this page help you?