Skip to content

fix(deps): update dependency tiled to v0.2.23 - #1717

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/tiled-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/tiled-0.x

Conversation

@renovate

@renovate renovate Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
tiled ==0.2.18 → ==0.2.23 age confidence

Release Notes

bluesky/tiled (tiled)

v0.2.23

Compare Source

Security
  • The WebSocket route /stream/single requires the read:data and
    read:metadata scopes, like the HTTP routes that serve the same data. A
    credential without them was accepted
    when the server had no access policy configured.
  • The webhook URL check also refuses IPv6 addresses that stand for a blocked
    IPv4 address (IPv4-mapped, IPv4-compatible, 6to4 and Teredo), and the
    unspecified address ::.
Added
  • A migration script can declare required_at_startup = False, meaning that
    the server does not need this migration in order to work. The server then
    starts, with a warning, on a database that has not applied it yet (but is
    at the previous revision), so that a new version of Tiled can be deployed
    before the database is upgraded. A database two or more migrations behind
    is refused, as before. The catalog migration in this release declares this.
  • streaming_cache.key_prefix, prepended to every Redis key and pub/sub
    channel the streaming cache uses. These are named by node ID alone, so
    separate Tiled deployments sharing one Redis server received each other's
    streamed data; giving each deployment its own prefix keeps them apart. Tests
    that use Redis each get a unique prefix, which fixes intermittent failures
    when they ran at the same time on different pytest-xdist workers.
Fixed
  • The OAuth authorization redirect no longer requests the offline_access
    scope by default. Identity providers that reject it, such as ORCID, failed
    every login. The redirect now requests openid, plus extra_scopes for
    EntraAuthenticator, which can list offline_access to request it again.
    #​1658
  • Node keys are percent-encoded wherever they become a segment of a URL path,
    in the links the server returns and in the URLs the Python client builds.
    A key with #, ?, a space or + addressed another node or failed: writing
    run#1 wrote to run.
  • ArrayClient.write and write_block check the data against the array's
    dtype and size before uploading. The server reads the bytes by the
    structure, so data of another dtype was stored as other values (integers
    written to a float array read back as denormal floats). Data that can be
    cast within its kind, such as a list of integers for a float array, is cast;
    other data raises ValueError.
  • patch_metadata with a JSON Patch, whose operations may not be idempotent,
    follows the retry policy of appending rows: a request that may have reached
    the server is not retried. It was retried like any other request, so a
    lost response appended a list element twice.
  • Subscription.start_in_thread raises the error when the connection is
    refused, for example for a node that does not exist or a credential that is
    not accepted. It waited forever.
  • A bounded slice of metadata_revisions, such as [0:2], returns that many
    revisions. The bound applied to the first page only, and every later page
    was appended.
  • Appending to a table matches the appended columns by name, in SQL storage
    and in CSV files. SQL storage refused columns given in another order; a CSV
    file took them positionally. Columns that are not the table's are refused
    with HTTP 422, as are values that the columns' types cannot hold (previously
    HTTP 500). The first append to a CSV partition writes the header, which it
    left out, so the first row of data was read back as the header.
  • Fix opening and registering existing Arrow tables. Infer structure from IPC
    schemas without loading row data, preserve the partition count, and support
    from_uris plus the .arrow and Feather v2 .feather extensions. Feather
    v1 and Arrow IPC streams (.arrows) are not supported.
  • A full write to a table in Arrow storage raised after truncating the file,
    so the table read back empty.
  • A table in SQL storage created with a primary_key but without
    order_by_args raised UnboundLocalError on every access.
  • Reading a subset of a table's columns from SQL storage returns them in the
    requested order (previously in an arbitrary order), and an unknown column is
    refused with HTTP 400 (previously dropped without notice).
  • Serialize database initialization on PostgreSQL with an advisory lock, so
    replicas starting at once against a fresh database no longer crash on
    colliding DDL.
  • Fixed recursive deletion (delete_contents(..., recursive=True)) in SQLite
    catalogs created before the closure-table migration (e05e918092c3), which
    failed with FOREIGN KEY constraint failed because the foreign keys of
    nodes and nodes_closure did not cascade.
  • Fixed deleting a node that a graph entity is bound to in a migrated
    catalog: the entity is now deleted along with the node, as in a fresh
    installation, instead of being left unbound.
  • Fixed two authentication-database downgrade migrations on PostgreSQL:
    d829476bc173 left a server-side cursor open on api_keys, so a later
    ALTER TABLE api_keys in the same tiled admin downgrade-database run
    failed; and d88e91ea03f9 added NOT NULL columns without values, which
    failed on any table with rows.
  • Creating a node responds with HTTP 409 only when its key exists. Every
    integrity error of the catalog database, such as a violated foreign key,
    was reported as a key collision.
  • The dt_units of an array structure must be a datetime unit, such as
    [ns], on a datetime or timedelta dtype (HTTP 422 otherwise). It was put
    into the numpy dtype string as given.
  • Searching by spec on a SQLite catalog matches the spec name exactly. %
    and _ in a name were wildcards, and matching ignored case.
  • Write routes respond with HTTP 415, naming the supported media types, when
    the request has no Content-Type or one that cannot be deserialized for the
    structure family (previously HTTP 500). Parameters of the media type, such
    as a charset, are ignored in the lookup.
  • POST /metadata with a data source that has assets responds with HTTP 400
    pointing to POST /register (previously HTTP 500).
  • PATCH /table/partition on a table whose storage cannot append, such as the
    default Parquet storage, responds with HTTP 405 (previously HTTP 500).
  • page[cursor] on a tree without cursor pagination, such as a MapAdapter,
    responds with HTTP 400 (previously HTTP 500).
  • The csrf query parameter, an alternative to the x-csrf header, works
    (previously every request using it got HTTP 500).
  • Exporting a sparse array as CSV, Parquet, XLSX or HTML works (previously
    HTTP 500).
  • Parquet is also served as application/vnd.apache.parquet, the registered
    media type, which the system mime database of some platforms gives for the
    .parquet extension; exporting to a .parquet file name failed there with
    HTTP 406.
  • Exporting a container to HDF5 writes each column of a table it holds as its
    own dataset, string columns included. Every column held the whole table.
