Skip to content

Releases

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 20:46

1.1.0 - 2026-11-27

Highlights

Queries and Subscriptions give the same answer. Every operation that takes a query, from Query Entities and temporal queries to Delete by query, Entity Maps, Snapshots, Subscriptions and registration discovery, now reads q, scopeQ, geoQ, csf and the language filter through one engine, in the database and in memory alike. Dozens of places where 1.0.0 read the same query two ways now follow ETSI GS CIM 009 v1.9.1, among them trailing paths into structured values and GeoJSON members, URI spellings, year-zero instants, near across the antimeridian and the instances a temporal query selects through. A cursor walk is one walk however its query is spelled, and a paged query sent by POST now carries its page links. One filter, one meaning tells how every filter got one meaning and which tests keep it.

Distributed operation follows the specification much more closely. A request forwarded to a Context Source carries the client's whole query, with its datasetId, its language filter and the join a q over Linked Entities needs, and reaches only the sources registered for what it asks. A query split across sources applies attrs, pick and omit to the merged Entity. A Subscription's copies at Context Sources are recorded before they are sent, placed again when a placement was cut off, narrowed to what each registration covers and kept in step as registrations change, and a notification relayed from a source carries only what its registration covers. A follow-up under an Entity Map is held to every input of the request that created the map, and a forwarding loop is recognised whatever comments its Via header holds.

Snapshots capture what the specification describes. A capture split across Context Sources applies q, geoQ and scopeQ to the merged Entities, a query that fails keeps nothing it staged, and the execution details name the Context Sources that failed and report each failure as the API would. Temporal captures stay within the federated query limits and refuse an answer a source cut short.

Notification delivery rides out outages. A notification whose endpoint can't be reached, or answers that it is overloaded or unavailable, is retried for about an hour by default, and one that meets any other server error for a little over a minute. A Retry-After the endpoint sends is honoured. Throttling always sends the newest change, and a Subscription held by a failing endpoint resumes with the earliest change it owes. Leases and retries run on the database's clock, a Subscription's MQTT server going down no longer holds the broker not ready, and a receiverInfo entry can no longer set a header the broker writes itself.

Large tenants answer faster. A q whose conjuncts an index can answer is now keyed by the rarest of them, so on a tenant of 100,000 Entities two measured queries went from 41 ms to 3.4 ms and from 219 ms to 2.5 ms. A periodic notification reads only the Entities it selects, 2 statements per tick instead of 401 in the case measured, and matching a change against 10,000 Subscriptions takes a third of the time it did. Geo-queries no longer wait for the spatial index, which is seeded beside a tenant's first requests and rebuilt partition by partition while writes carry on. A new tenant's database is copied from a migrated template in about 50 ms of server time, where migrating an empty one took about 300 ms.

The API holds to the specification at its edges. An Entity past its expiresAt is no longer served while it waits for the expiry sweep. A @context that isn't valid JSON-LD is refused rather than cached, and a reloaded or deleted @context takes effect at once. Data-integrity seals are checked when they are written and stored typed, and refusals describe what is wrong in the API's own terms.

The image tells you what it contains. It carries its own dependency tree and the licences of the crates it ships, and each release attests SPDX and CycloneDX SBOMs and an OpenVEX document to every platform image and attaches them to the GitHub release. Readiness now pings the database over a connection of its own, logs are plain text when standard output isn't a terminal, every background task runs under supervision, and two tenant names can no longer map to one database.

Upgrade notes

