Repository navigation
0.12.1
Breaking Changes
- Dropped schema discovery for CSV files:
LIKE `data.csv`now fails at compile time. Declare the columns in theCREATE TABLEstatement and use thefilesystemconnector with'format' = 'csv'instead. Schema discovery still works for JSONL files (#2476) - Copied data files unchanged. Before, the first line of every
.csvfile was dropped, header or not, so a CSV file without a header row lost its first record. The compiler now warns when the first line of a CSV file looks like a header row (#2476) - Removed the
flexible-csvformat (Flink SQL Runner0.12.1). Switch to'format' = 'csv', renameflexible-csv.*options tocsv.*, and dropskip-header(DataSQRL/flink-sql-runner#421) jsonb_arrayandjsonb_objectnow treat a singleARRAYargument as one value:jsonb_array(ARRAY[1, 2, 3])returns[[1,2,3]]instead of[1,2,3], andjsonb_object(ARRAY['k', 'v'])fails instead of returning{"k":"v"}(DataSQRL/flink-sql-runner#419)
Important
Flink reads every line of a CSV file as data. For every CSV source, move the column names from the header row into the CREATE TABLE statement and remove the header row from the file. See Inferring Schema from Data Files for an example.
Features
- Exposed generated operations with nested input (input objects or lists of them, e.g. mutations for tables with nested rows) as MCP tools by default. Use
@api(mcp: NONE)to opt an operation out. Already compiled plans keep their MCP settings until they are recompiled (#2499) - Taught the agent to compute the timestamp of a join result from both sides with
GREATEST, so the PostgreSQL sink no longer skips updates of joined rows (#2490) - Taught the agent to leave index selection to the compiler, and moved the index hint guidance into a guide the agent reads only for a slow query, so it no longer adds unneeded
indexhints (#2495) - Taught the agent how the compiler matches a custom GraphQL schema to SQRL relationships (#2482)
- Taught the agent to write doc-strings for API consumers, and to describe operations with
#comments instead of""", which fails to compile (#2501) - Taught the agent to use data files instead of
datagenfor streaming tests, so snapshots are stable across runs (#2492) - Taught the agent to declare CSV columns and remove header rows, and to check the header-row warning against the declared columns, since a data row can trigger it too (#2476, #2498)
Fixes
- Kept queries without arguments as REST endpoints, MCP tools, and OpenAPI paths instead of silently dropping them, a regression since
0.11.2(#2494) - Accepted
IDandJSONGraphQL mutation inputs forSTRINGcolumns and allowed omitting nullable columns from mutation inputs, fixing compile-time regressions from the mutation input validation added in0.11.7(#2489) - Resolved relationship fields of a custom GraphQL type on the base table of the function that returns it, so the type no longer needs the name of the table that owns the relationships. A type returned by functions whose base tables resolve its relationship fields differently now fails to compile instead of silently returning
nullfor some of them, and theUnknown fielderror names the type and the looked-up relationships (#2500) - Treated an explicit
nullon an optional argument as omitted in MCP and REST requests, at any nesting depth, instead of failing validation (#2499) - Used the origin of the configured
oauthConfig.resourcefor theresource_metadataURL in theWWW-Authenticateheader, so it matches the discovery metadata behind a TLS-terminating proxy (#2497) - Defaulted the
core-agentimage to Pi's default model of the selected provider, so it starts withoutPI_MODELinstead of failing with--provider requires --model(#2480) - Added the missing
xxlargeTaskManager size to theconfigure-sqrlskill (#2481)
Documentation
- Fixed the operation description syntax in the API docs: a
"""description before an operation fails withInvalid syntax, so the example now uses a#comment (#2501) - Documented declaring CSV sources (#2476) and how relationship fields of a custom GraphQL schema resolve on the base table (#2500)
Maintenance
- Updated Flink SQL Runner to
0.12.1, which also fixes shiftedTIMESTAMP_LTZvalues injdbc-sqrlon a JVM that does not run in UTC, and lost updates with an equal timestamp under'sink.on-conflict.action' = 'timestamp'(see its release notes) - Updated Pi from
1.0.3to1.3.0in the agent image (#2479) - Updated Immutables, Vert.x Maven Plugin, Central Publishing Maven Plugin, and Node.js
- Set the Flink session time zone in internal tests instead of the JVM
TZ, so test results no longer depend on the time zone of the machine (#2502)
Full Changelog: 0.12.0...0.12.1