Skip to content

Releases

v0.6.0

Choose a tag to compare

@rustyconover rustyconover released this 24 Nov 20:01

vgi-calendar 0.6.0: VGI protocol 3.4

Breaking: requires Haybarn 2.0.1 or newer. This release is built on vgi-python 0.55.0 and speaks VGI protocol vgi.v3 / 3.4. INSTALL vgi FROM community on Haybarn 2.0.1 loads the 3.4 extension. Haybarn 2.0.0 still loads the 3.3 build, which cannot attach this worker (ProtocolVersionError). Pin @v0.5.2 if you need to stay on Haybarn 2.0.0.

  • vgi-python >=0.55.0,<0.56 (vgi-rpc 0.57.0).
  • The Docker image (ghcr.io/query-farm/vgi-calendar:0.6.0) now includes vgi-python's http and oauth extras and runs in Orchard hosted mode when started with VGI_ORCHARD_HOSTED=1 plus VGI_JWT_ISSUER, VGI_JWT_AUDIENCE, VGI_JWT_JWKS_URI and VGI_SIGNING_KEY.
  • CI SQL tests run on haybarn-unittest 2.0.1rc3 over stdio, launch and http.
INSTALL vgi FROM community; LOAD vgi;
ATTACH 'cal' AS cal (TYPE vgi, LOCATION 'uvx --from git+https://github.com/Query-farm/vgi-calendar@v0.6.0 vgi-calendar-worker');

Full Changelog: v0.5.2...v0.6.0

v0.5.2

Choose a tag to compare

@rustyconover rustyconover released this 16 Nov 23:34

Full Changelog: v0.5.1...v0.5.2

v0.5.1

Choose a tag to compare

@rustyconover rustyconover released this 16 Nov 19:06

Bump vgi-python to 0.52.2 (VGI protocol 3.3, unchanged). No worker-visible SQL changes.

v0.5.0

Choose a tag to compare

@rustyconover rustyconover released this 14 Nov 02:43

Bug fixes that change results:

  • Holiday names are always English. They used to follow the host locale (e.g. "Karfreitag" under LANG=C.UTF-8).
  • observed now flags shifted holidays that carry no "(observed)" label.
  • supported_countries lists each country once (250 rows, was 501 with aliases).
  • easter(...) and holidays(...) accept BIGINT years, so easter(year(d)) binds.
  • rrule(count := 0) returns no rows (was one).

Also new: composed example queries that combine several cal functions (payment calendars, shared business days across countries, business days per ISO week, countdowns to holidays, Easter-anchored holidays).

v0.4.0

Choose a tag to compare

@rustyconover rustyconover released this 12 Nov 16:07

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

Choose a tag to compare

@rustyconover rustyconover released this 10 Nov 02:36

Ported to VGI protocol vgi.v3 / 3.2 (haybarn 2.0 community vgi extension). SDKs: vgi-python 0.50.0, vgi-rpc 0.53.1. Catalog metadata updated for vgi-lint-check 2.2: shorter display titles (VGI147) and a new catalog vgi.subtitle (VGI148).

v0.2.0

Choose a tag to compare

@rustyconover rustyconover released this 06 Nov 23:28

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

Choose a tag to compare

@rustyconover rustyconover released this 21 Jul 14:16

First release of vgi-calendar — holiday, business-day, and recurrence
calendar math for DuckDB via VGI.

Ships:

  • Installable sdist + wheel (vgi-calendar), attached below.
  • Multi-arch container image ghcr.io/query-farm/vgi-calendar:0.1.0 (also
    :0.1, :latest) serving HTTP (/health + VGI RPC) and stdio.

The cal catalog exposes holiday/business-day scalars, holiday/business-day/
recurrence table functions (RFC-5545 RRULE), Easter and ISO-week labels, and a
supported_countries discovery table. Coverage is global (hundreds of countries
and subdivisions via the holidays library); 'US' is only the default.