Skip to content

v1.0.0

Choose a tag to compare

@gmpassos gmpassos released this 11 Jul 23:15
1f7b231

First stable release — published to pub.dev/packages/omnyhub.

OmnyHub is a reusable, protocol-agnostic HUB framework for building distributed HUB/Node infrastructures over HTTP/HTTPS/WS/WSS behind one architecture and API.

Main features

  • Multi-service hosting on one instance/port, with dynamic register/unregister.
  • Protocol-agnostic transport — HTTP/HTTPS/WS/WSS on one listener; protocol code isolated from business logic.
  • Advanced routing — host/domain/subdomain (exact, *. wildcard, or regexp), path prefix, path parameters (RouterService/ShelfService), protocol, headers, method, auth-state; composable + custom routers.
  • Reverse proxy & gateway — HTTP + WebSocket-upgrade forwarding, X-Forwarded-*, hybrid local/remote.
  • Automatic TLS — static, hot-reload file, and Let's Encrypt (ACME) with dynamic on-demand multi-domain issuance via SNI.
  • Layered authentication — global AuthCoordinator (authenticate/bypass/delegate/block) + per-service handlers + in-band ConnectionAuthenticator; Bearer/Basic/composite + role/predicate authorizers.
  • Node infrastructure — control protocol + codec, registry, discovery, heartbeat, gateway, and a node runtime with RPC and reconnection.
  • Demo CLI, examples, and design docs.
  • Tested with unit/integration/e2e over real servers and sockets (no mocking).

See the CHANGELOG.