Repository navigation
Releases
v0.5.0
Speaks VGI protocol 3.4 (vgi-python >=0.55.2,<0.56), so it needs Haybarn 2.0.1 or newer (or stock DuckDB 2.0 with INSTALL vgi FROM query_farm). Haybarn 2.0.0 loads a 3.3 vgi extension that cannot attach it.
- Speaks VGI protocol 3.4: require vgi-python
>=0.55.2,<0.56; uv.lock re-locked. This release
needs Haybarn 2.0.1 (or stock DuckDB 2.0 withINSTALL vgi FROM query_farm): Haybarn 2.0.0
loads a 3.3vgiextension that cannot attach it. - SQL tests run on haybarn-unittest 2.0.1rc3.
serveextra isvgi-python[http,oauth]; the Docker image installs it, so the image runs in
Orchard hosted mode (VGI_ORCHARD_HOSTED=1with VGI_JWT_ISSUER, VGI_JWT_AUDIENCE,
VGI_JWT_JWKS_URI and VGI_SIGNING_KEY). The HEALTHCHECK usesHEAD /health, which stays
anonymous in hosted mode.
v0.4.3
v0.4.2
Fixed
- The worker now detects PII when installed the way the README says
(uvx --from git+https://github.com/Query-farm/vgi-pii@<tag> vgi-pii-worker).
Theen_core_web_smspaCy model was pinned through[tool.uv.sources], which
uvx --from git+...and pip ignore, so the model was never installed. Presidio
then tried to download it at runtime: the worker either exited during ATTACH
(no pip or uv on PATH) or returned no entity types and detected nothing. The
model is now a direct-URL[project]dependency, so every installer picks it up. - If the model is missing anyway, detection raises a
ModelNotInstalledError
that says how to install it, instead of silently returning empty results.
The worker never downloads a model at runtime.
v0.4.1
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. No worker-visible SQL changes: entity_types stays a table and supported_entities() stays a callable table function.
v0.3.0
Ported to VGI protocol 3.2: vgi-python 0.49.0 -> 0.50.0 (vgi-rpc stays at 0.53.1). Requires haybarn 2.0's community vgi extension; not compatible with haybarn 1.5 / vgi.v2.
Metadata fixes for vgi-lint-check 2.2: the main schema's vgi.title is now the short name "PII Functions" (VGI147), and the catalog gains a one-sentence vgi.subtitle (VGI148).
v0.2.0
Ported to VGI protocol 3.1 (vgi.v3) / haybarn 2.0: vgi-python 0.46.1 -> 0.49.0, vgi-rpc 0.52.0 -> 0.53.1. This release requires haybarn 2.0's community vgi extension; it is not compatible with haybarn 1.5 / vgi.v2.
v0.1.0
First tagged release of vgi-pii — PII detection + redaction (Microsoft Presidio) as a VGI worker for DuckDB/SQL.
- Scalars: has_pii, redact, anonymize, pii_types (positional-only, optional trailing language)
- Table functions: detect_pii (per-entity offsets + confidence), supported_entities
- Browsable entity_types discovery table
- Ships a multi-arch container image: ghcr.io/query-farm/vgi-pii:0.1.0 (http + stdio)
Installable sdist + wheel are attached by the release workflow.