Changed
  • The tiled_csrf and tiled_api_key cookies carry the Secure attribute
    when they are set over HTTPS.
  • GET /array/full and GET /array/block compare the size of the requested
    data, known from the structure, with response_bytesize_limit before any
    data is read. A slice out of range for the array responds with HTTP 400.
  • A zip archive uploaded to PUT /awkward/full has its member names checked
    against the form before any member is decompressed.

v0.2.22

Compare Source

Security

This release addresses security issues identified by a frontier AI model. One
was also responsibly disclosed by Santosh Kumar Puppala (@​Santoshkumarpuppala).
Some of them can be used without credentials, or by any user who can
read data. Every release since v0.1.0a54 is affected by at least one of them.
Updating promptly is recommended.

  • The web UI route (/ui/...) served any file that the server process could
    read, without credentials, when the path contained .. or was absolute. It
    now serves only the files of the UI distribution and responds with HTTP 404
    to anything else. True for /ui and /asset/bytes: This attack vector was
    considered, but the measures in place were not effective.
  • /asset/bytes served files outside of a directory asset when
    relative_path contained ... It now responds with HTTP 400, also for a
    symbolic link that leads out of the asset's directory.
  • The /zarr/v2 and /zarr/v3 routes did not check scopes, so a server that
    requires authentication answered requests that carried no credentials. They
    now require read:data, and read:metadata for the metadata documents, like
    the routes under /api/v1. Servers that allow anonymous access are unaffected.
  • Uploading an awkward array as a zip archive wrote files outside of the
    node's directory when a member name contained .. or was absolute, and an
    awkward form with such a form_key read files outside of it. Buffer keys are
    now used only if they are plain file names. An upload may hold only the
    buffers that the node's form names (HTTP 400 otherwise), and a form with
    unusable keys is refused when the node is created (HTTP 422).
  • A node cannot be created with the key . or .., or a key containing /
    (HTTP 422). Below a container named .., the storage of new tables and
    awkward arrays was created outside of the writable storage directory.
    Creating a node below an existing container with such a key is refused too.
  • In the Python client, raw_export wrote outside of the destination
    directory if the server sent a file name or a manifest entry that contained
    .. or was absolute. It now raises UnsafePath for such a manifest entry
    and does not write a file with such a name.
  • A WebSocket subscription with a start far below the current sequence made
    the server look up every sequence in between without giving up the event
    loop. With the in-memory streaming cache, one such request stopped the
    server from answering anything else, and it kept running after the client
    had disconnected. A start below -1 is now refused, the replay stops when
    the client disconnects, and it covers at most the most recent max_replay
    messages. max_replay is a new streaming_cache setting, 1000 by default.
  • External files are served only from readable storage. The check compared
    paths as text, so a registered path that left a readable directory through
    .. or a symbolic link was served, and /asset/bytes and /asset/manifest
    did not check at all. Paths are now compared after resolving .. and
    symbolic links, and the check is made when a file is registered and whenever
    it is read or downloaded, with HTTP 403 on refusal. Registering a file
    outside of readable storage, which used to succeed and then fail on read, is
    refused. A file reached through a symbolic link that leads out of readable
    storage is no longer served unless the link's target is readable storage too.
    The same holds for every asset of a data source, also one that is not passed
    to the adapter. An asset URI without a scheme, which some adapters read as a
    path, or with a scheme that no readable storage of the server has, which
    some adapters would fetch from the network, is refused too; an object
    storage URI must be in a readable bucket.
  • A registered HDF5 file could make the server read other files: through an
    external link, through the sources of a virtual dataset, and through a
    dataset whose raw data is stored in an external file, which can be any file
    at all. The server now follows external links and virtual dataset sources
    only into readable storage, and does not read a dataset with external raw
    storage. An entry that is refused is reported like a broken link (HTTP 410).
    A NetCDF file, which is an HDF5 file read by another library, is served only
    if it refers to no other file. Adapters used directly, outside of a server,
    are not restricted unless readable_directories is passed.