The upgrade guide has the steps and names every setting mentioned here.

  • Back up every database, then upgrade the broker before TimescaleDB. A bug in 1.0.0 makes the first request to each tenant fail with 500 after any TimescaleDB upgrade, whether through a newer PostgreSQL image or on a server of your own. Release 1.1.0 fixes it and runs on the image 1.0.0 shipped with, so move the broker first.
  • Health probes moved. /ngsi-ld/v1/health, /ngsi-ld/v1/ready and /ngsi-ld/v1/live are gone. Probe /readyz and /livez on the management plane instead. The image's own health check needs no change.
  • Andromeda's own endpoints moved to /ngsi-ld/andromeda/v1. This covers the version, tenant management and the receiver brokers notify each other at, so clients of tenant management and anything reading the version change their paths.
  • Federations see a burst of Subscription updates. The first time each tenant opens, the broker moves every Subscription it placed at a Context Source to the new receiver path, updating or placing again each one in the background.
  • Extension tokens carry a revision. Every extension is now experimental and advertises its token with a revision, such as cursorPagination/0.1. A 1.0.0 broker and a 1.1.0 broker don't recognise each other's extensions, so upgrade every broker of a federation together, and update any client that looks for a token. The broker logs a warning at startup for each extension that is on, and while HTTP/3 is on.
  • Some stored data is removed or rewritten. Every Entity Map is removed, and a request naming one is answered as for an expired map. Cursors issued before the upgrade are refused, so a client starts its walk again. Top-level ngsildproof attributes, and seals no write would accept, are removed. A stored scope query holding the bare /# beside other Scopes is rewritten to the expression it meant.
  • Tenants that stored an ngsildproof take longer to open once. The upgrade reads their whole current state and history, the columnstore and every Snapshot included, before they serve. Other tenants aren't affected.
  • Subscriptions may be notified differently. They now select what Query Entities selects, so some are notified where they weren't and others no longer are. An entity Subscription's csf chooses the Context Sources it reaches and no longer filters what it notifies.
  • Prefixed names and IRIs in queries. In q, csf and orderBy, a prefixed name or an IRI is written as it is or as a JSON string, as in ex:temperature>20 or "ex:temperature">20. At the start of a hop's braces an unquoted colon ends the hop's type list, so sensor{ex:humidity} reads ex as an entity type, where 1.0.0 read a prefixed attribute, and a prefixed attribute there is written sensor{"ex:humidity"}. An IRI holding a dot is always written as a JSON string. The upgrade quotes such names in every stored Subscription q and csf and in the queries Snapshots were captured by, so each keeps the meaning 1.0.0 gave it.
  • Some requests are now refused. A @context that isn't valid JSON-LD, the NGSI-LD Null as an Entity type, location, observationSpace or operationSpace as anything but a GeoProperty, and id, type or scope in notification.attributes are refused with 400. So is a write whose attribute names, valueType, objectType or vocab the @context expands to no IRI, and Entities 1.0.0 stored with such a value still read back as written. The changes below list the rest.
  • A Snapshot that can't take a migration keeps its tenant from opening. Every Snapshot now takes each migration together with the live data, and the error names the Snapshot that failed. Snapshots are no longer quarantined.
  • Some settings changed. A notification whose endpoint can't be reached, or answers 429, 502, 503 or 504, is retried for about an hour by default rather than five times. Any other server error gets the new notifications.delivery.max_server_error_attempts, 5 by default, so a configuration that raised notifications.delivery.max_attempts raises it too. With file logging on and no directory set, a Linux service outside a user session, a container among them, writes its log files to /var/log/andromeda. A retry delay above a day, a tenant database prefix longer than 44 bytes and a federation source alias outside the HTTP token characters now stop the broker from starting. A request body limit raised above 256 MiB needs the new storage quota for posted queries raised with it.
  • A template database appears on the PostgreSQL server. The broker copies it for every new tenant and builds it again whenever it is missing, and pg_dumpall leaves it out.
  • PostgreSQL 18.7 is optional. If you move to the image that ships it, read its release notes, which ask you to reindex indexes that bugs it fixes may have corrupted. Andromeda's GIN indexes fall under two of them, and so do the TOAST indexes of history chunks, which automatic maintenance rebuilds with REINDEX TABLE CONCURRENTLY. A query that fails with missing chunk number is fixed by a REINDEX of the table it names. If you take incremental backups, take a new full backup after the move. The newer image also runs no TimescaleDB background workers, which the broker doesn't need.

Changes

🚀 Features

  • attach the spdx sboms as rele...
Read more

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 11:40

[v1.0.0] - 2026-11-09

Initial release.

Image

docker pull ghcr.io/mskvarc/andromeda:1.0.0

Manifest list digest: sha256:f93d7720efa0ef9acf0db0e0a87f3e44c7c00a45852fe71e8eb9e120916efe7f