Repository navigation
v0.2.0
Release Notes — v0.2.0
Highlights
This release is about trust and reliability: making sure data stays where it's supposed to, permissions mean what they say, deployments succeed on a normal AWS account, and errors surface instead of hiding. It closes 17 bugs filed against v0.1.0 — including a cross-namespace data leak, an authorization bypass, and several deploy-breaking issues — plus adds two new source connectors and smarter metric validation.
⚠️ Upgrade Instructions (from v0.1.0)
This release changes how stacks talk to each other internally (moving from direct CloudFormation references to SSM parameters), which requires a two-step deployment when upgrading an existing v0.1.0 environment:
# Step 1: Deploy the stacks that now read the new SSM parameters
cdk deploy coa-dev-mcp coa-dev-serve coa-dev-api --require-approval=never
# Step 2: Deploy everything else
make deploy-devIf you run a single make deploy-dev against an existing v0.1.0 environment, it may fail with dependency-ordering errors. Doing it in two steps lets the first deploy remove the old connections before the second deploy relies on the new ones.
What's New
New source connectors
- Oracle and Snowflake are now fully supported. Both were previously hidden behind a preview flag while we fixed underlying issues (including a parameter-binding bug in the Oracle driver,
DPY-4009). They're now on by default for everyone. - Redshift Serverless as a query engine for Glue/Iceberg sources. If your data lives in Glue-backed tables, you can now point queries at Redshift Serverless instead of Athena — set
executionEngine=REDSHIFTandredshiftWorkgroupwhen onboarding the source. This includes automatic SQL translation between query engines and the same security checks (SQL firewall) as every other query path.
Smarter metric validation
- Publishing a metric no longer gets blocked by a false alarm. Validation now distinguishes between things that are genuinely broken (missing data source, disallowed SQL, a table that doesn't exist — these are still rejected outright) and things that are ambiguous at authoring time but already double-checked when the metric is actually queried (these now publish with a warning instead of a hard failure). Security enforcement at query time is unchanged — nothing gets less safe, but fewer valid metrics get rejected for the wrong reasons.
Better visibility into safety systems
- New CloudWatch metrics for guardrail decisions (
GuardrailInvocations,GuardrailBlocked,GuardrailLatency), so you can see how often content is being blocked and how long those checks take, across both the batch ingestion path and live query serving.
Bug Fixes
Security & Access Control
- Fixed a cross-namespace data leak in ontology caching. Fetching a cached ontology file could write it to a shared location instead of the requesting namespace's own storage, meaning one namespace could potentially read another namespace's cached data. Action needed: if you loaded any "foundational" ontologies before this fix, re-load them (delete and reload via the UI, or
POST /ontology/foundational/{key}/load) so the cached files move into the corrected, namespace-scoped storage. - Fixed a permissions bug where a broad viewing role silently overrode stricter data restrictions. Users granted the platform-wide
platform-viewerrole were unexpectedly able to bypass namespace-level column and table restrictions meant to protect sensitive data (e.g., PII). (#17) - Fixed silently-dropped permissions at scale. Large permission sets (over 1MB) were only partially read due to a missing pagination step, which could cause intermittent "access denied" errors or, worse, restrictions that should have applied silently not being enforced. (#18)
- Fixed a safety check that never actually ran. A guard meant to stop bulk-approving items still pending review was placed after the step that already cleared their pending status — so it could never catch anything. (#7)
Ontology (Data Modeling) Engine
- Failures now fail loudly instead of quietly producing wrong results. If the AI model used for matching your tables to known concepts ("grounding") hit an infrastructure error, the system used to silently treat that as "no match found" — producing a technically valid but incorrect ontology. It now raises a clear error and stops the job instead of handing you a plausible-looking wrong answer. We also added a configurable output-length setting so this step doesn't run out of room mid-response on newer reasoning models.
- Fixed two similarly-named tables silently merging into one. Tables like
order_itemandorder-itemused to collapse onto the same internal identifier, quietly merging what should have been two distinct tables into one. Each table now gets a guaranteed-unique identifier. (#14) - Fixed inconsistent handling of foreign key references, which could point schema-qualified references (e.g.
schema.table.column) at the wrong internal mapping, silently breaking those relationships. Six different places in the code used two conflicting conventions; they now share one correct implementation. (#15) - Fixed multi-column foreign keys losing data for all but the first column. When a relationship spanned multiple columns, only the first was actually wired up to return data — the rest looked configured but returned nothing. (#16)
- Fixed a data type conversion that could corrupt values. A SQL rewriting step could alter the literal representation of a value in a way that wasn't reversible, rather than preserving its original form. (#13)
Data Ingestion (Sources & Documents)
- Fixed sources getting permanently stuck. If a background scan job crashed or was forcibly stopped rather than completing normally, the source could be left in a limbo state — unable to be deleted or re-scanned. A new safety-net job now detects these stuck states and cleans them up automatically.
- Fixed document deletion hanging indefinitely. Deleting a document source could hang if the underlying search index for it was never actually created (e.g., because the initial build failed). Deletion now completes cleanly in that case instead of timing out.
- Fixed silent data loss on scanned-but-empty documents. Files that produced no extractable text (common for image-heavy PDFs) were being staged as if they'd succeeded, then silently dropped later — with no warning. They're now correctly flagged as skipped with a warning message. (#35)
Query & Retrieval (Serve)
- Fixed retrieval timeouts being too aggressive under load. The timeout for one of the search strategies was hardcoded, causing false failures when the underlying database was briefly slower than usual. It's now configurable.
- Fixed a gap where unmapped data could appear in query results. One query strategy was missing a filter — already applied elsewhere — that keeps queries from referencing tables/classes that were never actually wired to a real data source. (#8)
Authentication
- Fixed login failures for non-Amazon identity providers. Users signing in via Okta, EntraID, or Auth0 (instead of Amazon Cognito) could hit authentication errors due to assumptions in the token-checking logic that only held true for Cognito. Additionally, some enterprise single sign-on usernames were too short to satisfy a downstream length requirement and are now padded consistently.
Deployment & Infrastructure
- Fixed deploys failing on standard AWS accounts. The deployment assumed a specific admin IAM role existed by default; accounts without that exact role would fail partway through rather than at the start. There's now an early check with a clear error message, plus a documented way to specify your own admin role. (#49)
- Fixed deploys failing on accounts with lower Lambda quotas. A new environment variable and preflight check catch accounts with reduced Lambda concurrency limits up front, instead of failing several stacks into the deploy. (#48)
GET /healthnow actually responds. The health-check endpoint was defined in the API but never wired up, so it returned a generic "not implemented" error instead of confirming the service was alive — undermining its purpose as a load balancer / uptime check. (#55)- Removed an API endpoint that was never implemented, rather than leaving it in the contract returning a permanent error. (#55)
- Fixed a naming mismatch between shell scripts and infrastructure code that made the teardown script silently skip its cleanup step. (#12)
- Fixed stale code being deployed without warning. The system that decides whether a Lambda function's code changed wasn't accounting for dependency changes, non-Python files, or CPU architecture — so some updates weren't actually picked up on redeploy. (#10)
- Fixed a rare case where infrastructure updates could disable the wrong IAM role during a specific type of resource replacement. (#6)
Control Plane
- Fixed namespaces silently disappearing from listings. Listing namespaces only read a single page of results, so accounts with enough namespaces could have some missing from the list without any error. (#9)
AI Chat & Streaming
- Fixed streaming responses getting stuck on cancel. Canceling or timing out a streamed AI response could hang instead of cleanly stopping. Also fixed non-streaming responses only returning the first chunk of a multi-part answer instead of the full response. (#11)