release(crates): oxc v0.135.0#23117
Merged
Merged
Conversation
Contributor
Author
Monitor OxcCommit:
|
Merging this PR will not alter performance
Comparing Footnotes
|
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.
💥 BREAKING CHANGES
#[non_exhaustive]to AST nodes (feat(ast)!: add#[non_exhaustive]to AST nodes #23046) (overlookmotel)AstBuilder::template_element_escape_rawandtemplate_element_escape_raw_with_lone_surrogatesmethods (feat(ast)!: addAstBuilder::template_element_escape_rawandtemplate_element_escape_raw_with_lone_surrogatesmethods #23047) (overlookmotel)🚀 Features
🐛 Bug Fixes
--and>when minifying (fix(codegen): don't emit space between postfix--and>when minifying #23036) (Boshen)escape_template_element_raw(fix(ast): fix UB inescape_template_element_raw#23052) (overlookmotel)import typealias to a non-external reference in the parser (fix(parser): reportimport typealias to a non-external reference in the parser #23032) (Boshen):in function return type when minifying (fix(codegen): drop space after:in function return type when minifying #23028) (Boshen)abstractprivate class field in the parser (fix(parser): reportabstractprivate class field in the parser #23029) (Boshen)export defaultwhen minifying (fix(codegen): drop redundant space afterexport defaultwhen minifying #23024) (Boshen)elsewhen minifying (fix(codegen): drop redundant space afterelsewhen minifying #23025) (Boshen)super.#fieldprivate access in the parser (fix(parser): reportsuper.#fieldprivate access in the parser #23014) (Boshen)const/declareenum modifier (fix(codegen): print space beforeconst/declareenum modifier #23013) (Boshen)defaultclause in the parser (fix(parser): report duplicate switchdefaultclause in the parser #23012) (Boshen)let/asyncfor-of head target (fix(codegen): parenthesizelet/asyncfor-of head target #23008) (Boshen)ininside an arrow in a for-init (fix(codegen): don't over-parenthesizeininside an arrow in a for-init #23009) (Boshen)TSInstantiationExpressionoperand (fix(codegen): parenthesize lower-precedenceTSInstantiationExpressionoperand #23007) (Boshen)TSTypeAssertionoperand (fix(codegen): don't over-parenthesizeTSTypeAssertionoperand #23004) (Boshen)TSTypeAssertionunary precedence (fix(codegen): giveTSTypeAssertionunary precedence #23002) (Boshen)new.targetandimport.metasyntax errors in the parser (fix(parser): reportnew.targetandimport.metasyntax errors in the parser #23003) (Boshen)awaitexpression as base of**(fix(codegen): parenthesizeawaitexpression as base of**#23001) (Boshen)newcallees containing a call (fix(codegen): keep parentheses aroundnewcallees containing a call #22997) (Boshen)as/satisfiesassertions (fix(parser): disallow unerasableas/satisfiesassertions #22986) (Boshen)⚡ Performance
assertstype predicate (perf(parser): use peek_token for the TSassertstype predicate #23058) (Boshen)AstBuilder::template_element_escape_rawavoid allocation if no escape required (perf(ast):AstBuilder::template_element_escape_rawavoid allocation if no escape required #23053) (overlookmotel)#[cold]function (perf(semantic): move cold function redeclaration handling into#[cold]function #22973) (overlookmotel)📚 Documentation
targetto oxc docs (docs(napi/minifier): pointtargetto oxc docs #23102) (camc314)