Home / Companies / Aspect Build / Blog / Post Details
Content Deep Dive

rules_js 3.0 - out with the old (and default to the new)

Blog post from Aspect Build

Post Details
Company
Date Published
Author
Jason Bedard
Word Count
602
Language
English
Hacker News Points
-
Summary

Rules_js 3.0 has been released, focusing on simplifying the framework by removing support for older versions of Bazel, pnpm, and Node, while maintaining stable public APIs to enhance performance, maintainability, and correctness. The update eliminates Bazel 6, pnpm 8, and WORKSPACE support, streamlining the core architecture and removing legacy compatibility layers. This change enables a more modern, single code path and resolves issues like the double parsing of pnpm lockfiles under bzlmod. The release also introduces platform-specific npm dependencies, proto_library support in JS dependencies, package exclusion presets, enhanced compatibility with Bazel 9, and an upgraded default Node version to v22. New documentation is available, and Aspect offers a paid support plan for users facing difficulties with the transition.