Skip to content

Commit b92df9a

Browse files
committed
Release 0.7.0
1 parent 6173cb2 commit b92df9a

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/Test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77
- '**.php'
88
- 'composer.json'
99
branches:
10-
- '0.7.0'
10+
- 'main'
1111
pull_request:
1212
paths:
1313
- '**.php'
1414
- 'composer.json'
1515
branches:
16-
- '0.7.0'
16+
- 'main'
1717
workflow_dispatch:
1818

1919
jobs:

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
JSONPath for PHP 7.1+
22
=============
33

4-
[![Build Status](https://img.shields.io/github/workflow/status/SoftCreatR/JSONPath/Test/0.7.0?label=Build%20Status)](https://github.com/SoftCreatR/JSONPath/actions?query=workflow%3ATest)
4+
[![Build Status](https://img.shields.io/github/workflow/status/SoftCreatR/JSONPath/Test/main?label=Build%20Status)](https://github.com/SoftCreatR/JSONPath/actions?query=workflow%3ATest)
55
[![Latest Release](https://img.shields.io/packagist/v/SoftCreatR/JSONPath?color=blue&label=Latest%20Release)](https://packagist.org/packages/softcreatr/jsonpath)
66
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
7-
[![Codecov branch](https://img.shields.io/codecov/c/github/SoftCreatR/JSONPath/0.7.0)](https://codecov.io/gh/SoftCreatR/JSONPath/branch/0.7.0)
7+
[![Codecov branch](https://img.shields.io/codecov/c/github/SoftCreatR/JSONPath)](https://codecov.io/gh/SoftCreatR/JSONPath)
8+
[![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability-percentage/SoftCreatR/JSONPath)](https://codeclimate.com/github/SoftCreatR/JSONPath)
89

910
This is a [JSONPath](http://goessner.net/articles/JsonPath/) implementation for PHP based on Stefan Goessner's JSONPath script.
1011

@@ -143,12 +144,13 @@ Changelog
143144
🔻 Breaking changes ahead:
144145

145146
- Made JSONPath::__construct final
146-
- Removed deprecated method `data()` from JSONPath (use `getData()` or `jsonSerialize()` instead)
147147
- Added missing type hints
148148
- Partially reduced complexity
149149
- Performed some code optimizations
150150
- Updated composer.json for proper PHPUnit/PHP usage
151151
- Added support for regular expression operator (`=~`)
152+
- Added QueryTest to perform tests against all queries from https://cburgmer.github.io/json-path-comparison/
153+
- Switched Code Style from PSR-2 to PSR-12
152154

153155
### 0.6.4
154156
- Removed unnecessary type casting, that caused problems under certain circumstances

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "softcreatr/jsonpath",
33
"description": "JSONPath implementation for parsing, searching and flattening arrays",
4-
"version": "0.7.0-dev",
4+
"version": "0.7.0",
55
"license": "MIT",
66
"authors": [
77
{

0 commit comments

Comments
 (0)