Chrome 76 is here, with a series of improvements aimed at web developers.
The latest version of Google's Chrome browser is available, with a range of performance and quality of life improvements for web developers.
Chrome 76 changes the way the browser handles structured data and makes it easier for developers to write code to handle API calls, an essential part of modern web development.
By analyzing JSON more quickly, the browser can load websites and applications faster, with changes that result in JSON served by popular web pages that are analyzed on average 2.7 times faster.
The new JSON analyzer is also more memory efficient, reducing the footprint of JSON objects by optimizing the way the browser allocates memory when loading JSON.
The new version also offers significantly better performance when handling data arrays that have been frozen / sealed to avoid additions or alterations.
SEE: How to build a successful developer career (free PDF) (TechRepublic)
Sharing data with third-party services is an integral part of modern web development, and Chrome 76 makes it a bit easier to write code to exchange this data.
Google says that this is useful in cases where developers don't care about the status of the Promise, they just want to know when the work was done, regardless of whether it was successful, giving the following example:
const promises = [
fetch (& # 39; / api-call-1 & # 39;),
fetch (& # 39; / api-call-2 & # 39;),
fetch (& # 39; / api-call-3 & # 39;),
// Imagine that some of these requests fail and others succeed.
await Promise.allSettled (promises);
// All API calls have ended (failed or successful).
The release also makes it easy for users to install Progressive Web Apps on the desktop by adding an installation button to the address bar.
You can read a complete list of developer-centric changes here. ZDNet has an overview of the changes in Chrome 76 aimed at general users, including the fact that Flash is further removed by the browser, no more incognito detection by sites and the ability of sites to switch between modes Dark or light depending on the theme of the operating system.