Skip to content

App v0.3.12

Choose a tag to compare

@github-actions github-actions released this 27 Feb 17:15
· 54 commits to main since this release
746feff

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 ws as 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:// and wss:// 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 afterSeq for seamless reconnection
  • Protocol version bumped to 1.1 with WebSocket feature flags
    SDK (@t-req/sdk v0.1.3)
  • Regenerated with full WebSocket endpoint support
  • New typed WebSocket helpers:
    • connectObserverWs() - Observer pattern WebSocket connection
    • connectRequestWsSession() - Connect to specific request session
    • executeAndConnectRequestWs() - Execute and connect in one call
  • Built-in reconnect/resume support with afterSeq tracking
  • 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 OptionDefinition and ParseContext for 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 /event flows continue to work
  • Protocol v1.1 WebSocket .http definitions 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 | bash

npm

npm install -g @t-req/app

Manual 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)