Skip to content

Conversation

@heyitsaamir
Copy link
Collaborator

@heyitsaamir heyitsaamir commented Feb 1, 2026

  • We made a decision to use dynamic, calculated, versioning from now on.
  • This PR removes hard-coded versioning from the repo.
  • Also adds support for ngbv which does the version calculation.
  • Removes release.yml since now releases are via esrp (after this goes through).

How it works:

  1. In main, all commits have are "dev{height}".
  2. The azure pipeline can be used to publish main if needed to pypi. The version will contain dev.
  3. Since we are in alpha right now, a merge commit need to be made to alpha/v2.0.0 branch (it's in Do Not Push - Set up alpha/v2.0.0 branch #268). Create a new PR from main to alpha/v2.0.0. Use "merge" commits here.

PR Dependency Tree

This tree was auto-generated by Charcoal

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Introduces dynamic versioning via Nerdbank.GitVersioning (NBGV) across the repo, removing hard-coded package versions and configuring builds to derive versions automatically.

Changes:

  • Added root version.json to define NBGV versioning rules for main/release branches.
  • Switched all package pyproject.toml files to dynamic = ["version"] and configured Hatch to source versions from NBGV.
  • Added nbgv-python to dev dependencies and locked it in uv.lock.

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
version.json Adds NBGV configuration and versioning rules.
uv.lock Adds nbgv-python to the locked dependency set and removes fixed versions for editable workspace packages.
pyproject.toml Adds nbgv-python to the dev dependency group.
packages/a2aprotocol/pyproject.toml Moves to dynamic versioning and configures Hatch to use NBGV.
packages/ai/pyproject.toml Moves to dynamic versioning and configures Hatch to use NBGV.
packages/api/pyproject.toml Moves to dynamic versioning and configures Hatch to use NBGV.
packages/apps/pyproject.toml Moves to dynamic versioning and configures Hatch to use NBGV.
packages/botbuilder/pyproject.toml Moves to dynamic versioning and configures Hatch to use NBGV.
packages/cards/pyproject.toml Moves to dynamic versioning and configures Hatch to use NBGV.
packages/common/pyproject.toml Moves to dynamic versioning and configures Hatch to use NBGV.
packages/devtools/pyproject.toml Moves to dynamic versioning and configures Hatch to use NBGV.
packages/graph/pyproject.toml Moves to dynamic versioning and configures Hatch to use NBGV.
packages/mcpplugin/pyproject.toml Moves to dynamic versioning and configures Hatch to use NBGV.
packages/openai/pyproject.toml Moves to dynamic versioning and configures Hatch to use NBGV.
RELEASE.md Updates release documentation to describe the new NBGV-based release flow.

heyitsaamir and others added 2 commits February 1, 2026 09:06
Ensures version height bumps when package dependencies change.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add fetch-depth: 0 for full git history (required by nbgv)
- Add dotnet and nbgv installation
- Remove release.yml (using Azure DevOps pipeline instead)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 17 changed files in this pull request and generated 3 comments.

heyitsaamir and others added 2 commits February 1, 2026 12:40
- main: dev versions (not published)
- alpha/v2.0.0: alpha releases (published)
- release/v2.0.0: stable releases (published)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Contributor

Copilot AI commented Feb 3, 2026

@heyitsaamir I've opened a new pull request, #269, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating RELEASE.md ❤️

@corinagum corinagum merged commit 4ccb9f8 into main Feb 5, 2026
7 checks passed
@corinagum corinagum deleted the aamirj/versioning branch February 5, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants