Skip to content

🦙🤖 v0.1.15

Compare
Choose a tag to compare
@KodyKendall KodyKendall released this 02 Aug 14:29
· 4 commits to main since this release

LlamaBot Rails Gem – v0.1.15 Release Notes (2025‑08‑01)

Overview

This patch release hardens WebSocket connectivity and formalizes version tracking. It requires no breaking changes for existing integrations.

✨ Key Changes

  1. Robust WebSocket Scheme Normalization

    • ChatChannel now intelligently infers the correct scheme:

      • Keeps ws:// or wss:// if already correct.
      • Converts https:// → wss:// and http:// → ws://.
      • Defaults to ws:// in development and wss:// elsewhere when the URL is missing or unrecognized.
    • Ensures secure connections in production by default and prevents common misconfiguration errors when passing URLs from env vars or user input.

  2. Environment Variable Support

    • Added note to dev logs to surface a dedicated .env entry for overriding the default WebSocket scheme when needed.
  3. Version Bump

    • VERSION constant updated from 0.1.14 to 0.1.15.

đź”’ Why It Matters

  • Security – Guarantees encrypted wss:// connections in production, eliminating accidental plaintext traffic.
  • Reliability – Accepts a wider range of URL formats, reducing deployment friction and “invalid URI scheme” errors.
  • Developer Experience – Zero‑config behavior in dev (ws://) and prod (wss://) means fewer environment‑specific conditionals and quicker onboarding.

đź›  Upgrade Guide

bundle update llama_bot_rails

No other changes required. Verify that any environment variables supplying WebSocket endpoints include a valid host; the gem now handles the scheme for you.

📝 Internal Log

See docs/dev_logs/0.1.15 for the full developer log entry.