Skip to content

v1.0.0

Latest

Choose a tag to compare

@andreimerlescu andreimerlescu released this 01 Dec 21:14
027fbf3

Concert v1.0.0 Release Notes (v0.1.0 → v1.0.0)

Compare range: da9c2ea (v0.1.0, 2026-11-16) → 027fbf3 (v1.0.0, 2026-12-01) — 492 files changed, +157,370 / -4,658 lines across PR #11.

v1.0.0 marks Concert's graduation from a single-binary waiting-room proxy into a complete, 100% Apache-2.0 open-source traffic-control suite (8 static binaries, 6 official client SDKs, declarative multi-vhost Concertfile, native static & FastCGI serving, two-tier edge/leaf mesh, and production-hardened crypto Fast-Lane & AI agent pass bidding).


At a Glance: v0.1.0 vs. v1.0.0

Area v0.1.0 v1.0.0
Go / Core Deps Go 1.27.3, room v1.5.0, sema v1.1.0 Go 1.27.4 (GO-2026-6859 fix), room v1.9.0, sema v1.3.0, quic-go v0.65.0
Binaries 2 (concert at repo root, concert-client) 8 (concert, wpconcert, econcert, concert-kv, concert-cache, concert-watchdog, bench-concert, concert-client)
Config & Routing CLI flags / env vars / settings.json, single site Declarative Concertfile/.json (-config), multi-vhost SNI/Host routing, atomic SIGHUP + Portal reload
Protocols & Origin HTTP/1.1 & HTTP/2 reverse proxy Adds HTTP/3 (QUIC), :80 → :443 ACME HTTP-01 + pure-stdlib DNS-01 wildcard TLS, os.Root local static serving, pure-stdlib FastCGI (fcgi://, fcgi+unix://)
Topology & Scale Single node Two-tier Edge/Leaf mesh (Concert-Hop + single-use nonces + native leaf mTLS + traffic-weighted multi-edge HA), concert-kv HA shared queue, lemmings capacity crawler & soak-100k harness
Waiting Room UX Single synthwave waiting page, portal themes Waiting Room Studio (5 layouts, 10 WCAG themes, YouTube embed, 19 locales incl. RTL), branded 503 busy page, Scheduled Drops (CSPRNG Fisher-Yates lobby)
Enterprise & Ops Single-password portal RBAC + Argon2id/TOTP MFA + SSO, hash-chained audit.jsonl, -enterprise-hardened, transactional email digest mailer, ChatOps webhooks, pure-stdlib OTLP tracing
Fast-Lane & Agents x402 v2 gateway + basic agent queue 100% crypto-only (XRPL, Stellar, Hedera, Solana), mainnet readiness, Direct QR & multi-chain token/NFT gating, AI Agent Pass Bidding (/_concert/bids, losers pay $0), online /reconcile & offline archive-receipts
Ecosystem concert.php example, installer.sh 6 zero-dep Client SDKs (Go, Node/TS, PHP, Python, Ruby, WordPress), 6 Dockerfiles + Compose + K8s + Prometheus/Grafana, 6 Tutorials

Breaking & Behavioral Changes

  • Repository & install paths moved: Server source moved from root package main into internal/server and cmd/* (only version.go remains at the root). Build or install from ./cmd/concert, ./cmd/wpconcert (-tags wordpress), or ./cmd/econcert (-tags "wordpress,enterprise").
  • Three-binary edition split (Go build tags): WordPress and enterprise features moved out of the lean concert binary into wpconcert and econcert. Passing flags or subcommands belonging to a higher edition prints a direct migration hint.
  • Tightened default liveness & timeout baselines:
    • -reaper: 36s → 10s
    • -ready-grace: enabled by default at 30s
    • -idle-poll-ttl: enabled by default at 45s
    • -upstream-timeout: 30s → 60s (90s under WordPress preset)
    • -upstream-body-idle-timeout: new default 30s (exempting -stream-paths, SSE, and HTTP 101)
    • -body-read-idle-timeout (30s) and -max-upload-time (10m) added for non-stream request bodies
  • Accept-Encoding passthrough & bodyless retries: Upstream transport no longer forces gzip decompression on behalf of clients; bodyless requests retry on another upstream (-upstream-retries, default 1) on connection refusal.
  • Portal MFA/RBAC enforcement: When CONCERT_PORTAL_USERS is configured, CONCERT_PORTAL_PASS is unconditionally disabled (and rejected at startup under -enterprise-hardened=true), and empty/whitespace usernames are rejected.
  • Concertfile as single source of truth: When -config is active, Portal permits bans and temporary badged emergency cap overrides without shadowing the config file on restart.

What's New

1. The Concert Suite (8 Static Binaries)

  • concert (cmd/concert): Lean HTTP/HTTPS/HTTP/3 front-door with waiting room, sema capacity/asset/stream tiers, os.Root static serving, ACME HTTP-01 & DNS-01 TLS, Concertfile multi-vhost, host guardrails, Waiting Room Studio, ChatOps, OTLP tracing, and bench.
  • wpconcert (cmd/wpconcert, -tags wordpress): Adds pure-stdlib FastCGI (fcgi://, fcgi+unix://), WordPress/WooCommerce preset (-wp-preset / preset wordpress), anonymous GET micro-cache (internal/microcache) or external concert-cache, and wpconcert doctor / wpconcert init PHP-FPM pool auto-sizing (internal/wp) — zero blockchain/gRPC/mesh dependencies.
  • econcert (cmd/econcert, -tags "wordpress,enterprise"): Full open-source enterprise superset (edge/leaf hop mesh, concert-kv / Redis HA, RBAC/MFA/SSO, audit log, transactional mailer, 4-chain Fast-Lane & AI Agent Pass Bidding).
  • concert-kv (cmd/concert-kv, internal/kv): Pure-stdlib RESP2 KV, pub/sub, WAL/snapshot, and primary/replica HA daemon replacing Redis for shared queues (-kv-shared-queue), ban sync, scheduled drops, and AES-256-GCM encrypted ACME cert sync.
  • concert-cache (cmd/concert-cache, internal/cache): Sharded LRU page-cache daemon over 0600 Unix socket or TCP/TLS/mTLS with shared-secret auth, tag/prefix/URL purge (POST /_room/cache/purge), and /_cache/metrics.
  • concert-watchdog (cmd/concert-watchdog, internal/watchdog): External health, RSS/FD, and recovery supervisor (integrated into installer.sh via CONCERT_WATCHDOG=1) that distinguishes origin outages from Concert faults.
  • bench-concert (cmd/bench-concert, internal/bench): Lemmings origin capacity crawler (capacity.json + failure breakdown report) and 100k-connection mixed human + flood fairness soak harness (-profile soak-100k -mix-real-and-flood).
  • concert-client (cmd/concert-client): Expanded reference non-custodial AI agent CLI supporting --wait, --nft, --direct, and automated 4-chain pass bidding (--bid, --max-bid, --bid-chain, --bid-asset).

2. Waiting Room Core, Self-Healing Liveness & Studio

  • sema v1.3.0 & room v1.9.0 upgrades:
    • Strict non-draining SetCap across the waiting room, global asset pool, stream semaphore, and 7-rank priority lane (O(1) bitmask rankedSem), surfacing cap_draining metrics and removing the old SafeShrink workaround.
    • sema.PrioritySemaphore for global asset, static offload, and leaf hopFastPath admission (checkout/staff > lane-ranked/paid > admitted > public).
    • O(log N) treap-backed token store and ghost ledger, parallel RLock /queue/status polling, lazy min-heap reaping, and automatic post-spike compaction.
    • Verify-only Ed25519 split mode (-room-verify-keys, -room-scope, -room-signed-max-ttl, -room-lease-fraction): stateless rm1 VIP pass and signed lease verification with zero Redis and zero private keys on serving replicas.
  • Self-healing queue & operator controls:
    • Branded HTML 503 busy page (web/busy.html, strict CSP, Retry-After + jitter auto-retry, optional -busy-html override) and fixed JSON 503 passthrough for API/agent clients.
    • Live operator queue clear (POST /_room/queue/clear & Portal POST /api/queue/clear, "stale" and "all" modes) without adding cleared visitors to the 403 kick blocklist, plus -clear-queue-on-start and snapshot staleness eviction.
    • concert_admit session continuity (-admit-session-continuity=true) and explicit waiting-room signal headers (X-Concert-Queue: 1, X-Concert-Position, Retry-After, X-Concert-Status-Url).
  • Waiting Room Studio & i18n (internal/waitingroom, internal/i18n): 5 layouts, 10 WCAG themes, YouTube video embeds, EWMA ETA estimation, dynamic CSP generation, and 19 embedded locales including RTL.
  • Scheduled Drops (internal/drop): Pre-queue lobby (PhaseIdle → PhaseLobby → PhaseShuffling → PhaseOpen) using a cryptographically unbiased CSPRNG Fisher-Yates shuffle (crypto/rand.Int).

3. Declarative Config, Static Serving, FastCGI, TLS & HTTP/3

  • Concertfile / .json (internal/configfile): Caddyfile-inspired multi-vhost config with per-host isolated waiting rooms, route {}, header, redirect, scheduled drops, atomic SIGHUP / POST /api/reload rollback, and Portal multi-site switcher (GET /api/sites, ?site=<host>).
  • Native static offload (internal/static): os.Root-confined local file serving (-static-root, -static-mounts), fail-closed extension allowlist, hardcoded dotfile/script/secret denial, .br/.gz precompressed sidecars, stdlib gzip, ETag/304, and Range (206).
  • Pure-stdlib FastCGI (internal/fcgi): Direct PHP-FPM proxying with WordPress try_files, /wp-admin slash redirect, fast 404 for nonexistent *.php probes, 403 execution guards (/wp-content/uploads/*, /wp-config.php), httpoxy Proxy stripping, right-to-left REMOTE_ADDR, and underscore header blocking.
  • TLS & HTTP/3 (internal/acme, http3.go): :80 → :443 ACME HTTP-01 + redirect listener (-tls-http-listen), pure-stdlib ACME DNS-01 wildcard certificates, and opt-in QUIC HTTP/3 (-http3 / http3 on) with Alt-Svc.

4. Two-Tier Edge/Leaf Mesh & Enterprise Operations

  • Edge/Leaf topology (internal/hop, internal/capacity, internal/server/topology.go):
    • Signed Concert-Hop claims with single-use 16-hex nonces verified against a 256-shard O(1) FIFO ring replay cache (-hop-replay-guard, -hop-replay-max, fail-closed under -enterprise-hardened).
    • Native leaf listener mTLS (-tls-client-ca, -hop-require-mtls, -tls-require-client-cert).
    • Traffic-weighted multi-edge HA (?demand=<n> + hop.AllocateShares), automatic edge capacity sizing (-hop-auto-cap), ban mirroring (hop-bans.json), silence detection (silence.jsonl), and drained on-demand re-benchmarking (POST /_room/rebench with last-healthy-leaf 409 guard).
  • Security, Compliance & Governance: RBAC, Argon2id + TOTP MFA, SSO, tamper-evident hash-chained audit.jsonl, -enterprise-hardened fail-closed mode, privacy IP anonymization & DSAR erasure.
  • Host Protection Guardrails (internal/guard): Per-IP queue caps (-max-queue-per-ip, -allow-max-queue-per-ip), memory ceiling protection (-host-max-mem-mb), and PoW / Turnstile challenges (-challenge-mode pow|turnstile).
  • Notifications & Observability (internal/mailer, internal/notify, internal/telemetry):
    • Zero-dependency transactional email mailer (SMTP, Resend, SendPanda) with AES-256-GCM secret storage, live MX/SPF/DMARC/DKIM verification, coalescing digest queue, Redis/KV cluster alert deduplication, and RFC 8058 one-click unsubscribe.
    • ChatOps webhook notifications and pure-stdlib W3C Trace Context + async OTLP/HTTP JSON span exporter.

5. Crypto-Only Fast-Lane, Mainnet Readiness & AI Agent Pass Bidding

  • 100% crypto-only across XRPL, Stellar, Hedera, and Solana: Production mainnet readiness checks, multi-chain token/NFT verification (xrpl/tokens.go, stellar/tokens.go, hedera/tokens.go, solana/spl.go), and Direct QR payments (internal/fastlane/direct.go).
  • Non-custodial AI Agent Pass Bidding (internal/bidding): Hybrid instant-buy + timed sealed-bid clearing epochs on /_concert/bids that verify x402 v2 authorizations off-chain, settle only winners on-chain, promote runners-up on settlement failure, and drop losing bids unsettled (losers pay $0, zero custody).
  • Zero-downtime Fast-Lane ops: Live online /reconcile (Portal + Admin API), latched 80%/95% max_records journal alerts, O(1) two-list LRU wallet rate limiter, and audited offline concert archive-receipts.

6. Client SDKs, Packaging, Containers & Docs


Upgrade Notes (v0.1.0 → v1.0.0)

  1. Choose your edition binary: Use concert for lean HTTP/HTTPS/static waiting rooms, wpconcert for WordPress/PHP-FPM + micro-cache, or econcert if you use Fast-Lane, RBAC/SSO, mailer, or edge/leaf mesh.
  2. Update build/install scripts: Point go install / go build to ./cmd/concert (or ./cmd/wpconcert / ./cmd/econcert) on Go 1.27.4+.
  3. Review new default timers: Verify -reaper (10s), -ready-grace (30s), -idle-poll-ttl (45s), -upstream-timeout (60s), and -upstream-body-idle-timeout (30s) match your origin's response profile (exempt long-lived streams via -stream-paths).
  4. Portal auth migration: If you enable CONCERT_PORTAL_USERS, remove CONCERT_PORTAL_PASS from your environment (it is ignored, and rejected under -enterprise-hardened=true).

Full Changelog: v0.1.0...v1.0.0