Repository navigation
Release v1.0.1
Description
A patch release with fixes for drains that ended too early, a PostgreSQL cursor that could skip rows and a postgres_cdc slot that held WAL while its tables were quiet. New are mqb list / mqb describe, decaying counters in aggregate, and http_bulk options that fit more bulk APIs (PostgREST, CouchDB, BigQuery, Amazon Bedrock). Two aggregate results change for late messages; see Changed below. Nothing else needs a change when upgrading from 1.0.0.
- Fixed
- PostgreSQL
cursor_columnsource no longer skips rows. A row whose transaction committed after a later row was read was passed by the cursor and never read (typical for aserialid taken by a long transaction). Each page now stops before the first row of a transaction that is not older than every open one. A view has noxmin, so it keeps the old behaviour and logs a warning. postgres_cdcno longer pins WAL while its published tables are quiet. The confirmed position is reported to the server as soon as the stream is idle, not only with the next batch.- Kafka drains: a drain restarted right after a crash no longer fails with "was not assigned a partition", and a drain no longer ends while partitions of a member that left still lag.
- NATS JetStream drain: a drain started right after a crash no longer reports success while the crashed run's messages are still unacked; it waits, at most
ack_wait.
- PostgreSQL
- Changed
- A late message in
aggregatefieldscounts with the weight it would have had by then (0.5 per half-life late) instead of fully.ema,ema_stddevandema_variancewith a half-life now give the same result in any arrival order.ema(path, alpha)is unchanged. - With
timeor a half-life field,lastkeeps the value of the newest message; a late message used to overwrite it.
- A late message in
- New features
mqb listandmqb describe <name>show the endpoints and middlewares of the build, with URI form, example and typed parameters (--jsontoo). The MCP server has the same data as thedescribetool.aggregate:decayed_count(half_life)anddecayed_sum(path, half_life), counts and totals that fade instead of dropping out of a window.mqb.aggregate.overwrite: truefolds a message as the newest one, to repair a state that a wrongtimepushed into the future.http_bulk:delete.lineworks in every shape, as a template per id, e.g. a quoted PostgRESTin.(…)list or CouchDB_deleteddocuments.upsert.max_documentscaps the documents per request.result.items.indexmatches a response that lists only the failures (BigQueryinsertErrors);result.items.successfails an entry whose status is not the given value.- Reads follow next-page URLs:
read.cursor.next_url(in the body) orread.cursor.link(theLinkheader). A next URL on another host stops the read, so credentials stay with the configured host.
openai_chatandopenai_embeddingstakeauth(oauth2oraws_sigv4), e.g. for Amazon Bedrock.mqbURIs takemongodb+srv://,redis+unix://,valkey://,valkeys://andvalkey+unix://directly.
- Performance
- The
httpoutput spends 1.5 to 2.4 µs less per request: it has its own connection pool, reuses idle HTTP/1 connections most recently used first, and shares one HTTP/2 connection negotiated by ALPN between all requests.
- The
The full list is in the changelog.