• feat: auto-start embedded NATS server in New()

    ryan released this 2026-02-12 18:54:44 +00:00 | 39 commits to main since this release

    Pub/sub now works out of the box — New() starts a process-scoped
    embedded NATS server with JetStream. The PubSub interface remains
    for custom backends via Config(Options{PubSub: ...}).

    • Move vianats functionality into nats.go (eliminates circular import)
    • Add NATSConn(), JetStream(), EnsureStream(), ReplayHistoryT to via
    • Delete vianats/ package
    • Simplify nats-chatroom and pubsub-crud examples
    • Rewrite pubsub tests to use real embedded NATS
    Downloads