github RayLabsHQ/gitea-mirror v3.27.2

13 hours ago

What's Changed

Bug Fixes

  • SSO sign-in with internal identity providers works again (#366). Since v3.21.0, the auth library's SSRF hardening rejected SSO sign-ins whose IdP hostname resolves to a private address (common homelab split-DNS setups) unless the origin was manually added to BETTER_AUTH_TRUSTED_ORIGINS. Registered providers' issuer and endpoint origins are now trusted automatically. Because sessions last 30 days, this breakage could surface weeks after updating, whenever you next had to sign in.
  • SSO sign-in errors are now shown on the login page instead of the button silently flipping back from "Redirecting..." with nothing in the logs.
  • CLEANUP_DELETE_FROM_GITEA is now honored (#366). It was documented as gating Gitea-side deletion but was never read, so orphaned-repo cleanup always archived or deleted repos on the Gitea/Forgejo side. With the flag false (the default), cleanup now only updates gitea-mirror's own database and leaves your Gitea/Forgejo copies untouched.
    • Behavior change: if you relied on the old unconditional Gitea-side archive/delete, set CLEANUP_DELETE_FROM_GITEA=true to keep it.

Full Changelog: v3.27.1...v3.27.2

Don't miss a new gitea-mirror release

NewReleases is sending notifications on new releases.