v0.62.0
This release adds Packagist as a registry mirror, so your projects can install public and private packages through Pricore. Packages are imported only when a project needs them, and archives are downloaded on first install.
New Features
- Packagist mirroring: Add Packagist as a mirror in two clicks with the new Packagist option in the Add Mirror dialog. Packages are imported the first time Composer asks for them and kept up to date in the background. On-demand mirrors get their own page with the commands to send all installs through Pricore. This also works for other large registries. Choose "On demand" when adding a mirror.
- Archives on first install: Mirrors can now download an archive the first time a version is installed instead of during every sync, so large registries are never copied in full.
- Package filters: Filter the package list by name, source (repository, upload or a specific mirror) and status (vulnerable or sync failed). Filters stay in the URL, so a filtered list can be shared, and the list is now paginated.
- On-demand mirror setting: Turn off on-demand mirrors with
MIRROR_ON_DEMAND_ENABLED=false, for example on a shared installation.
Improvements
- Security scanning: Packages imported from an on-demand mirror are scanned for advisories as soon as they change.
- Documentation: The documentation is rewritten for accuracy and clarity.
- Dependencies:
laravel/framework, Symfony components andphpseclib/phpseclibare updated to releases without known security advisories.
Fixes
- Fixed mirror downloads failing when a host's IPv6 DNS lookup timed out, even though its IPv4 address resolved
- Fixed a scheduled mirror sync removing a release that was added while the sync was running
- Fixed navigation breaking on PHP 8.5 because of a deprecation notice in the database configuration