Skip to content

[api] Prepare for beta release - #64681

Merged
Andrew Branch (andrewbranch) merged 9 commits into
microsoft:mainfrom
andrewbranch:api-remove-unstable
Oct 8, 2026
Merged

Andrew Branch (andrewbranch) merged 9 commits into
microsoft:mainfrom
andrewbranch:api-remove-unstable

Conversation

@andrewbranch

Copy link
Copy Markdown
Member
  • Removes /unstable prefix from module exports
  • Renames the api.internal namespace to api.debug (containing the profiling helpers)
  • Moves snapshot.internal.formatNodeForInsertion to languageService.formatNodeForInsertion
  • Marks api.createBuildOrchestrator @internal for now
  • Compiles with --stripInternal
  • Exports factory from "typescript/ast"
  • Removes @deprecated functions/methods

Copilot AI balanced review requested due to automatic review settings October 7, 2026 22:50
@typescript-automation typescript-automation Bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Oct 7, 2026

This comment was marked as resolved.

This comment was marked as resolved.

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.

🔵 Needs a closer look

The broad breaking public API, package-export, protocol, and generated declaration changes warrant final human validation.

0 open findings

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

@andrewbranch
Andrew Branch (andrewbranch) added this pull request to the merge queue Oct 8, 2026
Merged via the queue into microsoft:main with commit c0ca474 Oct 8, 2026
29 checks passed
@andrewbranch
Andrew Branch (andrewbranch) deleted the api-remove-unstable branch October 8, 2026 15:32
Gabriel Fonseca (gabrielvfonseca) pushed a commit to gabrielvfonseca/ts-rust that referenced this pull request Oct 23, 2026
…Options (#64681)

Port microsoft/TypeScript#64681 (c0ca4744c), Go N' 3e9236361fa9:
ProjectResponse (api/proto.go:1032) loses the deprecated rootFiles and
compilerOptions; clients read parsedCommandLine.fileNames and
parsedCommandLine.options. NewProjectResponse (:1068) no longer fills
them. formatNodeForInsertion moves to the language service methods: the
method constant, its unmarshaler entry (:594), its params (:1587) and
its HandleRequest case (api/session.go:868) move after
getCompletionsAtPosition, as in Go.

Tests: TestCreateSnapshotCreatesPrograms and
TestUpdateSnapshotReconfiguresSyntheticProgram read the parsed command
line (Go session_createprogram_test.go:78-80, :173-174). The port-only
raw options tests read the options there too, and the project JSON of
create_snapshot_drops_raw_plugin_names is the Go N' probe output
(json.Marshal of Projects[0] has no rootFiles and compilerOptions).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lsh4711 added a commit to ssclang/syscript that referenced this pull request Oct 25, 2026
- import the TypeScript API from `typescript7/{ast,sync,proto}`, the release
  dropped the `/unstable` prefix (microsoft/TypeScript#64681)
- the forked tsc is rebased onto the same upstream commit (aa8149273b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants