Angular 12, the latest production release of Google’s popular TypeScript-based web framework, has received an update. Angular 12.1, which arrived June 24, adds compiler support for shorthand property declarations as well as fixes for the compiler, compiler CLI, router, and service workers.
The Angular 12.1 point release also introduces APIs to opt into correct test teardown behaviour. The compiler fixes pertain to issues such as unterminated interpolation and view restoration, while the service worker fixes pertain to the naming, accessing, and clean-up of service worker caches.
Published May 12, Angular 12 is available on GitHub, following numerous beta releases and release candidates. Angular 12 deprecates the legacy View Engine compilation and rendering pipeline in favour of the newer Ivy technology, a next-generation compilation and rendering pipeline that offers faster AOT (ahead of time) compilation.
The Angular team noted that View Engine will be removed in a future release. Current libraries using View Engine will still work with Ivy apps, but library authors are advised to start transitioning to Ivy.
Also in Angular 12, the Ivy-based language service, providing capabilities such as code completions and hints inside templates, moves from opt-in to on by default. Other new features and improvements in the version 12 release:
A variety of bug fixes also were featured, affecting the compiler, compiler-cli, Bazel build tool, the router, and other parts of Angular. A full list of changes can be found on GitHub. The previous Angular 11 line debuted as a production release in November.
]]>Next.js startup time has been improved by as much as 24 percent. Processing time for changes from edit to screen has been reduced by 40 percent, Vercel said. A Next.js script component, meanwhile, enables developers to set the loading priority of third-party scripts to improve performance.
Now available in a preview release, Next.js Live combines a new dev server engine for Next.js with the Vercel collaboration platform to enable teams to share and edit from anywhere. While Next.js already could run anywhere via Node.js, Next.js Live adds a cloud-based collaboration layer. Static and dynamic Next.js applications are supported. ServiceWorker, WebAssembly and ES Modules are leveraged to support remote collaboration. Next.js Live also works offline, eliminating the need for remote virtual machines.
Next.js 11 was unveiled on June 15. Updating instructions and a migration guide can be found at nextjs.org. Other capabilities in Next.js 11 include are:
Next.js 11 follows Next.js 10, which was released last October, followed by point releases.
]]>Angular 12, the latest upgrade to Google’s popular TypeScript-based web framework, is now available as a production release. Among other improvements, the upgrade deprecates the legacy View Engine compilation and rendering pipeline in favour of the newer Ivy technology.
Angular 12 is available on GitHub, following numerous beta releases and release candidates. Angular 12 moves closer to an “Ivy everywhere” vision for the framework. Ivy is described as a next-generation compilation and rendering pipeline, offering faster AOT (ahead of time) compilation.
The Angular team noted that View Engine will be removed in a future release. Current libraries using View Engine will still work with Ivy apps, but library authors are advised to start transitioning to Ivy.
Тhe Ivy-based language service, providing capabilities such as code completions and hints inside templates, moves from opt-in to on by default. Here are some other new features and improvements in the version 12 release:
A variety of bug fixes also are featured, affecting the compiler, compiler-cli, Bazel build tool, the router, and other parts of Angular. A full list of changes can be found on GitHub. The previous Angular 11 line debuted as a production release in November.
]]>