0.9.2
Upgrading from an earlier version?
Read the upgrade notes before upgrading.
New features (3)
-
npm security audits
npm repositories now supportnpm audit. Local repositories use RepoFlow vulnerability scan results when scanning is enabled, remote repositories retrieve upstream advisories and include available cached scan findings, and virtual repositories combine results from their children. -
Helm autoscaling
The Helm chart can now create Horizontal Pod Autoscalers for Nginx, client, Hasura, and server. Enable autoscaling per component and configure replica limits, metrics, and scaling behavior. Existing deployments continue using their configured replica counts unless autoscaling is enabled. -
List retention rules through API v1
A new read-only endpoint lists the retention rules configured for a local repository, including their conditions, schedule, and current status.
Improvements (15)
-
Negative regex matching
Retention and download rules now support Does not match pattern, allowing rules to exclude packages or versions that match a regular expression. -
GitHub and GitLab release download paths
Universal repositories now accept GitHub-style{package-name}/releases/download/{version}/{file}and GitLab-style{package-name}/-/releases/{version}/downloads/{file}URLs. GitLab paths also support nested assets such asbin/app.zip. Existing Universal download paths remain supported. -
Custom Helm health probes
All chart components now support custom liveness, readiness, and startup probes throughvalues.yaml. Existing probe defaults remain unchanged. -
Configurable Nginx workers
Setnginx.workerProcessesto configure the gateway's worker count. The default remainsauto. -
Configurable Hasura connection pools
Configure Hasura's connection limits, idle timeout, connection lifetime, retries, and pool wait timeout through server environment variables. Existing defaults remain unchanged. See Hasura Connection Pool for configuration options. -
Faster npm metadata responses
Reduced unnecessary copying when preparing and merging npm metadata, lowering CPU work and temporary memory allocations for large package manifests and virtual repositories. -
Better npm package cache reuse
Local npm repositories now include SHA-256 integrity in package metadata, allowing npm clients to verify and reuse cached packages instead of downloading them again. -
Client container environment variables
Helm deployments can now pass environment variables to the client container throughclient.containerEnvironment. Browser configuration continues to useclient.environment. -
Safer Hasura defaults
The Helm chart, Docker Compose configuration, and all-in-one container now disable Hasura's administration console and development mode by default. Both settings remain configurable. -
More temporary storage headroom
Increased the Helm server's default ephemeral storage limit from1Gito5Gito provide more headroom for uploads, scans, and other temporary files. -
Updated deployment dependencies
Updated Hasura to2.50.5, the Helm gateway and client Nginx images to1.31.7, and the server and all-in-one Node.js runtime to24.22.1. -
Updated vulnerability scanners
Updated Grype to0.121.0and Syft to1.55.0, improving package detection, vulnerability matching, and handling of malformed files. -
Safer Docker Compose database credentials
New Docker Compose installations now generate a random PostgreSQL password and keep database credentials and Hasura connection URLs insecrets.env, instead of embedding the default password in the Compose file. -
Better package search relevance
Improved matching across package names, descriptions, and README content, including multiword searches, to bring more relevant packages to the top of the results. -
SeaweedFS object storage
SeaweedFS replaces MinIO as the default bundled object storage for Helm and Docker Compose. Existing bundled-MinIO installations must migrate their objects before switching. See the storage migration instructions.
Bug fixes (39)
-
Composer installs from existing lock files
Fixed some packages returning 404 when installed through a remote Composer repository using an existingcomposer.lockfile. The lock file does not need to be changed. -
Maven repository metadata
Remote Maven repositories now serve optional repository-level files such as.meta/prefixes.txtwhen available upstream. Local and virtual repositories return 404 for these files, preventing incomplete prefix lists from causing Maven to skip dependencies. -
Docker upload authentication
Docker upload requests now return the expected authentication challenge when the client does not have upload permission, before checking whether the repository type supports uploads. -
Concurrent Maven uploads
Fixed files being lost when multiple uploads create the same Maven package version at the same time. Failed Maven uploads now return an error instead of HTTP 200. -
Package Updated Day conditions
Fixed the retention rule editor going blank when selecting Updated Day for a package condition. The field uses the latest update among active files across all versions, falling back to the package creation date when there are no active files. -
Custom Helm pod settings
FixedextraPodSpecplacement across chart components so settings such as affinity, topology spread constraints, and tolerations apply to the pod correctly. -
Download rule cache duration
FixedDOWNLOAD_RULES_CACHE_TTL_IN_SECONDSbeing capped at one second. The cache now honors the configured duration, including the existing two-second default. Setting it to0still disables caching. -
Helm client configuration updates
Client pods now roll out automatically when their browser environment or analytics configuration changes, applying the updated configuration without a manual restart. -
npm publish validation and cleanup
Invalid publish metadata and invalid gzip attachments now return HTTP 400 instead of an internal server error. Temporary request files are cleaned up after failed or interrupted publishes, without removing files still needed by an active upload. Storage failures continue to return server errors. -
Object Storage health checks
Concurrent health checks now use separate test objects and always attempt cleanup after verification. Scheduled garbage collection also removes health-check files older than 24 hours left behind by interrupted or failed cleanup attempts. -
Pre-signed storage URL configuration
Fixed the Helm configuration to useSTORAGE_USE_PRE_SIGNED_URL. The obsoleteS3_USE_PRE_SIGNED_URLsetting was ignored by current server versions. -
GitLab Composer metadata
Remote Composer repositories now accept GitLab's version-keyed metadata alongside standard Composer metadata. Previously cached GitLab metadata also works without clearing the cache. -
Helm OCI publishing
Deploy-only users can now publish new Helm chart versions without an incorrect permission error. Charts are stored under the requested tag, and repeated digest uploads preserve references used by existing versions. Existing-version overwrite permissions remain enforced. -
RubyGems source checks
Authenticated source-rootHEADrequests now succeed, allowing RubyGems clients to check the repository before requesting package indexes. -
Remote download statistics
Remote artifact downloads now update download counts and last-downloaded timestamps on both cold and cached downloads. Metadata andHEADrequests do not increase download counts. -
Google Cloud Storage HEAD requests
FixedHEADrequests when pre-signed Google Cloud Storage URLs are enabled. These requests now use the server download path instead of a signature intended forGET. -
Workspace refresh during repository deletion
The system workspace list now refreshes while a repository is being deleted, making workspace deletion available when its last repository finishes deleting without a page reload. -
Retention rule condition validation
Incomplete or invalid conditions can no longer be silently omitted when previewing or saving a rule. Editing a condition disables preview until the updated input has been validated, preventing an incomplete rule from unintentionally matching every package. -
Authenticated PyPI remote repositories
Fixed package downloads failing when a remote PyPI repository requires upstream authentication. -
Empty Debian package indexes
Fixedapt updatefailing when remote or virtual Debian repositories return an empty package index. -
Repository permissions page access
Fixed read-only members being able to open the repository permissions editor through a direct URL. -
Concurrent local storage downloads
Fixed intermittent download failures and server shutdowns when files in local storage are updated during downloads. -
Universal remote cache filenames
Before 0.9.2, cached Universal files could use the filename supplied by the remote server, causing repeated cache misses and missing download statistics. From 0.9.2, cached files keep the filename and path from the requested URL, even when the remote server supplies a different filename. -
RPM repository metadata
Fixed large metadata downloads failing in virtual RPM repositories and cached remote metadata failing when download rules are enabled. Hidden packages now stay hidden in package and file-list metadata, including virtual repositories. -
Docker Compose service restarts
Fixed gateway errors after recreating or scaling Docker Compose services. -
Vulnerability scan failures
Fixed failed metadata-based vulnerability scans being reported as successful with no findings. -
Helm client memory usage
Fixed incomplete page loads when client workers exceeded the pod's memory limit on hosts with many CPU cores. -
Concurrent object storage startup
Fixed startup failures when multiple server replicas create the same storage bucket at the same time. -
Synology package upgrades
Fixed Synology package generation and startup with the updated Docker Compose configuration. Upgrades keep existing filesystem data, secrets, and database credentials. -
npm publish temporary storage
Fixed largenpm publishrequests retaining the full JSON request, including the base64 package data, while extracting the archive. The temporary request is now removed after validation and decoding, reducing peak ephemeral storage use during uploads. -
npm publish JSON formatting
Fixed valid npm publish requests being rejected when attachment data is preceded by JSON whitespace. -
RPM vulnerability scans
Fixed vulnerability scans failing for RPM packages compressed with Zstandard. -
Docker and Helm OCI metadata
Fixed package metadata generation for Docker images and Helm OCI charts that do not include build history. -
Synology package README previews
Fixed README previews failing for some Synology packages. -
Hidden package metadata
Fixed stored Maven snapshot metadata and Synology icons remaining available for hidden packages or versions. -
Hidden package requests
Fixed hidden package requests returning an internal server error in the file browser and virtual Go repositories. -
Debian and RPM download rules
Fixed download rules being skipped for some Debian and RPM package download URLs. -
Package deletion permissions
Fixed API v1 package and version deletion requests returning an internal server error when delete permission is missing or the package belongs to a different repository. -
Repository references
Fixed API v1 requests accepting repository IDs from a different workspace.
Upgrade notes
RepoFlow 0.9.2 replaces MinIO with SeaweedFS as the default bundled object storage. This change affects only Helm and Docker Compose deployments.
The MinIO Community project is no longer maintained, and its historical Docker images are no longer publicly available on Docker Hub. For existing installations and migration, we preserved the legacy image:
api.repoflow.io/repoflow-public/docker-public/minio/minio:RELEASE.2025-07-23T15-54-02Z
If you use external storage or filesystem storage, disable bundled SeaweedFS before upgrading:
- Helm: Set
seaweedfs.enabled: falsein yourvalues.yaml. - Docker Compose: Remove the
seaweedfsservice fromdocker-compose.yml(stop it first if it is already running). Keep your existing server storage settings, do not adoptS3_END_POINT=seaweedfs.
If you use bundled MinIO, follow section 4: Bundled MinIO to SeaweedFS before switching storage. Upgrading does not migrate your existing objects automatically.
1. Docker Compose database credentials
The updated Docker Compose configuration reads PostgreSQL credentials and Hasura database connection URLs from secrets.env. To adopt it, move your existing values into that file without changing them:
- Add
POSTGRES_USER,POSTGRES_PASSWORD, andPOSTGRES_DBto your existingsecrets.envusing your current database credentials. - Add the existing
HASURA_GRAPHQL_DATABASE_URLandHASURA_GRAPHQL_METADATA_DATABASE_URLvalues to that file. URL-encode special characters in credentials if constructing new URLs. - Add
secrets.envtoenv_filefor PostgreSQL and Hasura, and remove inline credential and connection URL values that would override it. - Recreate the affected services, keeping your existing PostgreSQL image version, volume mounts, and data volumes.
Changing environment variables does not change credentials in an existing database. See Deploying with Docker Compose for the configuration format.
2. Hasura defaults
The Helm chart and all-in-one image now default HASURA_GRAPHQL_ENABLE_CONSOLE and HASURA_GRAPHQL_DEV_MODE to false. Existing overrides remain respected. If your configuration explicitly sets either to true, change it to false to adopt the new defaults. For separate Hasura containers, set these variables on Hasura.
3. Helm settings
- Replace
S3_USE_PRE_SIGNED_URLwithSTORAGE_USE_PRE_SIGNED_URLin custom server environment values. - Remove an existing
server.resources.limits.ephemeral-storageoverride or set it to5Gito adopt the new default. Large uploads may also need a largerserver.tempVolumeSize.
4. Bundled MinIO to SeaweedFS
Migrate existing objects before switching endpoints. Updating the chart or Compose configuration does not copy your data.
For production, we recommend external object storage and PostgreSQL services that can be managed, backed up, and scaled independently of RepoFlow. We include bundled services for convenient setup and smaller deployments.
SeaweedFS needs a separate volume because it cannot read MinIO's existing data files. Back up your data and keep your existing configuration, credentials, and volumes.
-
Stop RepoFlow and enable both stores.
Helm
Set
server.replicaCount: 0,server.autoscaling.enabled: false,minio.enabled: true, andseaweedfs.enabled: true, then apply your values. MinIO remains the automatic server endpoint while it is enabled.Docker Compose
Stop the server and start both storage services:
docker compose stop server
docker compose --profile minio up -d --no-deps minio seaweedfsWait until all RepoFlow server instances have stopped before copying data.
-
Copy and verify the objects.
Install rclone and run
rclone configto add two S3 remotes namedoldminioandseaweedfs, using their S3 endpoints and existing credentials. Run from somewhere that can reach both stores (or use port forwarding). Replacerepoflowbelow with your bucket name:rclone mkdir seaweedfs:repoflow
rclone copy oldminio:repoflow seaweedfs:repoflow --metadata --progress
rclone check oldminio:repoflow seaweedfs:repoflow --download --progressRclone reads each object through MinIO's S3 API and uploads it to SeaweedFS. Do not continue unless both copy and verification succeed.
-
Disable MinIO and restart RepoFlow.
Helm
Set
minio.enabled: false, keepseaweedfs.enabled: true, and restore your server's previous replicas/autoscaling settings, then apply your values. If you explicitly setS3_END_POINT, remove the old MinIO override or update it to<release>-seaweedfs-service.Docker Compose
Change the server's
S3_END_POINTtoseaweedfs, then stop MinIO and recreate the selected services:docker compose --profile minio stop minio
docker compose up -d --no-deps seaweedfs server nginxKeep port
9000, the bucket, and credentials unchanged. Test an existing download and a new upload, and retain the old MinIO volume and backups.
To keep using MinIO in 0.9.2, set minio.enabled: true and seaweedfs.enabled: false in Helm or keep
S3_END_POINT=minio and enable the minio profile in Docker Compose.
The updated Helm and Docker Compose configurations use the preserved MinIO image listed above. If you override
minio.image.repository in Helm or the MinIO service's image in Docker Compose, update your override to use this path.