49 KiB
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog, and this project does not adhere to Semantic Versioning until v1.0.0.
[0.39.0] - 2024-12-04
b0e1c03ast: [BREAKING] AddStringLiteral::rawfield (#7393) (Boshen)
Features
[0.38.0] - 2024-11-26
Features
eb70219ast: DeriveGetAddresson all enum types (#7472) (overlookmotel)
[0.37.0] - 2024-11-21
-
f059b0east: [BREAKING] Add missingChainExpressionfromTSNonNullExpression(#7377) (Boshen) -
41a0e60ast: [BREAKING] Removeimpl GetAddress for Function(#7343) (overlookmotel) -
44375a5ast: [BREAKING] RenameTSEnumMemberNameenum variants (#7250) (overlookmotel)
Features
39afb48allocator: IntroduceVec::from_array_in(#7331) (overlookmotel)897d3b1ast: Serialize StringLiterals to ESTree withoutraw(#7263) (ottomated)224775ctransformer: Transform object rest spread (#7003) (Boshen)885e37ftransformer: Optional Chaining (#6990) (Boshen)
Bug Fixes
Performance
c84e892ast:AstBuilder::vec1useVec::from_array_in(#7334) (overlookmotel)
Documentation
f0affa2ast: Improve docs examples forPropertyDefinition(#7287) (overlookmotel)740ba4bast: Correct doc comment forStringLiteral(#7255) (overlookmotel)
Refactor
de472caast: MoveStringLiteraldefinition higher up (#7270) (overlookmotel)d3d58f8ast: Removeinherit_variants!fromTSEnumMemberName(#7248) (overlookmotel)
Styling
10cdce9ast: Add line break (#7271) (overlookmotel)
[0.36.0] - 2024-11-09
-
b11ed2cast: [BREAKING] Remove uselessObjectProperty::initfield (#7220) (Boshen) -
0e4adc1ast: [BREAKING] Remove invalid expressions fromTSEnumMemberName(#7219) (Boshen) -
092de67types: [BREAKING] Appendrestfield intoelementsfor objects and arrays to align with estree (#7212) (ottomated) -
d1d1874ast: [BREAKING] Changecomment.spanto real position that contain//and/*(#7154) (Boshen) -
843bce4ast: [BREAKING]IdentifierReference::reference_idreturnReferenceId(#7126) (overlookmotel)
Features
cc8a191ast: Methods on AST nodes to getscope_idetc (#7127) (overlookmotel)dc0215cast_tools: Add #[estree(append_to)], remove some custom serialization code (#7149) (ottomated)9d6cc9destree: ESTree compatibility for all literals (#7152) (ottomated)
Bug Fixes
Refactor
d27e14fast:AstKind::as_*methods takeself(#5546) (overlookmotel)fac5042ast: Usescope_idetc methods (#7130) (overlookmotel)
[0.35.0] - 2024-11-04
f543a8dast: [BREAKING] RemoveAstBuilder::*_from_*methods (#7073) (overlookmotel)
Features
854870east: Label AST fields with #[ts] (#6987) (ottomated)ce5b609ast: Remove explicit untagged marker on enums (#6915) (ottomated)9725e3cast_tools: Add #[estree(always_flatten)] to Span (#6935) (ottomated)fbc297east_tools: Move tsify custom types to estree attribute macro (#6934) (ottomated)169fa22ast_tools: Default enums to rename_all = "camelCase" (#6933) (ottomated)6516f9ecodegen: Print inline legal comments (#7054) (Boshen)1e2f012linter: Addoxc/no-map-spread(#6751) (DonIsaac)
Bug Fixes
0601271ast: FixStaticMemberExpression.get_first_object(#6969) (tomoya yanagibashi)f5a7134linter/no-unused-vars: False positive for discarded reads within sequences (#6907) (DonIsaac)caaf00eparser: Fix incorrect parsedTSIndexSignature(#7016) (Boshen)
Performance
6ca01b9ast: Reduce size ofComment(#6921) (overlookmotel)
Refactor
b0211a1ast:StaticMemberExpression::get_first_objectuse loop instead of recursion (#7065) (overlookmotel)fc07458ast: Move custom types.d.tsfile (#6931) (overlookmotel)c41c013ast: Rename lifetime (#6922) (overlookmotel)4cf0085ast_tools: Reorder imports in generated code (#6926) (overlookmotel)4688a06transformer: Use*_with_scope_idbuilder methods where possible (#7055) (overlookmotel)df3b089transformer/react-refresh: UseStatementInjectorto insert statements (#6881) (Dunqing)
[0.34.0] - 2024-10-26
Features
1145341ast_tools: Output typescript to a separate package (#6755) (ottomated)0d0bb17transformer: Complete the async-to-generator plugin (#6658) (Dunqing)
Bug Fixes
a47c70eminifier: Fix remaining runtime bugs (#6855) (Boshen)
Documentation
6eeb0e6ast: Mention typescript-eslint, field ordering and shape (#6863) (Boshen)
Refactor
3e7507fast_tools: Reduce macro usage (#6895) (overlookmotel)423d54crust: Remove the annoyingclippy::wildcard_imports(#6860) (Boshen)
Styling
262b2edast: Move crate doc comment to top of file (#6890) (overlookmotel)
[0.33.0] - 2024-10-24
-
718ccdeast: [BREAKING] Remove unusednewmethods (#6789) (overlookmotel) -
4d2d214ast, transformer: [BREAKING] RemoveStringLiteral::newmethod (#6788) (overlookmotel) -
a1ca964ast, parser: [BREAKING] RemoveNumericLiteral::newmethod (#6787) (overlookmotel) -
aeaa27aast, parser, transformer, traverse: [BREAKING] RemoveBindingIdentifier::newmethods (#6786) (overlookmotel) -
ecc9151ast, parser, transformer, traverse: [BREAKING] RemoveIdentifierReference::newmethods (#6785) (overlookmotel) -
c91ffbcast, transformer: [BREAKING] RemoveIdentifierName::newmethod (#6784) (overlookmotel) -
2bee4e2ast, transformer: [BREAKING] RemoveBlockStatement::newmethods (#6783) (overlookmotel) -
1248557ast: [BREAKING] RemoveAstKind::FinallyClause(#6744) (Boshen) -
202c7f6ast: [BREAKING] RemoveAstKind::ExpressionArrayElementandAstKind::ClassHeritage(#6740) (Boshen)
Features
78fee6east: AddAstBuilder::*_with_scope_idetc methods (#6760) (overlookmotel)b2f3040ast: AddGetAddresstrait (#6652) (Dunqing)
Bug Fixes
53049fewasm: Remove type defs forArrayExpressionElementandElision(#6683) (overlookmotel)
Documentation
63ce9beast: Enable crate-wide warnings on missing doc comments (#6716) (DonIsaac)91651e0ast: Fix comment forClassElement::r#static(#6771) (overlookmotel)c916505ast: Fix comment ofClassElement::r#static(#6731) (_Kerman)46720beast: Improve formatting ofAstBuilderdoc comments (#6756) (overlookmotel)a7dd5aaast: Enforce doc comments on AST node methods (#6714) (DonIsaac)8d27e2dast: Enforce doc comments on generated ASTBuilder methods (#6713) (DonIsaac)bad8770ast: Enforce doc comments on JSX nodes, literal nodes, and comments (#6712) (DonIsaac)
Refactor
ab8aa2fallocator: MoveGetAddresstrait intooxc_allocator(#6738) (overlookmotel)b66ae2east: Moveimpl GetAddress for Statement(#6742) (overlookmotel)0e9b695ast: Changeplain_functionto acceptFunctionBodyas a required parameter (#6709) (Dunqing)85e69a1ast_tools: Add line breaks to generated code forESTreederive (#6680) (overlookmotel)ad8e293ast_tools: Shorten generated code forimpl Serialize(#6684) (overlookmotel)9ba2b0east_tools: Move#[allow]attrs to top of generated files (#6679) (overlookmotel)11458a5ast_tools: Shorten generated code by avoidingrefin matches (#6675) (overlookmotel)
[0.32.0] - 2024-10-19
-
5200960oxc: [BREAKING] Remove passingTriviasaround (#6446) (Boshen) -
2808973ast: [BREAKING] AddProgram::comments(#6445) (Boshen)
Features
6f22538ecmascript: AddToBoolean,ToNumber,ToString(#6502) (Boshen)590925aminifier: Finish implementing folding array expressions (#6575) (camc314)e310e52parser: GenerateSerializeimpls in ast_tools (#6404) (ottomated)b5b0af9regular_expression: Support RegExp Modifiers (#6410) (leaysgur)
Bug Fixes
02bfbfecodegen: Preserve parenthesis forChainExpression(#6430) (Dunqing)a71e8a0minifier: Preserve init variable declarations when removingforstatements during DCE (#6551) (magic-akari)834ee2asemantic:TSConditionalTypescope enter/exit locations (#6351) (DonIsaac)
Refactor
073b02aast: Type params field before params in TS function declaration types (#6391) (overlookmotel)458f8f3ast_tools: Consistent comments onAstBuildermethods (#6664) (overlookmotel)
[0.31.0] - 2024-10-08
-
01b878eparser: [BREAKING] UseBindingIdentifierfornamespacedeclaration names (#6003) (DonIsaac) -
5a73a66regular_expression: [BREAKING] Simplify public APIs (#6262) (leaysgur)
Features
9e62396syntax_operations: Add crateoxc_ecmascript(#6202) (Boshen)
Refactor
acab777regular_expression: Misc fixes (#6234) (leaysgur)
[0.30.2] - 2024-09-27
Features
60c52baast: Allow passing span tovoid_0method (#6065) (Dunqing)28da771transformer: Do not transform**with bigint literals (#6023) (Boshen)
Bug Fixes
b1af73dsemantic: Do not create aglobalsymbol fordeclare global {}(#6040) (DonIsaac)
Refactor
1fc80d1ast: Move all ts ast related impl methods toast_impl(#6015) (Dunqing)
[0.30.1] - 2024-09-24
Documentation
5a0d17cast: Document more AST nodes (#6000) (DonIsaac)1abfe8fsemantic: DocumentSymbolTable(#5998) (DonIsaac)
[0.30.0] - 2024-09-23
033b907ast: [BREAKING] Apply#[non_exhaustive], must useAstBuilder(#5787) (Boshen)
Features
ae89145ast: Revert#[non_exhaustive]change (#5885) (Boshen)e8bf30aast: AddComment::real_span(#5764) (Boshen)bcdbba3codegen: Print jsdoc comments that are attached to statements and class elements (#5845) (Boshen)4a62703isolated-declarations: Handleexportin thenamespacecorrectly (#5950) (Dunqing)3bf7b24linter: Maketypescript/no-duplicate-enum-valuesacorrectnessrule (#5810) (DonIsaac)8e7556fparser: Calculate leading and trailing position for comments (#5785) (Boshen)65c337aprettier: Improve ts compatibility (#5900) (Alexander S.)6d9ccddprettier: Support TSMappedType (#5834) (Alexander S.)b5ac5a6prettier: Support TSModuleDeclaration (#5813) (Alexander S.)
Bug Fixes
66e919east: Correct TS types for JSX (#5884) (overlookmotel)0d10521ast: SerializeJSXMemberExpressionObjectto estree (#5883) (overlookmotel)a822c9dast: SerializeJSXElementNameto estree (#5882) (Boshen)8780c54isolated-declarations: Do not union a undefined when the param type is any or unknown (#5930) (Dunqing)
Documentation
acc2d16ast: Document most TypeScript AST nodes (#5983) (DonIsaac)47c2faaast: Document TryStatement and related nodes (#5970) (DonIsaac)
Refactor
f4fac0fast: Remove.iter()where not needed (#5904) (camchenry)6dd6f7cast: ChangeCommentstruct (#5783) (Boshen)7caae5bcodegen: AddGetSpanrequirement toGentrait (#5772) (Boshen)1c1353btransformer: Use AstBuilder instead of using struct constructor (#5778) (Boshen)
[0.29.0] - 2024-09-13
c3dd2a0ast: [BREAKING] Revert: reduce byte size ofTaggedTemplateExpression::quasibyBoxingit (#5679) (#5715) (overlookmotel)
Features
953fe17ast: ProvideNONEtype for AST builder calls (#5737) (overlookmotel)
Performance
[0.28.0] - 2024-09-11
-
afc4548ast: [BREAKING] Educe byte size ofTaggedTemplateExpression::quasibyBoxingit (#5679) (Boshen) -
7415e85ast: [BREAKING] Reduce byte size ofTSImportType::attributesbyBoxing it (#5678) (Boshen) -
ee4fb42ast: [BREAKING] Reduce size ofWithClausebyBoxing it (#5677) (Boshen)
Features
2da5ad1ast: AddJSXElementName::get_identifiermethod (#5556) (overlookmotel)68c3cf5minifier: Foldvoid 1->void 0(#5670) (Boshen)c6bbf94minifier: Constant fold unary expression (#5669) (Boshen)
Bug Fixes
28b934ccoverage: Applyalways_strictto test262 and typescript per the specifcation (#5555) (Boshen)0511d55regular_expression: Report more MayContainStrings error in (nested)class (#5661) (leaysgur)
Performance
Refactor
14ee086ast: InlineAstKind::as_*methods (#5547) (overlookmotel)2da42efregular_expression: Improve AST docs with refactoring may_contain_strings (#5665) (leaysgur)-26d9235Enable clippy::ref_as_ptr (#5577) (夕舞八弦)
[0.27.0] - 2024-09-06
-
cba93f5ast: [BREAKING] AddThisExpressionvariants toJSXElementNameandJSXMemberExpressionObject(#5466) (overlookmotel) -
87c5df2ast: [BREAKING] RenameExpression::without_parentheses(#5448) (overlookmotel)
Features
90facd3ast: AddContentHashtrait; remove noopHashimplementation fromSpan(#5451) (rzvxa)23285f4ast: AddContentEqtrait. (#5427) (rzvxa)59abf27ast, parser: Addoxc_regular_expressiontypes to the parser and AST. (#5256) (rzvxa)68a1c01ast_tools: Add dedicatedDerivetrait. (#5278) (rzvxa)62f7fffsemantic: Check for non-declared, non-abstract object accessors without bodies (#5461) (DonIsaac)5407143semantic: Check for non-declared, non-abstract class accessors without bodies (#5460) (DonIsaac)cedf7a4xtask: Implas_ast_kindmethod for each variant (#5491) (IWANABETHATGUY)
Bug Fixes
0df1d9dast, codegen, linter: Panics in fixers. (#5431) (rzvxa)-b96bea4Add back lifetime (#5507) (IWANABETHATGUY)
Documentation
64db1b4ast: Clarify docs forRegExpPattern(#5497) (overlookmotel)
Refactor
a43e951ast: Use loop instead of recursion (#5447) (overlookmotel)2224cc4ast: RenumberJSXMemberExpressionObjectdiscriminants (#5464) (overlookmotel)a952c47ast: Use loop not recursion (#5449) (overlookmotel)d9d7e7cast: RemoveIdentifierNamefromTSThisParameter(#5327) (overlookmotel)ccc8a27ast, ast_tools: Use full method path for generated derives trait calls. (#5462) (rzvxa)fdb8857linter: Use "parsed pattern" inno_div_regexrule. (#5417) (rzvxa)b47aca0syntax: Usegenerate_deriveforCloneInin types outside ofoxc_astcrate. (#5280) (rzvxa)
[0.26.0] - 2024-09-03
-
1aa49afast: [BREAKING] RemoveJSXMemberExpressionObject::Identifiervariant (#5358) (Dunqing) -
32f7300ast: [BREAKING] AddJSXElementName::IdentifierReferenceandJSXMemberExpressionObject::IdentifierReference(#5223) (Dunqing) -
234a24cast: [BREAKING] MergeUsingDeclarationintoVariableDeclaration(#5270) (Kevin Deng 三咲智子) -
c100826semantic: [BREAKING] Always create a scope forforstatements (#5110) (overlookmotel) -
d304d6fsemantic: [BREAKING] Always create a scope forCatchClause(#5109) (overlookmotel)
Features
180b1a1ast: AddFunction::name()(#5361) (DonIsaac)5505749ast: Addaccessibilityfield toAccessorProperty(#5290) (Dunqing)49cd5dbast,parser: Adddefiniteflag toAccessorPropertynode (#5182) (DonIsaac)c2fa725ast,parser: ParseTSTypeAnnotationsonAccessorProperty(#5179) (DonIsaac)f81e8a1linter: Addoxc/no-async-endpoint-handlers(#5364) (DonIsaac)
Bug Fixes
8ebc23fast: SerializeTSParenthesizedTypewith camelCase (#5199) (Kevin Deng 三咲智子)8a17807parser: Treat JSX element tags starting with_or$asIdentifierReferences (#5343) (overlookmotel)
Performance
292f217ast: OptimizeJSXIdentifier::is_reference(#5344) (overlookmotel)
Refactor
c2d8c9east: Reduce allocations inAstBuilder::move_assignment_target(#5367) (overlookmotel)946c867ast: BoxTSThisParameter(#5325) (overlookmotel)960e1d5ast: RenameIdentifierReference::new_with_reference_id(#5157) (overlookmotel)f63b568ast: Remove#[non_exhaustive]attr fromAstBuilder(#5130) (overlookmotel)d236554parser: MoveJSXIdentifierconversion code into parser (#5345) (overlookmotel)
[0.25.0] - 2024-08-23
-
78f135dast: [BREAKING] RemoveReferenceFlagfromIdentifierReference(#5077) (Boshen) -
c4c08a7ast: [BREAKING] RenameIdentifierReference::reference_flagsfield (#5024) (overlookmotel) -
d262a58syntax: [BREAKING] RenameReferenceFlagtoReferenceFlags(#5023) (overlookmotel) -
f88970bast: [BREAKING] Change order of fields in CallExpression (#4859) (Burlin)
Features
714373dast:inherit_variants!macro addinto_*methods (#5005) (overlookmotel)
Bug Fixes
7f3129east: Correct code comment (#5004) (overlookmotel)1365febtransformer: Remove anAstBuilder::copycall for TSAssignmentTargettransform (#4984) (overlookmotel)-b7db235Comments gen regression (#5003) (IWANABETHATGUY)
Refactor
cca7440ast: ReplaceAstBuilder::move_statement_vecwithmove_vec(#4988) (overlookmotel)4012260ast:AstBuilder::move_identifier_referencedo not allocate empty string (#4977) (overlookmotel)96422b6ast: Make AstBuilder non-exhaustive (#4925) (DonIsaac)4796ecetransformer: TS annotations transform usemove_expression(#4982) (overlookmotel)
[0.24.3] - 2024-08-18
Features
fd34640traverse: Supportgenerate_uid_based_on_nodemethod inTraverseCtx(#4940) (Dunqing)
Bug Fixes
c0b26f4ast: Do not includescope_idfields in JSON AST (#4858) (overlookmotel)879a271minifier: Do not joinrequirecalls forcjs-module-lexer(#4875) (Boshen)248a757transformer/typescript: Typescript syntax withinSimpleAssignmentTargetwithMemberExpressionsis not stripped (#4920) (Dunqing)
Documentation
47c9552ast, ast_macros, ast_tools: Better documentation forAsthelper attributes. (#4856) (rzvxa)
Refactor
90d0b2ballocator, ast, span, ast_tools: Useallocatoras var name forAllocator(#4900) (overlookmotel)1eb59d2ast, isolated_declarations, transformer: MarkAstBuilder::copyas an unsafe function (#4907) (overlookmotel)8e8fcd0ast_tools: Renameoxc_ast_codegentooxc_ast_tools. (#4846) (rzvxa)
[0.24.2] - 2024-08-12
Documentation
8827659ast: More doc comments for JSX nodes (#4830) (DonIsaac)
Refactor
0ea697bast, ast_codegen:CloneInimplementations now initialize semantic related cells withDefaultvalue. (#4819) (rzvxa)ecfa124ast_codegen: Add line break to generated code (#4829) (overlookmotel)096ac7blinter: Clean up jsx-a11y/anchor-is-valid (#4831) (DonIsaac)
[0.24.1] - 2024-08-10
Bug Fixes
fff9da3ast, ast_codegen: Usegenerate_deriveinstead of visitable for generating span derives. (#4747) (rzvxa)f5eeebdast_macros: Raise compile error on invalidgenerate_deriveinput. (#4766) (rzvxa)
Refactor
daa0b2east:oxc_astcrate re-export AST types from other crates (#4773) (overlookmotel)d4a3be8ast_codegen: Line breaks between types in layout assertions (#4781) (overlookmotel)dbb5f4cast_codegen: Remove unnecessary imports from generated files (#4774) (overlookmotel)2dea0caast_codegen: Consistent import order (#4761) (overlookmotel)
[0.24.0] - 2024-08-08
Features
51c1ca0ast: DeriveCloneInfor AST types, usinggenerate_derive. (#4732) (rzvxa)e12bd1east: Allow conversion from TSAccessibility into &'static str (#4711) (DonIsaac)fd2d9daast: ImproveAstKind::debug_name(#4553) (DonIsaac)b3b7028ast: Implement missing Clone, Hash, and Display traits for literals (#4552) (DonIsaac)54047e0ast:GetSpanMuttrait (#4609) (overlookmotel)eae401cast, ast_macros: Apply stable repr to all#[ast]enums (#4373) (rzvxa)ec0b4cbast_codegen: Addderive_clone_ingenerator. (#4731) (rzvxa)82e2f6bast_codegen: Process AST-relatedsyntaxtypes. (#4694) (rzvxa)0c52c0dast_codegen: Add alignment and size data to the schema. (#4615) (rzvxa)07607d3ast_codegen, span: ProcessSpanthrough ast_codegen (#4703) (overlookmotel)125c5fdast_codegen, span: ProcessSourceTypethrough ast_codegen. (#4696) (rzvxa)eaddc8flinter: Add fixer for eslint/func_names (#4714) (DonIsaac)
Bug Fixes
a40a217parser: Parseassertkeyword inTSImportAttributes(#4610) (Boshen)
Documentation
c69ada4ast: Improve AST node documentation (#4051) (Rintaro Itokawa)
Refactor
579b797ast: Use type identifier instead ofCloneIn::ClonedGAT. (#4738) (rzvxa)475266dast: Use correct lifetimes for name-related methods (#4712) (DonIsaac)83b6ca9ast: Add explicit enum discriminants. (#4689) (rzvxa)ba70001ast: Putassert_layouts.rsbehinddebug_assertions(#4621) (rzvxa)2218340ast, ast_codegen: Usegenerate_derivefor implementingGetSpanandGetSpanMuttraits. (#4735) (rzvxa)
Testing
49d5196ast: Fixassert_layouts.rsoffset tests on 32bit platforms. (#4620) (rzvxa)
[0.23.1] - 2024-08-06
Features
fd2d9daast: ImproveAstKind::debug_name(#4553) (DonIsaac)b3b7028ast: Implement missing Clone, Hash, and Display traits for literals (#4552) (DonIsaac)54047e0ast:GetSpanMuttrait (#4609) (overlookmotel)eae401cast, ast_macros: Apply stable repr to all#[ast]enums (#4373) (rzvxa)0c52c0dast_codegen: Add alignment and size data to the schema. (#4615) (rzvxa)
Bug Fixes
a40a217parser: Parseassertkeyword inTSImportAttributes(#4610) (Boshen)
Documentation
c69ada4ast: Improve AST node documentation (#4051) (Rintaro Itokawa)
Refactor
ba70001ast: Putassert_layouts.rsbehinddebug_assertions(#4621) (rzvxa)
Testing
49d5196ast: Fixassert_layouts.rsoffset tests on 32bit platforms. (#4620) (rzvxa)
[0.23.0] - 2024-08-01
Features
35654e6codegen: Align operator precedence with esbuild (#4509) (Boshen)b952942linter: Add eslint/no-unused-vars (⭐ attempt 3.2) (#4445) (DonIsaac)85e8418linter: Add react/jsx-curly-brace-presence (#3949) (Don Isaac)
Bug Fixes
d5c4b19parser: Fix enum member parsing (#4543) (DonIsaac)
Performance
c9c38a1parser: Support peeking over bytes (#4304) (lucab)
Documentation
0914e47ast: Add doc comments to literal nodes (#4551) (DonIsaac)c6a11beast: Auto-generate doc comments for AstBuilder methods (#4471) (DonIsaac)
[0.22.1] - 2024-07-27
Features
2477330ast: AddAstKind::TSExportAssignment(#4501) (Dunqing)aaee07east: AddAstKind::AssignmentTargetPattern,AstKind::ArrayAssignmentTargetandAstKind::ObjectAssignmentTarget(#4456) (Dunqing)fd363d1ast: Add AstKind::get_container_scope_id (#4450) (DonIsaac)
Bug Fixes
368112cast: Remove#[visit(ignore)]fromExportDefaultDeclarationKind'sTSInterfaceDeclaration(#4497) (Dunqing)
Documentation
f5f0ba8ast: Add doc comments to more AST nodes (#4413) (Don Isaac)
Refactor
9c5d2f9ast/builder: UseBox::new_inover.into_in(#4428) (overlookmotel)
[0.22.0] - 2024-07-23
f68b659ast: [BREAKING] Reorder fields ofArrowFunctionExpression(#4364) (Dunqing)
Features
d345b84ast: Add#[ast]attribute to non-visited AST types. (#4309) (rzvxa)3c0c709linter: Add typescript-eslint/no-extraneous-class (#4357) (Jaden Rodriguez)68efcd4linter/react-perf: Handle new objects and arrays in prop assignment patterns (#4396) (DonIsaac)
Bug Fixes
aece1dfast: VisitProgramshashbangfield first (#4368) (overlookmotel)
Performance
a207923Replace some CompactStr usages with Cows (#4377) (DonIsaac)
Refactor
d213773ast: Replace serde rename "lowercase" with "camelCase" (#4376) (overlookmotel)abfccbdast: Reduce#[cfg_attr]boilerplate in AST type defs (#4375) (overlookmotel)5f1c7ecast: Rename thevisited_nodemarker toast. (#4289) (rzvxa)59aea73ast: Scope is created only if CatchClause has param (#4346) (Dunqing)7a3e925ast_codegen: Better visit marker parsing. (#4371) (rzvxa)
[0.21.0] - 2024-07-18
Features
af4dc01ast: Align ts ast scope with typescript (#4253) (Dunqing)20cdb1fsemantic: Align class scope with typescript (#4195) (Dunqing)92ee774semantic: AddScopeFlags::CatchClausefor use in CatchClause (#4205) (Dunqing)
Bug Fixes
e167ef7codegen: Print parenthesis properly (#4245) (Boshen)1108f2asemantic: Resolve references to the incorrect symbol (#4280) (Dunqing)
Refactor
2c7bb9fast: Pass finalScopeFlagsintovisit_function(#4283) (overlookmotel)3e099feast: Moveenter_scopeaftervisit_binding_identifier(#4246) (Dunqing)aab7aaaast/visit: Fire node events as the outermost one. (#4203) (rzvxa)ace4f1fsemantic: Update the order ofvisit_functionandVisitfields in the builder to be consistent (#4248) (Dunqing)7f1adddsemantic: Correct scope in CatchClause (#4192) (Dunqing)1458d81visit: Add#[inline]to empty functions (#4330) (overlookmotel)
[0.20.0] - 2024-07-11
5731e39ast: [BREAKING] Store span details inside comment struct (#4132) (Luca Bruno)
Features
67fe75east, ast_codegen: Pass thescope_idto theenter_scopeevent. (#4168) (rzvxa)
Bug Fixes
48947a2ast: Putdecoratorsbefore everything else. (#4143) (rzvxa)
Documentation
bdcc298ast: Update the note regarding theast_codegenmarkers. (#4149) (rzvxa)
Refactor
[0.19.0] - 2024-07-09
b936162ast/ast_builder: [BREAKING] Shorter allocator utility method names. (#4122) (rzvxa)
Features
485c871ast: Allow conversion fromExpressionintoStatementwithFromIntrait. (#4124) (rzvxa)
Refactor
[0.18.0] - 2024-07-09
d347aedast: [BREAKING] Generateast_builder.rs. (#3890) (rzvxa)
Features
2f53bdfsemantic: Check for abstract ClassElements in non-abstract classes (#4127) (DonIsaac)c4ee9f8semantic: Check for abstract initializations and implementations (#4125) (Don Isaac)
[0.17.2] - 2024-07-08
Features
e386b62semantic: Check for invalid type import assignments (#4097) (DonIsaac)
[0.17.1] - 2024-07-06
Bug Fixes
aa585d3ast_codegen, ast: VisitExpressionArrayElementasExpression. (#4061) (rzvxa)
Refactor
8fa98e0ast: Inline trivial functions and shorten code (#4066) (overlookmotel)
[0.17.0] - 2024-07-05
-
e32b4bcast: [BREAKING] Store trivia comments in a sorted slice (#4045) (Luca Bruno) -
1df6ac0ast: [BREAKING] Renamevisit_enum_memebertovisit_ts_enum_member. (#4000) (rzvxa) -
4a0eaa0ast: [BREAKING] Renamevisit_enumtovisit_ts_enum_declaration. (#3998) (rzvxa) -
c98d8aaast: [BREAKING] Renamevisit_arrow_expressiontovisit_arrow_function_expression. (#3995) (rzvxa)
Features
1854a52ast_codegen: Introduce the#[span]hint. (#4012) (rzvxa)7538af1ast_codegen: Add visit generator (#3954) (rzvxa)
Bug Fixes
05a047cisolated-declarations: Method following an abstract method gets dropped (#4024) (Dunqing)
Refactor
b51f75bast_codegen: No longer outputs discard variable for empty visitors. (#4008) (rzvxa)
[0.16.3] - 2024-07-02
Features
b257d53linter: Support report@typescript-eslint/consistent-type-imports(#3895) (mysteryven)
Bug Fixes
d995f94semantic: Resolve reference incorrectly when a parameter references a parameter that hasn't been defined yet (#4004) (Dunqing)
Refactor
0fe22a8ast: Reorder fields to reflect their visit order. (#3994) (rzvxa)
[0.16.2] - 2024-06-30
Features
dc6d45east,codegen: AddTSParenthesizedTypeand print type parentheses correctly (#3979) (Boshen)
[0.16.1] - 2024-06-29
Bug Fixes
31e4c3bisolated-declarations:declare global {}should be kept even if it is not exported (#3956) (Dunqing)
[0.16.0] - 2024-06-26
-
6796891ast: [BREAKING] Rename all instances ofBigintLiteraltoBigIntLiteral. (#3898) (rzvxa) -
1f85f1aast: [BREAKING] Revert addingspanfield to theBindingPatterntype. (#3899) (rzvxa) -
ae09a97ast: [BREAKING] RemoveModifiersfrom ts nodes (#3846) (Boshen) -
1af5ed3ast: [BREAKING] ReplaceModifierswithdeclareandconstonEnumDeclaration(#3845) (Boshen) -
0673677ast: [BREAKING] ReplaceModifierswithdeclareonFunction(#3844) (Boshen) -
ee6ec4east: [BREAKING] ReplaceModifierswithdeclareandabstractonClass(#3841) (Boshen) -
9b38119ast: [BREAKING] ReplaceModifierswithdeclareonVariableDeclaration(#3839) (Boshen) -
cfcef24ast: [BREAKING] Adddirectivesfield toTSModuleBlock(#3830) (Boshen) -
4456034ast: [BREAKING] AddIdentifierReferencetoExportSpecifier(#3820) (Boshen)
Features
497769cast: Add some visitor functions (#3785) (Dunqing)4b06dc7ast: Add TSType::TSIntrinsicKeyword to is_keyword (#3775) (Dunqing)5847e16ast,parser: Addintrinsickeyword (#3767) (Boshen)2e026e1ast_codegen: Generateast_kind.rs. (#3888) (rzvxa)09f4d3cast_codegen: AddImplGetSpanGenerator. (#3852) (rzvxa)d5f6aebsemantic: Check for illegal symbol modifiers (#3838) (Don Isaac)
Bug Fixes
063cfdeast: Correct JSON serialization ofTSModuleBlock(#3858) (overlookmotel)66f404cast: Fix JSON serialization ofBindingPattern(#3856) (overlookmotel)59ce38bisolated-declarations: Inferring of UnrayExpression incorrectly (#3920) (Dunqing)8c9fc63semantic: Apply strict mode scope flag for strict mode TS Modules (#3861) (overlookmotel)aea3e9atransformer: Correct spans for TS annotations transform (#3782) (overlookmotel)
Performance
4f7ff7eDo not pass&Atomto functions (#3818) (overlookmotel)
Refactor
6f26087ast: Add comment about alternatives toAstBuilder::copy(#3905) (overlookmotel)442aca3ast: Add comment not to useAstBuilder::copy(#3891) (overlookmotel)acf69faast: Refactor customSerializeimpls (#3859) (overlookmotel)9e148e9ast: Add line breaks (#3860) (overlookmotel)363d3d5ast: Add span field to theBindingPatterntype. (#3855) (rzvxa)a648748ast: Shorten code in AST builder (#3835) (overlookmotel)1206967ast: Reduce allocations in AST builder (#3834) (overlookmotel)4cf3c76parser: Improve parsing of TypeScript types (#3903) (Boshen)97d59fcparser: Move code around for parsingModifiers(#3849) (Boshen)1061baatraverse: Separate#[scope]attr (#3901) (overlookmotel)fcd21a6traverse: Indicate scope entry point withscope(enter_before)attr (#3882) (overlookmotel)2045c92traverse: Improve parsing attrs in traverse codegen (#3879) (overlookmotel)
[0.15.0] - 2024-06-18
0578eceast: [BREAKING] RemoveExportDefaultDeclarationKind::TSEnumDeclaration(#3666) (Dunqing)
Features
81e9526isolated-declarations: Inferring set accessor parameter type from get accessor return type (#3725) (Dunqing)8f5655dlinter: Add eslint/no-useless-constructor (#3594) (Don Isaac)046ff3flinter/eslint: Addno_unreachablerule. (#3238) (rzvxa)910193etransformer-dts: Report error for super class (#3711) (Dunqing)413d7betransformer-dts: Transform enum support (#3710) (Dunqing)35c382etransformer-dts: Remove type annotation from private field (#3689) (Dunqing)0e6d3cetransformer-dts: Report error for async function and generator (#3688) (Dunqing)b22b59atransformer-dts: Transform namespace support (#3683) (Dunqing)4f2db46transformer-dts:--isolatedDeclarationsdts transform (#3664) (Dunqing)
Bug Fixes
2158268ast: Incorrect visit order in function (#3681) (Dunqing)da1e2d0codegen: Improve typescript codegen (#3708) (Boshen)90743e2traverse: Change visit order forFunction(#3685) (overlookmotel)
Refactor
fa7a6bacodegen: Addgenmethod to ast nodes (#3687) (Boshen)
[0.14.0] - 2024-06-12
Features
f6d9ca6linter: Addeslint/sort-importsrule (#3568) (Wang Wenzhe)
Bug Fixes
f8f6d33ast: Correctvisited_nodeattr for strict mode of arrow fns (#3635) (overlookmotel)
Performance
3a59294transformer: React display name transform reduce Atom allocations (#3616) (overlookmotel)
Refactor
0f92521ast: Replace recursion with loop (#3626) (overlookmotel)08f1010ast: MakeAstBuilderCopy(#3602) (overlookmotel)f98f777linter: Add rule fixer (#3589) (Don Isaac)89bcbd5transformer: MoveBoundIdentifierinto helpers (#3610) (overlookmotel)
[0.13.4] - 2024-06-07
Features
a939dddtransformer/typescript: Remove more typescript ast nodes (#3563) (Dunqing)e8a20f8transformer/typescript: Remove typescript ast nodes (#3559) (Dunqing)
[0.13.2] - 2024-06-03
Features
0d2c977linter: Addoxc/no-const-enumrule (#3435) (Wang Wenzhe)
Bug Fixes
ea53267ast: UsingDeclaration is not a typescript syntax (#3482) (Dunqing)
Refactor
ff7e8c7ast: Update scope attrs (#3494) (overlookmotel)55bbde2ast: Move scope fromTSModuleBlocktoTSModuleDeclaration(#3488) (overlookmotel)9c3d163ast: Rename function params (#3487) (overlookmotel)286b5edast: Remove defunct hashing ofSpan(#3486) (overlookmotel)
[0.13.1] - 2024-05-22
Bug Fixes
9594441linter/react:rules_of_hooksadd support for property hooks/components. (#3300) (rzvxa)-899a52bFix some nightly warnings (Boshen)
Performance
33386efast: Inline allASTBuildermethods (#3295) (Boshen)
Refactor
938ae12ast: Fix clippy lint on nightly (#3346) (overlookmotel)723a46fast: StoreScopeIdin AST nodes (#3302) (overlookmotel)89a1f97parser: Improve expression parsing (#3352) (Boshen)
[0.13.0] - 2024-05-14
Features
eefb66fast: Add type to AccessorProperty to support TSAbractAccessorProperty (#3256) (Dunqing)ac1a40fast: Addcallee_namemethod to theCallExpression. (#3076) (Ali Rezvani)870d11fsyntax: AddToJsStringtrait for f64 (#3131) (Boshen)be87ca8transform:oxc_traversecrate (#3169) (overlookmotel)34dd53ctransformer: Report ambient module cannot be nested error (#3253) (Dunqing)78875b7transformer: Implement typescript namespace (#3025) (Boshen)be8fabetransformer/react: Enable jsx plugin when development is true (#3141) (Dunqing)46c02aetraverse: Add scope flags toTraverseCtx(#3229) (overlookmotel)
Bug Fixes
81f90fdast: Do not includetrailing_commain JSON AST (#3073) (overlookmotel)0ba7778parser: Correctly parse cls.fn = x (#3208) (Dunqing)65540c0traverse: SetScopeFlags::Functionbit for class methods (#3277) (overlookmotel)6fd7a3ctraverse: Create scopes for functions (#3273) (overlookmotel)4e20b04traverse: Create scope for function nested in class method (#3234) (overlookmotel)
Documentation
c6bd616ast: Document enum inheritance (#3192) (overlookmotel)
Refactor
4208733ast: Order AST type fields in visitation order (#3228) (overlookmotel)c84c116ast: Addis_strictmethods (#3227) (overlookmotel)7e1fe36ast: Squash nested enums (#3115) (overlookmotel)0185eb2ast: Remove duplicateTSNamedTupleMemberrepresentation (#3101) (overlookmotel)942b2baast: Add array elementElisiontype (#3074) (overlookmotel)f5dccc9coverage: Avoid anString::from_utf8over head during serialization (#3145) (Boshen)a8af5desyntax: Move number related functions to number module (#3130) (Boshen)5329b0ftransform: Fix doc comments for methods generated byinherit_variants!macro (#3195) (overlookmotel)
[0.12.5] - 2024-04-22
Features
92d709bast: AddCatchParameternode (#3049) (Boshen)
Performance
6c82961ast: Box typescript enum variants. (#3065) (Ali Rezvani)48e2088ast: Box enum variants (#3058) (overlookmotel)383b449ast: BoxImportDeclarationSpecifierenum variants (#3061) (overlookmotel)2804e7dast: Reduce indirection in AST types (#3051) (overlookmotel)
Refactor
1249c6cast: Implement same traits on all fieldless enums (#3031) (overlookmotel)0b9470east: Shorten code (#3027) (overlookmotel)
[0.12.4] - 2024-04-19
Features
bd9fc6dtransformer: React jsx transform (#2961) (Boshen)e673550transformer: Start on TypeScript annotation removal (#2951) (Miles Johnson)f903a22transformer: Implement react-jsx-self (#2946) (Boshen)0c04bf7transformer: Transform TypeScript namespace (#2942) (Boshen)e14ac17transformer/typescript: Insert this assignment after the super call (#3018) (Dunqing)
[0.12.3] - 2024-04-11
Features
6c00908oxc_ast: Add missing ast visits for types (#2938) (Brad Zacher)
Refactor
5974819ast: Clean up the ts type visit methods (Boshen)
[0.12.1] - 2024-04-03
Bug Fixes
5f8f7f8ast:FinallyClausewon't get visited asBlockStatementanymore. (#2881) (Ali Rezvani)
[0.11.0] - 2024-03-30
Bug Fixes
b76b02dparser: Add support for empty module declaration (#2834) (Ali Rezvani)
Refactor
fc38783ast: Add walk_mut functions (#2776) (Ali Rezvani)198eea0ast: Add walk functions to Visit trait. (#2791) (Ali Rezvani)813226bast: Get rid of unsafe transmutation in VisitMut trait. (#2764) (Ali Rezvani)
[0.10.0] - 2024-03-14
-
c3477deast: [BREAKING] Rename BigintLiteral to BigIntLiteral (#2659) (Arnaud Barré) -
7768123parser: [BREAKING] Drop TSImportEqualsDeclaration.is_export (#2654) (Arnaud Barré)
Features
0d7bc8fast: Fill in missing ast visits (#2705) (Boshen)8e3e404prettier: Printwith_clausein reexport declaration (#2635) (magic-akari)4f9dd98span: RemoveFrom<String>andFrom<Cow>API because they create memory leak (#2628) (Boshen)308b780transformer/decorators: Handling the coexistence of class decorators and member decorators (#2636) (Dunqing)-697b6b7Merge featuresserdeandwasmtoserialize(#2716) (Boshen)
Bug Fixes
c820a5bast: Serialize empty array elements as null (#2707) (overlookmotel)acf127bast: Correct TS type forArrayAssignmentTarget(#2699) (overlookmotel)3305734ast: Addtypefield to TS types forObjectPatternetc (#2670) (overlookmotel)f27db30ast: Fix TS type forAssignmentTargetRest(#2668) (overlookmotel)d47f0e2ast: RenameTSIndexSignatureNamein JSON AST (#2664) (overlookmotel)cc5be63ast: Fix serializing rest elements (#2652) (overlookmotel)88f94bbast: AddRestElements in serialized AST to elements array (#2567) (overlookmotel)2a235d3ast: Parsewith_clausein re-export declaration (#2634) (magic-akari)b453a07parser: Parse named rest element in type tuple (#2655) (Arnaud Barré)
Refactor
0f86333ast: RefactorTriviasAPI - have less noise around it (#2692) (Boshen)cba1e2fast: ImportTsifyto shorten code (#2665) (overlookmotel)a01cf9fast: RemoveSerializeimpls for Identifier types (#2651) (overlookmotel)6b5723cast: Shorten manual TS defs (#2638) (overlookmotel)-89e8d15DeriveSerAttrson all AST types (#2698) (overlookmotel)-3c1e0dbReducecfg_attrboilerplate withSerAttrsderive (#2669) (overlookmotel)-d76ee6b"wasm" feature enable "serde" feature (#2639) (overlookmotel)
[0.9.0] - 2024-03-05
f66059east: [BREAKING] Align TSImportType with ESTree (#2578) (Arnaud Barré)
Features
1db307aast: SerializeBindingPatternto estree (#2610) (Boshen)f6709e4ast: Serialize identifiers to ESTree (#2521) (Arnaud Barré)20c7bf7ast: AddAssignmentTargetRest(#2601) (Boshen)3efbbb2ast: Add "abstract" type toMethodDefinitionandPropertyDefinition(#2536) (Boshen)
Bug Fixes
49778abast: Temporary fix tsify not generating some typings (#2611) (Boshen)1d65713ast: Expose NumericLiteral.raw (#2588) (Arnaud Barré)637cd1dast: Support TSIndexSignature.readonly (#2579) (Arnaud Barré)258b9b1ast: Support FormalParameter.override (#2577) (Arnaud Barré)78f30bcast: Change TSMappedType.type_annotation from TSTypeAnnotation to TSType (#2571) (Arnaud Barré)e339461ast: Rename serialized fields to camel case (#2566) (overlookmotel)fd8f735ast: Missing visit JSXElementName enum (#2547) (Dunqing)d181209ast: Add Function to generated TS types and fix ModifierKind serialization (#2534) (Arnaud Barré)6d5ec6dast: Few serialization issues (#2522) (Arnaud Barré)f00834dlinter: Fix getter return rule false positives in TypeScript (#2543) (BlackSoulHub)d9cc429parser: Parse empty method declaration as TSEmptyBodyFunctionExpression (#2574) (Arnaud Barré)1519b90semantic: Incorrect scope for switch statement (#2513) (Dunqing)
[0.8.0] - 2024-02-26
Features
70295a5ast: Update arrow_expression to arrow_function_expression (#2496) (Dunqing)7a796c4ast: AddTSModuleDeclaration.kind(#2487) (Boshen)f5aadc7linter: Handle cjs `module.exports = {} as default export (#2493) (Boshen)f64c7e0linter: Handle cjsmodule.exports.foo = barandexports.foo = bar(#2492) (Boshen)60db720parser: Parse import attributes in TSImportType (#2436) (Dunqing)642484eprettier: Print newlines between array expression elements (#2379) (Boshen)3d008abtransformer/decorators: Insert instanceBrand function (#2480) (Dunqing)
Bug Fixes
871a73aprettier: Semi colon after class property (#2387) (Boshen)
Refactor
540f917ast: RemoveTSEnumBody(#2509) (Boshen)9087f71ast: S/TSThisKeyword/TSThisType to align with estree (Boshen)d08abc6ast: S/NumberLiteral/NumericLiteral to align with estree (Boshen)e6b391aast: S/ArrowExpression/ArrowFunctionExpression to align estree (Boshen)3cbe786ast: Update TSImportType parameter to argument (#2429) (Dunqing)
[0.7.0] - 2024-02-09
Features
d571839ast: Enter AstKind::ExportDefaultDeclaration, AstKind::ExportNamedDeclaration and AstKind::ExportAllDeclaration (#2317) (Dunqing)a3570d4semantic: Report parameter related errors for setter/getter (#2316) (Dunqing)
Bug Fixes
2eb489ecodegen: Format new expession + import expression with the correct parentheses (#2346) (Dunqing)b5e43fblinter: Fix no_dupe_keys false postive on similar key names (#2291) (Boshen)
Refactor
1822cfeast: Fix BigInt memory leak by removing it (#2293) (Boshen)
[0.6.0] - 2024-02-03
Features
2578bb3ast: Remove generator property from ArrowFunction (#2260) (Dunqing)165f948ast: Remove expression property from Function (#2247) (Dunqing)f673e41ast: Remove serde skip for symbol_id and reference_id (#2220) (Dunqing)cd5026cast: TypeScript definition for wasm target (#2158) (Nicholas Roberts)080e78cast: Complete AccessorProperty todo in has_decorator (#2178) (Dunqing)ac4b3a4ast: Visit TSTypeQuery (#2021) (Dunqing)d71175esemantic: Check optional parameters (#2263) (Dunqing)8898377semantic: Cfg prototype (#2019) (Boshen)9e598fftransformer: Add decorators plugin (#2139) (Dunqing)02c18d8transformer/decorators: Support for static and private member decorators (#2246) (Dunqing)ba85b09transformer/decorators: Support method decorator and is not static (#2238) (Dunqing)e5719e9transformer/decorators: Support transform member decorators (#2171) (Dunqing)7f89bfetransformer/decorators: Support version 2023-05 (#2152) (Dunqing)04b401ctransformer/decorators: Support transform the class decorators in export declaration (#2145) (Dunqing)56ca8b6transformer/typescript: Support transform namespace (#2075) (Dunqing)3413bb3transformer/typescript: Remove type-related exports (#2056) (Dunqing)
Bug Fixes
ea8cc98ast: AcessorProperty is missing decorators (#2176) (Dunqing)2f5afffparser: Fix crash on TSTemplateLiteralType in function return position (#2089) (Boshen)
Refactor
b261e86ast: Improve simple_assignment_target_identifier and simple_assignment_target_member_expression method (#2153) (Dunqing)766ca63ast: Rename RestElement to BindingRestElement (#2116) (Dunqing)1de3518linter: Remove Regex and change error position (#2188) (Wenzhe Wang)2924258semantic: Adding binder for ImportSpecifier replaces the ModuleDeclaration's binder (#2230) (Dunqing)f59e87fsemantic: Checking label in ContinueStatement based on LabelBuilder (#2202) (Dunqing)8bccdabsemantic: Add binder for FormalParameters and RestElement, replacing the binder for FormalParameters (#2114) (Dunqing)de6d2f5transformer/decorators: Optimizing code with ast.private_field (#2249) (Dunqing)
[0.5.0] - 2024-01-12
Features
0a08686ast: Visit TSModuleReference (#1998) (Dunqing)d41e3fdast: Enter/leave ClassBody and PrivateInExpression (#1792) (Dunqing)67b7cc0ast: Support visit more jsx ast in visit (#1662) (Dunqing)c1cfd17linter: No-irregular-whitespace rule (#1835) (Deivid Almeida)f45a3cclinter: Support eslint/no-unused-private-class-members rule (#1820) (Dunqing)0c19991prettier: Print CallExpression arguments correctly (#1631) (Dunqing)ca04312semantic: Add ClassTable (#1793) (Dunqing)
Bug Fixes
adfe24east: ImplementGetSpanforJSXElement(#1861) (Qix)-0d77e1eDefault visitor should visit prop init atvisit_object_property(#2000) (underfin)
Refactor
a2858edast: IntroduceThisParameter(#1728) (magic-akari)08438e0parser: Remove TokenValue::RegExp fromToken(#1926) (Boshen)
[0.4.0] - 2023-12-08
Features
4043ca9ast: Add enter node and scope forVisitMuttrait (#1570) (IWANABETHATGUY)9ff0ffcast: Implement new proposal-import-attributes (#1476) (magic-akari)446ba16ast: Add to_string function to VariableDelcartionKind (#1303) (Dunqing)0115314ast/semantic: Parse jsdoc onPropertyDefinition(#1517) (Shannon Rothe)afeed17linter: Eslint-lugin-unicorn no_useless_length_check (#1541) (Radu Baston)9754ef0pretter: Start formattingModuleDeclarationandArrowExpression(#1354) (Boshen)da87b9bprettier: Binaryish expressions with parens (#1597) (Boshen)1bd1c5bprettier: Check parens for(let)[a] = 1(#1585) (Boshen)c50fcecprettier: Wrap return statements with parentheses (#1583) (Boshen)e55fdc6prettier: Add parens to conditional and arrow expr (#1530) (Boshen)78c6fcdprettier: Improve format of ExportDefaultDeclaration (#1520) (Boshen)064353cprettier: Turn off preserve_parens and start working on need-parens (#1487) (Boshen)0bf3dbfprettier: Add infra for need_parens (#1450) (Boshen)9a21d1aprettier: PrintExportAllDeclaration(#1381) (Boshen)6d8fa7fprettier: Sort regex flags (#1372) (Boshen)bfdb6eaprettier: Print statements with newlines (#1367) (Boshen)5f31662prettier: Add the basics of comment printing (#1313) (Boshen)92c1d9dtransform: TypeScript Enum (#1173) (magic-akari)6cbc5ddtransformer: Start onfunction_nametransform. (#1510) (Miles Johnson)-872e8adEslint-plugin-unicorn (recommended) prefer-node-protocol (#1618) (IWANABETHATGUY)
Bug Fixes
6ebb42dast: Remove debug_assertions fromdebug_name(Boshen)9c0aafcparser: Disallow ReservedWord in NamedExports (#1230) (magic-akari)
Refactor
be043c3ast: VariableDeclarationKind::to_string -> as_str (#1321) (Boshen)c5b138fprettier: Clean up object::print_object_properties (#1573) (Boshen)1a576f6rust: Move to workspace lint table (#1444) (Boshen)
[0.3.0] - 2023-11-06
Features
6c1388dast: Enter/leave scopes in Visit (Don Isaac)6c18b3ecodegen: Beauty class print (#995) (Wenzhe Wang)e0ca09bcodegen: Implement the basics of non-minifying codegen (#987) (Boshen)25247e3linter: Eslint/no-fallthrough (nursery) (Sg)ef8aaa7minifier: Re-enable mangler (#972) (Boshen)55b2f03minifier: Partially re-enable minifier (#963) (Boshen)5b1e1e5parser: TypeScript 5.2 (#811) (Cameron)1661385semantic: Check non-simple lhs expression of assignment expression (#994) (Boshen)0856111transformer: Implement more of react transform attributes (#1081) (Boshen)5fb27fbtransformer: Implement key extraction for react automatic (#1077) (Boshen)394ed35transformer: Implement react get_attribute_name (#1076) (Boshen)d8f1a7ftransformer: Start implementing react jsx transform (#1057) (Boshen)af1a76btransformer: Implement some of needs_explicit_esm for typescript (#1047) (Boshen)dfee853transformer: Add utils to make logical_assignment_operators pass (#1017) (Boshen)678db1dtransformer: ES2020 Nullish Coalescing Operator (#1004) (Boshen)0f72066transformer: Finish 2016 exponentiation operator (#996) (Boshen)9ad2634transformer: Class Static Block (#962) (magic-akari)21066a9transformer: Shorthand Properties (#960) (magic-akari)5863f8ftransformer: Logical assignment operators (#923) (Boshen)419d5aatransformer: Transformer prototype (#918) (Boshen)203cf37transformer/react: Read comment pragma @jsxRuntime classic / automatic (#1133) (Boshen)
Bug Fixes
6295f9cast: Jsx attribute value and text child should be jsx string (#1089) (Boshen)f32bf27codegen: Fix some typescript codegen problems (#989) (Boshen)a455c81linter: Revert changes to JSX attribute strings (#1101) (Boshen)-266253cTs parsing error (#940) (IWANABETHATGUY)
Refactor
94792e9ast: Split syntax_directed_operations into separate files (Boshen)4787220ast: Clean up some methods (Boshen)903854dast: Fix the lifetime annotations around Vist and VisitMut (#973) (Boshen)70189f9ast: Change the arguments order for somenewfunctions (Boshen)db5417fclippy: Allow clippy::too_many_lines (Boshen)eaeb630clippy: Allow struct_excessive_bools (Boshen)c7a04f4transformer: Remove returning None from transform functions (#1079) (Boshen)
[0.2.0] - 2023-09-14
Features
741aa8dast: Add to ChainExpression and ExpressionArrayElement to ASTKind (#785) (u9g)e7c2313ast: AddSymbolIdandReferenceId(#755) (Yunfei He)4754133ast: AstKind::debug_name() (#665) (Don Isaac)
Performance
6628fc8linter: Reduce mallocs (#654) (Don Isaac)babbc47parser: Lazily build trivia map instead of build in-place (#903) (Boshen)
Documentation
89b49bdast: Document why Directive.directive is a raw string (Boshen)