Skip to content

Commit

Permalink
Merge pull request #51 from microsoft/dev
Browse files Browse the repository at this point in the history
Release 0.7.0
  • Loading branch information
Ndiritu authored Oct 30, 2023
2 parents 0eeb4e7 + 748a73e commit a4e68d8
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 2 deletions.
101 changes: 101 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
id:
name: GitOps.PullRequestIssueManagement
description: GitOps.PullRequestIssueManagement primitive
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
scheduledSearches:
- description:
frequencies:
- hourly:
hour: 6
filters:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
- hasLabel:
label: 'Status: No Recent Activity'
- noActivitySince:
days: 3
actions:
- closeIssue
- description:
frequencies:
- hourly:
hour: 6
filters:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
- noActivitySince:
days: 4
- isNotLabeledWith:
label: 'Status: No Recent Activity'
actions:
- addLabel:
label: 'Status: No Recent Activity'
- addReply:
reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
- description:
frequencies:
- hourly:
hour: 6
filters:
- isIssue
- isOpen
- hasLabel:
label: 'Resolution: Duplicate'
- noActivitySince:
days: 1
actions:
- addReply:
reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes.
- closeIssue
eventResponderTasks:
- if:
- payloadType: Issue_Comment
- isAction:
action: Created
- isActivitySender:
issueAuthor: True
- hasLabel:
label: 'Needs: Author Feedback'
- isOpen
then:
- addLabel:
label: 'Needs: Attention :wave:'
- removeLabel:
label: 'Needs: Author Feedback'
description:
- if:
- payloadType: Issues
- not:
isAction:
action: Closed
- hasLabel:
label: 'Status: No Recent Activity'
then:
- removeLabel:
label: 'Status: No Recent Activity'
description:
- if:
- payloadType: Issue_Comment
- hasLabel:
label: 'Status: No Recent Activity'
then:
- removeLabel:
label: 'Status: No Recent Activity'
description:
- if:
- payloadType: Pull_Request
then:
- inPrLabel:
label: WIP
description:
onFailure:
onSuccess:
2 changes: 1 addition & 1 deletion .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
php-versions: ['7.4', '8.0', '8.1', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.1.1
- name: Setup PHP and Xdebug for Code Coverage report
uses: shivammathur/setup-php@v2
with:
Expand Down
68 changes: 68 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

### Changed

## [0.7.0] - 2023-10-30

### Added
- Adds CHANGELOG. [#47](https://github.com/microsoft/kiota-serialization-json-php/pull/47)

### Changed
- Disabled PHP-HTTP discovery plugin. [#49](https://github.com/microsoft/kiota-serialization-json-php/pull/49)
- Bumps Kiota Abstractions dependency version. [#52](https://github.com/microsoft/kiota-serialization-json-php/pull/52)

## [0.6.0] - 2023-06-29

### Added
- Disable pipeline runs for forks. [#38](https://github.com/microsoft/kiota-serialization-json-php/pull/38)

### Changed
- Handle null values when serializing intersection wrappers. [#39](https://github.com/microsoft/kiota-serialization-json-php/pull/39)

## [0.5.1] - 2023-06-12

### Changed
- Fix DateTime serialization. [#35](https://github.com/microsoft/kiota-serialization-json-php/pull/35)

## [0.5.0] - 2023-05-18

### Changed
- Bump abstractions. [#29](https://github.com/microsoft/kiota-serialization-json-php/pull/29)

## [0.4.3] - 2023-04-13

### Added
- Support deserializing objects to stream. [#22](https://github.com/microsoft/kiota-serialization-json-php/pull/22)

## [0.4.2] - 2023-03-22

### Changed
- Fix static analysis issues. [#17](https://github.com/microsoft/kiota-serialization-json-php/pull/17)
- Fix PHPStan failure when getting object value from JsonParseNode. [#18](https://github.com/microsoft/kiota-serialization-json-php/pull/18)

## [0.4.1] - 2023-03-07

### Changed
- fix: tab escaping. [#15](https://github.com/microsoft/kiota-serialization-json-php/pull/15)

## [0.4.0] - 2023-02-21

### Added
- Composed types (De)serialization support. [#6](https://github.com/microsoft/kiota-serialization-json-php/pull/6)
- Add SonarCloud Coverage reporting. [#10](https://github.com/microsoft/kiota-serialization-json-php/pull/10)
- Change workflow to use strategy matrix for PHP versions. [#8](https://github.com/microsoft/kiota-serialization-json-php/pull/8)

### Changed
- Bump Abstractions version. [#13](https://github.com/microsoft/kiota-serialization-json-php/pull/13)


*For previous releass, please see our [Release Notes](https://github.com/microsoft/kiota-serialization-json-php/releases)*
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
},
"require": {
"microsoft/kiota-abstractions": "^0.8.0",
"microsoft/kiota-abstractions": "^0.9.0",
"guzzlehttp/psr7": "^1.6 || ^2",
"php": "^7.4 || ^8",
"ext-json": "*"
Expand All @@ -25,5 +25,10 @@
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^8 || ^9",
"phpstan/phpstan": "^1.4"
},
"config": {
"allow-plugins": {
"php-http/discovery": false
}
}
}
8 changes: 8 additions & 0 deletions src/Constants.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace Microsoft\Kiota\Serialization\Json;

final class Constants
{
public const VERSION = '0.7.0';
}

0 comments on commit a4e68d8

Please sign in to comment.