Repository navigation
Releases
v0.6.0
- Require vgi-python >=0.55.2,<0.56 (protocol vgi.v3 / 3.4). This release
needs Haybarn 2.0.1, whose community vgi extension speaks 3.4; Haybarn
2.0.0 loads a 3.3 extension that cannot attach it. - SQL tests run on haybarn-unittest 2.0.1rc3.
serveextra = vgi-python[http,oauth]; the Docker image installs it, so
it runs in Orchard hosted mode (VGI_ORCHARD_HOSTED=1 with VGI_JWT_ISSUER,
VGI_JWT_AUDIENCE, VGI_JWT_JWKS_URI and VGI_SIGNING_KEY). The HEALTHCHECK
uses HEAD /health, which stays anonymous in hosted mode.- README quick-start tags point at v0.6.0; README notes the Haybarn 2.0.1
requirement.
v0.5.2
v0.5.1
Bump vgi-python to 0.52.2 (VGI protocol 3.3, unchanged). No worker-visible SQL changes.
v0.5.0
Analyze ordered numeric rows directly with all five anomaly detectors through VGI table buffering.
SELECT *
FROM anomaly.zscore_anomalies(
(SELECT reading FROM readings ORDER BY ts),
threshold := 3.0
);- Adds table-input forms of
matrix_profile,discord_index,motif_index,change_points, andzscore_anomalies, returning ordinary result rows. - Supports named
window_size,n_bkps, andthresholdparameters. Existing array-based scalar calls remain supported. - Preserves series order across input batches using execution-scoped storage and enforces the sample limit during ingestion.
- Updates documentation and adds SQL/RPC coverage for multi-batch inputs, streamed results, numeric types, and invalid inputs.
- Requires
vgi-python>=0.51.1, speaking VGI protocol 3.3; use a matching VGI DuckDB extension.
Full changelog: v0.4.0...v0.5.0
v0.4.0
Speaks VGI protocol 3.3 (vgi-python 0.51.0) and requires the current VGI DuckDB extension; 3.2 extensions are incompatible.
v0.3.0
Port to VGI protocol 3.2: vgi-python 0.49.0 -> 0.50.0 (vgi-rpc 0.53.1 unchanged). Catalog metadata updated for vgi-lint-check 2.2: short schema title (VGI147) and a one-sentence catalog subtitle (VGI148).
v0.2.1
Cap requires-python <3.14 (ruptures has no cp314 wheels) so uvx installs from GitHub use 3.13 and prebuilt wheels.
v0.2.0
Ported to VGI protocol vgi.v3 / 3.1, which requires haybarn 2.0 (the community vgi extension for haybarn 2.0). SDKs: vgi-python 0.49.0, vgi-rpc 0.53.1. CI now runs on haybarn 2.0 and uses vgi-lint-check v2.
v0.1.0
First release of vgi-anomaly — time-series anomaly detection for DuckDB/SQL via VGI.
Highlights
- Matrix-profile motif/discord discovery (
stumpy), change-point detection (ruptures), and z-score point outliers (numpy) as composable DuckDB scalar functions over aDOUBLE[]series. - Functions:
matrix_profile,discord_index,motif_index,change_points(auto or fixedn_bkps),zscore_anomalies. - Ships a multi-arch container image at
ghcr.io/query-farm/vgi-anomaly(:0.1.0/:latest), serving HTTP (/health+ VGI RPC) and stdio.
Assets
sdist + wheel are attached by the release workflow (CI-gated). PyPI publishing is available opt-in via PYPI_PUBLISH.