Angular v20 is now accessible. The brand new model of Google’s net framework stabilizes APIs and options akin to incremental hydration, promotes Zoneless (which removes ZoneJS as a dependency) to developer preview, improves debugging, and improves assist for AI-powered Angular growth with the introduction of an llms.txt file.
Set up directions for the TypeScript-based framework may be discovered at angular.dev. Angular v20 was introduced Might 28.
Developments in generative AI growth in Angular v20 contain serving to massive language fashions (LLMs) to provide trendy Angular code by sustaining an llms.txt file, and offering pointers for builders who’re constructing Angular apps with AI options. In introducing Angular v20, Minko Gechev, product and developer relations lead for Angular at Google, mentioned some massive language fashions nonetheless produce older Angular syntax utilizing NgModules as an alternative of standalone parts, directives, and pipes. Resolving this example is a multi-step course of that has been began with the creation of an llms.txt file that helps LLMs uncover the most recent Angular documentation and code samples. Future plans name for persevering with to supply code samples utilizing the most recent Angular syntax and exploring the event of system prompts that trace LLMs to make use of the proper APIs.