Skip to content

docs: cut 2.0.0 - #957

Merged
Blind-Striker merged 1 commit into
masterfrom
release/2.0.0
Nov 17, 2026
Merged

Blind-Striker merged 1 commit into
masterfrom
release/2.0.0

Conversation

@Blind-Striker

@Blind-Striker Blind-Striker commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

What

The 2.0.0 cut. This pull request makes master the commit 2.0.0 is built from. It publishes nothing: no tag, no NuGet push, no workflow dispatch. The packages go to nuget.org in a separate step, through the release lane, on the maintainer's word.

One commit, CHANGELOG.md only. The [2.0.0] - 2026-11-17 section is cut from [Unreleased] as the delta from the published 1.1.0 package; [Unreleased] keeps only its nightly-builds paragraph. Every pull request merged since 1.1.0 was audited against the section.

The #949/#950 documentation entry is listed ahead of its pull request, from that branch's wording:

  • a controller attach without Takeover fails with 4404 and is not downgraded to an observer;
  • CreateClient's identity rule.

That pull request merges first.

The date is 2026-11-17. If the publish falls on a later day, a one-line change moves it to the publish day before the publish.

Not in this cut. These follow once 2.0.0 is on nuget.org, because the baseline has to exist first:

  • PackageValidationBaselineVersion moves to 2.0.0;
  • the compatibility suppressions that 2.0.0 ships are removed;
  • the ROADMAP names 2.0.0 as the latest release.

For the maintainer: a canon gap, not edited here. docs/engineering/documentation.md states the Protocol-changes rule (generated breaks, marked breaking) only for releases that move the pin. This release keeps the pin and still has a generated break, so the section follows the rule's intent rather than its letter.

Left out on purpose: the long ACE-label CORS divergence (#945, #954). It is a recorded divergence pinned by tests, with no behaviour change in this release. The CORS fix itself is listed under Fixes.

Verification

  • On this head, b8a8e2ec:

    • dotnet format whitespace --verify-no-changes passed;
    • the full Tools test project with the filter Category!=NativeAot passed 2,874 of 2,874. It includes the tests that read the README and the documentation canon.

    No test reads the CHANGELOG's structure, so the section was reviewed by hand: the headings, the link reference, and no placeholder.

  • Earlier heads of this cut. The full local check passed on an earlier version of this commit over 3cf56a2a: 12,914 tests, the service elections 22 of 22, and Native AOT 3 of 3. Since then:

  • Rehearsed on Linux (Ubuntu 26.04) and macOS (arm64), both on 5e2e978b.

  • Linux: the release rehearsal passed 57 of 57 on 5e2e978b, on Linux (Ubuntu 26.04), from a local feed. That head differs from this one only in CHANGELOG.md: the restored CORS Fixes entry and the capitalized Breaking bullets. The CHANGELOG isn't packed, so the rehearsal was not rerun. The package contents are the same apart from the commit the packages record:

    • Pack. Both packages were packed as the release lane packs them (-p:Version=2.0.0, ContinuousIntegrationBuild), after generate --verify.

    • Package validation against 1.1.0. A detailed-verbosity repack shows RunPackageValidation running against opencodedotnet.sdk.1.1.0.nupkg and opencodedotnet.sdk.extensions.1.1.0.nupkg, with no CP diagnostic.

    • Inspection:

      • the nuspec ids and versions, the repository commit and URL, the license, the README pinned to the commit, the notices and the icon;
      • the four lib folders, each holding one assembly and its documentation;
      • one dependency group per folder, and no prerelease dependency;
      • Extensions depending on OpenCodeDotNet.Sdk 2.0.0 in every group;
      • one pdb per target in each symbol package.
    • A scratch consumer on .NET 10.0.15 and .NET 11.0.0. The loaded OpenCode.Sdk.dll reports 2.0.0+5e2e978b…, and both packages restored from the local feed's files.

    • Copies of AotCli, Worker and QuickStart, built against the package:

      • AotCli was published natively and inspected a scratch repository;
      • the Worker stopped with exit code 1 when its server ended;
      • QuickStart was built but not run, because it prompts a hosted model.

      No rehearsal step sent a prompt to a model.

    • SHA-256 of the packages rehearsed at 5e2e978b. Packages built from another head differ, because the nuspec records the repository commit and the assemblies carry it in their informational version:

      • OpenCodeDotNet.Sdk.2.0.0.nupkg: ae469c3ef467ef256dd59b1ee43725879221b320ef981a47de89b9cefbc62035
      • OpenCodeDotNet.Sdk.Extensions.2.0.0.nupkg: 7ce1ea3b29c23e81730535c95c30c72ecd47a2fd665a4e552062120c151f287c
  • macOS (arm64): a second rehearsal passed on 5e2e978b.

    • Host: .NET SDK 11.0.100, with nothing else installed. NUGET_PACKAGES and the XDG roots were throwaway folders, and OpenCodeDotNet.* came only from the local feed. No step sent a prompt to a model.
    • generate --verify: passed.
    • Pack: both packages at Version 2.0.0, with lib folders for net10.0, net11.0, net472 and netstandard2.0. Extensions depends on OpenCodeDotNet.Sdk 2.0.0. The macOS SHA-256 values differ from the Linux ones because the build is not byte-identical across hosts. The release lane's pack is what ships.
    • AotCli: published natively for osx-arm64 with 0 trim or AOT warnings, ran, and exited 0.
    • Worker: received server.connected, then exited with code 1 when its server ended, as its README says.
    • QuickStart: built with 0 warnings and 0 errors. It was not run, because it needs a hosted model.
    • Loaded assembly: 2.0.0+5e2e978b.
  • Pending: the distributed-build consumer run (docs/engineering/quality-gates.md, "before a NuGet.org release"). The run is dispatched with an empty version input, from a ref at the commit the release packs, and its commit must be the release's commit input. The release waits for it to be green. It is dispatched once the packed commit is fixed: after this merge and the docs(ptys): a Controller attach without Takeover fails, it is not downgraded to an observer #949/docs(hosting): CreateClient's summary and refusal message overstate the identity rule #950 merge, on the maintainer's word.

Cut the release notes against the published 1.1.0 package, on the
unchanged opencode 2.3.0 pin. Every change merged since 1.1.0 is
audited against the section: the hand-written breaks carry Before and
After, the user-file attachment change sits under Protocol changes as
a generated break from a restore patch at the same pin, and the
consumer documentation corrections are listed.

Unreleased keeps only the nightly-builds note.
@Blind-Striker
Blind-Striker added this pull request to the merge queue Nov 17, 2026
Merged via the queue into master with commit 22a3b83 Nov 17, 2026
13 checks passed
@Blind-Striker
Blind-Striker deleted the release/2.0.0 branch November 17, 2026 16:56
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