Changelog
What changed in each FeatureMesh release. A release ships the featuremesh Python package, the managed registry, the serving runtime and featuremeshd together. Every breaking change comes with the rewrite to apply.
FeatureMesh is before 1.0, so any release may break a query or a stored feature. A removed or renamed form fails with a named error that points at its replacement; nothing changes meaning silently.
0.4.2 (2026-12-01)
Upgrade note: featuremeshd now checks every caller, and nothing is granted by default. Upgrade the registry, create the serving grants (featuremeshd's own account included), then upgrade featuremeshd; a daemon upgraded first refuses every call and runs no view ( Protect the port ).
Breaking changes: language
UPPERandLOWERfollow the Unicode 15.1 simple case mapping on every backend and on serving: one character in, one out, soUPPER('ß')stays'ß'. Before, results outside ASCII depended on the backend. PrestoDB, MySQL/MariaDB and RisingWave keep their native functions ( Backend compatibility ).- A query's feature chain is at most 256 features deep (
UE/QUERY-TOO-DEEP, naming the depth and the deepest feature). Split a deeper chain with a materialized step. Before, about 330 features failed with an internal recursion error. DATE_DIFFin clock units ('hour','minute', …) counts the unit boundaries crossed on every backend, as DuckDB does: 10:59 to 12:00 is 2 hours. Serving, Trino, BigQuery and Databricks counted complete elapsed units (1 hour), so batch and serving could differ by one. Plural and non-literal units are refused with a named error.ROUNDthat carries pastDECIMAL(38)isARITHMETIC-OVERFLOWon every backend,NULLunderTRY.ROUNDresult types now hold their values (more places than the scale keep every integer digit).DROP FEATURESof a source still read byFROM TABLE(src[t])or aKEYSETquery is refused (DROP-FEATURE-DEPENDENCY, naming the readers). Before, the drop succeeded and every prepared statement over that source broke at the nextRECOMPILE SERVING.- Windowed aggregates over no rows return what their grouped forms return:
COUNT_IFis 0,BOOL_AND/BOOL_ORareTRUE/FALSE, and on ClickHouseMIN,MAX,SUM,AVGand the others areNULL(they were 0 orNULL, depending on the backend). A slidingBOOL_AND/BOOL_ORframe is refused on serving (UE/WINDOW-FRAME-NOT-SUPPORTED-DIALECT).
Breaking changes: serving
- The published featuremeshd image runs only on the managed registry: it accepts a registry answer only with the registry's signature. Upgrade the registry before featuremeshd.
- Serving SQL is read-only. The statement whose rows a
/* SQL */query returns may only query (UE/SERVING-SQL-READ-ONLY); the statements before it may change only their own in-memory tables (UE/SERVING-SQL-STEP-REFUSED). No SQL reads or writes files on featuremeshd or the embedded engine (CREATE EXTERNAL TABLEon a host path used to work). - featuremeshd requires a project token on every port (HTTP, gRPC, Arrow Flight) and checks four new privileges:
EXECUTE_STATEMENT(prepared calls, at the statement's namespace),QUERY_SERVING(free-form FeatureQL, direct SQL, client plans and Flight statements, atFMonly),INSPECT_SERVING(the rows ofSHOW SERVING …) andOPERATE_SERVING(recompute, test controls,RECOMPILE SERVING,/debug/*, and the view leases featuremeshd's own account holds). Refusals are 401UE/SERVING-CREDENTIAL-MISSINGor the registry's token error, 403UE/NAMESPACE-PERMISSION-DENIEDwith the deciding rules, and 503OE/SERVING-IDENTITY-UNAVAILABLE( Serving privileges ). - Free-form queries translate as their caller: registry actions in them are authorized and recorded as the caller, not as featuremeshd.
- A Flight statement runs once:
GetFlightInfotranslates it and returns a single-use ticket for that caller;DoGetruns it. A replayed, expired or another caller's ticket is refused. SHOW PERMISSIONSlists the serving privileges: seven atFM, six elsewhere.
Breaking changes: Python library
sltest()andsltest_multi()return anSltResult, not a list of dicts: the records are inresult.records, withfailures(),summary(),ok,dataframe()andto_json()/SltResult.from_json(). Rewritefor r in client.sltest(...)asfor r in client.sltest(...).records. The/sltest*HTTP routes and MCP tools still answer with the list of records.sltest_multiis a function only:featuremesh.sltest_multi(runs, fetch_client=...), asfeaturemesh.bench_multi. TheBatchClient.sltest_multiandServingClient.sltest_multimethods are gone;fetch_clientdefaults to the first run's client.
Breaking changes: access
- Service-account and project tokens reach only their own project. Access management, billing, history and staff routes take an identity token. Before, these tokens acted as their owner there.
- Service-account tokens last 28 days by default. The caller chooses 1 to 365 days with
expires_in_dayson generate and refresh, and the console offers 7, 28, 90, 180 or 365 days. Registry tokens used to last 365 days whatever the docs said.
Behavior changes
Datakey caches are reused more strictly. A cached value is reused (
UNIONof registered days) only when every aggregate and window in it has a footprint FeatureMesh recognises; otherwise the query computes from the sources, andEXPLAINgives thereuse_reason(OWN-POPULATION,UNRECOGNISED-FOOTPRINT). TheIN/VALUESlowering of keyset SQL applies only to row-local SQL (noGROUP BY,LIMIT, window or aggregate at its top level). Both fix wrong values ( Ranges of days ).CREATE CACHES … ASreplaces a partition atomically where the backend can, and registers its rows after the build. OneMERGEon DuckDB, BigQuery and Databricks, one statement on Postgres, a transaction on Snowflake and MySQL, a staging table on Trino, ClickHouse and serving: a failed rebuild keeps the previous rows. The rows are registered by the plan's last step before the count, so a failed build registers nothing; the response'scaches[].statusisPENDINGuntil then. A client that runs the plan itself without a registry connection (pip 0.4.1 and older) still gets them registered at compile time. A build that binds too few days for a window registers nothing and warnsCACHE-BUILD-NO-COMPLETE-PARTITION.A stream record without one of its declared fields is a data error (
HOOK-RECORD-MISSING-FIELD): counted, sampled and skipped, never run withNULLin its place. Send the field asnullwhenNULLis meant.SHOW SERVING STATUSsays when calls fail: a source whose reads fail at call time isFAILINGand its statementsPARTIAL, back toLOADEDafter a good read; a statement whose part reads a source that is not loaded isNOT_READY; a statement on a bare warehouse table isNOT_READYatRECOMPILE SERVING, and its calls failSERVING-TABLE-NOT-MAPPED, naming the mapping to write.A key with a NUL byte gets no row from a PostgreSQL source (
MISS) instead of failing the whole call.A cache row naming a table no serving source provides fails
UE/CACHE-READ-FAILEDon serving.Logger write failures are visible: a logger whose writes fail is
FAILING,SHOW SERVING LOGSlists rows only once written, and a failed write counts its dropped rows.Embedded hooks and views that wait for their host loop report
WAITING_FOR_HOST, notRUNNING.Batch and serving return the same Python values:
ServingClientgivesBatchClient's values per declared type,DATE/TIMESTAMPasdate/datetime(they were ISO strings) andDECIMALat its declared scale, at any depth ofARRAY/ROW; SQLNULLisNoneon every type.Reading a
DEPRECATEDfeature warns (LIFECYCLE-DEPRECATED-REFERENCE, one warning per query naming every deprecated feature).SET STATUSunderON BRANCHis refused (UE/LIFECYCLE-ON-BRANCH). Service-account writes record the account, not its owner's email.Serving calls fire hooks. A hook
ONa prepared statement now fires after its serving calls too, unless its newCONTEXTclause leaves them out. A hook created before 0.4.2 has noCONTEXT: addCONTEXT <hook>before upgrading featuremeshd to keep it off serving calls ( Chains ).Inline hook chains are bounded: one run chains at most 4 hook runs without
AT, and a hook that serving calls fire withoutATcannot have a dependent withoutAT(UE/HOOK-CHAIN-INLINE). An existing chain over the bound is refused at its next recompile.Duplicate keys fail a materialized view's run. Two rows for one key of a keyed sink fail the run with
MV-SINK-DUPLICATE-KEY, naming the sink and the key, and no sink publishes. Before, PostgreSQL kept the first row and Redis the last.A
NULLkey is a data error on PostgreSQL and MySQL/MariaDBlatestsinks, skipped and counted indata_errors, as on Redis. Before, it was written as the key''.View sinks on PostgreSQL and MySQL/MariaDB need one session from staging to publication. A run stages its rows in a temporary table, then publishes from it on the same connection. Behind a transaction pooler (PgBouncer in transaction mode, the pooled endpoint of hosted services) the run can fail with
MV-SINK-STAGE-LOST: point view sinks at a direct connection or a session pooler ( Limits ). PostgreSQL also needs theTEMPORARYprivilege, MySQL/MariaDBCREATE TEMPORARY TABLES.A view run overtaken by a newer published run reports
OVERTAKEN, not an error. A run whose lease another replica took reportsSTOPPED, withstopped = 'LEASE_LOST: <holder>'.A view run publishes only once its query has finished. It streams its result to a local spool file (
serving.hooks.view_spool_dir), and every sink stages and checks it before any publishes. A failed publication is retried with the same rows. During a rolling upgrade, 0.4.1 and 0.4.2 replicas may alternate runs of one view; each keeps its own rules for duplicate andNULLkeys until the upgrade ends.View runs have a memory budget of their own,
serving.hooks.view_memory_limit_bytes(1 GiB), apart from the serving pool, and at mostserving.hooks.max_concurrent_views(2) run at a time per process: size hooks pods for both ( View memory ).RECOMPUTEanswersQUEUEDwhen no view slot is free. With everymax_concurrent_viewsslot taken, it answers at once withSTATUS = 'QUEUED',RUN = 0and theSLOT, before any lease is taken. The run waits (WAITING), takes its lease when a slot frees, and survives a client that disconnects. Poll the status untillast.slotequalsSLOT( Run a view from an orchestrator ).featuremeshd.views.runshas moreoutcomevalues:ok(published),failed,busy,unchanged,overtakenandstopped. Before, unchanged, overtaken and stopped runs counted asok.PostgreSQL and MySQL/MariaDB view sinks write a
DECIMALexactly. Before, it went through a double and lost digits past about 15 significant ones.Redis view sinks need Redis 6.2 or later, and an eviction policy that cannot evict the watermark or the run's key set (
noevictionorvolatile-*). The sink checks both before it writes and fails withMV-SINK-REDIS-UNSUPPORTEDotherwise.Hooks and views log run events instead of free-text lines. The
WARNlines of a stalled hook (with its details) and of a retried or failed view run are replaced by one record per run, batch, drain or state change, targetfeaturemeshd::precompute, selected by itseventfield. An error's message is logged only atdebug; atinfo, the record holds its code ( Run events ). Update log alerts that matched the old messages.
New
- Observability of hooks and materialized views. Run events (
view_run,view_run_attempt_failed,hook_batch,hook_drain,hook_state) with outcome, error code, counts, phases andtrace_id, exported over OTLP bytelemetry.logs.exporters. A trace per view run, aRECOMPUTEcontinuing its request's trace, and per sampled hook batch and drain, a scheduled reference continuing the trace of the call that queued it ( Traces ). Published freshness gauges read from each view sink's watermark by every replica everyserving.hooks.view_freshness_interval(60 s):featuremeshd.views.published.run,.request_time,.compute_time,featuremeshd.views.schedule.period,featuremeshd.views.published.neverand.published.read_failures. - Chart
monitoring: twelve Prometheus alert rules (monitoring.prometheusRule, thresholds inmonitoring.alerts, also as the plain rule filefiles/featuremeshd-alerts.yaml) and a Grafana dashboard (monitoring.grafanaDashboard), both off by default ( Monitor and recover ). - Materialized views read Parquet exports on object stores (
s3://,gs://,az://,file://asSOURCE_DB()schemes), through a manifest that names one immutable generation. A run pins that generation, checks the files' columns and row counts, and publishes nothing when the export is broken. A view over object stores only publishes nothing when the generations did not change (UNCHANGED), and every run reports the generation and age of its inputs. Prepared statements, hooks and free-form serving queries cannot read an object store (UE/SERVING-SOURCE-OBJECT-STORE) ( Batch to online ). featuremesh.write_manifest(table_prefix, generation=, run=)writes an export's_latest.json.BatchClient.bench(),ServingClient.bench()andfeaturemesh.bench_multi()time the registry's benchmark suites: FeatureQL against hand SQL per backend, FeatureMesh serving against hand-written Rust and Python services, with rows checked before timing, ratio intervals, andBenchResult.compare()against an earlier run ( bench ).BenchResultandSltResultare exported fromfeaturemesh.serving.sources.allow_file_urlsandserving.sources.object_store_prefixes, and the view settingsview_memory_limit_bytes,max_concurrent_views,view_spool_dir,view_spool_limit_bytes,view_batch_rows,view_target_partitionsandview_stale_check_everyunderserving.hooks( Configuration ).- Chart
viewSpool: the featuremeshd chart mounts a disk-backed spool volume on the hooks service (sizeLimit20Gi at/var/lib/featuremeshd/spool), setsserving.hooks.view_spool_dirto it, and setsview_spool_limit_bytesto 90% ofsizeLimit÷max_concurrent_views.viewSpool.limitBytesoverrides it. - A view's status shows its
phase,rows_so_far, the time it waited for a slot, and for its last runattempts,error_code,inputs,peak_memory_bytesandspool_bytes, with matching metrics ( A view's details ). CONTEXTon a hook: which executions of its statement fire it (hooks that run it,SERVING, or both).serving.hooks.serving_bufferandserving.hooks.serving_rate_cap, and the hooks'droppedcounter.ServingClient.execute_prepared_statement(..., as_user=...), and serving refusals decode into errors with their code, hint anddecisive_sources.- Flight Basic handshake with the token as the password, for JDBC and ODBC drivers.
serving.authsettings (caller cache) andserving.hooks.recent_writes_keys_only( Configuration ).REPLACE-STALE-SERVING-DEFINITION: aCREATE OR REPLACEwarns once per stored prepared statement, logger or hook that reads the changed feature. Each keeps its previous definition until it is created again;RECOMPILE SERVINGalone does not re-translate it. A hook or logger calls its prepared statement by name, so a change behind that statement warns for the statement only.kafka://logger sink with aTOPICclause and the producer settings underserving.logging.kafka( Write results to Kafka ).- Avro stream records, decoded with a schema registry (
SCHEMA_REGISTRYproperties,SCHEMA_REGISTRY_SSL_CA); a declared type Avro cannot carry is refused (UE/STREAM-RECORD-AVRO-TYPE) ( Streams ). - RisingWave as a read-only source (
postgres/risingwave): queries compile with Postgres values or a named refusal, and featuremeshd reads it like PostgreSQL. Nothing is persisted in RisingWave. - HTTP proxy guide: deploy the analytics proxy in front of Trino, ClickHouse, BigQuery, Snowflake and Databricks; BigQuery and Databricks listings show the FMV views, and Envoy failures show in
/health( Deploy the HTTP proxy ). - featuremeshd starts without a config file (HTTP and health only), and
serving.memory_limit_bytescaps the serving pool (1 GiB by default). help()without a term opens the documentation's start page;help('your_own_data')shows how to query your own tables or DataFrames.validate()returns structured errors (result.success,result.errors) for parse, inference, translation and backend dry-run failures.
Fixes
- The Python library refuses DuckDB 2.0.1 (
duckdb>=1.5.6,<2.1,!=2.0.1): that release returns wrong rows for some filtered aggregations, plain SQL included. DuckDB 1.5.6 and 2.0.0 are correct. - MySQL/MariaDB: queries that read an aggregate row after a shared expression no longer fail with
Unknown column 'AGGREGATE_…'. - BigQuery: inside
TRANSFORM, an outer column named like a field of the element row read the field. - ClickHouse:
NULLarrays inside packed rows stayNULL(they were[]). - A
MACROwithTRANSFORMandCARRYno longer crashes SQL generation. - A
CASTof a text literal toDECIMAL(29..38)compiles. - Faster translation: deep
IFchains about 1 s instead of 16–117 s, and cold translation about 2x faster overall. - A bare
SHOW SCHEMASorSHOW TABLES IN <schema>(the Snowflake JDBC driver's metadata calls) no longer fails withINTERNAL-SERVER-ERROR.
0.4.1 (2026-11-27)
Ships together: featuremesh 0.4.1, the managed registry 0.4.1, featuremesh-serving-runtime 0.3.0 and featuremeshd 0.3.0.
Upgrade note: the managed API changed (translations answer a plan of steps). featuremesh 0.4.0 and earlier may fail against the 0.4.1 registry in managed mode. Upgrade with pip install -U featuremesh.
Breaking changes: language
- Prepared statements refuse unhandled runtime errors. An operation that can raise at runtime (a division by a value that can be zero,
LNorSQRToutside their domain, an exactPOW, a non-finiteEXP, a cast that fails on some values, a named runtime error such asFROM_BASE) fails registration withPREPARED-STATEMENT-UNHANDLED-RUNTIME-ERROR. This covers the returned feature, its captures and the persisted features it reads. Handle it withTRY(...),NULLIF(d, 0)as divisor, a non-zero literal divisor or a widening cast (aCASEguard does not count), or accept that the error fails the call by adding theACK-XXXXcode from the message in a comment of theCREATE. NULL / 0,NULL // 0andNULL % 0areNULLon every backend.SUM(x) / COUNT()over an empty group isNULLinstead of an error. A non-NULL value divided by zero still raises.ARRAY_JOINof an empty array andSTRING_AGGover an empty set areNULLon every backend.EXTERNAL_KV(...)andEXTERNAL_HTTP(...)reads are ROWs, as table reads are. A read whose value is not a ROW isROW(value T): append[value], for exampleEXTERNAL_KV(KEY k FROM KV)[value]. AnAS ROW(...)read keeps its own fields.- A
GROUP BYRELATEDin a prepared statement (KEY.RELATED(agg GROUP BY (src[fk]))) is read asRELATED(agg ON src[fk] = KEY)and served by key, instead of being refused. - One
UNUSED-FEATUREwarning per query lists every unused feature. Acknowledging each feature one by one still works; the combined warning has its ownACK. - Free-form serving over an online table source (
FROM TABLE(SRC[table])) binds that source's keys itself. RemoveNESTED k := @BIND_KEYSET(SRC);MISSING-NESTED-BINDINGno longer applies to such a source.
Breaking changes: Python client
featuremesh[serving]andfeaturemesh[all]now pinfeaturemesh-serving-runtime==0.3.0.
Behavior changes
- A failed source fails the serving call (
SERVING-SOURCE-TIMEOUT,SERVING-SOURCE-UNAVAILABLE,SERVING-SOURCE-ERROR) instead of returningNULL. Every read row has the reserved fieldsource_status(OK,MISS,TIMEOUT,UNAVAILABLE,ERROR). To keep answering during an outage, read it in the returned feature and write a fallback: a failed key then givesNULLvalues and its status, and the call succeeds. - Serving sources without a
timeoutget a default deadline for the whole read in a call, connection included, with no retry: 250 ms for a key-value source, 1 s for a database, 2 s for HTTP. The HTTP connector's former 30 s timeout and retry are gone. - Free-form serving queries read a database source by the query's keys (
WHERE key = ANY(...)), as prepared statements do, instead of reading the whole table.
New
- Precompute: streaming hooks and materialized views. A hook keeps features fresh from a stream and writes them to a sink; a materialized view recomputes on a schedule. Both run in featuremeshd and in the embedded Python runtime. See precomputing features and materialized views .
- Several
VARIANT,MACRO,PREPARED_STATEMENTorLOGGERin oneCREATE FEATURES, checked in dependency order. - Prepared statements:
- read a source by a key computed from their inputs (
RELATED(... ON src[k] = f(INPUT))); - answer in request order, one row per request row; an
ORDER BYin the statement wins.
- read a source by a key computed from their inputs (
- Serving responses carry a call status (
OK,PARTIAL,ERROR) and one entry per failed source. - Serving timings: every call reports
total_ms,transpile_ms,plan_ms,compute_msand per-source times, in the HTTP body, aServer-Timingheader, the gRPC metadata, the embedded result and a logger'sCALL_DETAILS.timings. - featuremeshd observability: OpenTelemetry traces (one span per call) and metrics (latencies, calls by status, source failures, logger rows, registry syncs, definitions), each tagged with
service.instance.id. A health server answers/healthand/healthzon its own port. help()shows snippets as plain FeatureQL you can pass toquery(), with prerequisites and the expected result as--comments.- Clearer errors: a type mismatch on an entity-tagged value suggests
KEY_TO_SCALAR(x); aRELATEDFILTERthat compares inner and outer rows says to move the condition intoON. - Faster compiles:
BIND_VALUES(ARRAY[ROW(...), ...])of literals compiles as one array feature, so compile time no longer grows with the number of rows. - featuremeshd timeouts are configurable:
serving.http.request_timeout(default 10 s) bounds a serving call,serving.http.control_timeout(default 5 min) boundsRECOMPILE SERVING,SHOW SERVING,RECOMPUTE MATERIALIZED VIEWandTEST SERVING, and--registry-timeout(FEATUREMESHD_REGISTRY_TIMEOUT, default 30 s) bounds registry calls. A largeRECOMPILE SERVINGno longer hits the 10 s limit. - New refusals with a named error where a backend cannot do the operation: ClickHouse
REGEX_EXTRACT_ALL/REGEX_EXTRACT_FIRSTwith a non-literal pattern (REGEX-PATTERN-NOT-LITERAL-DIALECT), a capture group above 0 of a bound pattern (REGEX-GROUP-INDEX-PATTERN-NOT-LITERAL), and aVARIANTwhose arity does not match (VARIANT-ARITY-MISMATCH).
Fixes
BIND_VALUES(...) WITH ORDINALITYbinds the position column, andFORMATkeepsWITH ORDINALITY.- Static
VALUESliterals of typeDATE,DECIMAL,ARRAYwith NULL elements andROWrun on every backend. TRY(SUM(x))ofDOUBLEon PostgreSQL returnsNULLpast theDOUBLErange instead of failing.- Trino: a bound column that is NULL in every row translates;
TIMESTAMP(6)literals keep their microseconds. - DuckDB and serving: a slice whose start is before the first element no longer returns an empty array.
- ClickHouse: a NULL array read through
RELATED ONstays NULL. - BigQuery:
REGR_SLOPEandREGR_INTERCEPTignore rows where only one of y and x is NULL. FORMATkeeps anEXPLAINwrapper.- A
NULLwarehouse slice bound givesNULL; an order-reading window insideTRANSFORMwith noORDER BYreads the array order. - Literal
BIND_VALUESrows reach the static checks: tied windows warnSELECTION-ARBITRARY, asMAX_BYdoes. - A field of a value that the
GROUP BYkeys determine counts as determined, so a nested aggregateTRANSFORMover a groupedARRAY_AGGis no longer reported finer than theGROUP BY. RELATED ON: an input bound non-nested stays an outer key next to anotherON.- Branches keep a feature's
WITH (...)metadata:ALTERon a branch rewrites it,ON BRANCH CREATEkeeps it, andALTERfinds a feature that exists only on the branch. - Serving:
$$strings keep their case; identifiers are case-insensitive after optimization;EXTRACT_FIELDof a constant,INDEX_MULTI,ELEMENTS_AT_KEYand sliding-frameBIT_AND/BIT_ORreturn the right values. - MySQL and MariaDB:
CASTtoTIMESTAMP(p)keeps the precision and rounds; MariaDB windowedBIT_ANDover a moving frame is right. CLAMPof aNULLisNULLon PostgreSQL, ClickHouse and Databricks.- Databricks:
ARRAY_POSITIONover rows isNULLwhen nothing matches, not0. - BigQuery: an empty array casts to
ARRAY<TIMESTAMP>. - Amazon Athena: a cast to
TIMESTAMP(0)rounds instead of truncating. FORMATkeepsESCAPEonLIKE/ILIKE, prints a chainedCONCAT_WSasCONCAT_WS, and quotes aROWfield name such as"x-api-version".- A
MACROcalled with the wrong number of arguments raisesMACRO-ARITY-MISMATCH. TYPEOF(1.25 + 10::BIGINT)isDECIMAL(23,2): an explicit integer cast widens a decimal to its type's width.- Turning a computed
INTERVALinto text no longer slows translation down (MAKE_INTERVAL(ROW(...))over a bound column took about 40 s on DuckDB, Trino and Databricks). - featuremeshd: creating or dropping a hook or materialized view replans only the prepared statements that read the changed source.
RECOMPILE SERVINGafter such a change took 19 to 27 s with many statements; it now takes well under a second. - Python client:
SHOWresults keepNULLasNoneunder pandas 3 (they printednan). - featuremeshd over HTTP (
/v1/featureql,/v1/query) writes aBIGINTas an exact JSON integer. gRPC rows are still doubles: read IDs above 2^53 over HTTP or Arrow Flight.
Known issue
- Serving runtime 0.3.0 still runs DataFusion 54: a multi-key
ORDER BYcan drop a later sort key when an earlier key is computed and the dropped key comes from aGROUP BY. The fix arrives with DataFusion 55. - Amazon Athena (engine v3) truncates a
TIMESTAMP(6)cast toTIMESTAMP(3)instead of rounding.
0.4.0 (2026-11-18)
Ships together: featuremesh 0.4.0, the managed registry 0.4.0, featuremesh-serving-runtime 0.2.0 and featuremeshd 0.2.0.
Upgrade note: the managed API changed. featuremesh 0.3.x and earlier may fail against the 0.4.0 registry in managed mode. Upgrade with pip install -U featuremesh.
Breaking changes: language
- A query starts with
RETURN, notSELECT.SELECT F1 := 1;fails withSYNTAX-LEGACY-KEYWORD. WriteRETURN F1 := 1;. SQL insideFROM SQL(...)is unchanged. - Local definitions use
DEFINE, notWITH.WITHas a clause keyword fails withSYNTAX-LEGACY-KEYWORD. ReplaceWITHwithDEFINE. PREPARED_STATEMENT(...) WITH (LOGGING_LEVEL = ...)is removed. Log served calls with aLOGGER()instead.- The managed registry refuses real passwords written inline in a source definition. Reference the credential with
SECRET(provider, name), for examplepassword = SECRET('env', 'PG_PASSWORD'). Placeholder values only raise a warning. See external databases .
Breaking changes: Python client
featuremesh.Backendis removed.BatchClient(backend=...)takes a target stringfamily[/variant][@range], such as"duckdb","duckdb@2.0"or"trino/athena". Anything else raisesTypeError.featuremesh.targets()lists the supported targets. The DuckDB dependency is nowduckdb>=1.5,<2.1.- Documentation tests:
BatchClient.test/test_streamare renamedsltest/sltest_stream.sltest()returns a flatlist[dict]whosestatusisPASS,FAIL,SKIPorBLOCKED. sltest_multi: each entry is a run dict{"client": c, "max_workers": n}, with optionallabelsandexclude_tags. It replaceslabels_by_backendandmax_workers_by_backend.max_workersis required, both globally and per run. Runs are keyed byclient.runner. The HTTP and MCP equivalents require the same fields.- Test scheduling follows explicit
# depends:components.BATCH_IDis deprecated. Use therun_first_N/run_last_Ntags to set the start order. featuremesh[serving]andfeaturemesh[all]now pinfeaturemesh-serving-runtime==0.2.0.
New
- More backends. MySQL and MariaDB (parts), PrestoDB (Java and C++ workers) and Amazon Athena join DuckDB, PostgreSQL, Trino, ClickHouse, BigQuery, Snowflake and Databricks.
- Targets with versions. Choose a backend version range (
"duckdb@2.0") and test against several in one run. - Datakey caches across partitions, on all 8 main backends.
- Serving.
- Embedded serving runs on runtime 0.2.0 (DataFusion 54).
- On PostgreSQL views, the source computes
RELATED ON(parts). - Serving logs:
CAPTURE,SINKandLOGGER. - New
EXTERNAL_REDISoptions:FORMAT,COMPRESSION,SCORE_MINandSCORE_MAX. - Prepared statements read sources by key.
- Backend-agnostic statements. A translation reports
backend_agnosticwhen every backend returns the same result.
Fixes
- Registry: workers no longer crash when they are recycled. Requests in flight during a recycle no longer get a reset connection.
- Backends:
- ClickHouse: NULL arrays and
ZIP. - PostgreSQL:
STRING_AGGdelimiters. - BigQuery, Snowflake, Databricks and Athena: dialect fixes.
- BigQuery and Athena: windows
PARTITION BYaROWorARRAY. - Snowflake and Databricks:
ARRAY_INTERSECTof rows. FORMATkeeps the field metadata of nestedROWs.
- ClickHouse: NULL arrays and
- Embedded serving:
- Decimal overflow checks.
- Prepared-call input errors use the same codes as featuremeshd (
SERVER_FILLED_PARAMETER,ROW_COLUMN_COUNT_MISMATCH). - A
REFRESH SERVINGrunning beside a translation no longer crashes.
Behavior changes
- ClickHouse queries run with
enable_join_runtime_filters = 0, which avoids wrong results in some joins. It affects queries that combine a join with a runtime check. The heaviest join queries can get 1.5x to 5x slower; most queries are unaffected. A narrower fix is planned.
Known issue
- Serving runtime 0.2.0: a multi-key
ORDER BYcan silently drop a later sort key. This happens when an earlier key is computed (aROW_NUMBER()window or an expression) and the dropped key comes from aGROUP BY. Rows that tie on the first key may then come back in an arbitrary order. The results are otherwise correct. The fix is in DataFusion 55, which a later runtime will ship.