File git-pages.changes of Package git-pages
------------------------------------------------------------------- Sat Mar 28 13:24:53 UTC 2026 - Marcus Rueckert <mrueckert@suse.de> - Update to version 0.7.0+git4.ccabfc2: * Remove README text about the now-removed Sentry support. * Remove the unused `sensitiveHTTPHeaders` variable. * Update go-toml to v2.3.0 and freeze it. * [breaking-change] Drop Sentry support. * Add version override in Nix flake. * Add a `-version` flag. * Add a configurable limit on concurrent blob uploads. * Add configuration file example with default values only. ------------------------------------------------------------------- Wed Mar 25 10:58:06 UTC 2026 - Marcus Rueckert <mrueckert@suse.de> - Update to version 0.6.2+git0.b37ca8c: * Fix combined partial and incremental updates. * Fix incorrect explanation in README. * Fix collection of symlinks in tar archives. ------------------------------------------------------------------- Sun Mar 22 21:58:45 UTC 2026 - Marcus Rueckert <mrueckert@suse.de> - Update to version 0.6.1+git5.b737e1b: * Add rationale for not supporting git-lfs. * [Renovate] Update all dependencies * Warn when a Git repository is uploaded with Git LFS-tracked files. * [Renovate] Update all dependencies ------------------------------------------------------------------- Wed Mar 11 21:58:22 UTC 2026 - Marcus Rueckert <mrueckert@suse.de> - Update to version 0.6.1+git1.050a002: * [Renovate] Update https://code.forgejo.org/actions/forgejo-release action to v2.11.3 * Use right URL when fetching Forgejo user data for audit. * Separate principals with a comma in audit log. * [Renovate] Update all dependencies * Record the authorized forge user's name in the audit log. * Accept forge authorization for deleting a site. * Reword the code comment regarding the webhook delivery timer. * [Renovate] Update all dependencies * [Renovate] Update module golang.org/x/net to v0.51.0 [SECURITY] * [Renovate] Update all dependencies * [Renovate] Update all dependencies * Normalize archive member names. * [Renovate] Update module github.com/go-git/go-billy/v6 to v6.0.0-20260207062542-7cf3dc9049c3 * [Renovate] Update all dependencies * Improve panic messages in `ApplyTarPatch`. * [Renovate] Update all dependencies * Enable Sentry telemetry buffer by default. * [breaking-change] Only allow a single `[[wildcard]].index-repo`. * CI: update to Go 1.25.6. * [Renovate] Update all dependencies ------------------------------------------------------------------- Mon Jan 12 16:22:05 UTC 2026 - Marcus Rueckert <mrueckert@suse.de> - Update to version latest+git0.750f76a: * [Renovate] Update https://code.forgejo.org/actions/checkout action to v6.0.2 * [Renovate] Update all dependencies * [Renovate] Update all dependencies * nix: use `gomod2nix`. * [Renovate] Update module github.com/go-git/go-git/v6 to v6.0.0-20251224103503-78aff6aa5ea9 * Update module codeberg.org/git-pages/go-headers to v1.1.1. * Fix the Docker build script. * Log `Accept:` value for HEAD/GET requests. * Add a Vary header when content negotiation happens * Clear git metadata from PATCH'd manifests. * Configure Renovate commit messages. * Switch CI to self-hosted runners. * Configure Renovate commit messages. * chore(deps): update module github.com/maypok86/otter/v2 to v2.3.0 * Ensure leading directories always exist in manifest * Fix go vet and staticcheck not performing any work in CI. * Scrub the Forge-Authorization header from Sentry events. * chore(deps): update all dependencies ------------------------------------------------------------------- Wed Dec 17 15:08:53 UTC 2025 - Marcus Rueckert <mrueckert@suse.de> - Update to version 0.3.1+git21.d97f5ac: * Fix manifest `StoredSize` field being always zero. * Fix timeout bug introduced in commit 9c6f735d. * Allow setting custom Cache-Control headers via _headers * Begin paths with / in problem report. * Limit amount of data fetched from git repository. * Limit original size of the contents of a site manifest. * chore(deps): update all dependencies * Add a `relaxed-idna` feature to allow some uses of `_` in hostnames. * Check for overflow when calculating size of zip * Simplify signal handling code. * Ensure the branch parameter really is a branch * Implement `-audit-rollback`. * Support zstd inside zip files. * Make project name validation more consistent and stricter. * Process IDNA host names. * Stabilize the `audit` feature. * [breaking-change] Remove the `log-level` config option. * Apply the `log-level` config option to the syslog log sink. * Treat `allowed-repository-url-prefixes = []` the same as unspecified. * [breaking-change] Change the format of the SYSLOG_ADDR env variable. * [breaking-change] Listen only on `localhost` by default. * Use TOML output for `-print-config` instead of JSON. * Report "dead" redirects as site issues. * Style. NFC * chore(deps): update all dependencies * Don't observe errors expected during incremental updates. * Split `UnfreezeDomain` off `FreezeDomain`. NFC * Display dead blob count after tracing. * Add basic garbage tracer. * chore(deps): update all dependencies * Fix loss of context in POST handler. * Add `EnumerateManifests` API and `-list-manifests` option. * Add `EnumerateBlobs` API and `-list-blobs` option. * Consolidate return values into `BlobMetadata`. NFC * [breaking-change] Read principal's IP address from X-Forwarded-For. * Don't put blobs that only contain hashes when incrementally uploading. * Set `Content-Type:` to negotiated content type. * Fix several content type negotiation issues. * Add handling of `Accept: application/vnd.git-pages.unresolved`. * Provide `Accept-Encoding:` in `406 Not Acceptable` responses. * Rename HTTP negotiation items. NFC * Collect unresolved blob references in a dedicated error structure. * Collect statistics on blob reuse during archive upload. * Resolve `/git/blobs/` symlinks as blob references to the old manifest. * Fill in `git_hash` for regular files in archive uploads. * Use `path.Join` where applicable. NFC * Cache individual layers of Docker container as it is being built. * Stabilize feature `serve-h2c`. * Stabilize features `patch` and `archive-site`. * Log beginning of audit event processing. * Implement `-audit-server`. * Add `Create-Parents:` mode to PATCH method. * Factor out `getWebRoot()`. NFCI * Fix a bug preventing new manifests from being committed to S3. * Rename PATCH `Race-Free:` header to `Atomic:`. * Update `-audit-log` to fetch records in parallel. * Fix phrasing in README. * Implement `-audit-log` option. * Implement `-audit-read` option. * Improve error handling in `CollectTar`. * Update introduction in README. * Optionally include principal's IP address in audit record metadata. * Fix issues with locking on Windows. * Simplify fetch logging. NFC * Drop the shared manifest lock in the FS backend. * Use ETag as precondition for partial updates. * Return both `LastModified` and `ETag` in manifest metadata. NFCI * Allow `PATCH` method to apply partial updates. * Factor out functions to create and fill a manifest. NFCI * Make `.gz`/`.zst` extraction composable. NFCI * [breaking-change] Implement audit record retrieval. * Implement audit notifications. * Parse URLs while loading configuration. NFCI * Add missing `setConfigValue()` branch. * Fix S3 implementation of frozen domain check. * Implement auditing of important site lifecycle actions. * Trim trailing `\n` from log messages. * Consistently use context in `Main()`. * Simplify. NFCI * Reformat. NFC * [breaking-change] Make fallback handler per-instance, not per-wildcard. * Allow domains to be administratively frozen. * Add "dry run" capability for all destructive endpoints. * Use git filters for incremental updates from a git repository. * Explicitly mention SHA-256 transition status. ------------------------------------------------------------------- Mon Dec 01 13:33:44 UTC 2025 - Marcus Rueckert <mrueckert@suse.de> - Update to version 0.1.0+git20.689030c: * Add a Prometheus metric for blob/request encoding pairs. * Rename blob transforms to match HTTP encoding names. * fix(deps): update all dependencies * Replace `s3GetObjectErrorsCount` metric with `*ResponseCount`. * Update sentry-go. * Make Sentry telemetry buffer configurable. * Simplify SIGINT handling code. NFC * Handle `OPTIONS` method. * Rename license to satisfy https://pkg.go.dev * Fix nix flake. * Update the go-slog-syslog dependency. * Add the ability to send logs to a syslog daemon. * fix(deps): update module github.com/go-git/go-git/v6 to v6.0.0-20251121083746-39fcec474970 * Pass the context to logging functions. * Exit gracefully (run deferred statements in main()) on SIGINT. * Fix content-type detection for small files * Restrict DNS Allowlist authorization to index site only. * fix(deps): update all dependencies * Fix a regression causing non-observance of ≠200 S3 manifest responses. * Add a log level config option * Reword some log messages. NFC * Improve configuration reload and clarify scope. * Reload configuration on SIGHUP (if supported by OS). * Improve CLI usage text. * Accept an output argument in `-get-blob`, `-get-manifest`, `-get-archive`. * Bring documentation up to date. * Allow downloading entire site via CLI or HTTP. * Fix DIV/0 when compressing a site without contents. * Add `Last-Modified:` header to `/.git-pages/` metadata responses. * Refactor `S3Backend.GetManifest`. NFCI * Allow updating wildcard domain sites from an archive with a forge token. * Factor out authentication helpers. NFC * Docker: clean Go cache after building executables. * CI: publish releases and handle tags. * Redirect `domain.tld/project` to `domain.tld/project/` when present. * Refactor redirect code. NFC * CI: switch `package` runner to `medium`. * Add a Prometheus counter for s3:GetObject errors. * Don't observe context cancellation errors. * Observe blob fetch errors during GET requests. * Allow external redirects for 3xx statuses * Renovate: disable automerge so it'd stop breaking the flake. * Observe whether manifest cache is bypassed. * Add original (decompressed) size to site manifest. * Remove unused `go.mod` entries. * Allow matching multiple subdomains in wildcards * Link to `git-pages-cli` in README. * Try to fix Sentry errors getting attached to wrong transactions. * Set `Update-Result` for `DELETE` requests. * Rename `X-Pages-Update` header to `Update-Result`. * Add `/.git-pages/health` endpoint. * Add Caddy to the Nix devshell. * Ignore trailing `.` in hostnames. * Don't respond with a completely blank 404 page. * Allow only `ssh`, `http`, and `https` schemes for clone URLs. * Correctly read symlinks from zip files * Make compression always enabled. * Use `Branch:` instead of `X-Pages-Branch:` to set custom branch name. * Remove deprecated COOP/COEP assignment based on content type. * Don't issue extraneous HEAD requests for S3 GetObject operations. * Ignore only the malformed `_redirects`/`_headers` rules. * Default to `allowed-custom-headers = ["X-Clacks-Overhead"]`. * Add Netlify `_headers` support. * Update flake. * Observe all storage errors reported by GetManifest. ------------------------------------------------------------------- Fri Nov 07 03:09:42 UTC 2025 - Marcus Rueckert <mrueckert@suse.de> - Update to version 0~git1762383632.c4b3671: * Add `[[wildcard]].index-repo-branch` option (`pages` by default). * Add missing `[limits]` keys to default configuration. * Avoid leaking `http.Transport` resources. * Add `[[wildcard]].fallback-insecure` option to disable TLS verification. * fix(deps): update all dependencies ------------------------------------------------------------------- Wed Oct 29 21:53:40 UTC 2025 - Marcus Rueckert <mrueckert@suse.de> - Update to version 0~git1761699841.ba820e6: * Work around slog issues handling `%%` in a format string. * Fix a nil dereference on non-custom 404 pages. * Apply `Content-Type` from the manifest to non-200 status pages. * Fix flake, and (actually) disable Renovate auto-merge. * fix(deps): update all dependencies * CI: run on all branches, but package only on `main` branch. * If an https fallback URL is configured, try TLS for Caddy domain check. * Serve `X-Content-Type-Options: nosniff`. * Turns out a Web Worker is a type of frame (for COEP purposes). * Fix flake. ------------------------------------------------------------------- Wed Oct 29 21:52:28 UTC 2025 - Marcus Rueckert <mrueckert@suse.de> - initial package