microsoft_kiota_serialization_json 0.11.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +0,0 @@
1
- # Copilot Instructions for Kiota Serialization JSON Ruby
2
-
3
- ## Commit Messages
4
-
5
- This repository uses [Conventional Commits](https://www.conventionalcommits.org/) and [release-please](https://github.com/googleapis/release-please) for automated releases.
6
-
7
- All commit messages **must** follow the format:
8
-
9
- ```
10
- <type>(<optional scope>): <description>
11
- ```
12
-
13
- ### Choosing the right type
14
-
15
- - `fix:` for bug fixes (bumps patch version)
16
- - `feat:` for new features (bumps minor version)
17
- - Append `!` after the type for breaking changes, e.g. `feat!:` or `fix!:` (bumps minor version while pre-1.0)
18
- - `docs:`, `chore:`, `ci:`, `test:`, `refactor:` for non-release changes
19
-
20
- ### Rules
21
-
22
- - Use lowercase for the type and description
23
- - Do not end the description with a period
24
- - Use the imperative mood in the description (e.g. "add support for" not "added support for")
25
- - When a PR is squash-merged, the PR title becomes the commit message — ensure PR titles follow this format
@@ -1,20 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: github-actions
4
- directory: /
5
- schedule:
6
- interval: daily
7
- open-pull-requests-limit: 10
8
- groups:
9
- codeql:
10
- patterns:
11
- - github/codeql-action*
12
- cooldown:
13
- default-days: 7
14
- - package-ecosystem: bundler
15
- directory: /
16
- schedule:
17
- interval: daily
18
- open-pull-requests-limit: 10
19
- cooldown:
20
- default-days: 7
@@ -1,40 +0,0 @@
1
- # Copyright (c) Microsoft Corporation.
2
- # Licensed under the MIT License.
3
-
4
- name: kiota-serialization-json-ruby-branch-protection
5
- description: Branch protection policy for the kiota-serialization-json-ruby repository
6
- resource: repository
7
- configuration:
8
- branchProtectionRules:
9
-
10
- - branchNamePattern: main
11
- # Specifies whether this branch can be deleted. boolean
12
- allowsDeletions: false
13
- # Specifies whether forced pushes are allowed on this branch. boolean
14
- allowsForcePushes: false
15
- # Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
16
- dismissStaleReviews: true
17
- # Specifies whether admins can overwrite branch protection. boolean
18
- isAdminEnforced: false
19
- # Indicates whether "Require a pull request before merging" is enabled. boolean
20
- requiresPullRequestBeforeMerging: true
21
- # Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
22
- requiredApprovingReviewsCount: 1
23
- # Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
24
- requireCodeOwnersReview: true
25
- # Are commits required to be signed. boolean
26
- requiresCommitSignatures: false
27
- # Are conversations required to be resolved before merging? boolean
28
- requiresConversationResolution: true
29
- # Are merge commits prohibited from being pushed to this branch. boolean
30
- requiresLinearHistory: false
31
- # Required status checks to pass before merging
32
- requiredStatusChecks:
33
- - license/cla
34
- - check-ruby-version-matrix
35
- # Require branches to be up to date before merging. boolean
36
- requiresStrictStatusChecks: false
37
- # Indicates whether there are restrictions on who can push. boolean
38
- restrictsPushes: false
39
- # Restrict who can dismiss pull request reviews. boolean
40
- restrictsReviewDismissals: false
@@ -1,101 +0,0 @@
1
- id:
2
- name: GitOps.PullRequestIssueManagement
3
- description: GitOps.PullRequestIssueManagement primitive
4
- owner:
5
- resource: repository
6
- disabled: false
7
- where:
8
- configuration:
9
- resourceManagementConfiguration:
10
- scheduledSearches:
11
- - description:
12
- frequencies:
13
- - hourly:
14
- hour: 6
15
- filters:
16
- - isIssue
17
- - isOpen
18
- - hasLabel:
19
- label: 'status:waiting-for-author-feedback'
20
- - hasLabel:
21
- label: 'Status: No Recent Activity'
22
- - noActivitySince:
23
- days: 3
24
- actions:
25
- - closeIssue
26
- - description:
27
- frequencies:
28
- - hourly:
29
- hour: 6
30
- filters:
31
- - isIssue
32
- - isOpen
33
- - hasLabel:
34
- label: 'status:waiting-for-author-feedback'
35
- - noActivitySince:
36
- days: 4
37
- - isNotLabeledWith:
38
- label: 'Status: No Recent Activity'
39
- actions:
40
- - addLabel:
41
- label: 'Status: No Recent Activity'
42
- - addReply:
43
- 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**.
44
- - description:
45
- frequencies:
46
- - hourly:
47
- hour: 6
48
- filters:
49
- - isIssue
50
- - isOpen
51
- - hasLabel:
52
- label: 'Resolution: Duplicate'
53
- - noActivitySince:
54
- days: 1
55
- actions:
56
- - addReply:
57
- reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes.
58
- - closeIssue
59
- eventResponderTasks:
60
- - if:
61
- - payloadType: Issue_Comment
62
- - isAction:
63
- action: Created
64
- - isActivitySender:
65
- issueAuthor: True
66
- - hasLabel:
67
- label: 'status:waiting-for-author-feedback'
68
- - isOpen
69
- then:
70
- - addLabel:
71
- label: 'Needs: Attention :wave:'
72
- - removeLabel:
73
- label: 'status:waiting-for-author-feedback'
74
- description:
75
- - if:
76
- - payloadType: Issues
77
- - not:
78
- isAction:
79
- action: Closed
80
- - hasLabel:
81
- label: 'Status: No Recent Activity'
82
- then:
83
- - removeLabel:
84
- label: 'Status: No Recent Activity'
85
- description:
86
- - if:
87
- - payloadType: Issue_Comment
88
- - hasLabel:
89
- label: 'Status: No Recent Activity'
90
- then:
91
- - removeLabel:
92
- label: 'Status: No Recent Activity'
93
- description:
94
- - if:
95
- - payloadType: Pull_Request
96
- then:
97
- - inPrLabel:
98
- label: WIP
99
- description:
100
- onFailure:
101
- onSuccess:
@@ -1,3 +0,0 @@
1
- manifest: true
2
- primaryBranch: main
3
- handleGHRelease: true
@@ -1,33 +0,0 @@
1
- name: Auto-merge dependabot updates
2
-
3
- on:
4
- workflow_dispatch:
5
- pull_request:
6
- branches: [ main ]
7
-
8
- permissions:
9
- pull-requests: write
10
- contents: write
11
-
12
- jobs:
13
-
14
- dependabot-merge:
15
-
16
- runs-on: ubuntu-latest
17
-
18
- if: ${{ github.actor == 'dependabot[bot]' }}
19
-
20
- steps:
21
- - name: Dependabot metadata
22
- id: metadata
23
- uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
24
- with:
25
- github-token: "${{ secrets.GITHUB_TOKEN }}"
26
-
27
- - name: Enable auto-merge for Dependabot PRs
28
- # Only if version bump is not a major version change
29
- if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
30
- run: gh pr merge --auto --merge "$PR_URL"
31
- env:
32
- PR_URL: ${{github.event.pull_request.html_url}}
33
- GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -1,77 +0,0 @@
1
- # For most projects, this workflow file will not need changing; you simply need
2
- # to commit it to your repository.
3
- #
4
- # You may wish to alter this file to override the set of languages analyzed,
5
- # or to provide custom queries or build logic.
6
- #
7
- # ******** NOTE ********
8
- # We have attempted to detect the languages in your repository. Please check
9
- # the `language` matrix defined below to confirm you have the correct set of
10
- # supported CodeQL languages.
11
- #
12
- name: "CodeQL"
13
-
14
- on:
15
- push:
16
- branches: [ main ]
17
- pull_request:
18
- # The branches below must be a subset of the branches above
19
- branches: [ main ]
20
- schedule:
21
- - cron: '41 2 * * 0'
22
- workflow_dispatch:
23
-
24
- jobs:
25
- analyze:
26
- name: Analyze
27
- runs-on: ubuntu-latest
28
- permissions:
29
- actions: read
30
- contents: read
31
- security-events: write
32
-
33
- strategy:
34
- fail-fast: false
35
- matrix:
36
- language: [ 'ruby' ]
37
- # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
38
- # Use only 'java' to analyze code written in Java, Kotlin or both
39
- # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
40
- # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
41
-
42
- steps:
43
- - name: Checkout repository
44
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
45
-
46
- # Initializes the CodeQL tools for scanning.
47
- - name: Initialize CodeQL
48
- uses: github/codeql-action/init@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7
49
- with:
50
- languages: ${{ matrix.language }}
51
- # If you wish to specify custom queries, you can do so here or in a config file.
52
- # By default, queries listed here will override any specified in a config file.
53
- # Prefix the list here with "+" to use these queries and those in the config file.
54
-
55
- # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
56
- # queries: security-extended,security-and-quality
57
-
58
-
59
- # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
60
- # If this step fails, then you should remove it and run the build manually (see below)
61
- - name: Autobuild
62
- uses: github/codeql-action/autobuild@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7
63
-
64
- # ℹ️ Command-line programs to run using the OS shell.
65
- # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
66
-
67
- # If the Autobuild fails above, remove it and uncomment the following three lines.
68
- # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
69
-
70
- # - run: |
71
- # echo "Run, Build Application using script"
72
- # ./location_of_script_within_repo/buildscript.sh
73
-
74
- - name: Perform CodeQL Analysis
75
- uses: github/codeql-action/analyze@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7
76
- with:
77
- category: "/language:${{matrix.language}}"
@@ -1,39 +0,0 @@
1
- # This is a basic workflow to help you get started with Actions
2
-
3
- name: PullRequestConflicting
4
-
5
- # Controls when the action will run. Triggers the workflow on push or pull request
6
- # events but only for the master branch
7
- on:
8
- workflow_dispatch:
9
- push:
10
- branches: [ main ]
11
- pull_request:
12
- types: [synchronize]
13
- branches: [ main ]
14
-
15
- permissions:
16
- pull-requests: write
17
- contents: read
18
-
19
- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
20
- jobs:
21
- # This workflow contains a single job called "build"
22
- build:
23
- # The type of runner that the job will run on
24
- runs-on: ubuntu-latest
25
-
26
- # Steps represent a sequence of tasks that will be executed as part of the job
27
- steps:
28
- - name: check if prs are dirty
29
- uses: eps1lon/actions-label-merge-conflict@releases/2.x
30
- if: env.LABELING_TOKEN != '' && env.LABELING_TOKEN != null
31
- id: check
32
- with:
33
- dirtyLabel: "conflicting"
34
- repoToken: "${{ secrets.GITHUB_TOKEN }}"
35
- continueOnMissingPermissions: true
36
- commentOnDirty: 'This pull request has conflicting changes, the author must resolve the conflicts before this pull request can be merged.'
37
- commentOnClean: 'Conflicts have been resolved. A maintainer will take a look shortly.'
38
- env:
39
- LABELING_TOKEN: ${{secrets.GITHUB_TOKEN }}
@@ -1,49 +0,0 @@
1
- ## -----------------------------------------------------------------------------
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See LICENSE.txt in the project root for license information.
4
- ## -----------------------------------------------------------------------------
5
- #
6
- # Summary:
7
- # This GitHub Actions workflow automates the release process using Release Please.
8
- # It triggers on pushes to the main branch, generates a GitHub App token using organization
9
- # variables and secrets, and then runs the release-please-action to manage versioning and changelogs.
10
-
11
- name: Release Please
12
-
13
- on:
14
- push:
15
- branches:
16
- - main
17
- workflow_dispatch:
18
-
19
- permissions:
20
- contents: read
21
-
22
- jobs:
23
- check-secret:
24
- runs-on: ubuntu-latest
25
- outputs:
26
- has-token: ${{ steps.check.outputs.has-token }}
27
- steps:
28
- - id: check
29
- run: echo "has-token=${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM != '' }}" >> $GITHUB_OUTPUT
30
- release:
31
- needs: check-secret
32
- if: needs.check-secret.outputs.has-token == 'true'
33
- runs-on: ubuntu-latest
34
- steps:
35
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
36
-
37
- - name: Generate GitHub App token
38
- id: app-token
39
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
40
- with:
41
- client-id: ${{ vars.RELEASE_PLEASE_TOKEN_PROVIDER_APP_ID }}
42
- private-key: ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM }}
43
-
44
- - name: Release Please
45
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
46
- with:
47
- token: ${{ steps.app-token.outputs.token }}
48
- config-file: release-please-config.json
49
- manifest-file: .release-please-manifest.json
@@ -1,36 +0,0 @@
1
- name: Publish
2
-
3
- on:
4
- push:
5
- tags:
6
- - "v[0-9]+.[0-9]+.[0-9]+"
7
-
8
- permissions:
9
- contents: read
10
-
11
- jobs:
12
- deploy_prod:
13
- environment:
14
- name: production_feeds
15
- runs-on: ubuntu-latest
16
- steps:
17
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
18
- with:
19
- ref: ${{ github.ref }}
20
- - uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
21
- with:
22
- ruby-version: '3.4'
23
- bundler-cache: true
24
- bundler: 'latest'
25
- cache-version: 1
26
- - run: bundle exec rake
27
- - name: Publish to RubyGems
28
- run: |
29
- mkdir -p $HOME/.gem
30
- touch $HOME/.gem/credentials
31
- chmod 0600 $HOME/.gem/credentials
32
- printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
33
- gem build *.gemspec
34
- gem push *.gem
35
- env:
36
- GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
@@ -1,48 +0,0 @@
1
- name: Ruby
2
-
3
- on:
4
- workflow_dispatch:
5
- push:
6
- branches: [ main ]
7
- pull_request:
8
-
9
- jobs:
10
- build:
11
- strategy:
12
- fail-fast: false
13
- matrix:
14
- os: [ubuntu-latest, macos-latest]
15
- ruby-version: ['3.3', '3.4', '4.0', head, jruby, jruby-head, truffleruby, truffleruby-head]
16
- runs-on: ${{ matrix.os }}
17
- steps:
18
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
19
- - uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
20
- with:
21
- ruby-version: ${{ matrix.ruby-version }}
22
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
23
- bundler: 'latest'
24
- cache-version: 1
25
- - name: Run tests
26
- run: bundle exec rake
27
- - name: Upload artifacts for ruby version 3 and ubuntu
28
- if: ${{ matrix.os == 'ubuntu-latest' && matrix.ruby-version == '3.4'}}
29
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
30
- with:
31
- name: drop
32
- path: |
33
- ./Gemfile.lock
34
- ./README.md
35
-
36
- # The check-ruby-version-matrix returns success if all matrix jobs in build are successful; otherwise, it returns a failure.
37
- # Use this as a PR status check for GitHub Policy Service instead of individual matrix entry checks.
38
- check-ruby-version-matrix:
39
- runs-on: ubuntu-latest
40
- needs: [build]
41
- if: always()
42
- steps:
43
- - name: All build matrix options are successful
44
- if: ${{ !(contains(needs.*.result, 'failure')) }}
45
- run: exit 0
46
- - name: One or more build matrix options failed
47
- if: ${{ contains(needs.*.result, 'failure') }}
48
- run: exit 1
data/.gitignore DELETED
@@ -1,58 +0,0 @@
1
- *.gem
2
- *.rbc
3
- /.config
4
- /coverage/
5
- /InstalledFiles
6
- /pkg/
7
- /spec/reports/
8
- /spec/examples.txt
9
- /test/tmp/
10
- /test/version_tmp/
11
- /tmp/
12
-
13
- # Used by dotenv library to load environment variables.
14
- # .env
15
-
16
- # Ignore Byebug command history file.
17
- .byebug_history
18
-
19
- ## Specific to RubyMotion:
20
- .dat*
21
- .repl_history
22
- build/
23
- *.bridgesupport
24
- build-iPhoneOS/
25
- build-iPhoneSimulator/
26
-
27
- ## Specific to RubyMotion (use of CocoaPods):
28
- #
29
- # We recommend against adding the Pods directory to your .gitignore. However
30
- # you should judge for yourself, the pros and cons are mentioned at:
31
- # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
32
- #
33
- # vendor/Pods/
34
-
35
- ## Documentation cache and generated files:
36
- /.yardoc/
37
- /_yardoc/
38
- /doc/
39
- /rdoc/
40
-
41
- ## Environment normalization:
42
- /.bundle/
43
- /vendor/bundle
44
- /lib/bundler/man/
45
-
46
- # for a library or gem, you might want to ignore these files since the code is
47
- # intended to run in multiple environments; otherwise, check them in:
48
- Gemfile.lock
49
- .ruby-version
50
- .ruby-gemset
51
-
52
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
53
- .rvmrc
54
-
55
- # Used by RuboCop. Remote config files pulled in from inherit_from directive.
56
- # .rubocop-https?--*
57
-
58
- .rspec_status
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.11.0"
3
- }
data/CHANGELOG.md DELETED
@@ -1,64 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [0.11.0](https://github.com/microsoft/kiota-serialization-json-ruby/compare/v0.10.0...v0.11.0) (2026-08-20)
9
-
10
-
11
- ### Features
12
-
13
- * support composed types in write_object_value ([7afc1d9](https://github.com/microsoft/kiota-serialization-json-ruby/commit/7afc1d9a0077f383bda7fbe9d0b3f316b7d4c3a7))
14
-
15
- ## [0.10.0](https://github.com/microsoft/kiota-serialization-json-ruby/compare/v0.9.2...v0.10.0) (2026-04-23)
16
-
17
-
18
- ### Features
19
-
20
- * upgrade ruby CI matrix to 3.3, 3.4 and 4.0 ([d5cdcbe](https://github.com/microsoft/kiota-serialization-json-ruby/commit/d5cdcbe3cba93c669c0a2070092c223e0fe07ea5))
21
- * upgrade ruby CI matrix to 3.3, 3.4 and 4.0 ([d3ae6c7](https://github.com/microsoft/kiota-serialization-json-ruby/commit/d3ae6c703a86b90ab65140ef02d9f1ef329c0e6b))
22
-
23
-
24
- ### Bug Fixes
25
-
26
- * update minimum required ruby version to 3.3.0 ([9f270ae](https://github.com/microsoft/kiota-serialization-json-ruby/commit/9f270aeb873d1e420ff766c7de90100753bec8cb))
27
- * update minimum required ruby version to 3.3.0 ([ec00107](https://github.com/microsoft/kiota-serialization-json-ruby/commit/ec001079bedb0d5c3cd65dedf0ac4b31fe901076))
28
-
29
- ## [Unreleased]
30
-
31
- ### Added
32
-
33
- ### Changed
34
-
35
- ## [0.9.2] - 2025-03-11
36
-
37
- ### Changed
38
-
39
- - Updated dependencies including JSON.
40
-
41
- ## [0.9.1] - 2023-08-18
42
-
43
- ### Changed
44
-
45
- - Improve handling of null values (#13)
46
-
47
- ## [0.9.0] - 2023-03-28
48
-
49
- ### Changed
50
-
51
- - Updated kiota abstractions reference
52
- - Bumped minimum required ruby version to 3.0.
53
-
54
- ## [0.8.0] - 2023-01-18
55
-
56
- ### Changed
57
-
58
- - Fixed a version misalignment with abstractions dependencies.
59
-
60
- ## [0.7.0] - 2022-12-30
61
-
62
- ### Added
63
-
64
- - Initial public release of the package.
data/CODE_OF_CONDUCT.md DELETED
@@ -1,10 +0,0 @@
1
- # Microsoft Open Source Code of Conduct
2
-
3
- This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4
-
5
- Resources:
6
-
7
- - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8
- - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9
- - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
10
- - Employees can reach out at [aka.ms/opensource/moderation-support](https://aka.ms/opensource/moderation-support)
data/CONTRIBUTING.md DELETED
@@ -1,56 +0,0 @@
1
- # Contributing to Kiota Serialization JSON for Ruby
2
-
3
- This project welcomes contributions and suggestions. Most contributions require you to agree to a
4
- Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
5
- the rights to use your contribution. For details, visit <https://cla.opensource.microsoft.com>.
6
-
7
- When you submit a pull request, a CLA bot will automatically determine whether you need to provide
8
- a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
9
- provided by the bot. You will only need to do this once across all repos using our CLA.
10
-
11
- This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
12
- For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
13
- contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
14
-
15
- ## Commit Messages
16
-
17
- This project uses [Conventional Commits](https://www.conventionalcommits.org/) to automate versioning and changelog generation through [release-please](https://github.com/googleapis/release-please).
18
-
19
- Every commit merged to `main` **must** follow this format:
20
-
21
- ```
22
- <type>(<optional scope>): <description>
23
- ```
24
-
25
- ### Types
26
-
27
- | Type | Description | Version Bump |
28
- |------|-------------|--------------|
29
- | `fix` | Bug fix | Patch (`0.9.2` → `0.9.3`) |
30
- | `feat` | New feature | Minor (`0.9.2` → `0.10.0`) |
31
- | `feat!`, `fix!`, `refactor!`, etc. | Breaking change (append `!`) | Minor while pre-1.0 (`0.9.2` → `0.10.0`) |
32
- | `docs` | Documentation only | No release |
33
- | `chore` | Maintenance tasks | No release |
34
- | `ci` | CI/CD changes | No release |
35
- | `test` | Test changes | No release |
36
- | `refactor` | Code refactoring | No release |
37
-
38
- ### Examples
39
-
40
- ```
41
- fix: correct content not being set in request information
42
- feat: add try_add method for request headers
43
- feat!: bump minimum required ruby version to 3.0
44
- docs: update README installation instructions
45
- chore: update dependencies
46
- ```
47
-
48
- ### Pull Requests
49
-
50
- When a PR is squash-merged, the PR title becomes the commit message on `main`. Make sure the **PR title** follows the conventional commit format so release-please can categorize it correctly.
51
-
52
- ## Development Setup
53
-
54
- 1. Clone the repository
55
- 2. Run `bundle install` to install dependencies
56
- 3. Run `bundle exec rake` to run linting and tests