Skip to content

Deprecate baseUrl - #62509

Merged
Andrew Branch (andrewbranch) merged 2 commits into
microsoft:mainfrom
andrewbranch:deprecate-baseUrl-2
Sep 30, 2025
Merged

Deprecate baseUrl#62509
Andrew Branch (andrewbranch) merged 2 commits into
microsoft:mainfrom
andrewbranch:deprecate-baseUrl-2

Conversation

@andrewbranch

Copy link
Copy Markdown
Member

Closes#62207

@typescript-bot

Copy link
Copy Markdown
Contributor

Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page.

Also, please make sure Daniel Rosenwasser (@DanielRosenwasser) and Ryan Cavanaugh (@RyanCavanaugh) are aware of the changes, just as a heads up.

CopilotAI 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

This PR implements deprecation warnings for the baseUrl compiler option as part of the broader effort to deprecate it in TypeScript 7.0. The change adds a new deprecation diagnostic that warns users about the upcoming removal while providing migration guidance.

  • Adds deprecation warning for baseUrl with error code TS5101
  • Updates test baselines to reflect the new diagnostic output
  • Provides migration information through a documentation link

@github-project-automationgithub-project-automationBot moved this from Not started to Needs merge in PR BacklogSep 29, 2025
@andrewbranch
Andrew Branch (andrewbranch) merged commit eef6a0c into microsoft:mainSep 30, 2025
33 checks passed
@github-project-automationgithub-project-automationBot moved this from Needs merge to Done in PR BacklogSep 30, 2025
@andrewbranch
Andrew Branch (andrewbranch) deleted the deprecate-baseUrl-2 branch September 30, 2025 21:03
Andrew Branch (andrewbranch) added a commit to andrewbranch/TypeScript that referenced this pull request Oct 25, 2025
@jakebaileyJake Bailey (jakebailey) added the Breaking Change Would introduce errors in existing code label Jan 31, 2026
@microsoftMicrosoft (microsoft) locked as resolved and limited conversation to collaborators Jul 30, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: TeamBreaking ChangeWould introduce errors in existing codeFor Milestone BugPRs that fix a bug with a specific milestone

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Deprecate, remove support for baseUrl

5 participants

@andrewbranch@typescript-bot@sheetalkamat@jakebailey