diff --git a/.github/release-please.yml b/.github/release-please.yml new file mode 100644 index 00000000..9d1d1d9c --- /dev/null +++ b/.github/release-please.yml @@ -0,0 +1,3 @@ +manifest: true +primaryBranch: main +handleGHRelease: true diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 00000000..b018ce6b --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.0.1" +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b8aef12..0c92d211 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,22 +2,20 @@ 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). - ## [1.0.1] - 2024-04-22 ### Added ### Changed - -Enabled Large File Upload and Page iterator support + -Enabled Large File Upload and Page iterator support ## [1.0.0] - 2023-10-31 ### Added ### Changed + - GA release. ## [1.0.0a6] - 2023-10-12 @@ -25,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added ### Changed + - Replaced default transport with graph transport when using custom client with proxy. ## [1.0.0a5] - 2023-06-20 diff --git a/pyproject.toml b/pyproject.toml index 84d9ea3e..b9c4cd99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,10 @@ build-backend = "setuptools.build_meta" [project] name = "msgraph-core" -version = "1.0.0" +# The SDK version +# x-release-please-start-version +version = "1.0.1" +# x-release-please-end authors = [{name = "Microsoft", email = "graphtooling+python@microsoft.com"}] description = "Core component of the Microsoft Graph Python SDK" dependencies = [ @@ -23,6 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: MIT License", ] diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 00000000..e36a1fbb --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,23 @@ +{ + "bootstrap-sha": "69079661c12dbfe6bf0c7cc379597d0c6c49e6f8", + "exclude-paths": [ + ".git", + ".idea", + ".github", + ".vscode" + ], + "release-type": "python", + "include-component-in-tag": false, + "include-v-in-tag": true, + "packages": { + ".": { + "package-name": "msgraph-core", + "changelog-path": "CHANGELOG.md", + "extra-files": [ + "pyproject.toml", + "msgraph-core/_constants.py" + ] + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +} \ No newline at end of file diff --git a/src/msgraph_core/_constants.py b/src/msgraph_core/_constants.py index 8dc32c1c..568c66b9 100644 --- a/src/msgraph_core/_constants.py +++ b/src/msgraph_core/_constants.py @@ -8,5 +8,8 @@ """ DEFAULT_REQUEST_TIMEOUT = 100 DEFAULT_CONNECTION_TIMEOUT = 30 +# The SDK version +# x-release-please-start-version SDK_VERSION = '1.0.1' +# x-release-please-end MS_DEFAULT_SCOPE = 'https://graph.microsoft.com/.default'