Change8

1.4.0

📦 starletteView on GitHub →
3 features🔧 1 symbols

Summary

This release introduces improvements to GZipMiddleware by lazily allocating resources and offloading large compression tasks. It also updates the internal implementation to use `zlib.compressobj` for potentially better performance.

✨ New Features

  • Lazily allocate GZipMiddleware compression resources.
  • Use `zlib.compressobj` instead of `GzipFile` in `GZipMiddleware`.
  • Offload large GZip compression.

Affected Symbols