Skip to content

Releases

RepoAccess Core v3.3.1

Choose a tag to compare

@garystupak garystupak released this 23 Nov 08:43

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

A small follow-up to 3.3.0: revoke events now name the product that was revoked, and the docs say exactly what a buyer's typo does.

Highlights

  • access.revoked names the product that was revoked. It takes product_id from the purchase it withdraws, so a Stripe refund, whose own event carries an empty product id, no longer produces a revoke event with product_id: "". The revoke itself was always right; only the event was missing the product.
  • The GitHub username field stays required. The Stripe guides and the setup wizard now say to leave Mark as optional off, so every buyer has to give a handle. This reverses 3.3.0's advice. A Payment Link set up either way keeps working.
  • What a typo does, stated precisely. A handle that matches no GitHub account sends no invitation: the buyer lands on the claim page and corrects it there. A handle that matches someone else's account invites that person, so ask buyers to check it. The setup guide's troubleshooting section says what to do when it happens.
  • The README and guides no longer say RepoAccess Pro sells subscriptions. Subscription support is planned for Pro, and the access_ended event type that 3.3.0 added is the groundwork for it.

If your endpoint consumes the events

  • access.revoked now carries the revoked purchase's product_id where it used to be empty. Nothing else in any event changed.

Upgrading

No configuration changes. git pull and redeploy.

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 "Free or Pro: which one you need" section has the full rule.

Full list of changes: CHANGELOG.md.

RepoAccess Core v3.3.0

Choose a tag to compare

@garystupak garystupak released this 21 Nov 14:35

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.

RepoAccess Core v3.2.2

Choose a tag to compare

@garystupak garystupak released this 03 Oct 14:48

A dependency patch: a fresh clone's first npm install now reports no vulnerabilities, the setup wizard and the Stripe guide follow the Stripe dashboard's current layout, and the README's comparison with billing platforms says only what holds.

Changed

  • Dev dependencies. hono 4.13.12 (the peer range stays ^4; the advisory concerns hono/jsx boundary components, which core's pages do not use), the undici override 7.29.1, wrangler 4.124.0 with @cloudflare/vitest-pool-workers 0.22.0, which run the test suite on miniflare 5. npm audit is clean at every level. Nothing in the Worker bundle changes.
  • Stripe dashboard layout. A Payment Link is now created under Checkout, then Payment links; the setup wizard and the Stripe guide say so. The rest of the steps are unchanged.
  • README. "Why this exists" no longer claims that Polar, Dodo and GitHub Sponsors are Stripe-bound or lock out sellers outside Stripe's countries; what it says instead is that they own the payment rail and decide their own country lists. The opening paragraph names the providers Pro adds.

Full entry: CHANGELOG.md.

RepoAccess Core v3.2.1

Choose a tag to compare

@garystupak garystupak released this 17 Sep 09:49

A refund that completes while a grant is waiting is now seen before the GitHub write, not after it. 3.2.0 checked the transaction on entry and at commit; a grant that resumed from backoff or from a dashboard pause after such a refund still added the buyer and then removed them again. Every write attempt now re-reads the transaction first.

Fixed

  • Refund during a waiting grant. Each GitHub write attempt re-reads the transaction and makes no call if it has been refunded; the grant ends with access.failed, reason transaction_revoked, and withdraws anything it had already written. What remains is the write's own in-flight latency, which the commit check covers as before. No Workflow step was added, so this version can be deployed with instances in flight.
  • Cost table. A claim sale costs 13 Workflow steps and 5 KV writes, not 14 and 6: the redirect alias was counted twice. The free-plan figure for claim mode moves from about 165 to about 200 sales a day.

Added

  • The cost table in the setup guide is asserted by a test against a measured run of the workflow, so the engine and the guide cannot drift apart unnoticed.

Changed

  • The setup wizard's Quick goal says its synthetic refund applies under an automatic revoke policy; under Log only the refund is skipped and the run says so.
  • access.failed with reason transaction_revoked and the access.revoked for the same transaction can carry the same sequence: they describe one transition.

Full entry: CHANGELOG.md.

RepoAccess Core v3.2.0

Choose a tag to compare

@garystupak garystupak released this 16 Sep 10:58

A refund that arrives while a grant is still in flight now wins, and a refund no longer removes a team that another purchase by the same buyer still entitles. Both were found by @jz_kronowave on Indie Hackers, who ran the engine in a sandbox and reported what he saw. Thank you.

Fixed

  • Refund during a grant in flight. A grant sleeping in GitHub backoff, or paused by hand, could resume after the refund had already run and add the buyer. The refund now wins, in both grant modes.
  • Stale read on refund. KV is eventually consistent for up to about a minute; a refund that read a stale grant record could conclude there was nothing to withdraw. The claim guard, a strongly consistent Durable Object keyed by transaction, is now the ledger of each transaction's outcome: a grant commits to it, a refund consults it before KV.
  • Stripe delayed payment methods (bank debits, vouchers) are now granted when the payment settles. checkout.session.async_payment_succeeded is handled; a checkout.session.completed whose payment has not settled is acknowledged with 200, so Stripe stops retrying it.
  • Shared teams. Two products mapped to one team (an item and a bundle that contains it, two price points for one repository): refunding either used to remove the shared team and then the buyer's organization membership while the other purchase stood. The worker now keeps a record of what each buyer holds and removes a shared team only when the last purchase entitling it is refunded. Purchases granted before 3.2.0 are not in that record and revoke as before.

Added

  • sequence on access.granted, access.revoked, and access.failed (reason transaction_revoked): per transaction, the event with the higher sequence is the current state, whatever order deliveries arrive in. Treat an absent sequence as older than any present one.
  • trigger on access.failed with reason transaction_revoked, and kept_teams on access.revoked.
  • Setup guide: "Configurations, and what the buyer sees in each" — six configurations with the emails GitHub sends in each, plus two facts about the invitation: it goes to the buyer's GitHub primary email, and it expires after seven days.
  • The licensing page is linked from README and LICENSING.md; the package carries npm keywords.

Changed

  • The setup wizard's synthetic check now proves the revoke path too: a synthetic refund through the worker follows the synthetic purchase.
  • The claim guard keeps its copy of a committed grant for 180 days, like the KV record. The cost table in the setup guide is re-derived (username 8 steps, claim 14, revoke 11 to 12).
  • createWorker refuses an adapter named buyer (reserved). Dev dependencies: hono 4.13.5, vitest 4.1.11, sharp override 0.35.4; npm audit is clean.

Action for an existing deployment

  • Stripe: add checkout.session.async_payment_succeeded to your webhook endpoint in the Stripe dashboard, or buyers who pay with a delayed method are never granted. The guides now list four events.
  • Deploy when no grant is in flight. The Workflow's step shape changed; an instance started under 3.1.0 that resumes under 3.2.0 meets steps it did not record. A grant can sleep for hours in GitHub backoff, so check the Workflows dashboard for running instances before you deploy.

Full entry: CHANGELOG.md.