All Versions
302
Latest Version
Avg Release Cycle
4 days
Latest Release
535 days ago

Changelog History
Page 6

  • v1.2.211 Changes

    July 09, 2022

    🐛 Bug Fixes

    • (cli) Constructs config file correctly (#5146) (4f87396)

    • (es/compat) Preserve more class names (#5106) (dd39a79)

    • (es/compat) Optimize for-of loops for array literals (#5141) (9351303)

    • (es/compat) Remove extra this/arguments capture in arrows (#5152) (cd8d65b)

    • 👕 (es/lints) Handle import-require duplicate bindings (#5131) (a0ec370)

    • (es/minifier) Don't inline a callable expression if it's used as a reference (#5118) (0e4a03c)

    • (es/modules) Handle top level this (#5159) (451f346)

    • (es/modules) Handle top level this, really (#5160) (2555d71)

    • 📜 (es/parser) Support type-only export-import declarations (#5122) (fbfca36)

    • (sourcemap) Handle multi-byte characters correctly (#5153) (bbbe0b6)

    📚 Documentation

    • 📜 (es/parser) Typo (#5136) (9d4be11)

    • (visit) Add docs for visitors (#5137) (76de911)

    🔋 Features

    • (css/minifier) Compress hsl colors (#5142) (714ff53)

    • (css/minifier) Compress hwb color (#5155) (d6a827d)

    • 📜 (es/parser) Support d in regex flag for es2022 (#5127) (2d94797)

    • (es/typescript) Follow TypeScript error report (#5114) (f952a61)

    • (html) Add raw for text (#5148) (01bfe46)

    • (html/minifier) Sort attributes (#4784) (f813a60)

    • (html/minifier) Compress default attributes for svg (#5150) (8bc9a40)

    • 🔌 (plugin) Wrap serialized struct with a version (#5128) (82fbe15)

    • (visit) Implement Eq for AstKind (#5133) (46b1b42)

    • (visit) Implement more traits for AstKind (#5135) (f26d59b)

    🔨 Refactor

    • (common) Bikeshed plugin apis (#5120) (2ba8b39)

    • 🔌 (plugin) Refactor transform executor (#5147) (e8214ba)

  • v1.2.210 Changes

    July 05, 2022

    🐛 Bug Fixes

    • (es/codegen) Fix codegen of some non-ascii characters (#5108) (b76b499)

    • (es/fixer) Preserve parens in opt calls (#5110) (3e3c44a)

    • (es/fixer) Preserve parens in more opt calls (#5111) (528d4c5)

    • 👕 (es/lints) Allow overload in typescript (#5116) (bef8aeb)

    📚 Documentation

    • (visit) Generate rustdoc (#5107) (8ea631c)
  • v1.2.209 Changes

    July 05, 2022

    🐛 Bug Fixes

    • (es/codegen) Emit numeric value for Binary and Octal literals (#5083) (8df6e04)

    • (es/compat) Preserve spans in object_rest_spread (#5082) (de66b64)

    • (es/compat) Preserve class names (#5104) (adbb0bf)

    • 👕 (es/lints) Cover more const-assign cases (#5098) (f7d857c)

    • (es/modules) Preserve orders of exports (#5081) (2f2039c)

    • (es/modules) Create an indirect call for a lazy require (#5089) (0a7ca2f)

    • (es/modules) Support lazy for export from (#5103) (c531e67)

    • (es/react) Don't panic on invalid react pragma (#5101) (cc555ef)

    • (es/resolver) Fix handling of block scoped functions (#5092) (9519e80)

    • (html/minifier) Small fix (#5079) (5ac5ae2)

    • (html/minifier) Fix bugs of the smart mode (#5093) (5932a0a)

    • (node/types) Add simplify (#5105) (2a29b50)

    🔋 Features

    • (es/modules) Support allowTopLevelThis (#5086) (9addef6)

    • (es/modules) Add pure annotations to interop functions (#5087) (4d5783d)

    • (es/modules) Support AMD triple slash directives (#5091) (ddb31d1)

    • 📜 (es/parser) Support labelled function from annex B (#5078) (b62fd3e)

    • (html/minifier) Remove empty metadata elements (#5085) (cb845c9)

    • (visit) Add path-aware variants (#5073) (204d742)

    ✅ Testing

    • (es/modules) Add test for string-names (#5088) (52bfb18)
  • v1.2.208 Changes

    July 01, 2022

    🐛 Bug Fixes

    • (es/compat) Preserve this in function with block scoped vars (#5056) (18ea2b5)

    • (es/modules) Handle this in class methods (#5065) (ef543b1)

    • (es/modules) Improve compatibility with cjs lexer (#5080) (9e162dc)

    • (html/minifier) Fix smart mode (#5058) (e9bad20)

    • (html/minifier) Minify meta element (#5075) (214c60a)

    📚 Documentation

    • (contributing) Add --features memory_cache to test steps (#5074) (9d8beb0)

    🔋 Features

    • (atoms) Improve atoms (#5066) (34f4f5a)

    • (es/modules) Support node interop (#5069) (1e33dba)

    • 📜 (es/parser) Add allow_return_outside_function to options (#5046) (37eb366)

    • (html/minifier) Allow minifying custom script contents (#5043) (d7a5f71)

    • (html/minifier) Sort unordered values in attributes (#5035) (26cfeff)

    • (html/minifier) Improve collapse_whitespaces (#5070) (144314d)

    • 🔌 (plugin) Add versioned wrapper struct (#5062) (e34a864)

    • 🔌 (plugin) Allow taking the inner data from versioned (#5071) (e1aa937)

    Miscellaneous Tasks

    • (deps) Update rkyv (#5057) (374366d)- general: Workaround cargo mono bug (60424db)

    🐎 Performance

    • (atoms) More groundwork for replacing JsWord with Atom (#5064) (2e139f1)
  • v1.2.207 Changes

    June 28, 2022

    🐛 Bug Fixes

    • (es/compat) Handle classes with accessors and a method with the same name (#5039) (25bd520)

    • (es/modules) Handle module references in binding idents (#5055) (e13364f)

    • (node-swc/types) Add nodenext config type (#5044) (7d4e6be)

    🔋 Features

    • 👕 (es/lints) Report an error for reassignment to import binding (#5033) (376c4e1)

    • (es/minifier) Handle pure annotations on member expressions (#5050) (a15bb48)

    • (es/modules) Optimize a dynamic import with a literal path (#5049) (2cc229e)

    • (html/minifier) Allow compressing additional attributes (#5036) (55e0ea3)

    • (html/minifier) Add normalize_attributes for disabling normalization (#5045) (0836d29)

  • v1.2.206 Changes

    June 27, 2022

    🐛 Bug Fixes

    • (es/compat) Fix name conflict of Array (#5034) (04fc1cb)

    • 📜 (es/parser) Allow initializer of the var of for-in loop in non-strict mode (#5038) (f238093)

    🔋 Features

    • (html/codegen) Improve API (#5031) (8bf924a)

    • (html/minifier) Add remove_comments option (#5037) (e6c78d0)

    • (html/minifier) Improve smart mode (#5004) (9202ff9)

    🔨 Refactor

    • (es/module) Implement new module transformer (#4758) (fa68cbd)
  • v1.2.205 Changes

    June 24, 2022

    🐛 Bug Fixes

    • 📜 (css/parser) Improve lexer errors (#5025) (c345524)

    • 👕 (es/lints) Allow duplicate function in non-top level (#5011) (4a422a0)

    • 📜 (es/parser) Don't panic on an invalid import meta property (#4994) (53a8cb1)

    • 📜 (es/parser) Allow instantiation expression followed by a line break or a binary operator (#5000) (a62b2b3)

    • (es/transforms) Add custom Sync + Send for the renamer (#5018) (fd73895)

    • (es/typescript) Preserve export = for AMD (#4995) (d736b31)

    • (html/minifier) Avoid optional attributes (#5016) (f1fd83d)

    • (html/minifier) Compress more complex attributes (#5024) (c61babd)

    📚 Documentation

    • (readme) Add a link for discord badge in README.md (#5005) (1f64055)

    🔋 Features

    • (html/minifier) Compress more svg/mathml attributes (#5001) (1538649)

    • (html/minifier) Add an API to minify document fragments (#5002) (7745fbf)

    • (html/minifier) Minify js (#4999) (28bc735)

    • (html/minifier) Add remove_redundant_attributes (#5023) (03d8a3a)

    • (html/minifier) Compress style and media attributes (#5022) (47d34a3)

    🐎 Performance

    • 📜 (html/parser) Improve performance (#5028) (a057183)

    🔨 Refactor

    • (webpack-ast) Remove (#5026) (17c51fa)

    ✅ Testing

    • (es/helpers) Unify code path for testing external helpers (#5010) (125549b)

    • (es/minifier) Add a test case for the minifier (#5013) (eedcb11)

    • 📜 (es/parser) Add a test case for instantiation expr (#5014) (6bcb925)

  • v1.2.204 Changes

    June 18, 2022

    🐛 Bug Fixes

    • (es/helpers) Fix module field in package.json of @swc/helpers (#4978) (5123c20)

    • (es/helpers) Use .mjs extension in helper imports (#4979) (9484cf8)

    • 📜 (es/parser) Fix binary operator parsed as an instantiation expression (#4992) (36ef3e4)

    • (es/resolver) Make catch parameter not disturb resolving (#4976) (b3f6f20)

    • (html/codegen) Handle optional tags (#4986) (41dc0a7)

    • (html/minifier) Fix removal of comments (#4974) (8e63b0b)

    📚 Documentation

    • (*) Add more badges (#4982) (cb30ba2)

    🔋 Features

    • (es/config) Add isModule to .swcrc (#4993) (e85c0db)

    • (html/codegen) Add option for tag omission of self closing void elements (#4971) (d07ab2c)

    • (html/minifier) Compress CSS (#4973) (3e6c0f5)

    • (html/minifier) Add preserve_comments option (#4959) (2e52c18)

    • (html/minifier) Add an option to set html5 doctype (#4980) (fb74ace)

    • (html/minifier) Minify conditional comments (#4975) (713a256)

    🐎 Performance

    • (es/hygiene) Make hygiene faster (#4952) (36d960c)

    🔨 Refactor

    • (es/minifier) Use Program instead of Module (#4969) (99a474c)

    ✅ Testing

    • (html) Remove files which are too large too verify (#4983) (364a34c)
  • v1.2.203 Changes

    June 14, 2022

    🐛 Bug Fixes

    • (ci) Revert malloc changes (709ad3e)

    • (common) Don't use get_unchecked after setting the length to 0 (#4943) (f479951)

    • 📜 (css/parser) Fix input buffer and improve error recovery (#4948) (bf74d05)

    • (es/helpers) Allow using external helpers with type: module (#4962) (4a27e6f)

    • 📜 (es/parser) Don't assume the length of char (#4967) (3e03ebf)

    🔋 Features

    • 👕 (es/lints) Add constructor-super rule (#4912) (6daeeb0)

    • (es/minifier) Turn Array/Object calls into literals (#4947) (47bdc6a)

    • (html) Support self-closing flag (#4950) (5c2a918)

    • (html/minifier) Compress whitespaces (#4916) (f2690cc)

    • (html/minifier) Add remove_empty_attributes option (#4958) (63d630d)

    • (html/minifier) Add collapse_boolean_attributes option (#4960) (3957bc6)

    Miscellaneous Tasks

    • (ci) Test concurrent (#4955) (1a9f935)

    • (ci) Use macos for release builds (#4968) (1bf2b80)

    • (ci) Fix publish build on Windows (#4970) (db9f7a5)

    🐎 Performance

    • (common) Add Atom type (#4945) (4ada9c7)

    • 📜 (css/parser) Improve performance of lexer (#4921) (327969d)

    • (es/minifier) Make more things parallel and reduce call stacks (#4915) (3580638)

    • (es/transforms) Make rename operator parallel (#4951) (445d585)

    🔨 Refactor

    • (es/resolver) Prepare parallel resolver (#4957) (ea92a6a)

    • 📜 (html/parser) Remove unused code (#4949) (42a1d7c)

    ✅ Testing

    • 📜 (css/parser) Improve tests (#4963) (1b7b4f0)
  • v1.2.199 Changes

    June 11, 2022

    🐛 Bug Fixes

    • (ci) Fix android build issue caused by NDK 21 -> 23 (#4942) (52e2347)

    • (es/decorators) Fix syntax context of decorated classes (#4905) (814f72f)

    • (es/fixer) Preserve parens in optional calls (#4923) (5bb417e)

    • (es/helpers) Fix syntax context of helpers (#4900) (4e3a878)

    • (es/minifier) Reserve more symbols on eval (#4925) (be87494)

    • (es/modules/amd) Support export * as foo from 'foo' (#4904) (10f6849)

    • 📜 (es/parser) Allow negative bigint literal in types (#4938) (11db191)

    • 📜 (es/parser) Check for line break after async (#4940) (381d273)

    • (es/resolver) Hoist namespaces (#4902) (a9f91dc)

    • (es/transforms) Fix threshold (a70c737)

    • (html/codegen) Fix quotes in attributes (#4918) (064e504)

    • (html/codegen) Emit newline in textarea/pre (#4919) (4f1e046)

    • 📜 (html/parser) Fix spans (#4877) (70760d2)

    🔋 Features

    • 👕 (es/lints) Add default-case-last rule (#4913) (4fb932d)

    • 👕 (es/lints) Add no-await-in-loop rule (#4936) (b041f29)

    • (es/minifier) Drop new token if possible (#4932) (5940894)

    • (es/modules/amd) Convert ts import equals to normal AMD import (#4906) (36a82cc)

    • (html/codegen) Support context element (#4887) (ae1ff1e)

    • (html/codegen) Improve entity compression (#4889) (da09c1c)

    • (html/codegen) Minify svg attributes (#4917) (f157aae)

    • 🔌 (plugin) Upgrade wasmer (#4929) (b30032d)

    • (preset-env) Upgrade browserslist-rs (#4903) (f7c89c5)

    Miscellaneous Tasks

    • 📜 (html/parser) Remove unused dependencies (#4922) (299da10)

    🐎 Performance

    • (es/minifier) Change default pass limit to 2 (#4924) (fc0d8e3)

    • (es/transforms) Make transforms parallel (#4939) (35c93be)

    • 📜 (html/parser) Improve performance (#4881) (5abe847)

    • 📜 (html/parser) Improve memory allocation (#4884) (ce4d577)

    • 📜 (html/parser) Reduce cloning (#4901) (e365766)

    • 📜 (html/parser) Add a benchmark for document fragment (#4920) (d669454)

    • 📜 (html/parser) Improve performance (#4934) (f993a52)

    🔨 Refactor

    • 👕 (es/lints) Simplify no-empty-pattern rule (#4928) (286f265)

    • (html/ast) Avoid TokenAndSpan (#4885) (b14719c)