Revision history for Perl extension BoardStreams

v0.0.54 2026-11-25T07:27:20Z

    - A process announces the schema version it works with, and a process
      whose code only knows an older one stops serving when it hears that,
      instead of going on using upgraded tables the old way
    - Kicks, deletions and these announcements are now confined to the
      PostgreSQL schema that holds the tables, so that applications
      sharing a database no longer hear each other's

    - Added delete_channel, which deletes a channel's state and history
      and removes its members, telling them
    - Schema version 2, applied automatically: bs_event and bs_request now
      reference bs_channel with "on delete cascade" (rows left over from
      channels deleted by hand are removed by the migration), and a new
      table bs_floor keeps sequence numbers of deleted channels from
      being reused. New channels therefore no longer necessarily start
      at sequence number 0

v0.0.53 2026-11-25T01:04:49Z

    - Added kick_all, which removes every member from a channel

v0.0.52 2026-11-24T23:30:32Z

    - A server process that cannot receive PostgreSQL notifications now
      closes all its WebSocket connections and refuses new ones until it
      can, instead of keeping browsers connected and catching up later.
      It checks every listener_check_interval seconds (new option,
      default 5) that notifications still arrive. A PostgreSQL restart is
      therefore visible to browsers as a disconnection

    - Added kick and disconnect, on the hub (for all of a user's browsers,
      across server processes) and on the handler context (for the browser
      being served), and the "identify" plugin option that tells users
      apart. The JavaScript client does not reconnect after a disconnect

v0.0.51 2026-11-24T21:34:41Z

    - The first heartbeat of a connection now announces the version, and
      the JavaScript client refuses to work with a server of any other
      version (reason "version_mismatch"). Clients older than this change
      are not affected by it

    - Added the lazy_migrate plugin option, which postpones creating the
      tables until they are first needed
    - The tables are now also created on first use if PostgreSQL could not
      be reached at startup and update() is called before any browser
      connects

v0.0.50 2026-11-24T18:39:51Z

    - original version

