Skip to content

Remove deprecated escapeidentifier and unescapeidentifier functions#25333

Merged
weswigham merged 1 commit into
microsoft:masterfrom
weswigham:remove-deprecated-functions
Jul 2, 2018
Merged

Remove deprecated escapeidentifier and unescapeidentifier functions#25333
weswigham merged 1 commit into
microsoft:masterfrom
weswigham:remove-deprecated-functions

Conversation

@weswigham
Copy link
Copy Markdown
Member

@weswigham weswigham commented Jun 30, 2018

Since they're noops. escapeLeadingUnderscores and unescapeLeadingUnderscores have been the typesafe non-noop variants for a few releases now.

@weswigham weswigham requested a review from mhegazy June 30, 2018 01:18
@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Jul 2, 2018

@mhegazy mhegazy added Breaking Change Would introduce errors in existing code Domain: API Relates to the public API for TypeScript labels Jul 2, 2018
@mhegazy mhegazy added this to the TypeScript 3.0 milestone Jul 2, 2018
@weswigham weswigham merged commit 656f356 into microsoft:master Jul 2, 2018
@weswigham weswigham deleted the remove-deprecated-functions branch July 2, 2018 17:47
@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Jul 3, 2018

@weswigham looks like this is more break-y than we originally thought.. see https://travis-ci.org/DefinitelyTyped/DefinitelyTyped/builds/399575834?utm_source=github_status&utm_medium=notification.

Can you revert the change?

@weswigham
Copy link
Copy Markdown
Member Author

@mhegazy How about I add them back but mark them @internal so they no longer appear in our API?

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Jul 3, 2018

I think we are better off filing bugs against current users, then removing them once they have moved away from them.

@weswigham
Copy link
Copy Markdown
Member Author

This is the fix for the current user: ajafff/tsutils#66 - every single error in that build originates in tsutils.

cbjuan added a commit to Qiskit/qiskit-code-assistant-vscode that referenced this pull request Aug 2, 2018
In general it seems to work as expected. The only issue found is that some functions have been removed from TS (microsoft/TypeScript#25333)

Still, the tests pass and the extension runs as usual
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Breaking Change Would introduce errors in existing code Domain: API Relates to the public API for TypeScript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants