Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@crocodele crocodele released this 29 Jan 13:25
4d9a7ca

Breaking changes

In comparisons involving numbers, numeric strings are now treated as numbers.

Example:

$data = [
    'items' => [
        [
            'id' => 1,
            'quantity' => 5,
        ],
        [
            'id' => 2,
            'quantity' => '8',
        ],
    ],
];

Before: $.items[?(@.quantity > 0)] returns [['id' => 1, 'quantity' => 5]].
After: $.items[?(@.quantity > 0)] returns [['id' => 1, 'quantity' => 5], ['id' => 2, 'quantity' => '8']].

What's Changed

  • Test also on PHP 8.4 for Windows and PHP 8.5 (nightly) for Linux, cache PHP-SDK in Windows by @crocodele in #192
  • Allow numeric strings in number comparisons by @crocodele in #191
  • Publish version 3.0.0 by @crocodele in #195

Full Changelog: v2.1.1...v3.0.0