Skip to content

Changelog

The latest releases, newest first.

  • StaffKitServices: safety responders, the social workers and moderators who back up venue staff on safety alerts from Arbiter (API doc/SAFETY_ALERTS.md, “Responders”). SafetyResponderClient reads the alerts the caller covers (alerts(localeID:), the whole community or their locales; admins every venue), their own settings (responder(), SafetyResponder: kind, coverage, when they’re pushed) and changes them (setDuty), registers Arbiter for pushes (registerDevice), and acts on an alert as venue staff do (see, acknowledge, sendMessage, shareSupport, close), plus shareResource, which puts a community resource (resources(localeID:)) in the thread and its chat room. StaffSafetyAlert gains venue (with its locale), acknowledgedByResponder and each message’s shared resource (SharedResource, with sensitive), all optional so Velvet’s reads are unchanged. SafetyAlertPush.isForResponder tells a responder’s push apart. The staff and consumer schemas are refreshed from the API’s next branch.
  • StaffKitServices: MagTek card readers at the door, through Magensa’s Unigate gateway (API Payments::Magtek). VenueManagementClient.connectMagtek / disconnectMagtek / cardReaderAccount manage a venue’s MagTek account (its Magensa credentials, next to the Stripe or Square account the apps pay; VenuePaymentAccount.Provider.magtek, processorName). chargeCoverAtDoor sells a walk-in’s cover with the ARQC a MagTek reader or Tap to Pay on iPhone produced (DoorCardSale: approved, message, the pass), and tapToPayToken gets the Magensa-signed token that activates ProximityReader. The staff and consumer schemas are refreshed from the API’s next branch.
  • StaffKitServices: reading a karaoke app’s queue off the venue’s Mac. KaraokeQueueTurn and KaraokeQueueText (Foundation only, so the Velvet helper compiles it in) turn a window’s recognized text or Accessibility rows into turns; VenueManagementClient.reportKaraokeQueue sends them and karaokeQueue(venueID:) reads the venue’s queue.
  • StaffKitServices: VelvetScreenAdvert, the _velvet._tcp Bonjour advert Velvet on Apple TV and Google TV publish (TXT v, platform, device, display, venue, audience, app, build, model), so the Velvet helper on the venue’s Mac finds our own TV apps and keeps each on one screen record with its AirPlay and Chromecast adverts.
  • StaffKitServices: Backstage’s show-night Live Activity tokens, TalentManagementClient.registerShowNightToken (the app’s push-to-start token with the listing chosen, or one activity’s own token with its event) and endShowNightToken, so the API (ShowNight) starts the activity on the day, follows a moved event and ends it after the set. The staff schemas are refreshed for them.
  • StaffKitServices: VenueMusicControl change from staff-kit #466 (Velvet Display’s steadier Soundtrack lyrics clock), which landed on staff-kit’s copy after the move.
  • StaffKitServices: partner offers for a venue’s managers, VenueManagementClient.referralOffers(venueID:placement:), recordReferralOfferClick and dismissReferralOffer (staff-kit #465, which landed on staff-kit’s copy just after the move). The staff schemas are refreshed for referralOffers.
  • StaffKitServices: VenueMusicControl follows a venue’s Soundtrack or Rockbot player (staff-kit #461, which landed on staff-kit’s copy just before the move).
  • StaffKitTests: VenueClockTests passes on a device set to a 24-hour clock.
  • Sign in with Google for Swift, matching Kotlin’s signInWithGoogle / connectGoogle, without Google’s SDK:
    • AudienceSession.signIn(googleIDToken:accessToken:name:device:) and connectGoogle(idToken:device:) (POST /v1/token/google; connecting sends the session and a refusal keeps it).
    • GoogleOAuthClient / GoogleAuthorization: Google’s consent URL for an iOS OAuth client with PKCE (S256), audience = the server (web) client so the ID token is issued for a client the API already accepts, the redirect to the reversed client ID, and the code-for-tokens form. signIn(google:callbackURL:device:connect:) finishes it; googleTokens(authorization:callbackURL:) stops at Google’s tokens.
    • AudienceKitUI: WebAuthenticationSession.signInWithGoogle(_:client:device:scopes:connect:) runs the whole thing; GoogleSignInCopy has the button words.
  • StaffKit’s API modules move here from the private staff-kit repository and are now part of the public SDK (Rick, 2026-11-24: “keep the UX components binary only and the API components open”). New Swift products:

    • StaffKitCore: the staff session (AudienceManagementSession, platform sign-in, audience selection, scoped venue-device sessions, StaffCredentialStore) and StaffCable, the Action Cable socket for staff subscriptions.
    • StaffKitServices: the staffql clients, feeds and models (venues, talent, events and lineups, the door, chat moderation, cover, devices, the decision queue).
    • ArbiterModels: Arbiter’s engine-facing types and protocols. ArbiterControl: Arbiter’s control-socket protocol.

    Source moved as is, without staff-kit’s history. Their tests come along (StaffKitTests, ArbiterModelsTests, ArbiterControlTests), and CI checks their GraphQL documents against the staff schemas, now in graphql/. StaffKit’s SwiftUI modules (StaffKitUI, ArbiterUI, SoapboxUI, VenueMarqueeUI, StaffOnboarding) stay private and ship only as binaries from lwm-luminx/staff-kit-binaries.

  • CI’s Swift coverage floor stays at 85% for the member modules (87.7% now). StaffKit’s API modules get their own floor at the 68.2% they arrived with, to be raised as their tests grow.

  • scripts/graphql/check.mjs takes staff-kit’s newer copy: literals joined with + are one document, and {name} placeholders aren’t selections.

  • AudienceKitUI: AppCheckView.swift and ContactMatchingModel.swift import Combine. Without it, builds with library evolution (StaffKit’s binary package, Xcode 27.2) fail on @Published and ObservableObject. No API change.
  • “Show more” news. Swift and Kotlin:
    • articlesPage(localeID:publicationID:first:after:) (Kotlin articlesPage(localeId, publicationId, first, after)): a page of soapbox.articles with ArticlesPage.endCursor and hasNextPage, for lists that load more as they scroll. ArticlesPage.empty / EMPTY without Soapbox.
    • localPublications(localeID:): the publications covering a locale, for the publishers at the top of its news.
  • A lone KJ, DJ or VJ hosts the night.
    • Event.hostedBy (Swift, Kotlin; Node eventHostedBy): who to bill after “Hosted by”: hosts, then jockeys as billed ([“Mama Alma”, “KJ Dalton”]), or [“KJ Dalton”] alone. Event.isHostedByJockey when the jockey is the only host.
    • Swift VenueLineup.jockeyCaption says “Your host tonight” when the jockey is the only one, and hostNames bills jockeys (“Sign up in person with KJ Dalton”).
  • Jockeys: the KJ, DJ or VJ of a night. One role, labelled by the kind of night: KJ at karaoke, VJ for video or visuals, else DJ. Needs the API; on an older API the fields are left out (SchemaShape, or the lineup’s next try) and come back empty.
    • Event.jockeys, jockeyLabel and jockeyTitles ([“KJ Dalton”]); JockeyTitle.text(label:name:). Node: eventJockeys, eventJockeyTitles, jockeyTitle.
    • Swift VenueLineup.jockeysTonight and jockeyLabel (jockeysTonight / jockeyLabelTonight), featuredJockeys for the host row beside featuredHost, and jockeyTitle(_:). featuredHost skips a host entry whose people are all jockeys (a KJ put on now as the host shows once, as the KJ), and hostNames adds the jockeys, so “Sign up in person with Dalton” names the KJ. featuredJockeys entries are titled “KJ Dalton”, and jockeyCaption (“Your KJ tonight”) goes under them: VenueHostRow(host:links:onTip:onSelect:caption:).
  • graphql/schema.graphql: the API’s next consumer schema with the jockey fields.
  • Choosing a Soapbox publication to work on, like choosing a locale. Staff documents (# endpoint: staff) for StaffKit’s Soapbox; no API change.
    • PublisherChooserDocuments.publishersQuery (myPublications, every publication for the audience’s admins, with its locale’s ancestors and point) and localesAtQuery (locales(at:)), with their answers.
    • PublisherDirectory: by name; search(_:) ranks names, then masthead or person, then the place covered (“Utah” finds every Utah paper), ignoring case and accents; nearby(_:containing:radius:limit:) puts the publications covering a locale the device is in first, then the closest within 150 km.
    • PublisherRecents: the ones chosen last in an audience on the device, newest first (Swift keeps them in UserDefaults; Kotlin gives the key and adding).
  • Drops 0.91.0’s KaraFun song search: KaraokeSongbook and VenueKaraoke.songbookSearchURL(_:) are gone, and KaraokeQueue on a KaraFun night with no code shows only “Sign up in person with Dalton”.
  • KaraFun nights with no code.
    • VenueKaraoke.signsUpInPerson: a partner’s night tonight with no session to join. KaraokeQueue shows “Sign up in person with Dalton” (KaraokeSignUpInPerson.text(hostNames:), from VenueLineup.hostNames, the featured host) in place of “Ask the host how to join the karaoke session.”, and still no queue or Sign up to sing.
    • Find a song: on a KaraFun night KaraokeQueue has a search box that opens KaraFun’s songbook search (KaraokeSongbook.searchURL(provider:query:), VenueKaraoke.songbookSearchURL(_:)), so guests can pick a song without signing up in the app. KaraFun’s catalog API is partnership-only, so this opens its site.
  • Privacy choices, per audience. Needs the API’s privacy choices; on an older API privacy() fails, so apps should hide the row when it does.
    • privacy(): what the audience offers (PrivacyOffer: choices, passCents, passDays) and what the member chose (PrivacyChoices: the do-not-sell-or-share opt-out and how it was made, including a Global Privacy Control signal, ad measurement, personalized ads, and a running privacy pass). Signed out, the defaults.
    • updatePrivacyChoices(...) / setPrivacyChoice(_:on:): one switch per call, the same call both ways.
    • startPrivacyPass(returnURL:): a one-off web Checkout for the audience’s privacy pass (no paid cards, no optional data use, nothing renews). Offer it only where PrivacyChoicesCopy.isPassOffered says: US storefronts, or the web.
    • PrivacyChoicesCopy: the words for the screen (“Your privacy choices”), each choice and the pass, not yet reviewed by a lawyer.
  • graphql/schema.graphql brought up to the API’s next with the privacy choices.
  • Festivals and the events that are part of them. Needs the API; on an older API both are nil.
    • Event.parentEvent: the festival or conference an event is part of (EventSummary: id, name, start, end), for a “Part of …” row. Lists and event(id:) ask for it.
    • Event.childEvents: the events that are part of a festival (its parade and the bars’ parties), soonest first. Only event(id:) asks for these.
    • The API’s city lists now leave a festival’s parts out, so a festival shows once.
  • graphql/schema.graphql brought up to the API’s next.
  • An audience’s own cards for staff apps. AudienceCore AudienceCards / com.audiencekit.AudienceCards: the staff-endpoint documents behind Olympus Audience › Cards (promoPlacements, savePromoPlacement, deletePromoPlacement), so Soapbox’s admins add, change, pause and remove the audience’s promoted, charity and announcement cards.
    • AudienceCard (status from its dates and pause, editable, weekly viewers), AudienceCardDraft (with problems checked before sending), AudienceCardCategory, AudienceCardScreen, AudienceCardsLevel.
    • Publishers’ ads come back in the same API list and are left out; they stay SoapboxAds.
    • AudienceCardsCopy for the words the apps show.
  • The Spotify bridge. Needs the API; on an older API the reads answer nil. Nobody signs in to Spotify, and Spotify only plays on the person’s own account.
    • spotifyLink(url:) / spotifyLink(url): what a shared or pasted Spotify link names (SpotifyLink: kind, title, artist, artwork, URI, link, embed player).
    • requestSong(venueID:spotifyURL:title:note:) / requestSong(venueId, spotifyUrl, title, note): a song request from a Spotify song link.
    • setList(eventID:) / setList(eventId): the night’s set list as a public Spotify playlist (EventSetList), for a Listen in Spotify button.
    • SpotifyLink.firstLink(in:) / SpotifyLink.firstLink(text): the Spotify link in shared text.
  • graphql/schema.graphql brought up to the API’s next.
  • Sliding-scale cover. Needs the API’s CoverCharge.scale and buyCover(amount:).
    • CoverCharge.scale (CoverScale: min, max, suggested), null for a fixed cover; the charge’s amount is then the suggested amount.
    • buyCover(venueID:amountCents:) / buyCover(venueId, amountCents): what the buyer chose for each cover, from min to max; left out, the suggested (or fixed) amount.
    • CoverScale.step / clamped (clamp in Kotlin): a picker’s whole-dollar steps, kept in the range.
  • cachedVenues(maxAge:) / cachedVenues(maxAgeMillis): the venues venues() last fetched, read from the GraphQL cache without asking the API, so a Venues screen draws at once and refreshes behind them. venues() now keeps its answer under a fixed cache key (venuesCacheKey / VENUES_CACHE_KEY, “Venues”) whatever the audience’s modules, so the list is found after a relaunch, before the session has learned the audience’s schema shape. Lists kept under the old key are fetched again once.
  • Sing-along nights. Reads what the API already serves on production (#760, Venue.music.nowPlaying); nothing new is needed there.
    • singAlong(eventID:): whether an event is a sing-along (Event.karaoke.singAlong), its playlist (url, uri, shuffle, tracks) and its venue’s rotation now. nowPlaying(venueID:) refreshes the rotation alone. Both drop a report past its expiresAt.
    • NowPlaying (title, artist, artwork, upNext), SingAlongPlaylist, SingAlongTrack.
    • For the request picker: pickableTracks(matching:) (A to Z, searched by title and artist ignoring case, accents and punctuation) and status(of:): playing now, up next, requested by me, or in the queue. Requests go through the existing requestSong.
    • graphql/schema.graphql refreshed from the API next.
  • Apple TV. The Swift package now lists tvOS 17, so Velvet on Apple TV can link it. AudienceCore and AudienceKit build for tvOS as they are. On tvOS, AudienceKitUI has only the shared look: Theme, DesignTokens and AudienceAvatar. Its screens and sheets (update prompts, find friends, karaoke, song requests, calendar, Discord, App Check, delete account) are left out there, since they need iOS or macOS. iOS and macOS builds are unchanged.