Skip to content

RepoAccess Core v3.3.0

Choose a tag to compare

@garystupak garystupak released this 21 Nov 14:35
· 2 commits to main since this release

RepoAccess by EdgeKits sells access to a private GitHub repo from your own Cloudflare account: a buyer pays, they are invited to the GitHub team that carries the repo, and a refund or chargeback removes them. Website: edgekits.dev/en/tools/repoaccess

This release makes revokes report their failures, follows the Stripe dashboard as it is today, and adds the event type that subscription support, planned for RepoAccess Pro, will build on.

Highlights

  • A revoke that cannot finish now tells you. If GitHub keeps failing through every retry (about three hours of backoff), or anything else breaks mid-revoke, the worker sends access.failed with the new reason revoke_error. Before, only an Errored Workflow instance and a log line recorded it, while the buyer could still hold the team. The setup guide's troubleshooting list says how to finish the revoke by hand.
  • Stripe Managed Payments works as is. With Stripe as your merchant of record, a grant, a refund and a chargeback have each been tested end to end, and the GitHub username field works on its checkout. The Stripe guides now cover it.
  • A new access_ended event type: the access ran out, as opposed to money going back. It is groundwork for subscription support planned for RepoAccess Pro, and it serves any adapter that sells time-limited access. The worker revokes on it whatever the product's revoke_policy says. Core's Stripe adapter never emits it.
  • An unknown event type now does nothing. It logs an error and its Workflow instance ends Errored. Before, anything that was not a payment was handled as a revoke.
  • The Stripe guides and the setup wizard follow today's dashboard: sandboxes, the GitHub username field marked optional, and the current event destination flow (payload style and API version, then events, then destination type, then URL).

If your endpoint consumes the events

  • access.failed has a new reason: revoke_error.
  • access.revoked carries trigger, now documented in the setup guide: refund, chargeback, or the new access_ended.
  • If you compose your own adapter, NormalizedEvent.event_type gains access_ended; an exhaustive switch over it needs the new case.

Free or Pro

The free core sells one-time access through Stripe, Stripe Managed Payments included. RepoAccess Pro adds Paddle, Creem, Gumroad, Razorpay and Telegram Stars, and subscription support is planned for it. Lemon Squeezy stops processing payments on 31 March 2027, so Creem takes its place in Pro. The README's new "Free or Pro: which one you need" section has the full rule.

Full list of changes, including dev dependency updates: CHANGELOG.md.