Skip to main content

Terragnos Core Engine v1 Release Notes

Ready functions

  • Multi-tenant API: RLS policies protect the objects, object_attributes, object_geometries and event_log tables, the Nest API automatically sets the tenant context for each query.
  • Object lifecycle: REST + GraphQL CRUD, workflow assignment and transition endpoints. The worker writes events to the audit log in a hash-chain compatible structure.
  • Layer service: Retrieving a GeoJSON layer with a parameterizable field list (fields query parameter), implicitly returns all object fields.
  • Rule & Query Engine: Rule engine with basic rules (equals, notEmpty), query builder with extended bbox support (ST_Intersects envelope generation).

Testing

  • Unit: RequestContextService, query-builder (eq, bbox) and rule-engine packages.
  • Integration: Object lifecycle test running on a Docker PostGIS instance, which covers the object creation → workflow → worker audit log chain and the layer API response. If Docker is not available, the test is automatically skipped.

Release checklist

  • pnpm install
  • pnpm db:migrate
  • pnpm dev:api / pnpm dev:worker
  • Tests: pnpm test --filter @terragnos/query-builder, pnpm test --filter @terragnos/rule-engine, pnpm test --filter @terragnos/api (Docker required for the latter)

The functions and checklist of the v2 release are available in the docs/releases/v2.md file.