{"id":311404,"date":"2026-01-30T10:59:10","date_gmt":"2026-01-30T10:59:10","guid":{"rendered":"https:\/\/www.europesays.com\/ie\/311404\/"},"modified":"2026-01-30T10:59:10","modified_gmt":"2026-01-30T10:59:10","slug":"rspack-releases-version-1-7-final-1-x-update-before-2-0-transition","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ie\/311404\/","title":{"rendered":"Rspack Releases Version 1.7: Final 1.x Update Before 2.0 Transition"},"content":{"rendered":"<p><a href=\"https:\/\/rspack.dev\/\" rel=\"nofollow noopener\" target=\"_blank\">Rspack<\/a>, the <a href=\"https:\/\/rust-lang.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Rust<\/a>-based web bundler designed as a high-performance alternative to <a href=\"https:\/\/webpack.js.org\/\" rel=\"nofollow noopener\" target=\"_blank\">webpack<\/a>, has released version 1.7, marking the final minor release in the 1.x series before the project transitions to version 2.0. The release focuses on stabilizing existing features and improving plugin compatibility.<\/p>\n<p>Rspack 1.7 introduces several stabilizing\u00a0improvements, including <a href=\"https:\/\/rspack.rs\/blog\/announcing-1-7#improved-swc-plugin-compatibility\" rel=\"nofollow noopener\" target=\"_blank\">enhanced SWC plugin compatibility<\/a>, <a href=\"https:\/\/rspack.rs\/blog\/announcing-1-7#importing-assets-as-bytes\" rel=\"nofollow noopener\" target=\"_blank\">native support for importing assets as bytes<\/a>, and the solidifying\u00a0of multiple <a href=\"https:\/\/rspack.rs\/blog\/announcing-1-7#experimental-features-stabilized\" rel=\"nofollow noopener\" target=\"_blank\">experimental features<\/a>. The release also brings lazy compilation enabled by default for dynamically imported modules in web applications.<\/p>\n<p>A new feature in Rspack 1.7 is improved SWC plugin compatibility. In previous versions, SWC Wasm plugins faced high upgrade costs due to the evolving AST structure, causing existing plugins to break after SWC upgrades. To address this, the Rspack team <a href=\"https:\/\/swc.rs\/docs\/plugin\/ecmascript\/compatibility\" rel=\"nofollow noopener\" target=\"_blank\">contributed compatibility improvements<\/a> to the SWC community, including adopting the <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc8949.html\" rel=\"nofollow noopener\" target=\"_blank\">cbor<\/a> serialization scheme to replace the version-sensitive <a href=\"https:\/\/rkyv.org\/\" rel=\"nofollow noopener\" target=\"_blank\">rkyv<\/a>, and introducing an Unknown variant for enum types in the AST to improve fault tolerance. From Rspack 1.7 onwards, SWC upgrades are unlikely to break existing plugins built with older SWC versions.<\/p>\n<p>Rspack now natively supports the <a href=\"https:\/\/github.com\/tc39\/proposal-import-bytes\" rel=\"nofollow noopener\" target=\"_blank\">Import Bytes proposal<\/a> for importing assets as bytes. Developers can import assets as Uint8Array and decode them with TextDecoder. The syntax follows the standard import with attributes pattern:<\/p>\n<p>&#13;<br \/>\nimport fileBytes from &#8216;.\/file.bin&#8217; with { type: &#8216;bytes&#8217; };&#13;<br \/>\nconst decoder = new TextDecoder(&#8216;utf-8&#8217;);&#13;<br \/>\nconst text = decoder.decode(fileBytes);&#13;<\/p>\n<p>Starting from Rspack 1.7, the Rspack CLI enables <a href=\"https:\/\/rspack.rs\/blog\/announcing-1-7#lazy-compilation\" rel=\"nofollow noopener\" target=\"_blank\">lazy compilation<\/a> by default for dynamically imported modules when building web applications. This change reduces the number of modules in the initial build, thereby speeding up dev server startup. Developers with special requirements can explicitly disable this feature by setting lazyCompilation to false.<\/p>\n<p>Several experimental features have been stabilized in this release. Constant inlining optimization is now stable and enabled by default in production builds, with the original experiments.inlineConst option deprecated in favor of optimization.inlineExports. TypeScript enum inlining optimization and type re-export checks have also moved to stable status, with their respective experimental flags deprecated.<\/p>\n<p>Migrating to Rspack 1.7 requires attention to SWC plugin versions. Projects using SWC Wasm plugins must upgrade plugins to be compatible with swc_core version 54 or above, to avoid build failures. The Rspack team provides guidance in their <a href=\"https:\/\/rspack.rs\/guide\/faq\" rel=\"nofollow noopener\" target=\"_blank\">FAQ documentation<\/a> for handling SWC plugin version mismatches.<\/p>\n<p>Rspack positions itself as a <a href=\"https:\/\/rspack.rs\/guide\/compatibility\/plugin\" rel=\"nofollow noopener\" target=\"_blank\">webpack-compatible<\/a> alternative with significantly faster build times. <a href=\"https:\/\/medium.com\/@yarindeoh\/boost-your-build-time-by-70-with-rspack-a2dd3c47697c\" rel=\"nofollow noopener\" target=\"_blank\">A user on Medium documented<\/a> achieving a 70% reduction in build time after migrating from webpack to Rspack, with local builds dropping from 1.7 minutes to 30 seconds. Another team at Mews <a href=\"https:\/\/developers.mews.com\/goodbye-webpack-hello-rspack-and-80-faster-builds\/\" rel=\"nofollow noopener\" target=\"_blank\">reported<\/a> cutting startup time from three minutes to ten seconds, representing an 80% improvement. However, <a href=\"https:\/\/github.com\/rolldown\/benchmarks\" rel=\"nofollow noopener\" target=\"_blank\">benchmarks from the Rolldown project<\/a> show that while Rspack outperforms webpack, it remains slower than tools like esbuild and Rolldown.<\/p>\n<p>The release also brings updates to the broader Rstack ecosystem, with Rsbuild 1.7 introducing runtime error overlays and asset size diff reporting, Rsdoctor 1.4 adding a new treemap view for bundle analysis, and Rslib 0.19 stabilizing ESM output in bundle mode.<\/p>\n<p>Rspack is an open-source project developed by ByteDance. The tool aims to provide webpack-level API compatibility while delivering Rust-powered performance improvements, making it suitable for teams seeking faster builds without abandoning the webpack ecosystem.<\/p>\n","protected":false},"excerpt":{"rendered":"Rspack, the Rust-based web bundler designed as a high-performance alternative to webpack, has released version 1.7, marking the&hellip;\n","protected":false},"author":2,"featured_media":311405,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[74],"tags":[101759,7266,18,19,17,37356,5733,152088,82,101757,101756,19535],"class_list":{"0":"post-311404","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-technology","8":"tag-bundlers","9":"tag-development","10":"tag-eire","11":"tag-ie","12":"tag-ireland","13":"tag-javascript","14":"tag-performance","15":"tag-rspack-final-rust","16":"tag-technology","17":"tag-typescript","18":"tag-web-deploy","19":"tag-web-development"},"share_on_mastodon":{"url":"https:\/\/pubeurope.com\/@ie\/115983703421343485","error":""},"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/posts\/311404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/comments?post=311404"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/posts\/311404\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/media\/311405"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/media?parent=311404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/categories?post=311404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ie\/wp-json\/wp\/v2\/tags?post=311404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}