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

Changelog History
Page 12

  • v1.2.142 Changes

    February 18, 2022

    ๐Ÿ› Bug Fixes

    • (css) Fix recovery mode for functions (#3600) (5420bcc)

    • ๐Ÿ“œ (css/parser) Fix parsing of component values (#3611) (b7dcccc)

    • (es) Pass FileName::Custom to plugins (#3578) (df69930)

    • (es/compat) Handle super and new.target in class properties (#3594) (3191741)

    • ๐Ÿ‘• (es/lints) Use kebab-case for configuration (#3590) (71a94b1)

    • (node-swc/types) Fix experimental config options (#3603) (2b5eba1)

    • ๐Ÿ”Œ (plugin) Fix caching of wasm modulee (#3616) (05aecf5)

    • (swc_common) Fix names of proxied functions (#3608) (e863f9d)

    ๐Ÿ“š Documentation

    • (api/rust) Fix rustdoc (#3620) (4d5ba55)

    • (swc_common) Document error reporting using HANDLER (#3605) (9df0d7c)

    ๐Ÿ”‹ Features

    • (api/rust) Improve error messages for wrong usages of scoped thread-local variables (#3606) (798ef13)

    • (cli) Initialize compile command (#3602) (5ed3f3a)

    • (css/ast) Use SimpleBlock for @keyframes (#3577) (a20ed34)

    • (css/codegen) Improve minification of selectors (#3624) (8271566)

    • (css/minifier) Remove empty qualified rules and at-rules (#3597) (8c9b154)

    • (css/minifier) Implement the rule for easing functions (#3615) (8e06b2a)

    • (es/compat) Check for duplicate private names and undefined private names (#3613) (5c03551)

    • ๐Ÿ‘• (es/lints) Implement no-dupe-args rule (#3574) (3e29b73)

    • ๐Ÿ‘• (es/lints) Allow using number as an error level (#3593) (08c343b)

    • (swc) Add $schema and utf8-bom support for .swcrc (#3622) (3615f41)

    Miscellaneous Tasks

    • (ci) Fix the script for CHANGELOG.md (cbe87db)

    ๐Ÿ”จ Refactor

    • (node-swc/types) Provide typed configuration for plugins (#3584) (07485d3)

    โœ… Testing

    • (css/codegen) Add tests for custom properties in at-rules (#3596) (b019165)

    • (es/modules) Add a test for a fixed issue (#3586) (038e7f8)

    • ๐Ÿ“œ (es/parser) Add a test for #2417 (#3588) (a2f9c88)

    • (es/typescript) Add a test for #2670 (#3589) (f469e65)

    ๐Ÿ— Build

    • (swc) Bump the version of parking_lot (#3604) (5061101)
  • v1.2.141 Changes

    February 16, 2022

    ๐Ÿ› Bug Fixes

    • ๐Ÿ‘• (es/lints) Fix duplicate-bindings for typescript (#3583) (786d016)

    • (node-swc/types) Change StringLiteral.has_escape to StringLiteral.hasEscape (#3581) (bf68155)

    ๐Ÿ”‹ Features

    • (css/ast) Use SimpleBlock in more places (#3575) (e97074b)

    • (css/minifier) Compress contents of @keyframes at-rule (#3579) (803499c)

    Miscellaneous Tasks

    • (ci) Don't run pr check for pushes (1bce557)

    • (ci) Make CI faster (55250e4)

    • (ci) Fix the auto-bump scripts (2d9735b)

    • (ci) Fix the auto-bump scripts (7ddd588)

    • (ci) Fix the auto-bump scripts (c775674)

    • (ci) Fix version of git-cliff (32bc17f)

    • (ci) Don't mark as a failure (6173bb8)

    • (ci) Fix the condition for cancel action (d66f701)

    • (ci) Skip instead of cancel (85caf29)

    ๐Ÿ”จ Refactor

    • ๐Ÿ”Œ (plugin) Remove direct dependency to once_cell (#3582) (88e07b2)
  • v1.2.140 Changes

    February 15, 2022

    ๐Ÿ› Bug Fixes

    • (es/compat) Allow destructuring assignment to an object property (#3544) (5802b62)

    • (es/compat) Fix destructing of const (#3545) (342c320)

    • (es/compat) Apply new.target before classes (#3555) (f1c7394)

    • (es/compat) Handle arrow parameters in class fields (#3556) (45b44b0)

    • (es/compat) Fix handling of constructor in classes (#3505) (0b16210)

    • (es/minifier) Fix analyzer (#3557) (ac1d405)

    • (es/minifier) Disable name mangler if eval is used (#3526) (bfc9897)

    • (es/utils) Keep arguments to super call (#3570) (f67796a)

    ๐Ÿ“š Documentation

    • ๐Ÿ”Œ (plugin) Fix typo (#3547) (3fc16cd)

    ๐Ÿ”‹ Features

    • (bot) Add auto-bump script (#3573) (a1e45c4)

    • (css/ast) Add ; to delimiters (#3551) (da36e90)

    • (css/ast) Use correct type for calc (#3549) (b311ace)

    • (css/ast) Use SimpleBlock for @document at-rule (#3564) (3399702)

    • (es/compat) Add loose mode for classes (#3474) (0f7a997)

    • ๐Ÿ‘• (es/lints) Add this handling support to no-alert rule (#3515) (af82006)

    • ๐Ÿ‘• (es/lints) Add allow config for no-console rule (#3517) (286b6c8)

    • ๐Ÿ‘• (es/lints) Implement eqeqeq rule (#3513) (8d92050)

    • ๐Ÿ‘• (es/lints) Implement no-empty-pattern rule (#3550) (f9fda27)

    • ๐Ÿ”Œ (plugin) Add PluginContext (#3568) (a96217f)

    • ๐Ÿ”Œ (plugin/runner) Improve resolver support for npm (#3566) (d6477a7)

    Miscellaneous Tasks

    • (bot) Fix permission issue (bfb51f3)

    • (ci) Add a bot for auto-rebasing (#3560) (b1fc7a9)

    • (ci) Remove useless tests from the matrix (#3561) (47a81bd)- general: Fix auto-rebase script (d055711)- general: Fix auto-rebase script again (d3f1c4e)- general: Use GITHUB_TOKEN for auto-rebasing (1c6e9ef)- general: Fix CLA issue of auto-rebase script (59233d5)

    ๐ŸŽ Performance

    • (es/optimization) Replace map_with_mut with proper implementation (#3539) (6d132ca)

    ๐Ÿ”จ Refactor

    • (css/ast) Rename tokens to match spec (#3553) (aed622b)

    • ๐Ÿ“œ (css/parser) Remove parse_values, which is not used (#3552) (d5aee47)

    โœ… Testing

    • (css/codegen) Add tests (#3563) (08dd695)

    • ๐Ÿ“œ (css/parser) Add a test for a custom function name (#3554) (f252dfb)

    ๐Ÿ— Build

    • (*) Dedupe once_cell (#3567) (ad6f24a)
  • v1.2.139 Changes

    February 12, 2022

    ๐Ÿ› Bug Fixes

    • (cli) Update the plugin template for pinned dependencies (#3538) (05cf2e9)

    • (css/ast) Use SimpleBlock in more types (#3535) (cfb2248)

    • (es/modules) Use correct StrKind after rewriting import path (#3489) (ff6eb27)

    • (es/modules) Hoist named exports (#3479) (fa0216d)

    • (node/helpers) Fix isNativeReflectConstruct (#3530) (d14d3eb)

    • ๐Ÿ”Œ (plugin) Allow testing (#3542) (fbe9196)

    ๐Ÿ“š Documentation

    • ๐Ÿ”Œ (plugin) Fix install command (#3541) (72b3197)

    ๐Ÿ”‹ Features

    • (cli) Add a command for scaffolding a new plugin (#3536) (6ed089e)

    • (css) Support urange syntax (#3491) (cbe302b)

    • (css/minifier) Implement more rules (#3522) (69cfe39)

    • ๐Ÿ“œ (css/parser) Improve error recovery (#3486) (48e5b90)

    • ๐Ÿ“œ (css/parser) Implement more parser logic for nth selectors (#3532) (fcbc2ff)

    • ๐Ÿ“œ (css/parser) Implement more error recovery (#3534) (547eba5)

    • ๐Ÿ‘• (es/lints) Implement dot-notation rule (#3481) (5bb6bd7)

    • ๐Ÿ‘• (es/lints) Implement no-use-before-define rule (#3456) (205b76e)

    • (es/minifier) Implement reserved mangle option (#3476) (5488159)

    • (es/minifier) Drop useless assignments (#3528) (a7f0e84)

    • ๐Ÿ”Œ (plugin) Implement proxy for Mark and SyntaxContext (#3511) (bc25026)

    • ๐Ÿ”Œ (swc/plugin) Implement proxy for Mark::fresh (#3492) (494b4c8)

    Miscellaneous Tasks

    • ๐Ÿ— (build) Disable LTO for local builds (#3514) (80ed69d)

    • ๐Ÿ— (build) Remove version pinning of parking_lot_core (#3537) (a4d914d)

    • (ci) Remove cargo-uttil from dependency (#3543) (068a408)

    • (crates) Use bot account for publishing commits (c10cbc4)

    • (crates) Use bot account for commiitter (edc46cc)

    ๐ŸŽ Performance

    • (es/minifier) Remove useless operations like eager call to .span() (#3512) (8dab3d9)

    ๐Ÿ”จ Refactor

    • (common) Cleanup & rustfmt (#3495) (9b76783)

    • (css/ast) Rename types to match specification (#3484) (460f846)

    • (css/ast) Remove Tokens in favor of Vec<TokenAndSpan> (#3507) (92a3cb9)

    • (css/ast) Unify SimpleBlock and Block (#3519) (57f6a58)

    • (css/ast) Unify SimpleBlock and Block completely (#3531) (37c49e8)

    • ๐Ÿ“œ (css/parser) Refactor codes related to simple blocks (#3506) (4e124c7)

    • ๐Ÿ“œ (css/parser) Refactor code for error recovery (#3508) (2d997b3)

    โœ… Testing

    • (css/codegen) Add tests for multiple keyframe selectors (#3509) (ebd71d5)

    • ๐Ÿ“œ (css/parser) Add tests from postcss (#3488) (04782ae)

    • ๐Ÿ“œ (css/parser) Add some tests from postcss (#3501) (8b438ea)

    • (es/minifier) Add snapshot testing for the analyzer (#3529) (73e9185)

  • v1.2.138 Changes

    February 08, 2022

    ๐Ÿ› Bug Fixes

    • (es/minifier) Make sequences less aggressive (#3480) (292add7)

    ๐Ÿ”‹ Features

    • (css) Add support for @property at-rule (#3470) (fd5668c)

    • (css/ast) Add types for @counter-style at-rule (#3469) (e6f4fbf)

    • (css/ast) Add types for all dimensions (#3477) (dc939c6)

    • ๐Ÿ“œ (es/parser) Disallow assignment to optional chaining expressions (#3483) (26565b1)

    • ๐Ÿ”Œ (plugin) Support global HANDLER in the plugin context (#3478) (d473a65)

    Miscellaneous Tasks

    • (es) Fix clippy warnings (#3482) (8bf5cf4)

    • (repo) Configure kodiak (#3485) (cf8aa05)

  • v1.2.137 Changes

    February 07, 2022

    ๐Ÿ› Bug Fixes

    • (css) Fix parsing of @page at-rule (#3356) (4853821)

    • (css/ast) Fix type definitions for @document at-rule (#3468) (df08e4c)

    • ๐Ÿ“œ (css/parser) Report errors of at-rules (#3461) (e732250)

    • (es/compat) Handle private fields in nested classes (#3431) (01500a5)

    • (es/compat) Handle initializer hole in array patterns (#3442) (3bb2a6c)

    • (es/compat) Fix legacy decorator pass (#3459) (4f5e87b)

    • (es/fixer) Handle more expressions in the super class position (#3452) (032f397)

    • (es/minifier) Fix codemirror (#3462) (5812c3c)

    • (es/minifier) Fix mapbox (#3463) (0371c41)

    • (es/modules) Allow using a dynamic import with an expression from another import (#3450) (745604b)

    • ๐Ÿ“œ (es/parser) Fix parsing of decorators (#3449) (5a806c5)

    • (es/resolver) Fix handling of for statements (#3446) (2af5096)

    ๐Ÿ”‹ Features

    • (css/ast) Improve types related to url tokens (#3444) (49564d9)

    • (css/codegen) Implement minification of hex colors (#3453) (eeedd71)

    • (css/codegen) Implement minification of identifiers (#3466) (81850c2)

    • (css/codegen) Improve minification for page rules (#3467) (0ca036a)

    • (css/lexer) Implement error recovery for functions (#3445) (f1410fc)

    • ๐Ÿ‘• (es/lints) Implement prefer-regex-literals (#3399) (8166275)

    • ๐Ÿ‘• (es/lints) Implement linter for quotes of string literals (#3443) (5d6143a)

    • ๐Ÿ“œ (es/parser) Add an option to allow super outside of class methods (#3427) (cc185f0)

    Miscellaneous Tasks

    • ๐Ÿ‘• (es/lints) Fix CI (b06a5ab)

    ๐Ÿ”จ Refactor

    • (css/ast) Refactor types related to @keyframes at-rule (#3441) (5c1b021)

    • (css/ast) Change AST for !important (#3440) (38879de)

    • (css/ast) Refactor types related to selectors (#3460) (cd87d96)

    • (css/ast) Remove unused types (#3465) (69660fd)

    โœ… Testing

    • ๐Ÿ“œ (css/parser) Add more tests for the selector parser (#3455) (479b509)

    • (es) Update tsc test suite (#3448) (8b7c38c)

    • ๐Ÿ“œ (es/parser) Fix crlf (#3451) (397a96a)

  • v1.2.136 Changes

    February 03, 2022

    ๐Ÿ› Bug Fixes

    • (css) Allow empty @media at-rule (#3404) (75a14f9)

    • ๐Ÿ“œ (css/parser) Fix parser logic related to case insensivity (#3382) (3ded88b)

    • ๐Ÿ“œ (css/parser) Fix bugs related to url (#3403) (3c8d985)

    • (es/codegen) Fix bugs (#3436) (ea8dfd8)

    • (es/compat) Add the missing span in optional_chaining (#3384) (9eb7773)

    • (es/minifier) Fix evaluator (#3391) (38c2499)

    • (es/modules) Allow using dynamic import with a name from another import (#3390) (1dcc188)

    • (es/modules) Fix span of imports (#3418) (2c99ca1)

    • (swc) Run resolver before everything (#3400) (cebc5dc)

    ๐Ÿ”‹ Features

    • (css) Improve codegen where minify: true (#3414) (30c29a3)

    • (css/ast) Add / to the delimiters (#3402) (2dc31d9)

    • (css/codegen) Implement minify: true (#3369) (0537ef1)

    • (css/codegen) Improve minification of numbers (#3423) (340844a)

    • ๐Ÿ“œ (css/parser) Improve selector parser (#3386) (c73835b)

    • ๐Ÿ“œ (css/parser) Improve parsing of math functions (#3415) (1b1cae0)

    • (es/codegen) Improve compression of numbers (#3425) (e8b64a9)

    • ๐Ÿ‘• (es/lints) Implement no-debugger rule (#3398) (9dec923)

    • ๐Ÿ‘• (es/lints) Add no-alert and a feature gate (#3394) (5cbe4fe)

    • (es/minifier) Implement drop_console (#3392) (91d7800)

    Miscellaneous Tasks

    • (repo) Add clippy to git push hook (#3383) (78e83a3)

    ๐ŸŽ Performance

    • (node-swc) Speed up parse and parseFile (#3380) (0359deb)

    ๐Ÿ”จ Refactor

    • (css/ast) Refactor delimited values (#3397) (b31619d)

    • (css/ast) Use Dimension instead of UnitValue (#3401) (1904944)

    • (css/ast) Use Color instead of HashValue (#3411) (6b921ca)

    • (css/ast) Rename property to name (#3410) (eeedd9a)

    • (es/minifier) Remove unused crates (#3395) (74b4330)

    • ๐Ÿ“œ (es/parser) Flatten tests to make git faster (#3393) (839d0ac)

    โœ… Testing

    • (css/codegen) Add more tests (#3405) (64383e3)

    • (css/codegen) Verify AST is not broken after minification (#3430) (73efd72)

    • (swc) Add tests (#3435) (9e4cea0)

  • v1.2.135 Changes

    January 27, 2022

    ๐Ÿ› Bug Fixes

    • (css) Fix the type definition of @support at-rules (#3330) (34943ff)

    • (css) Fix @keyframes at-rule (#3331) (f89ffa6)

    • (css) Fix @supports at-rule (#3329) (9f38060)

    • ๐Ÿ“œ (css/parser) Fix parsing of at rules (#3328) (506a310)

    • (es/block-scoping) Pop scope correctly on early returns (#3360) (b1a8db6)

    • (es/compat) Fix regression of destructuring (#3326) (6d1ad36)

    • (es/compat) Handle nested functions in private_field (#3355) (29aaac1)

    • (es/loader) Add an option to resolve symlinks with true as a default (#3340) (afdb168)

    • (es/minifier) Consider capturing while inlining (#3322) (4f23d65)

    • (es/minifier) Don't inline a var if the initializer is reassigned (#3333) (d52a1f3)

    • (es/minifier) Respect block scoping while negating if statements (#3344) (6921ffb)

    • (es/minifier) Prepend/append correctly (#3367) (703972d)

    • (es/minifier) Improve minifier (#3350) (68e9017)

    • (es/module) Remove .jsx file extension (#3334) (b2bf38d)

    • (es/typescript) Handle typescript enums with string values (#3339) (da709fe)

    • (swc) Respect jsc.experimental.keepImportAssertions (#3352) (d9dc2b9)

    ๐Ÿ“š Documentation

    • (contributing) Fix formatting (#3376) (90cf073)

    ๐Ÿ”‹ Features

    • (css/ast) Add Ratio, which is defined by spec (#3335) (c7e5fae)

    • (css/ast) Add types for dashed identifiers and @color-profile at-rules (#3364) (dfa0286)

    • ๐Ÿ“œ (css/parser) Improve parsing of urls (#3362) (50521d8)

    • ๐Ÿ›  (es/bugfix) Add bugfix-safari-id-destructuring-collision-in-function-expression (#3109) (d1c90a4)

    • (es/codegen) Emit comments of Module and Script (#3358) (fcb7288)

    • ๐Ÿ‘• (es/lints) Implement "no-console" rule (#3269) (9872137)

    • (es/minifier) Handle array literals in sequences (#3348) (8007b2d)

    • (es/preset-env) Upgrade browserslist-rs (#3375) (d3d754b)

    • ๐Ÿ”Œ (plugin) Pass host context to plugins for diagnostics emission (#3359) (a8debc1)

    Miscellaneous Tasks

    • (ci) Update thread_local (#3357) (a635e9f)

    • (ci) Fix FreeBSD build (#3379) (464c15b)

    ๐ŸŽ Performance

    • (node) Avoid cloning options (#3325) (8a76935)

    ๐Ÿ”จ Refactor

    • (css/ast) Merge several kinds of blocks into a single type (#3336) (c664eaf)

    • (css/ast) Fix type definitions related to @import at-rule (#3351) (7787f90)

    • (css/ast) Rename PercentValue to Percent (#3363) (6fc7562)

    • (es/minifier) Merge execution tests into a file to make git faster (#3377) (7ef3bfa)

    • ๐Ÿ”Œ (plugin) Remove multivalue polyfill (#3346) (4386498)

  • v1.2.133 Changes

    January 20, 2022

    ๐Ÿ› Bug Fixes

    • (css) Fix parsing of media queries (#3318) (0723ee2)

    • (es/minifier) Don't inline functions used as arguments (#3320) (57204e3)

    ๐Ÿ“š Documentation

    • (repo) Update contributing docs (#3298) (5af79f6)

    Miscellaneous Tasks

    • (rustc) Downgrade rustc (041bf00)

    ๐Ÿ— Build

    • (node-swc) Fix GLIBC < 2.18 compatible issues and android arm binary loading issue (#3314) (9608605)

    • (node-swc) Fix Windows arm64 build OOM (#3324) (c069c78)

  • v1.2.131 Changes

    January 19, 2022

    ๐Ÿ› Bug Fixes

    • (common) Use siphasher directly and upgrade transitive dependencies to avoid UB (#3299) (641265b)

    • (es/compat) Apply static_blocks before class_properties (#3292) (89235b8)

    • (es/minifier) Fix analysis of unary expressions (#3286) (b55ae4b)

    • (es/minifier) Inline into interpolations in tagged template literals (#3287) (fa5c063)

    • (es/minifier) Remove more side-effect-free expressions. (#3301) (18a11d7)

    • (es/minifier) Don't emit invalid code (#3302) (8e796cd)

    • (es/minifier) Fix logic for checking arguments (#3313) (1aa494b)

    • (es/minifier) Prevent infinite loop due to negation (#3310) (b4d21bf)

    • (es/resolver) Ignore names of jsx attributes (#3289) (9a89895)

    ๐Ÿ“š Documentation

    • (swc) Document typescript::strip (#3305) (18cd98e)

    ๐Ÿ”‹ Features

    • (es/compat) Use remove useless source map entries generated by classes (#3242) (2352920)

    • (es/minifier) Drop more expressions from parallel optimizer (#3303) (210ecf8)

    • ๐Ÿ”Œ (plugin) Add PluginError (#3300) (c6ffdc8)

    ๐Ÿ”จ Refactor

    • (es) Add visit_obj_and_computed macro (#3304) (9e636c7)

    • (es/minifier) Fix clippy warnings (#3312) (2891220)

    โœ… Testing

    • ๐Ÿ”Œ (plugin/runner) Pin dependencies for the integration test (#3306) (7ba8a83)