Skip to content

2.0.0

Compare
Choose a tag to compare
@Archmonger Archmonger released this 13 Sep 00:26
· 31 commits to main since this release
6bfd004

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.