Releases: expressjs/compression
Releases · expressjs/compression
v1.8.0
What's Changed
- Refactor chunkLength function for improved readability and consistency by @Ayoub-Mabrouk in #203
- Refactor toBuffer function to simplify buffer check logic by @Ayoub-Mabrouk in #201
- ci: add CodeQL (SAST) by @bjohansebas in #204
- Use headersSent instead of _header by @maritz in #129
- Bugfix/use write head instead of implicit header by @Icehunter in #170
- feat: add default option by @bjohansebas in #191
- ci: update ci workflow by @bjohansebas in #206
- feat: support for brotli by @bjohansebas in #194
- docs: improve readme by @bjohansebas in #209
- docs: keywords field by @bjohansebas in #210
- refactor: simplify encoding negotiation logic by @bjohansebas in #213
New Contributors
- @Ayoub-Mabrouk made their first contribution in #203
- @maritz made their first contribution in #129
- @Icehunter made their first contribution in #170
Full Changelog: 1.7.5...v1.8.0
1.7.5
What's Changed
- chore: add support for OSSF scorecard reporting by @inigomarquinez in #186
- ci: fix errors in ci github action for node 8 and 9 by @inigomarquinez in #187
- docs: fix spelling by @dijonkitchen in #174
- deps: [email protected] by @bjohansebas in #192
- remove --bail option by @bjohansebas in #196
- build: Node.js 23.0 by @bjohansebas in #193
- Replace accepts with negotiator by @blakeembrey in #197
- docs: update history by @bjohansebas in #200
New Contributors
- @inigomarquinez made their first contribution in #186
- @dijonkitchen made their first contribution in #174
- @bjohansebas made their first contribution in #192
- @blakeembrey made their first contribution in #197
- @UlisesGascon made their first contribution in #195
Full Changelog: 1.7.4...1.7.5
1.7.4
- deps: compressible@~2.0.16
- Mark
text/less
as compressible - deps: mime-db@'>= 1.38.0 < 2'
- Mark
- deps: on-headers@~1.0.2
- Fix
res.writeHead
patch missing return value
- Fix
- perf: prevent unnecessary buffer copy
1.7.3
- deps: accepts@~1.3.5
- deps: mime-types@~2.1.18
- deps: compressible@~2.0.14
- Mark all XML-derived types as compressible
- deps: mime-db@'>= 1.34.0 < 2'
- deps: [email protected]
1.7.2
- deps: compressible@~2.0.13
- deps: mime-db@'>= 1.33.0 < 2'
1.7.1
- deps: accepts@~1.3.4
- deps: mime-types@~2.1.16
- deps: [email protected]
- deps: compressible@~2.0.11
- deps: mime-db@'>= 1.29.0 < 2'
- deps: [email protected]
- deps: vary@~1.1.2
- perf: improve header token parsing speed
1.7.0
- Use
safe-buffer
for improved Buffer API - deps: [email protected]
- deps: compressible@~2.0.10
- Fix regex fallback to not override
compressible: false
in db - deps: mime-db@'>= 1.27.0 < 2'
- Fix regex fallback to not override
- deps: [email protected]
- Allow colors in workers
- Deprecated
DEBUG_FD
environment variable set to3
or higher - Fix error when running under React Native
- Fix
DEBUG_MAX_ARRAY_LENGTH
- Use same color for same namespace
- deps: [email protected]
- deps: vary@~1.1.1
- perf: hoist regular expression
1.6.2
- deps: accepts@~1.3.3
- deps: mime-types@~2.1.11
- deps: [email protected]
- deps: [email protected]
- Drop partial bytes on all parsed units
- Fix parsing byte string that looks like hex
- perf: hoist regular expressions
- deps: compressible@~2.0.8
- deps: mime-db@'>= 1.23.0 < 2'
1.6.1
- deps: [email protected]
- deps: compressible@~2.0.7
- deps: mime-db@'>= 1.21.0 < 2'
- deps: accepts@~1.3.1
- deps: mime-types@~2.1.9
1.6.0
- Skip compression when response has
Cache-Control: no-transform
- deps: accepts@~1.3.0
- deps: mime-types@~2.1.7
- deps: [email protected]
- deps: compressible@~2.0.6
- deps: mime-db@'>= 1.19.0 < 2'
- deps: on-headers@~1.0.1
- perf: enable strict mode
- deps: vary@~1.1.0
- Only accept valid field names in the
field
argument
- Only accept valid field names in the