For a server that cannot be updated right away, the reverse proxy in front of
it can refuse the requests that the most exposed of these issues depend on.
The measures below were tested with nginx against a server without the fixes.
Apply each to the decoded and normalized path, as an nginx location does,
so that /%75i/ is treated as /ui/. If Tiled is served under a path prefix,
the paths below come after the prefix.

  • Refuse any request whose path has a .. segment, also when it is written
    with %2e.
  • /ui/: block it. To keep the web UI, refuse requests under it whose path, as
    the client sent it, contains //, %2f, %2e or %5c. A proxy that
    forwards the path unchanged does not protect this route by itself.
  • /zarr/: block it. To keep Zarr access, require an Authorization header
    made of Apikey or Bearer and a credential, which Tiled then checks. A
    header with no credential after the scheme counts as no credentials. A key
    given in the URL or in a cookie no longer works under this rule.
  • /api/v1/asset/: block it, or set expose_raw_assets: false in the Tiled
    configuration, which has the same effect.
  • /api/v1/awkward/: block it. Awkward arrays can then be neither read nor
    written.
  • /api/v1/stream/: block it. To keep streaming, accept the start query
    parameter only if it is made of digits, and refuse a query string that
    contains % or +. Refusing a leading - is not enough: Tiled reads 0-5
    and +-5 as negative numbers too.

These measures do not cover the files that a registered HDF5 file, or a
symbolic link in readable storage, refers to. Until the server is updated,
the directories that it reads should hold only files from trusted sources.
The fix to raw_export is in the Python client, which has to be updated
wherever it is used.

