From July 4, 2023, test artifacts (lighthouse.json, har.json and other test JSON reports that Calibre stores) will be compressed with the Brotli algorithm. This change brings 15-30% smaller downloads compared to previously used compression with Gzip, which also results in faster downloads.
Customers using the Node.js API or Command Line Interface to access test artifacts should update to version 5.0.4, which has been released as a result of this change. You only need to update if you are using the following functionality, or commands:
- Downloading test artifacts for Single Page Tests
- Downloading test artifacts for Snapshot tests
- Using the CLI command calibre test download-artifacts
- Using CLI command calibre site download-snapshot-artifacts
If you have a custom API integration, you will need to ensure that artifacts with a response header Content-Encoding with value br are decompressed using Brotli. Tests recorded before this change will remain compressed with Gzip.