Repository navigation
docs: cut 2.0.0 - #957
Merged
Merged
docs: cut 2.0.0#957
Conversation
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
force-pushed
the
release/2.0.0
branch
from
November 17, 2026 15:37
5e2e978 to
b8a8e2e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The
2.0.0cut. This pull request makesmasterthe commit2.0.0is 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.mdonly. The[2.0.0] - 2026-11-17section is cut from[Unreleased]as the delta from the published1.1.0package;[Unreleased]keeps only its nightly-builds paragraph. Every pull request merged since1.1.0was audited against the section.2.0.0keeps the opencode2.3.0pin that shipped in1.1.0. It is a major because of hand-written breaks.SessionMessageUser.Filesnow reads throughPromptAttachment, marked breaking. The entry says the pin is unchanged, and that the change comes from a restore patch that gives these reads the attachment union upstream already defines.SetCorsOriginsAsyncCORS-origin fix (fix(hosting): accept the CORS origins the CLI accepts for empty labels, long names and sub-delimiter hosts (#929) #946, fix(hosting): accept the remaining WHATWG host characters in CORS origins and pin the fallback's invariants (#945) #948), plus the documentation entry for docs(ptys): a Controller attach without Takeover fails, it is not downgraded to an observer #949 and docs(hosting): CreateClient's summary and refusal message overstate the identity rule #950 (below). Each of the 34 bullets inmaster's[Unreleased]is in the section, either as written or reworded into the Before/After form.[2.0.0]release link.The #949/#950 documentation entry is listed ahead of its pull request, from that branch's wording:
Takeoverfails 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.0is on nuget.org, because the baseline has to exist first:PackageValidationBaselineVersionmoves to2.0.0;2.0.0ships are removed;2.0.0as the latest release.For the maintainer: a canon gap, not edited here.
docs/engineering/documentation.mdstates 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-changespassed;Category!=NativeAotpassed 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:master.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 inCHANGELOG.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), aftergenerate --verify.Package validation against
1.1.0. A detailed-verbosity repack showsRunPackageValidationrunning againstopencodedotnet.sdk.1.1.0.nupkgandopencodedotnet.sdk.extensions.1.1.0.nupkg, with no CP diagnostic.Inspection:
libfolders, each holding one assembly and its documentation;OpenCodeDotNet.Sdk 2.0.0in every group;A scratch consumer on .NET 10.0.15 and .NET 11.0.0. The loaded
OpenCode.Sdk.dllreports2.0.0+5e2e978b…, and both packages restored from the local feed's files.Copies of AotCli, Worker and QuickStart, built against the package:
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:ae469c3ef467ef256dd59b1ee43725879221b320ef981a47de89b9cefbc62035OpenCodeDotNet.Sdk.Extensions.2.0.0.nupkg:7ce1ea3b29c23e81730535c95c30c72ecd47a2fd665a4e552062120c151f287cmacOS (arm64): a second rehearsal passed on
5e2e978b.NUGET_PACKAGESand the XDG roots were throwaway folders, andOpenCodeDotNet.*came only from the local feed. No step sent a prompt to a model.generate --verify: passed.2.0.0, withlibfolders fornet10.0,net11.0,net472andnetstandard2.0. Extensions depends onOpenCodeDotNet.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.osx-arm64with 0 trim or AOT warnings, ran, and exited 0.server.connected, then exited with code 1 when its server ended, as its README says.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'scommitinput. 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.