From b92df9aa211d076a3810c783c874a54014d4d5c1 Mon Sep 17 00:00:00 2001 From: Sascha Greuel Date: Wed, 21 Oct 2020 14:48:14 +0200 Subject: [PATCH] Release 0.7.0 --- .github/workflows/Test.yml | 4 ++-- README.md | 8 +++++--- composer.json | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index c777807..6027b9a 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -7,13 +7,13 @@ on: - '**.php' - 'composer.json' branches: - - '0.7.0' + - 'main' pull_request: paths: - '**.php' - 'composer.json' branches: - - '0.7.0' + - 'main' workflow_dispatch: jobs: diff --git a/README.md b/README.md index e5346e2..2c4a4f7 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ JSONPath for PHP 7.1+ ============= -[![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) +[![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) [![Latest Release](https://img.shields.io/packagist/v/SoftCreatR/JSONPath?color=blue&label=Latest%20Release)](https://packagist.org/packages/softcreatr/jsonpath) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) -[![Codecov branch](https://img.shields.io/codecov/c/github/SoftCreatR/JSONPath/0.7.0)](https://codecov.io/gh/SoftCreatR/JSONPath/branch/0.7.0) +[![Codecov branch](https://img.shields.io/codecov/c/github/SoftCreatR/JSONPath)](https://codecov.io/gh/SoftCreatR/JSONPath) +[![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability-percentage/SoftCreatR/JSONPath)](https://codeclimate.com/github/SoftCreatR/JSONPath) This is a [JSONPath](http://goessner.net/articles/JsonPath/) implementation for PHP based on Stefan Goessner's JSONPath script. @@ -143,12 +144,13 @@ Changelog 🔻 Breaking changes ahead: - Made JSONPath::__construct final - - Removed deprecated method `data()` from JSONPath (use `getData()` or `jsonSerialize()` instead) - Added missing type hints - Partially reduced complexity - Performed some code optimizations - Updated composer.json for proper PHPUnit/PHP usage - Added support for regular expression operator (`=~`) + - Added QueryTest to perform tests against all queries from https://cburgmer.github.io/json-path-comparison/ + - Switched Code Style from PSR-2 to PSR-12 ### 0.6.4 - Removed unnecessary type casting, that caused problems under certain circumstances diff --git a/composer.json b/composer.json index 26c8c07..c03b352 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "softcreatr/jsonpath", "description": "JSONPath implementation for parsing, searching and flattening arrays", - "version": "0.7.0-dev", + "version": "0.7.0", "license": "MIT", "authors": [ {