App v0.3.12
·
54 commits
to main
since this release
Release
What's New
WebSocket Foundation Support (Protocol v1.1)
The platform now supports WebSocket connections as a first-class protocol alongside HTTP and SSE.
Core (@t-req/core v0.2.5)
- Added
wsas a first-class protocol (http | sse | ws) - New protocol options:
@ws- Mark requests as WebSocket@ws-subprotocols- Specify subprotocols@ws-connect-timeout- Configure connection timeout
- Auto-detection for
ws://andwss://URLs - Full backward compatibility with HTTP/SSE behavior
App (@t-req/app v0.3.12) - New WebSocket execution endpoint:
POST /execute/ws - Session management:
GET /ws/session/{wsSessionId} - Observer WebSocket transport:
GET /event/ws(alongside existing SSE/event) - Bounded replay support via
afterSeqfor seamless reconnection - Protocol version bumped to
1.1with WebSocket feature flags
SDK (@t-req/sdk v0.1.3) - Regenerated with full WebSocket endpoint support
- New typed WebSocket helpers:
connectObserverWs()- Observer pattern WebSocket connectionconnectRequestWsSession()- Connect to specific request sessionexecuteAndConnectRequestWs()- Execute and connect in one call
- Built-in reconnect/resume support with
afterSeqtracking - Typed envelope iteration for message handling
cURL Import Support - New typed cURL import helpers in SDK
- Full cURL importer core workflow in core package
- Structured
OptionDefinitionandParseContextfor clean configuration parsing
Enhanced HTTP Body Editing - New parse body/spans contract for JSONC-aware inline body editing
- Improved handling of JSON-with-comments format
Bug Fixes
- Fixed plugin runtime cache issue
Compatibility Notes
- Additive release: All existing
/execute,/execute/sse, and/eventflows continue to work - Protocol v1.1 WebSocket
.httpdefinitions are connection metadata only (no request body/file/form-data execution in this version) - Binary WebSocket payloads remain unsupported in v1.1
Installation
curl (recommended)
curl -fsSL https://t-req.io/install | bashnpm
npm install -g @t-req/appManual download
Download the appropriate archive for your platform from the assets below.
Changes
- chore: version packages (#95) (746feff)
- featu(app): add parse body/spans contract and jsonc-safe inline body editing (db6027a)
- Add curl importer core workflow (#77) (0cc33cf)
- feat(desktop): desktop file tree (#75) (378d1bf)
- feat(cli): add file mode support to WebSocket command (#73) (1df41aa)
- feat(app): add websocket CLI command with interactive and automation modes (#72) (dcd7e2e)
- Fix/plugin runtime cache (#71) (3d5a04d)
- docs: websocket documentation for api, sdk (8d78e06)
- feat: websocket observer transport and sdk helpers (#69) (9120305)
- feat(app): wire WS execution endpoints and control sockets (#68) (465969b)
- feat(app): add websocket session manager with replay buffer (#67) (5071a14)
- feat: add WebSocket protocol types and server API contracts (#66) (42a0f07)