Skip to content

v0.3.1

Latest

Choose a tag to compare

@rahulv8 rahulv8 released this 03 Dec 11:19
· 1 commit to main since this release
7c143ed

Fixes only, from testing v0.3.0 on a fresh VM and a GKE cluster. No new features and no database migration.
Images are published for linux/amd64 and linux/arm64.

Install

Docker (Compose)

curl -sSL https://raw.githubusercontent.com/rsync-ai/rsync.ai/v0.3.1/install.sh | bash

Re-running it on an existing install upgrades it to v0.3.1 and keeps your data and your .env.

Upgrading a Docker install from v0.3.0: one extra step. The upgrade leaves the connector containers rsync.ai started on demand running v0.3.0 code, so the connector fixes below don't apply until they restart. After install.sh finishes, remove them once:

docker ps -a --format '{{.Names}} {{.Image}}' | awk '$2 ~ /^mcp-/ {print $1}' | xargs -r docker rm -f

rsync.ai rebuilds each one the next time a pipeline uses it. In our test, a running CDC pipeline picked up again by itself. Helm installs don't need this step.

Kubernetes (Helm): one command. It sizes the install to your cluster. For this release, pass the chart version:

curl -sSL https://raw.githubusercontent.com/rsync-ai/rsync.ai/v0.3.1/install-k8s.sh | RSYNC_CHART_VERSION=0.3.1 bash

Without RSYNC_CHART_VERSION=0.3.1, the script at the v0.3.1 tag still installs chart 0.3.0.

You can also pull the chart directly: helm pull oci://ghcr.io/rsync-ai/charts/rsync-ai --version 0.3.1.

Security

  • A forged X-Forwarded-For no longer resets the sign-in rate limit. The API trusts a forwarding header only from RSYNC_TRUSTED_PROXY_CIDRS; empty means the TCP peer. When you tell install.sh a TLS proxy sits in front, it sets loopback plus the Docker bridge, which covers a proxy on the same host. In Helm the value is apiGateway.trustedProxyCIDRs. v0.3.0 believed every proxy, so a rotating header got a fresh 10-attempts-per-15-minutes bucket.
  • A viewer's connection or PII write is refused with 403 before its body is read. It used to get a 400 that listed the request's required fields.

Fixed

  • A chat pipeline writes the table you named. "the accounts table in Shop" no longer writes to a table called in. The table is read from within one sentence, and words such as in, on and of are skipped. A CDC sink restart now pins the same table as the run; before, it wrote changes under the source table's name.
  • A batch copy writes binary columns as bytes. The Postgres, MySQL, SQL Server, Oracle, Snowflake and ClickHouse destinations decode the source's binary encoding. v0.3.0 stored its JSON text, so a BYTEA column held {"__binary_base64__": …}. Databricks, Redshift, BigQuery, MongoDB and object-store destinations are not fixed yet.
  • A MySQL BIGINT UNSIGNED column becomes a numeric column, not BIGINT. v0.3.0 made it BIGINT, so every row of a table holding an id above 2^63-1 went to the dead-letter queue. Such ids still don't copy exactly: values above 2^53 are rounded (see Known issues). The CHANGELOG at the tag says this column "copies whole"; that is wrong. A destination table v0.3.0 already created keeps its BIGINT column. Batch only; MySQL CDC is not fixed yet.
  • Restarting the platform database no longer dead-letters CDC rows. If the read of a pipeline's transform rules fails, the sink holds the offsets and retries for 300 s, then fails closed. Before, each row that arrived during the outage went to the dead-letter queue.
  • A manual run is no longer refused with EMPTY_CATALOG when the source lists its tables without a schema (the sample data does). The pre-run check now matches public.customers to customers, as the run does.
  • A refused CDC start says why. A Kafka Connect error now carries its reason, with secrets scrubbed, not just HTTP 400.
  • A wrong MongoDB password returns auth_failed, not the driver's raw server reply. A refused bulk write no longer quotes the document.
  • A Gemini key alone is enough. install.sh given only GEMINI_API_KEY points the planner and the connector generator at Gemini's OpenAI-compatible endpoint and writes the key for Ask. v0.3.0 ignored it and installed with no model.
  • Generating a connector from a spec URL works when the spec's server URL is relative (servers: [{url: /api/v3}]). The URL now resolves against the spec's host. A pasted spec with no host is refused, and the error names base_url.
  • install-k8s.sh names a volume claim the cluster won't create, with its reason, and says how to fix it. It used to fail after 15 minutes with helm's context deadline exceeded.

Docs

  • docs/connectors/cloud-storage-config.md §3 describes the storage-isolation guard that ships.

Tested

We upgraded the v0.3.0 test installs to v0.3.1 and re-ran each finding against them: Docker Compose on a GCP VM and Helm on a one-node GKE cluster, with Postgres, MySQL and MongoDB sources.

Known issues

  • A batch copy rounds whole numbers above 2^53 (9,007,199,254,740,992), from any source. A value is stored rounded without an error, and ids that round to the same value merge into one destination row. v0.3.0 does the same for signed BIGINT values.
  • After a run lands only part of a table, an incremental pipeline can skip the missing rows. If the destination writes fewer rows than it received without reporting an error, the run fails but keeps its resume point, so the next run reads only newer rows and reports completed. A Reload re-reads the table.
  • A Docker upgrade doesn't restart on-demand connector containers. See the upgrade step under Install.
  • A batch run whose rows all went to the dead-letter queue reports none lost. The table shows degraded, but its dead-letter count reads 0.
  • Transforms step with "Select entire database": when a pipeline is built in /chat this way, the Transforms step can say "No schema information available for selected tables". The same dialog can also say the selection "spans multiple source schemas" when there is one. Continue without transforms works, and the pipeline runs.
  • docker compose down -v leaves five anonymous volumes from Kafka Connect behind.
  • Connector containers that rsync.ai starts on demand keep running after docker compose down.