Releases: EpicWink/proxpi
Releases · EpicWink/proxpi
Version 1.1
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 variablePROXPI_BINARY_FILE_MIME_TYPE
Fixes
Vary
response header now correctly containsAccept
andAccept-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
Version 1.0.2rc0
Version 1.1rc0
Changes since v1.1b1
Miscellaneous
- Test with Python 3.11 in CI (and drop 3.6)
- Update Docker image app dependency pins
- Include
coloredlogs
in Docker image
Version 1.1b1
Changes since v1.1b0
Fixes
- Fix file attributes in both HTML and JSON responses, importantly the data-yanked attribute in HTML responses, but also JSON-response metadata hashes, and HTML-response all hashes when the source index provides multiple hashes
Miscellaneous
- Docker app has dependencies pinned
Version 1.0.1
Changes since v1.0
Fixes
- Relative files for URLs from source index servers are joined with their package's request base URL to make them absolute for downloading
- Support package index responses with no HTML body element
- Provide package only found in extra indexes instead of 404
Improvements
- Add
proxpi
user-agent to requests to package indexes - Request HTML from package indexes
Miscellaneous
- Constrain dependency versions
Version 1.1b0
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 variablePROXPI_BINARY_FILE_MIME_TYPE
Fixes
Vary
response header now correctly containsAccept
andAccept-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
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
Version 1.0.1rc3
Changes since v1.0.1rc1
Fixes
- Support package index responses with no HTML body element
- Provide package only found in extra indexes instead of 404
Improvements
- Add
proxpi
user-agent to requests to package indexes - Request HTML from package indexes
Miscellaneous
- Constrain dependency versions
Version 1.0.1rc1
Changes since v1.0
Fixes
- Relative files for URLs from source index servers are joined with their package's request base URL to make them absolute for downloading
Version 1.0
Changes since v0.1
Features
- Add home page with index invalidation and link to index root
- Add environment variable
PROXPI_CACHE_DIR
to set file-cache directory
Changes
- Use Gunicorn for serving in Docker container
Improvements
- Reduced Docker image size
- Avoid requesting index by assuming package URL
- Use single request session for cache
- Protect file-cache eviction with a lock
- Remove smallest files first when evict from file-cache
- Convert user-assert into RuntimeError
- (Attempt to) log
proxpi
version on server start-up
Fixes
- Download-fail response not cached
Version 1.0rc1
Changes since v1.0rc0
Changes
- Use Gunicorn for serving in Docker container
Improvements
- (Attempt to) log
proxpi
version on server start-up