Added
  • Documentation page listing the Alembic revisions of the catalog and
    authentication databases required by each Tiled release, generated from the
    git tags when the documentation is built.
  • OpenTelemetry tracing for the server, exported over OTLP. The example monitoring
    stack (compose.monitoring.yml) now includes an OpenTelemetry Collector, Jaeger,
    and Grafana Tempo (traces are sent to both backends), and the Collector also
    scrapes and re-exposes Tiled's Prometheus metrics.
  • Emit OpenTelemetry spans for internal request phases (access control, read,
    tokenize, pack) so they appear as child spans in a request's trace, giving a
    per-request breakdown of where time is spent.
  • Return the request's OpenTelemetry trace ID in the X-Tiled-Trace-ID response
    header (also on server errors, and exposed via CORS) when the request is
    traced, and include it in the Python client's error messages and in the server's
    log lines, so a failing or slow request can be looked up in the tracing backend.
    The request's span records the correlation ID (X-Tiled-Request-ID) as the
    tiled.request_id attribute, so the trace can also be found from it.
  • Disable FastAPI's built-in OpenTelemetry auto-configuration
    (telemetry={"auto_configure": False}) so that, on FastAPI >=0.142, it does
    not register a second OTLP exporter alongside Tiled's own tracing pipeline and
    export every span twice.
  • Emit OpenTelemetry spans for PostgreSQL queries (asyncpg for the catalog and
    authentication databases, ADBC for the storage database), Redis commands, and
    outbound HTTP calls (httpx: OIDC, webhooks, external policy servers), so
    external-service calls appear in traces. The example monitoring stack also
    generates a service graph viewable in Grafana, with Tiled's separate Postgres
    databases (catalog, storage, authn) and Redis shown as distinct nodes.
  • New KeyLike query (key_like over HTTP) matching entries whose key
    contains, starts with, or ends with some text, selected by the before
    and after parameters (both true by default). Matching is case-sensitive
    and literal: no character acts as a wildcard. It is supported on SQLite and
    PostgreSQL catalogs. An empty key, or before and after both false, is
    rejected with HTTP 400 (and with QueryValueError when constructing the
    query in Python).
Changed
  • A new catalog database migration (bfbcd5d137d0) brings databases
    migrated from older versions in line with the schema that a fresh
    installation gets: ON DELETE CASCADE on the foreign keys of entities,
    and on SQLite also of nodes and nodes_closure; NOT NULL on the
    columns of data_source_asset_association (PostgreSQL); and index naming.
    Run tiled catalog upgrade-database. On SQLite, the migration rebuilds the
    nodes, nodes_closure and entities tables, which takes time
    proportional to their size.
  • The properties column of data_sources is NOT NULL with default {}
    in the ORM, as it already was in migrated databases.
  • A new authentication database migration (967cde08e8a1) makes
    time_created NOT NULL in principals and roles on PostgreSQL, as it
    is in the ORM and in the other tables. Run tiled admin upgrade-database.
  • The test suite runs without warnings: async fixtures declare their event loop
    scope, test JWTs are signed with keys of the length RFC 7518 recommends, and
    expected warnings are asserted or filtered where they are raised. The flaky
    test_internal_authentication_mode_with_password_clients uses the client's
    own timeouts, as other tests that start a server do.
  • CI runs pre-commit with current actions in place of the unmaintained
    pre-commit/action, which ran on the deprecated Node.js 20, and the
    container builds the web UI on the builder's platform ($BUILDPLATFORM).
  • OIDC authenticators now verify id_tokens (and their at_hash) at login via
    verify_login, while decode_token only decodes access tokens.
  • On PostgreSQL, the access-control filter passes the resolved tag ids as a
    single array parameter (tag_id = ANY(...)) instead of one bind parameter
    per tag. For principals with many tags this avoids huge, per-tag-count
    prepared statements, whose parameter-blind generic plans defeated the
    planner statistics.
  • Tiled now manages its connection pools to tabular storage more correctly.
    Also, it is now not allowed to use two storage databases with the same
    database on different hosts.
  • Database initialization with init_if_not_exists (the catalog, via
    tiled.catalog.from_uri and server configuration; and the authentication
    database, via server configuration) is now done in-process instead of by
    spawning a tiled catalog init or tiled admin initialize-database
    subprocess, which took about 1-2 s per call. For an in-memory SQLite catalog
    no initialization is done at all at this point, since it is transient and
    initialized at server startup. This speeds up server startup, SimpleTiledServer,
    and the test suite.
  • tiled.utils.Conflicts now subclasses ValueError, and
    ArrayClient.patch raises Conflicts when the server reports a 409
    (e.g. the patch would overwrite data without extend=True), matching
    RaggedClient.patch. Code catching ValueError keeps working.
  • Replace the httpx dependency with httpx2. Objects passed into Tiled,
    such as a custom auth= or timeout=, must now be httpx2 types, and
    exceptions raised are httpx2 exceptions. Python 3.10 is no longer
    supported, because httpx2 requires Python 3.11 or newer.
  • Python 3.14 is now officially supported.
  • String-valued enums (StructureFamily, Kind, Endianness, Management,
    SparseLayout, Operator, ScopeName, EntryFields, PrincipalType,
    EnvelopeFormat, EventType, DeliveryOutcome) now subclass
    enum.StrEnum. Comparison with plain strings, .value, and serialization
    are unchanged, but str(), format(), and f-strings of a member now give
    its value (e.g. "array") instead of its qualified name
    ("StructureFamily.array"). Error messages that include these values
    change accordingly.
  • Type annotations throughout use PEP 604 (X | Y) and built-in generics
    (list[str]) instead of typing.Union, Optional, List, etc., enforced
    by the ruff UP (pyupgrade) rules.
  • A table in SQL storage cannot be registered as external data, which was
    never a supported use. The table name and dataset id of a registered table
    came from the client, so a client with the register scope could read the
    rows of any other table in the storage database, through the dataset id or
    through SQL placed in it, and deleting the node deleted those rows.
    Registering external data with a SQL storage format, or with an asset whose
    URI has the scheme of a database (which also let a file outside of readable
    storage be read), is refused with HTTP 403. Such a data source already in a
    catalog is not read, and deleting its node no longer deletes rows. Tables
    written through the server are unaffected. A table whose stored dataset id
    is not an integer, or whose stored table name holds characters other than
    letters, digits and underscores, is not read (HTTP 422).
  • PUT /data_source changes only an externally managed data source of the
    node in the request, and keeps it externally managed. It used to accept the
    id of a data source of any node.
