Skip to content

build: package validation baselines on 2.0.0, and VersionPrefix moves to 2.0.1 - #968

Merged
Blind-Striker merged 1 commit into
masterfrom
build/post-2.0.0-baselines
Nov 17, 2026
Merged

Blind-Striker merged 1 commit into
masterfrom
build/post-2.0.0-baselines

Conversation

@Blind-Striker

Copy link
Copy Markdown
Collaborator

What

2.0.0 is on nuget.org, and the v2.0.0 tag marks its commit, so master moves past it. This follows the 1.1.0 and 1.0.0 steps (#807).

  • Directory.Build.props:
    • PackageValidationBaselineVersion moves from 1.1.0 to 2.0.0, so the packs now compare against the published 2.0.0;
    • VersionPrefix moves from 2.0.0 to 2.0.1, so master's nightlies are the next version's.
  • src/OpenCode.Sdk/CompatibilitySuppressions.xml is deleted. Its eight entries were baseline suppressions for the Files attachment break, which answer the 1.1.0 baseline only and shipped in 2.0.0. The package-compatibility canon says that moving the baseline removes every suppression the release already shipped, and that a project with none keeps no file.
  • docs/ROADMAP.md:
    • the status names 2.0.0 as the latest release;
    • the paragraph about the event connection's breaks says they made 2.0.0 a major;
    • the queue no longer promises its items for 2.0.0;
    • the packages line and the list of released versions include 2.0.0.

No workflow changes: CI reads the baseline from Directory.Build.props and fetches its tag.

Verification

On this head, c93b8ee6, with the v2.0.0 tag fetched, in the foreground:

  • dotnet format whitespace --verify-no-changes passed;
  • the Release build passed with 0 errors;
  • the Tools test project, with the filter Category!=NativeAot, passed 2,874 of 2,874. It includes the suppression test, which reads spec/receipt.json at the baseline tag, and the tests that read the roadmap.

The pack's validation against the published 2.0.0 runs in CI's lint job. The local gate doesn't pack with validation.

… to 2.0.1

2.0.0 is on NuGet.org, so the packs now compare against it, and master
builds the next version's nightlies. The baseline suppressions 2.0.0
shipped answer the 1.1.0 baseline only, so they go, and with them the
file. CI reads the baseline from Directory.Build.props and fetches its
tag, so no workflow changes. The ROADMAP's release lines follow the
release.
@Blind-Striker
Blind-Striker added this pull request to the merge queue Nov 17, 2026
Merged via the queue into master with commit c97ede0 Nov 17, 2026
17 checks passed
@Blind-Striker
Blind-Striker deleted the build/post-2.0.0-baselines branch November 17, 2026 21:06
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.

1 participant