Skip to content

Releases: Archmonger/ServeStatic

2.1.1

27 Oct 21:57
b7d9f99
Compare
Choose a tag to compare

Fixed

  • Make sure WSGI SlicedFile is closed properly to prevent subtle bugs.

2.1.0

03 Oct 02:54
8d4010a
Compare
Choose a tag to compare

Added

  • Support Python 3.13.

Changed

  • Query strings are now preserved during HTTP redirection.

2.0.1

13 Sep 22:57
3e63ed0
Compare
Choose a tag to compare

Fixed

  • Fix crash when running manage.py collectstatic when Django's settings.py:STATIC_ROOT is a Path object.

2.0.0

13 Sep 00:26
6bfd004
Compare
Choose a tag to compare

Added

  • Django settings.py:SERVESTATIC_USE_MANIFEST utilize the Django manifest rather than scanning the filesystem.
    • When also using ServeStatic's CompressedManifestStaticFilesStorage backend, ServeStatic will no longer need to call os.stat.

Changed

  • Minimum python version is now 3.9.
  • Django setings.py:SERVESTATIC_USE_FINDERS will now discover files strictly using the finders API. Previously, ServeStatic would also scan settings.py:STATIC_ROOT for files not found by the finders API.
  • Async file reading is now done via threads rather than aiofiles due recent performance tests.
  • BaseServeStatic has been renamed to ServeStaticBase.
  • AsgiFileServer has been renamed to FileServerASGI.
  • Lots of internal refactoring to improve performance, code quality, and maintainability.

1.2.0

30 Aug 23:05
85a39c9
Compare
Choose a tag to compare

Added

  • Verbose Django 404 error page when settings.py:DEBUG is True (Upstream PR)

Fixed

  • Fix Django compatibility with third-party sync middleware
    • ServeStatic Django middleware now only runs in async mode to avoid clashing with Django's internal usage of asgiref.AsyncToSync
  • Respect Django settings.py:FORCE_SCRIPT_NAME configuration value (Upstream PR)

1.1.0

27 Aug 10:20
04c20ac
Compare
Choose a tag to compare

Added

  • Files are now compressed within a thread pool to increase performance (Upstream PR)

Fixed

  • Fix Django StreamingHttpResponse must consume synchronous iterators warning
  • Fix Django bug where file paths could fail to be followed on Windows (Upstream PR)

1.0.0

10 Jul 23:56
3d6da73
Compare
Choose a tag to compare

Initial release of servestatic, forked from whitenoise.