diff --git a/CHANGELOG.md b/CHANGELOG.md index 20d2aa6acfa..eb4c515f1fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,12 @@ - **(es/compat)** Set inserted var inside export class in destructing ([#8470](https://github.com/swc-project/swc/issues/8470)) ([4416077](https://github.com/swc-project/swc/commit/4416077f4ac1afb74575b9a0e836bb66b8dc8b9a)) +### Features + + + +- **(html/parser)** Allow self-closing `/>` on non-void HTML elements via a flag ([#8460](https://github.com/swc-project/swc/issues/8460)) ([566063d](https://github.com/swc-project/swc/commit/566063dca5fe73834cdf5e0acf7c7f344a9806a5)) + ### Testing @@ -1517,9 +1523,6 @@ - **(es)** Ignore input sourcemap error ([#7446](https://github.com/swc-project/swc/issues/7446)) ([0c92e53](https://github.com/swc-project/swc/commit/0c92e534a5e3ccc74077ac03c473ad2c12fd5349)) -- **(es/compat)** Fix stage 3 decorator pass ([#7392](https://github.com/swc-project/swc/issues/7392)) ([97d0f79](https://github.com/swc-project/swc/commit/97d0f79142ec8ac6d1795b5c56cc565ca9b0a085)) - - - **(es/compat)** Fix variable scoping of object rest pass. ([#7437](https://github.com/swc-project/swc/issues/7437)) ([f3d660f](https://github.com/swc-project/swc/commit/f3d660f972a9fef7ee0783125655c4873a5d43fe)) diff --git a/Cargo.lock b/Cargo.lock index f2ed28c63d8..51a9bf81c19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5086,7 +5086,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "0.135.13" +version = "0.135.14" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -5109,7 +5109,7 @@ dependencies = [ [[package]] name = "swc_html_codegen" -version = "0.42.16" +version = "0.42.17" dependencies = [ "auto_impl", "bitflags 2.3.2", @@ -5136,7 +5136,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "0.132.13" +version = "0.132.14" dependencies = [ "criterion", "once_cell", @@ -5166,7 +5166,7 @@ dependencies = [ [[package]] name = "swc_html_parser" -version = "0.39.16" +version = "0.39.17" dependencies = [ "criterion", "serde", diff --git a/crates/swc_html/Cargo.toml b/crates/swc_html/Cargo.toml index e9e613ab896..ba824270a82 100644 --- a/crates/swc_html/Cargo.toml +++ b/crates/swc_html/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_html" repository = "https://github.com/swc-project/swc.git" -version = "0.135.13" +version = "0.135.14" [package.metadata.docs.rs] all-features = true @@ -20,7 +20,7 @@ minifier = ["swc_html_minifier"] [dependencies] swc_html_ast = {version = "0.33.12", path = "../swc_html_ast"} -swc_html_codegen = {version = "0.42.16", path = "../swc_html_codegen"} -swc_html_minifier = {version = "0.132.13", path = "../swc_html_minifier", optional = true} -swc_html_parser = {version = "0.39.16", path = "../swc_html_parser"} +swc_html_codegen = {version = "0.42.17", path = "../swc_html_codegen"} +swc_html_minifier = {version = "0.132.14", path = "../swc_html_minifier", optional = true} +swc_html_parser = {version = "0.39.17", path = "../swc_html_parser"} swc_html_visit = {version = "0.33.12", path = "../swc_html_visit"} diff --git a/crates/swc_html_codegen/Cargo.toml b/crates/swc_html_codegen/Cargo.toml index fe525eaf4d3..fa67068b2f9 100644 --- a/crates/swc_html_codegen/Cargo.toml +++ b/crates/swc_html_codegen/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_html_codegen" repository = "https://github.com/swc-project/swc.git" -version = "0.42.16" +version = "0.42.17" [lib] bench = false @@ -30,6 +30,6 @@ swc_html_utils = { version = "0.18.12", path = "../swc_html_utils" } swc_common = { version = "0.33.12", path = "../swc_common", features = [ "sourcemap", ] } -swc_html_parser = { version = "0.39.16", path = "../swc_html_parser" } +swc_html_parser = { version = "0.39.17", path = "../swc_html_parser" } swc_html_visit = { version = "0.33.12", path = "../swc_html_visit" } testing = { version = "0.35.14", path = "../testing" } diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index d5f2ba48b40..4715e40f5e7 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs", "data/**/*.json"] license = "Apache-2.0" name = "swc_html_minifier" repository = "https://github.com/swc-project/swc.git" -version = "0.132.13" +version = "0.132.14" [lib] bench = false @@ -38,8 +38,8 @@ swc_ecma_parser = { version = "0.141.34", path = "../swc_ecma_parser" } swc_ecma_transforms_base = { version = "0.135.8", path = "../swc_ecma_transforms_base" } swc_ecma_visit = { version = "0.96.15", path = "../swc_ecma_visit" } swc_html_ast = { version = "0.33.12", path = "../swc_html_ast" } -swc_html_codegen = { version = "0.42.16", path = "../swc_html_codegen" } -swc_html_parser = { version = "0.39.16", path = "../swc_html_parser" } +swc_html_codegen = { version = "0.42.17", path = "../swc_html_codegen" } +swc_html_parser = { version = "0.39.17", path = "../swc_html_parser" } swc_html_utils = { version = "0.18.12", path = "../swc_html_utils" } swc_html_visit = { version = "0.33.12", path = "../swc_html_visit" } diff --git a/crates/swc_html_parser/Cargo.toml b/crates/swc_html_parser/Cargo.toml index 6b9189f7c0c..6e3c446d60b 100644 --- a/crates/swc_html_parser/Cargo.toml +++ b/crates/swc_html_parser/Cargo.toml @@ -10,7 +10,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json"] license = "Apache-2.0" name = "swc_html_parser" repository = "https://github.com/swc-project/swc.git" -version = "0.39.16" +version = "0.39.17" [lib] bench = false