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: dmitryuk/JSONPath
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: SoftCreatR/JSONPath
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 70 files changed
  • 3 contributors

Commits on Nov 24, 2025

  1. Apply php-cs-fixer

    mpesari committed Nov 24, 2025
    Configuration menu
    Copy the full SHA
    6ea7434 View commit details
    Browse the repository at this point in the history
  2. Run tests on PHP 8.5

    mpesari committed Nov 24, 2025
    Configuration menu
    Copy the full SHA
    7d0d3cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    18cbc1c View commit details
    Browse the repository at this point in the history
  4. Merge pull request SoftCreatR#81 from mpesari/main

    Fix deprecation warning on PHP 8.5
    SoftCreatR authored Nov 24, 2025
    Configuration menu
    Copy the full SHA
    09379ce View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    20221eb View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2025

  1. [Release] 0.11.0

    Signed-off-by: Sascha Greuel <[email protected]>
    SoftCreatR committed Dec 17, 2025
    Configuration menu
    Copy the full SHA
    7eb2365 View commit details
    Browse the repository at this point in the history
  2. Codecov

    Signed-off-by: Sascha Greuel <[email protected]>
    SoftCreatR committed Dec 17, 2025
    Configuration menu
    Copy the full SHA
    af17176 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2025

  1. [Release] 1.0.0

    - Rebuilt the test suite from scratch: removed bulky baseline fixtures and added compact unit/integration coverage for every filter (index, union, query, recursive, slice), lexer edge cases, and JSONPath core helpers. Runs reflection-free and deprecation-free.
    - Achieved and enforced 100% code coverage across AccessHelper, all filters, lexer, tokens, and JSONPath core while keeping phpstan and coding standards clean.
    - Added a lightweight manual query runner with curated examples to exercise selectors quickly without external datasets.
    - Major compatibility push toward the unofficial JSONPath standard: unions support slices/queries/wildcards, trailing commas parse correctly, negative indexes and bracket-escaped keys (quotes, brackets, wildcards, special chars) are honored, filters compare path-to-path and root references, equality/deep-equality/regex/in/nin semantics align with expectations, and null existence/value handling follows RFC behavior.
    - New feature highlights from this cycle:
      - Multi-key unions with and without quotes: `$[name,year]` and `$["name","year"]`.
      - Robust bracket notation for special/escaped keys, including `']'`, `'*'`, `$`, backslashes, and mixed punctuation.
      - Trailing comma support in unions/slices (e.g. `$..books[0,1,2,]`).
      - Negative index handling aligned with spec (short arrays return empty; -1 works where valid).
      - Filter improvements: path-to-path/root comparisons, deep equality across scalars/objects/arrays/null/empties, regex matching, `in`/`nin`/`!in`, tautological expressions, and `?@` existence behavior per RFC.
      - Unions combining slices/queries/wildcards now return complete results (e.g. `$[1:3,4]`, `$[*,1]`).
    
    This fixes SoftCreatR#72, fixes SoftCreatR#61, fixes SoftCreatR#60, fixes SoftCreatR#59, fixes SoftCreatR#58, fixes SoftCreatR#51, fixes SoftCreatR#44, fixes SoftCreatR#41, fixes SoftCreatR#40, fixes SoftCreatR#39, fixes SoftCreatR#38, fixes SoftCreatR#37, fixes SoftCreatR#36, fixes SoftCreatR#35, fixes SoftCreatR#34, fixes SoftCreatR#33, fixes SoftCreatR#32, fixes SoftCreatR#31, fixes SoftCreatR#30, fixes SoftCreatR#29, fixes SoftCreatR#9, closes SoftCreatR#3
    
    Signed-off-by: Sascha Greuel <[email protected]>
    SoftCreatR committed Dec 18, 2025
    Configuration menu
    Copy the full SHA
    d6ccedf View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2026

  1. - Aligned the query runner and lexer with the JSONPath comparison sui…

    …te: JSON documents are now decoded as objects to preserve `{}` vs `[]`, unsupported selectors no longer abort the runner, and dot-notation now accepts quoted keys with dots/spaces/leading `@`.
    
    - Hardened filter parsing: boolean-only filters (`?(true|false|null)`), literal short-circuiting (`&& false`, `|| true`), and empty filters now return the expected collections instead of throwing.
    - Slice filters gracefully skip non-countable objects.
    
    Signed-off-by: Sascha Greuel <[email protected]>
    SoftCreatR committed Jan 15, 2026
    Configuration menu
    Copy the full SHA
    23d04a3 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2026

  1. Fixed tokenizer handling for quoted bracket keys containing $ so li…

    …terals like `['[$the.size$]']` remain atomic and do not split into root tokens.
    
    Signed-off-by: Sascha Greuel <[email protected]>
    SoftCreatR committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    a07f7e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2026

  1. feat!: align JSONPath behavior with RFC consensus and add PHP 8.3 - 8…

    ….6 support
    
    Signed-off-by: Sascha Greuel <[email protected]>
    SoftCreatR committed Sep 13, 2026
    Configuration menu
    Copy the full SHA
    941fe47 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2026

  1. [Release] 2.1.0

    - Added the RFC 9535 `length()`, `count()`, `match()`, `search()`, and `value()` function extensions.
    - Added a dedicated expression parser and static type checker for function expressions; malformed and ill-typed expressions are rejected without evaluating user-controlled PHP code.
    - Added checked RFC 9485 I-Regexp support for full-string and substring matching, with PCRE resource limits.
    
    Signed-off-by: Sascha Greuel <[email protected]>
    SoftCreatR committed Sep 28, 2026
    Configuration menu
    Copy the full SHA
    105243c View commit details
    Browse the repository at this point in the history
Loading