## [0.16.1] - 2024-06-29 ### Features -7b38bdeparser: Parse modifiers with `parse_modifiers` (#3948) (DonIsaac) -f64ad4bsemantic: Make jsdoc building optional (turned off by default) (#3955) (Boshen) ### Bug Fixes -51e54f9codegen: Should print `TSModuleDeclarationKind` instead of just `module` (#3957) (Dunqing) -31e4c3bisolated-declarations: `declare global {}` should be kept even if it is not exported (#3956) (Dunqing) ### Refactor -2705df9linter: Improve diagnostic labeling (#3960) (DonIsaac) -15ec254semantic: Remove the unused `Semantic::build2` function (Boshen) Co-authored-by: Boshen <Boshen@users.noreply.github.com>
5 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.16.1] - 2024-06-29
Bug Fixes
51e54f9codegen: Should printTSModuleDeclarationKindinstead of justmodule(#3957) (Dunqing)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)2821e0ecodegen: Print readonly keyword for TSIndexSignature (#3791) (Dunqing)97575d8codegen: Print TSClassImplements and TSThisParameter (#3786) (Dunqing)5e2baf3isolated-declarations: Report error for expando functions (#3872) (Dunqing)2cdb34fisolated-declarations: Support for class function overloads (#3811) (Dunqing)231b8f0isolated-declarations: Support for export default function overloads (#3809) (Dunqing)a37138fisolated-declarations: Improve the inference template literal (#3797) (Dunqing)b0d7355isolated-declarations: Transform const expression correctly (#3793) (Dunqing)b38c34disolated-declarations: Support inferring ParenthesizedExpression (#3769) (Dunqing)4134de8isolated-declarations: Add ts error code to the error message (#3755) (Dunqing)94202deisolated-declarations: Addexport {}when needed (#3754) (Dunqing)e95d8e3isolated-declarations: Shrink span for arrow function that needs an explicit return type (#3752) (Dunqing)df9971disolated-declarations: Improve inferring the return type from function (#3750) (Dunqing)4aea2b1isolated-declarations: Improve inferring the type of accessor (#3749) (Dunqing)9ea30c4isolated-declarations: Treat AssignmentPattern as optional (#3748) (Dunqing)
Bug Fixes
2766594codegen: Print type parameters for MethodDefinition (#3922) (Dunqing)27f0531isolated-declarations: Private constructor reaching unreachable (#3921) (Dunqing)59ce38bisolated-declarations: Inferring of UnrayExpression incorrectly (#3920) (Dunqing)58e54f4isolated-declarations: Report an error for parameters if they are ObjectPattern or ArrayPattern without an explicit type (#3810) (Dunqing)cb8a272isolated-declarations: Cannot infer nestedas const(#3807) (Dunqing)d8ecce5isolated-declarations: Infer BigInt number asbiginttype (#3806) (Dunqing)4e241fcisolated-declarations: Missingconstafter transformed const enum (#3805) (Dunqing)683c7b0isolated-declarations: Shouldn’t add declare in declaration with export default (#3804) (Dunqing)7d47fc3isolated-declarations: Should stripe async and generator keyword after transformed (#3790) (Dunqing)8ce794disolated-declarations: Inferring an incorrect return type when there is an arrow function inside a function (#3768) (Dunqing)d29316aisolated-declarations: Transform incorrectly when there are multiple functions with the same name (#3753) (Dunqing)bf1c250isolated-declarations: False positives for non-exported binding elements (#3751) (Dunqing)
Performance
4f7ff7eDo not pass&Atomto functions (#3818) (overlookmotel)
Refactor
363d3d5ast: Add span field to theBindingPatterntype. (#3855) (rzvxa)2f5d50eisolated-declarations: RemoveModifiers(#3847) (Boshen)
[0.15.0] - 2024-06-18
5c38a0fcodegen: [BREAKING] New code gen API (#3740) (Boshen)
Features
ee627c3isolated-declarations: Create unique name for_default(#3730) (Dunqing)81e9526isolated-declarations: Inferring set accessor parameter type from get accessor return type (#3725) (Dunqing)77d5533isolated-declarations: Report errors that are consistent with typescript. (#3720) (Dunqing)0b8098anapi: Isolated-declaration (#3718) (Boshen)
Bug Fixes
f1b793fisolated-declarations: Function overloads reaching unreachable (#3739) (Dunqing)0fbecdcisolated-declarations: Should be added to references, not bindings (#3726) (Dunqing)