Fixed
  • Search requests (/search, /search-deep, /distinct) whose filter
    parameters for one query type were given different numbers of times, for
    example a query given twice with one of its parameters given only once, now
    get HTTP 400 with an explanation. Previously the server paired up values by
    position and silently dropped or misapplied queries. A query missing a
    required parameter now gets HTTP 400 instead of HTTP 500.
  • Close the response compressor on every path. The server opened one for each
    compressible response but closed it only when it compressed the body, so
    small responses (sent uncompressed) and streams that ended early leaked one.
  • Clear deprecation warnings raised by current releases of dependencies:
    SQLAlchemy 2.1 (the noload loader strategy on Webhook.node, JSON-typed
    operands of text and containment operators in full-text and specs queries,
    and a column-level distinct()), Alembic (path_separator in the generated
    alembic.ini), websockets 17.1 (the client's streaming connection is entered
    as a context manager), and pydantic (serializing an entry point loaded from
    a configuration string, such as adapters_by_mimetype).
  • Treat anyio.ClosedResourceError as a normal disconnect in the
    test-client websocket wrapper: starlette >=1.0 raises it when receiving
    on a closed session, which previously killed streaming subscription
    worker threads with unhandled exceptions during test teardown.
  • DELETE /api/v1/asset/{path}?id=N now refuses (409) the asset of a
    SQL-backed table. That asset is the storage database, shared by all such
    tables, so it can not be deleted; delete the node to remove its data.
  • Accept Authorization: Bearer TOKEN on WebSocket connections. The handshake
    rejected any Authorization header that was not Apikey SECRET with a 400,
    so a client holding an access token could not send it as a header. The
    header is now dispatched on its scheme, matching the HTTP routes: Bearer is
    read as an access token, Apikey as an API key, and any other scheme is
    rejected with a 400 that is also logged on the server. The access_token
    query parameter still works, for browsers that cannot set headers, and an
    api_key query parameter is now accepted too, as on the HTTP routes.
  • Fix construction of the Principal for WebSocket connections authenticated
    with an access token from an external (OIDC) provider, which raised
    AttributeError and surfaced as a 500.
  • The Python client's subscriptions now authenticate the WebSocket with the
    session's own credentials: its API key if it has one, otherwise its access
    token as Bearer. Because a WebSocket handshake cannot prompt a refresh with
    a 401, an access token within a minute of expiring is refreshed before
    connecting. Only a session with neither falls back to minting a short-lived
    API key per connection, and only a key minted this way is revoked afterwards.
  • Exporting a dataset reached through an HDF5 soft link writes the link
    again instead of a copy of the data it points at. A link whose target
    lies outside the node being exported keeps the link, so it does not
    resolve in the new file, where the data was copied before.
  • Fixed read_partition on a table with a string column, which failed with
    a dtype mismatch (object in the structure, string in the data sent by
    the server). The eager client now fetches the partition directly, without
    dask; the dask client no longer checks the partition against the
    structure's meta, as read already did not.
  • Iterating over node.metadata_revisions (e.g. list(...)) ends after the
    last revision instead of failing with ValueError, and fetches the
    revisions page by page rather than one request per revision. Indexing past
    the end raises IndexError.
  • Fixed ArrayClient.patch on arrays whose shape is not a whole number of
    chunks. The check for writing past the end, and the new shape after
    extend=True, used the Zarr array's shape, which is rounded up to whole
    chunks, so a patch could silently grow the array or add fill values.
  • Fixed serving HDF5 files that have an empty (null dataspace) attribute or a
    byte-string attribute that is not valid UTF-8. Either one made every node
    in the file fail to load. Empty attributes are now served as null, and
    non-UTF-8 byte strings are decoded as Windows-1252, or as Latin-1 when
    they are not valid Windows-1252 either.
  • Webhook URL validation performed a reverse DNS lookup (a network round-trip)
    for every address the URL resolves to. It is now done only when the address
    is in a blocked network and allow_delivery_hosts is configured, the only
    case where its result is used.
  • Fixed database.init_if_not_exists: true in the server configuration for an
    authentication database whose URI contains a password: the password was
    masked in the URI handed to the initialization step, which then failed to
    connect.
  • Improved the deletion of large subtrees with many associated assets (PostgreSQL only).
  • Fixed client-side accumulation of metadata revisions across pages: a slice
    spanning more than one page (more than 100 revisions) returned subsequent
    pages as nested lists instead of revision records.
  • Fixed CompositeClient.get_contents(maxlen=...), which kept requesting a
    None URL when the pages were exhausted before reaching maxlen.
  • Fixed from_context (and therefore from_uri) ignoring
    include_data_sources=True in the initial metadata fetch, so a client
    pointed directly at a node could not see its data sources.
  • Fixed the deprecation warning for the removed prompt_for_reauthentication
    parameter of from_uri, which was never emitted.
  • Fixed a double slash (e.g. /metadata//x) in the links returned when
    creating a node, which the client then followed for subsequent requests.
  • Fixed ExternalPolicyDecisionPoint allowing writes its policy service
    denied. A {"result": false} reply was not treated as a denial, so nodes,
    graph entities, and links were written anyway. Such writes now fail with
    403 (a GraphQL error for graph writes).
  • Metadata queries on SQLite compare the stored JSON value with its own type
    again under SQLAlchemy 2.1 (e.g. Eq("number", "0") no longer matches a
    stored 0), and the sqlalchemy <2.1 pin is removed.
  • Eq(key, None) and NotEq(key, None) work on SQLite (they raised an error)
    and, as on PostgreSQL, match an explicit JSON null but not a missing key.
  • On SQLite, a None in an In or NotIn list matches an explicit JSON null
    but not a missing key, as Eq/NotEq and the in-memory adapter do.
  • Fixed access tags approved by an external access policy failing with 403
    "Cannot apply access tags that are not defined" on nodes, graph entities,
    and links. Since v0.2.19, a tag needs a row in the catalog database, and
    only user: and service: tags got one on write. Tags an access policy
    approved now get a row on first use.
  • Fix HTTP 500 error when exporting a table as HDF5 (application/x-hdf5).
    Tables now use a dedicated HDF5 serializer instead of the one for containers.
  • /asset/manifest lists paths relative to the asset, as documented. It listed
    absolute paths on the server, which /asset/bytes refuses, so raw_export
    of a directory asset (a Zarr array, for example) wrote no files.
  • /asset/bytes responds with HTTP 404, not 500, when relative_path names
    no file in the asset.
  • In the Python client, raw_export logged a failed download and returned as
    if the export were complete, leaving files missing or cut short. It now
    attempts every file, removes any that was written only in part, and raises
    the first error.
  • Writing to a node whose data is externally managed changed the registered
    files: a write or an append to a registered CSV file, Zarr array or directory
    of awkward buffers went to the source data. These requests are now refused
    with HTTP 405. An update that is only streamed (persist=false) is still
    accepted, since it does not touch the data.
  • A location registered by a client is always externally managed. A client
    with the register scope could register a location on a data source marked
    as managed by the server, or change an external data source to managed with
    PUT /data_source, and the server then removed the registered file or
    directory when the node was deleted. Both are refused with HTTP 403. When a
    node is deleted, files are removed only from writable storage.
Maintenance
  • Fixed flaky test_thread_lock, which started its timer after the worker
    threads had already started.
  • Commit uv.lock and pixi.lock. CI on pull requests and pushes installs
    the locked versions (uv sync --locked), so a new release of a dependency
    cannot break unrelated pull requests; the nightly scheduled run re-resolves
    to the latest releases (uv sync --upgrade) to catch such breakage early.
    Both lockfiles are refreshed by pull requests on the 1st and 15th of each
    month (Dependabot for uv.lock, a workflow for pixi.lock), skipping
    releases less than 3 days old (Dependabot's cooldown, and
    exclude-newer = "3d" in pixi.toml). pixi.toml now requires
    pixi >=0.83.0. Contributors who change dependencies should run uv lock
    (for pyproject.toml) or pixi lock (for pixi.toml) and commit the
    updated lockfile.

v0.2.21

Compare Source

What's Changed

New Contributors

Full Changelog: bluesky/tiled@v0.2.20...v0.2.21

v0.2.20

Compare Source

What's Changed

Full Changelog: bluesky/tiled@v0.2.19...v0.2.20

v0.2.19

Compare Source

Added
  • Expose the Deployment strategy in the helm chart, so that a deployment can
    use Recreate instead of the default RollingUpdate.
  • Add a DELETE /api/v1/asset/{path}?id=N endpoint to dissociate a single
    asset from a node. If the asset is no longer referenced by any other data
    source, its catalog record is deleted; and, when it is internally managed,
    the underlying data (file, directory, object, or storage-database rows) is
    deleted as well. Mirrors node deletion: gated on expose_raw_assets and
    defaults to external_only=true, refusing to delete internally-managed data
    unless external_only=false is passed.
  • Add Container.register, a synchronous client method to register external,
    server-accessible files as a single dataset (array, table, etc.).
  • Add registration support for Parquet files.
  • OpenTelemetry tracing for the server, exported over OTLP. The example monitoring
    stack (compose.monitoring.yml) now includes an OpenTelemetry Collector, Jaeger,
    and Grafana Tempo (traces are sent to both backends), and the Collector also
    scrapes and re-exposes Tiled's Prometheus metrics.
  • Emit OpenTelemetry spans for internal request phases (access control, read,
    tokenize, pack) so they appear as child spans in a request's trace, giving a
    per-request breakdown of where time is spent.
  • Disable FastAPI's built-in OpenTelemetry auto-configuration
    (telemetry={"auto_configure": False}) so that, on FastAPI >=0.142, it does
    not register a second OTLP exporter alongside Tiled's own tracing pipeline and
    export every span twice.
  • Documentation: a user-guide page on validating metadata against custom specs
    via server configuration.
  • ACL filtering by access tags ids resolved from access tag names on the server.
    The ids are passed as literals in the querries, which allows Postgres to use
    extended statstics to plan the query.
  • Container.search_deep(*queries, max_depth=None) and the corresponding
    GET /api/v1/search-deep/{path} HTTP endpoint, which search all
    descendants of a node (at any depth), not just direct children. Multiple
    queries are combined with logical AND. Results are
    returned as a DeepSearchResults mapping keyed by path tuples relative
    to the search root. Supported by both the SQL catalog and MapAdapter,
    including MapAdapter trees with a catalog (or other container adapter)
    mounted at a sub-path, e.g. via trees configuration. Results are in default
    (database) order; sorting is not supported. Looking up a single result with
    results[key] scans the results and is linear in their number.
    Access policy is applied to every container between the search root and a
    match, as path traversal does for other routes, so a node is not returned
    (and its container's name not revealed) if a container above it is not
    visible to the requesting user. See
    #​1368.
  • Zarr arrays are served with dims taken from the store: Zarr v3
    dimension_names, or the _ARRAY_DIMENSIONS attribute on Zarr v2 arrays.
    An array with any unnamed dimension keeps dims=None.
Changed
  • Replace catalog access_blob column with a normalized access_tags table.
    Tags, grants, tag ownership, and node-tag associations now live in the
    catalog database; graph entities and links share the same tags table,
    but have their own association tables. Per-user principal tags replace
    user-owned blobs and are granted implicitly to their principals.
  • AccessTagsParser and AccessTagsCompiler now discover and use the catalog
    database on both SQLite and PostgreSQL. Removed tag definitions retain their
    node associations but lose their grants, preventing transient configuration
    failures from erasing access-control information. The server remains
    compatible with older clients that use access_blob.
  • Deployment note: this change includes four sequential catalog migrations
    (an intermediate blob-association schema, conversion to tags, a
    parent-scoped node-tag association, and naming adjustment). Apply the full
    migration chain without stopping at an intermediate revision. This also drops
    the old metadata index; deploy the improved replacement index from #​1521
    as well.
  • Object-storage (S3) tests now run against an in-process moto S3 server
    started automatically by the test suite, instead of requiring a MinIO
    container (whose image was removed from Docker Hub). Set TILED_TEST_BUCKET
    to point the tests at a real MinIO/S3 endpoint instead.
  • The server depends on PyJWT instead of python-jose to sign and verify
    JSON Web Tokens.
  • Remove curl from the container image; it was only used for health checks.
    The compose.yml and compose.dev.yml health checks now use httpx
    instead.
Fixed
  • Roll back catalog node creation when SQL identifier validation fails, so a
    corrected retry is not blocked by a partially-created node.
  • Encode application/json-seq table exports with the RFC 7464 record
    separator and line-feed framing, preventing single-row sequences from being
    mistaken for a single JSON document by browser clients.
  • Extend to zarr routes the previous fix for reads of array data whose
    on-disk shape has diverged from the shape recorded in the catalog
    structure, which can happen while an array is being extended
    (e.g. streaming appends).
  • Make retrying of non-idempotent requests (create and append) safe against duplication.
  • distinct on a catalog node counted nodes across the whole catalog instead of
    only the node's children. It is now scoped to the requested node.
  • Fix the background task that purges expired Sessions and API keys. It
    crashed on its first run and was never retried, so expired entries
    (including the short-lived keys minted for websocket subscriptions)
    could accumulate until a Principal hit the API-key limit. Expired entries
    are now removed with a single bulk DELETE, so a large backlog is not loaded into
    memory. The task also purges expired PendingSessions (device-code login attempts).
  • Deleting a Session is no longer blocked by a pending device-code login that
    still references it: pending_sessions.session_id is now ON DELETE SET NULL, so the reference is detached instead.
  • On shutdown, the server now stops its background tasks, and waits for them,
    before closing the database connection pool. Closing the pool first could
    leave a background task running and hang shutdown.
  • from_uri applies its timeout and trust_env arguments, or the default
    timeouts when none are given, to the first request it makes to an http:// URI.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner October 22, 2026 23:38
@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.32%. Comparing base (49d96a9) to head (21dbf23).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1717   +/-   ##
=======================================
  Coverage   96.32%   96.32%           
=======================================
  Files          50       50           
  Lines        3832     3832           
=======================================
  Hits         3691     3691           
  Misses        141      141           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate
renovate Bot force-pushed the renovate/tiled-0.x branch from 8adb1d7 to d6b5e22 Compare October 26, 2026 15:48
@renovate
renovate Bot force-pushed the renovate/tiled-0.x branch from d6b5e22 to 9ede4bd Compare November 3, 2026 02:43
@renovate renovate Bot changed the title fix(deps): update dependency tiled to v0.2.20 fix(deps): update dependency tiled to v0.2.21 Nov 3, 2026
@renovate
renovate Bot force-pushed the renovate/tiled-0.x branch 3 times, most recently from c8bddf6 to d260e81 Compare November 10, 2026 18:18
@renovate
renovate Bot force-pushed the renovate/tiled-0.x branch from d260e81 to ad053d2 Compare November 16, 2026 15:15
@renovate renovate Bot changed the title fix(deps): update dependency tiled to v0.2.21 fix(deps): update dependency tiled to v0.2.22 Nov 18, 2026
@renovate
renovate Bot force-pushed the renovate/tiled-0.x branch from ad053d2 to c86b02e Compare November 18, 2026 11:46
@renovate
renovate Bot force-pushed the renovate/tiled-0.x branch from c86b02e to 21dbf23 Compare November 25, 2026 15:42
@renovate renovate Bot changed the title fix(deps): update dependency tiled to v0.2.22 fix(deps): update dependency tiled to v0.2.23 Nov 25, 2026
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f58d8614-31a7-4c28-9c4f-aa760036a12c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants