Chrome 76 is here, with a range of improvements targeted at web developers.
The latest version of Google’s Chrome browser is out, bringing with it a range of performance and quality of life improvements for web developers.
Chrome 76 changes how the browser handles structured data and makes it easier for developers to write code for handling API calls, an essential part of modern web development.
By parsing JSON more rapidly, the browser is able to load websites and apps more quickly, with the changes resulting in JSON served by popular web pages being parsed on average 2.7x faster.
The new JSON parser is also more memory efficient, reducing the footprint of JSON objects by optimizing how the browser allocates memory when loading JSON.
The new release also delivers significantly better performance when handling data arrays that have been frozen/sealed to prevent additions or alterations.
SEE: How to build a successful developer career (free PDF) (TechRepublic)
Sharing data with third-party services is part and parcel of modern web development, and Chrome 76 makes it slightly simpler to write code to exchange this data.
Google says this is useful in cases where developers don’t care about the state of the Promise, they just want to know when the work is done, regardless of whether it was successful — giving the following example:
const promises = [
// Imagine some of these requests fail, and some succeed.
// All API calls have finished (either failed or succeeded).
The release also makes it easier for users to install Progressive Web Apps on the desktop by adding an install button to the address bar.
You can read a full list of developer-focused changes here. ZDNet has an overview of the changes in Chrome 76 aimed at general users, including Flash being further sidelined by the browser, no more incognito mode detection by sites, and the ability for sites to switch between dark or light mode based on the OS theme.