Angular v20 is now out there. The brand new model of Google’s internet framework stabilizes APIs and options corresponding 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 could be discovered at angular.dev. Angular v20 was introduced Could 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 tips 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 elements, directives, and pipes. Resolving this case is a multi-step course of that has been began with the creation of an llms.txt file that helps LLMs uncover the newest Angular documentation and code samples. Future plans name for persevering with to supply code samples utilizing the newest Angular syntax and exploring the event of system prompts that trace LLMs to make use of the right APIs.