Skip to content

Drop 0.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 18:18
v0.8.0
903b2cc

Added

  • Server: Private products are open to Testers who sign in with GitHub and can read their
    repository (ADR 0020). Their Build, Product and Channel pages ask for sign-in and show signed-in
    Testers who they are, the index lists the Private products they can read, and their downloads use
    URLs signed for an hour. Apps sign in through POST /api/v1/sign-in, which runs GitHub's device
    flow for them, and send their session with the Update check, which answers 403 no_access for
    an account that can't read the repository. Deploying runs a migration that adds the session
    tables.
  • Deployment: ./drop setup generates the new SESSION_ENCRYPTION_KEY secret and checks the
    GitHub App's Enable Device Flow setting. An App created before this release also needs
    <url>/auth/callback added as a Callback URL in its settings; setup lists both steps. Until
    then, Private products stay closed and their pages say sign-in isn't set up.
  • Deployment: a webhook announces Private products' Builds when its config sets
    "includePrivate": true.
  • SDK: apps of Private products sign in. check() answers SignInRequired or the new NoAccess,
    which state holds as not installable; the Update sheet signs the Tester in with a code to enter
    on GitHub and checks again. Drop.signIn(), signedInAs and signOut() are there for your own
    UI. An exhaustive when over UpdateCheckResult needs a NoAccess branch.
  • Godot plugin: private games sign in through the Update sheet. Checks can answer "no_access",
    and Drop.signed_in_as(), Drop.sign_out() and the sign_in_changed signal are new.
  • Server and SDK: GitHub sometimes rate-limits the device flow for Cloudflare's shared IPs. Drop
    retries it and answers 503 github_unavailable if GitHub still refuses, and the SDK tries
    again before showing an error.