Skip to content

[docs]: prep for release#366

Merged
heyitsaamir merged 8 commits into
mainfrom
lilyydu/GA-docs
Apr 30, 2026
Merged

[docs]: prep for release#366
heyitsaamir merged 8 commits into
mainfrom
lilyydu/GA-docs

Conversation

@lilyydu

@lilyydu lilyydu commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator
  • removed all public preview statements
  • removed old package structure microsoft/teams
  • added announcement on main README

heyitsaamir and others added 3 commits April 30, 2026 14:39
- graph README: keep banner removed (matches GA branch intent)
- devtools README: accept deletion from main

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- version: 2.0.1-dev.{height} (dev builds on main)
- versionHeightOffset: 1
- remove alpha branch from publicReleaseRefSpec
@heyitsaamir
heyitsaamir marked this pull request as ready for review April 30, 2026 22:29
Copilot AI review requested due to automatic review settings April 30, 2026 22:29
@heyitsaamir
heyitsaamir merged commit b5ee8d5 into main Apr 30, 2026
8 checks passed
@heyitsaamir
heyitsaamir deleted the lilyydu/GA-docs branch April 30, 2026 22:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Prepares documentation and release configuration for a GA rollout by removing “public preview” messaging and deprecating the old microsoft/teams namespace shims.

Changes:

  • Updates Nerdbank.GitVersioning configuration to a new dev version and adjusts release ref specs.
  • Removes backward-compatibility shim microsoft.teams.* __init__.py files and associated backward-compat tests.
  • Updates READMEs to remove public preview cautions and adds a GA note to the root README; switches AzDO publish pipeline template to “Official”.

Reviewed changes

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

Show a summary per file
File Description
version.json Updates versioning string, height offset, and public release ref spec.
packages/graph/src/microsoft/teams/graph/init.py Removes deprecated import-path shim for microsoft.teams.graph.
packages/common/tests/test_backward_compat.py Removes tests that enforced old-namespace compatibility behavior.
packages/common/src/microsoft/teams/common/init.py Removes deprecated import-path shim for microsoft.teams.common.
packages/common/README.md Removes public preview caution banner.
packages/cards/src/microsoft/teams/cards/init.py Removes deprecated import-path shim for microsoft.teams.cards.
packages/cards/README.md Removes public preview caution banner.
packages/botbuilder/src/microsoft/teams/botbuilder/init.py Removes deprecated import-path shim for microsoft.teams.botbuilder.
packages/apps/src/microsoft/teams/apps/init.py Removes deprecated import-path shim for microsoft.teams.apps.
packages/apps/README.md Removes public preview caution banner.
packages/api/src/microsoft/teams/api/init.py Removes deprecated import-path shim for microsoft.teams.api.
packages/api/README.md Removes public preview caution banner.
examples/graph/README.md Removes public preview caution banner.
README.md Replaces preview caution with GA announcement note.
.azdo/publish.yml Switches pipeline template from Unofficial to Official.

Comment thread version.json
Comment on lines +3 to 7
"version": "2.0.1-dev.{height}",
"versionHeightOffset": 1,
"publicReleaseRefSpec": [
"^refs/heads/alpha/v\\d+\\.\\d+\\.\\d+$",
"^refs/heads/release/v\\d+\\.\\d+\\.\\d+$"
]

Copilot AI Apr 30, 2026

Copy link

Choose a reason for hiding this comment

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

The PR description/root README indicates GA, but the GitVersioning config hard-codes a prerelease label (-dev.{height}), which will continue to produce prerelease versions even on “public release” refs. Consider using NerdBank.GitVersioning’s prerelease mechanisms (so prerelease can be omitted for public releases) or switching version to a stable SemVer on release refs. Also, reducing versionHeightOffset to 1 can change computed heights; ensure this won’t produce unexpected version sequences in your publishing pipeline.

Copilot uses AI. Check for mistakes.
Comment thread .azdo/publish.yml
Comment on lines 30 to +33
ref: refs/tags/release

extends:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines

Copilot AI Apr 30, 2026

Copy link

Choose a reason for hiding this comment

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

The pipeline pins resources to refs/tags/release, while version.json’s publicReleaseRefSpec matches refs/heads/release/vX.Y.Z. If the publish job runs from this tag ref, Nerdbank.GitVersioning may not treat it as a public release, potentially yielding prerelease-y version output (and mismatched artifact expectations). Align the tag/branch strategy (either adjust the pipeline ref to the branch pattern or update publicReleaseRefSpec to include the tag refs used for publishing).

Copilot uses AI. Check for mistakes.
corinagum added a commit that referenced this pull request Jun 5, 2026
Adds a scheduled ADO pipeline (`.azdo/sdl.yml`) using the
`1ES.Official.PipelineTemplate` that runs weekly on `main`.

**Why:** The publish pipeline is manually triggered and cannot guarantee
CodeQL/CredScan run regularly on the default branch. This pipeline
ensures continuous SDL compliance independent of release cadence.

**How it works:** The 1ES Official template auto-injects CodeQL 3000 and
CredScan in the SDL Sources stage. For interpreted languages, scanning
is automatic based on file detection — no build step is needed.

**Schedule:** Mondays at 08:00 UTC (`always: true` ensures it runs even
without code changes).

**Note:** After merging, a pipeline definition must be created in ADO
(DomoreexpGithub/Github_Pipelines) pointing to this YAML file for the
schedule to activate.

**Related:**
- #366
- microsoft/teams.ts#607
- microsoft/teams.ts#608 (TS counterpart)

Co-authored-by: Copilot <[email protected]>
pull Bot pushed a commit to Mattlk13/teams.ts that referenced this pull request Jun 5, 2026
…#608)

Adds a scheduled ADO pipeline (`.azdo/sdl.yml`) using the
`1ES.Official.PipelineTemplate` that runs weekly on `main`.

**Why:** The publish pipeline is manually triggered and cannot guarantee
CodeQL/CredScan run regularly on the default branch. This pipeline
ensures continuous SDL compliance independent of release cadence.

**How it works:** The 1ES Official template auto-injects CodeQL 3000 and
CredScan in the SDL Sources stage. For interpreted languages, scanning
is automatic based on file detection — no build step is needed.

**Schedule:** Mondays at 08:00 UTC (`always: true` ensures it runs even
without code changes).

**Note:** After merging, a pipeline definition must be created in ADO
(DomoreexpGithub/Github_Pipelines) pointing to this YAML file for the
schedule to activate.

**Related:**
- microsoft/teams.py#366
- microsoft#607
- microsoft/teams.py#449 (PY counterpart)

Co-authored-by: Copilot <[email protected]>
pull Bot pushed a commit to Mattlk13/teams.ts that referenced this pull request Jun 5, 2026
…icrosoft#607)

Switch the publish pipeline from `1ES.Unofficial.PipelineTemplate` to
`1ES.Official.PipelineTemplate`.

The Official template auto-injects CodeQL 3000 and CredScan on
default-branch runs, which is required for SFI-PS2.1 (Continuous SDL)
compliance.

This is the same one-line change made to teams.py in
microsoft/teams.py#366.

Co-authored-by: Copilot <[email protected]>
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.

3 participants