From c7ace2c9343a51065bf7ce03891cec113f351bc3 Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Wed, 8 Jan 2025 17:03:51 -0500 Subject: [PATCH] v1.8.0 --- HISTORY.md | 9 ++++++--- package.json | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 80833d74..5fa84f6d 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,11 +1,14 @@ -unreleased -========== +1.8.0 / 2025-02-10 +================== + * Use `res.headersSent` when available + * Replace `_implicitHeader` with `writeHead` property * add brotli support for versions of node that support it * Add the enforceEncoding option for requests without `Accept-Encoding` header 1.7.5 / 2024-10-31 -========== +================== + * deps: Replace accepts with negotiator@~0.6.4 - Add preference option * deps: bytes@3.1.2 diff --git a/package.json b/package.json index eb432a0d..a898cd56 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "compression", "description": "Node.js compression middleware", - "version": "1.7.5", + "version": "1.8.0", "contributors": [ "Douglas Christopher Wilson ", "Jonathan Ong (http://jongleberry.com)"