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.
- Require vgi-python >=0.55.2,<0.56 (protocol vgi.v3 / 3.4); uv.lock
re-locked. 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.
- serve extra = vgi-python[http,oauth]; the Docker image installs
'.[serve]', 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 tag points at v0.5.0; CHANGELOG entry.
v0.4.3
v0.4.2
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. The sample_templates backing scan function is now hidden (table_only); query the docgen.main.sample_templates table as documented.
v0.3.0
Ported to VGI protocol 3.2. SDKs: vgi-python 0.50.0, vgi-rpc 0.53.1. Catalog metadata updated for vgi-lint-check 2.2: shorter catalog/schema vgi.title (VGI147) and a new one-sentence vgi.subtitle (VGI148/VGI149).
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-docgen — a VGI worker that mail-merges SQL query data into DOCX templates to produce filled documents (invoices, contracts, statements, letters), each returned as a BLOB for DuckDB. Backed by docxtpl (Jinja2 over python-docx) with docxcompose for multi-row merges and optional headless-LibreOffice PDF output.
Ships as:
- a PyPI-style sdist + wheel (attached below by the release workflow)
- a multi-arch container image at
ghcr.io/query-farm/vgi-docgen(:0.1.0/:latest), serving HTTP (/health + VGI RPC) and stdio transports.