From 52a5da791208d277d42e6f07179ab929f3291037 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Fri, 1 Dec 2023 11:47:36 +0300 Subject: [PATCH 1/4] Bump min kiota abstractions version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index be584f5..82a08e7 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } }, "require": { - "microsoft/kiota-abstractions": "^1.0.0", + "microsoft/kiota-abstractions": "^1.0.2", "guzzlehttp/psr7": "^1.6 || ^2", "php": "^7.4 || ^8", "ext-json": "*" From 6abb1ab7d46b1ffe420d01104b2ac5297440014a Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Fri, 1 Dec 2023 11:48:16 +0300 Subject: [PATCH 2/4] Move tests autoload to autoload-dev --- composer.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 82a08e7..7865bf1 100644 --- a/composer.json +++ b/composer.json @@ -11,10 +11,14 @@ "license": ["MIT"], "autoload": { "psr-4": { - "Microsoft\\Kiota\\Serialization\\Json\\": "src", - "Microsoft\\Kiota\\Serialization\\Tests\\": "tests" + "Microsoft\\Kiota\\Serialization\\Json\\": "src" } }, + "autoload-dev": { + "psr-4": { + "Microsoft\\Kiota\\Serialization\\Tests\\": "tests" + } + }, "require": { "microsoft/kiota-abstractions": "^1.0.2", "guzzlehttp/psr7": "^1.6 || ^2", From 879678fcd2a1fc69c54454b42bbfeeab23947853 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Fri, 1 Dec 2023 11:52:20 +0300 Subject: [PATCH 3/4] Bump version, update CHANGELOG and README --- .github/workflows/pr-validation.yml | 2 +- CHANGELOG.md | 5 +++++ README.md | 4 ++-- src/Constants.php | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 19f27db..d912dd1 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -1,4 +1,4 @@ -name: PHP Serialization JSON +name: Build on: workflow_dispatch: diff --git a/CHANGELOG.md b/CHANGELOG.md index 772e6cc..2c3311d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +## [1.0.1] + +### Changed +- Exclude non-prod files from shipped archive + ## [1.0.0] - 2023-11-01 ### Changed diff --git a/README.md b/README.md index 7b9df4c..c3cb87a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Kiota JSON Serialization Library for PHP -[![Build Status](https://travis-ci.org/microsoft/kiota-serialization-json-php.svg?branch=main)](https://travis-ci.org/microsoft/kiota-serialization-json-php) +![Build Status](https://github.com/microsoft/kiota-serialization-json-php/actions/workflows/pr-validation.yml/badge.svg) [![Latest Stable Version](https://poser.pugx.org/microsoft/kiota-serialization-json/version)](https://packagist.org/packages/microsoft/kiota-serialization-json) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=microsoft_kiota-serialization-json-php&metric=coverage)](https://sonarcloud.io/dashboard?id=microsoft_kiota-serialization-json-php) @@ -17,7 +17,7 @@ run `composer require microsoft/kiota-serialization-json` or add the following t ```Shell { "require": { - "microsoft/kiota-serialization-json": "^0.1.0" + "microsoft/kiota-serialization-json": "^1.0.1" } } ``` diff --git a/src/Constants.php b/src/Constants.php index 37b016c..3c463ac 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -4,5 +4,5 @@ final class Constants { - public const VERSION = '1.0.0'; + public const VERSION = '1.0.1'; } From fdcff14847e01e7bf175c8686468e5ca9b47e383 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Fri, 1 Dec 2023 11:53:20 +0300 Subject: [PATCH 4/4] Exclude non-prod files from shipped archive --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitattributes b/.gitattributes index 80b1920..23d0919 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,3 +5,8 @@ /vendor export-ignore .gitattributes export-ignore .gitignore export-ignore +/.github export-ignore +/tests export-ignore +phpstan.neon export-ignore +phpunit.xml export-ignore +sonar-project.properties export-ignore