Skip to content

Release v1.0.1

Choose a tag to compare

@github-actions github-actions released this 16 Oct 10:29
· 242 commits to main since this release
v1.0.1
1e44e63

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_column source 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 a serial id 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 no xmin, so it keeps the old behaviour and logs a warning.
    • postgres_cdc no 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.
  • Changed
    • A late message in aggregate fields counts with the weight it would have had by then (0.5 per half-life late) instead of fully. ema, ema_stddev and ema_variance with a half-life now give the same result in any arrival order. ema(path, alpha) is unchanged.
    • With time or a half-life field, last keeps the value of the newest message; a late message used to overwrite it.
  • New features
    • mqb list and mqb describe <name> show the endpoints and middlewares of the build, with URI form, example and typed parameters (--json too). The MCP server has the same data as the describe tool.
    • aggregate: decayed_count(half_life) and decayed_sum(path, half_life), counts and totals that fade instead of dropping out of a window. mqb.aggregate.overwrite: true folds a message as the newest one, to repair a state that a wrong time pushed into the future.
    • http_bulk:
      • delete.line works in every shape, as a template per id, e.g. a quoted PostgREST in.(…) list or CouchDB _deleted documents.
      • upsert.max_documents caps the documents per request.
      • result.items.index matches a response that lists only the failures (BigQuery insertErrors); result.items.success fails an entry whose status is not the given value.
      • Reads follow next-page URLs: read.cursor.next_url (in the body) or read.cursor.link (the Link header). A next URL on another host stops the read, so credentials stay with the configured host.
    • openai_chat and openai_embeddings take auth (oauth2 or aws_sigv4), e.g. for Amazon Bedrock.
    • mqb URIs take mongodb+srv://, redis+unix://, valkey://, valkeys:// and valkey+unix:// directly.
  • Performance
    • The http output 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 full list is in the changelog.