Skip to content

Version 1.1

Latest
Compare
Choose a tag to compare
@EpicWink EpicWink released this 25 May 14:47
· 47 commits to master since this release
v1.1.0

Changes since v1.0.1

Features

  • Optionally provide JSON simple repository index responses (PEP 691)
  • Serve distribution metadata if provided from source package indexes
  • Add option to force binary content-type (ie application/octet-stream) in file responses via environment variable PROXPI_BINARY_FILE_MIME_TYPE

Fixes

  • Vary response header now correctly contains Accept and Accept-Encoding
  • Support package index HTML responses with no body element
  • Provide package only found in extra indexes instead of 404
  • Fix cache refreshed-time after recently starting the OS. This affects when the project sub-route is directly called instead of calling the project-list route
  • Fix file attributes in HTML responses, importantly the data-yanked attribute, and all hashes when the source index provides multiple hashes

Improvements

  • HTML simple repository index API version declared in response body (PEP 629)
  • Declare HTML generator (as proxpi) in response body
  • Add user-agent (as proxpi/vX.Y.Z) to package index requests
  • Support and prefer JSON simple repository index responses from source package indexes
  • Include coloredlogs in Docker image

Miscellaneous

  • Test with Python 3.11 in CI (and drop 3.6)
  • Docker app has dependencies pinned