🦙🤖 v0.1.15
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
-
Robust WebSocket Scheme Normalization
-
ChatChannel
now intelligently infers the correct scheme:- Keeps
ws://
orwss://
if already correct. - Converts
https://
→wss://
andhttp://
→ws://
. - Defaults to
ws://
in development andwss://
elsewhere when the URL is missing or unrecognized.
- Keeps
-
Ensures secure connections in production by default and prevents common misconfiguration errors when passing URLs from env vars or user input.
-
-
Environment Variable Support
- Added note to dev logs to surface a dedicated
.env
entry for overriding the default WebSocket scheme when needed.
- Added note to dev logs to surface a dedicated
-
Version Bump
VERSION
constant updated from0.1.14
to0.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.