SWC v1.2.205 Release Notes

Release Date: 2022-06-24 // almost 2 years ago
  • ๐Ÿ› 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)