Skip to content

v1.8.0

Choose a tag to compare

@naveenraj-17 naveenraj-17 released this 07 Jul 19:13
Immutable release. Only release title and notes can be modified.
c07251a

Synapse v1.8.0 — Reliability & release quality

This release is about making Synapse safe to ship and hard to break. It adds a
comprehensive backend test suite, gates every release on those tests, validates
all installation paths in CI, and fixes an npm packaging-hygiene issue.

No breaking changes. Drop-in upgrade from 1.7.x.

🧪 Comprehensive test suite

A new backend/tests/ suite (321 tests) covers the full API surface and the
core flows end-to-end:

  • Agent chat and agent chat stream (SSE)
  • Orchestration chat and orchestration chat stream (SSE)
  • /api/v1 (in-process) and /api/v2 (distributed) external APIs
  • Every app route, plus auth, validation, backpressure (429/503), and adversarial
    edge cases (revoked keys, path traversal, malformed model output, oversized input)
  • Real LLM calls are replaced by a deterministic fake, so the suite needs no API
    keys and no network
  • Stress tests simulate 5–90s LLM latency under concurrent load, including the
    SSE streaming + reconnection path

🚦 Releases are now gated

  • The full test suite must pass before anything publishes to PyPI, npm, or
    Docker Hub
    — a failing test aborts the release.
  • Version consistency (pyproject.toml == package.json == tag) is enforced.
  • The exact built wheel is installed and the CLI is smoke-run before upload.

🧰 Installation validated in CI

Every install path is now exercised automatically:

  • pip (wheel + sdist, Python 3.11/3.12/3.13)
  • npm (package contents + launcher)
  • Docker image builds (Dockerfile, Dockerfile.backend, Dockerfile.worker)
    with a live API-server health check
  • docker-compose config for the default, scale, and enterprise profiles
  • A nightly job brings up the full stack and stress-tests it

📦 Packaging fix

  • The npm package no longer risks shipping stale Python bytecode
    (__pycache__/*.pyc); a prepack step now cleans it and CI enforces it.

⬆️ Install / upgrade

# pip
pip install --upgrade synapse-orch-ai
synapse start

# npm
npm install -g synapse-orch-ai
synapse start

# Docker
docker pull synapseorchai/synapse-ai:latest

# existing install
synapse upgrade

Full Changelog: v1.7.9...v1.8.0