Skip to content

Releases: swc-project/swc

v1.2.87

Choose a tag to compare

@github-actions github-actions released this 14 Sep 17:24
cab37f8
fix(ci): Publish (#2250)

v1.2.85: fix: Fix simple bugs (#2220)

Choose a tag to compare

@github-actions github-actions released this 09 Sep 05:45
b4796d9
swc_ecma_utils:
 - Don't panic on jsx.

swc_ecma_transforms_typescript:
 - Drop type-only reexports. (#2219)

v1.2.84: fix(es/transforms/base): Optimize `hygiene` (#2193)

Choose a tag to compare

@github-actions github-actions released this 01 Sep 14:34
cb2b0c6
swc_ecma_transforms_base:
 - `hygiene`: Don't rename if not required. (#1600)

swc_ecma_minifier:
 - Remove `hygiene_optimizer`.

v1.2.83: fix(es): Fix some easy bugs (#2166)

Choose a tag to compare

@github-actions github-actions released this 27 Aug 07:45
97514a7
swc_ecma_parser:
 - Fix parsing of typescript generics in jsx context. (#2161)

swc_ecma_transforms_base:
 - `fixer`: Handle assignment with patterns in arrow body. (#2163)

swc_ecma_utils:
 - `as_bool`: Handle assignment with operator correctly. (#2165)

v1.2.82: fix(es/codegen): Fix sourcemap (#2142)

Choose a tag to compare

@github-actions github-actions released this 25 Aug 10:36
427df9a
swc_ecma_codegen:
 - Use span for `await` token.
 - Use span for debugger statements.
 - Use span for object literals.
 - Use span for object patterns.
 - Use span for array literals.
 - Use span for `try`.
 - Use span for `for`.
 - Use span for `return`.
 - Use span for `break`.
 - Use span for `continue`.
 - Use span for `this`.
 - Use span for `switch`.
 - Use span for `catch`.
 - Use span for `case`.
 - Use span for `function`.
 - Use span for unary expressions.

swc_ecma_minifier:
 - Normalize sequences expressions if the length is 1.

v1.2.81: fix(es/minifier): Make use of hygiene optimizer (#2145)

Choose a tag to compare

@github-actions github-actions released this 24 Aug 20:13
838a7a8
swc_ecma_ast:
 - Implement `Display` for `Ident`.

swc_ecma_minifier:
 - Expose `unique_scope`, which is required for `hygiene_optimizer`.
 - Improve `hygiene_optimizer`.

swc:
 - Use hygiene optimizer. (#1600, #2137)
 - Add `jsc.experimental.optimizeHygiene`

v1.2.80: fix(swc): Disable `aes` feature (#2109)

Choose a tag to compare

@github-actions github-actions released this 19 Aug 12:49
6eaf60b
node/swc:
 - Disable `aes`. (#1807)

v1.2.79: fix(es/codegen): Fix codegen of `~` (#2104)

Choose a tag to compare

@github-actions github-actions released this 19 Aug 08:56
6896a83
swc_ecma_codegen:
 - Emit pending semi on `~`. (#2091)

v1.2.78: fix(es/transforms): Fix bugs (#2089)

Choose a tag to compare

@github-actions github-actions released this 16 Aug 11:53
a309b36
swc_ecma_minifier:
 - Expose hygiene optimizer.
 - `mangle_names`: Handle private names in member expressions. (#2086)

swc_visit:
 - Make `Optional::new` const function.

swc:
 - Make `es3` optional via cargo feature.
 - Ensure that #1554 is already fixed. (#1554)

v1.2.77: fix(swc): Fix bugs (#2067)

Choose a tag to compare

@github-actions github-actions released this 13 Aug 11:47
1b9584c
swc_ecma_transforms_compat:
 - Fix optional chaining. (#2063)

node/swc:
 - Fix definition of `ImportDeclaration`. (#2059)

testing:
 - Allow using `testing` with stable `rustc`.

testing_macros:
 - Add `#[inline(never)]`.