Skip to content

Update softcreatr/jsonpath version constraint to include 2.0 - #123

Open
SoftCreatR wants to merge 1 commit into
Codeception:masterfrom
SoftCreatR:patch-1
Open

Update softcreatr/jsonpath version constraint to include 2.0#123
SoftCreatR wants to merge 1 commit into
Codeception:masterfrom
SoftCreatR:patch-1

Conversation

@SoftCreatR

Copy link
Copy Markdown
Contributor

Expands the supported softcreatr/jsonpath versions to include ^2.0.

The integration continues to use the unchanged public API:

(new JSONPath($data))->find($jsonPath)->getData();

Compatibility

  • The complete module test suite passes with JSONPath 2.0 on PHP 8.3 and PHP 8.5:

    • 132 tests
    • 352 assertions
  • PHP 8.2 continues to resolve an older compatible JSONPath version because JSONPath 2.0 requires PHP 8.3 or newer (incl. PHP 8.6).

  • Existing documented JSONPath examples remain compatible.

Important: softcreatr/jsonpath 2.0 introduces stricter RFC 9535-aligned behavior. Ambiguous or non-standard legacy expressions may now be rejected instead of being interpreted permissively, while valid standard expressions produce corrected results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant