Skip to content

v0.68.0

Choose a tag to compare

@lukasbindreiter lukasbindreiter released this 30 Oct 13:29
· 2 commits to main since this release
07dccf2

Added

  • tilebox-datasets: Support scalar and repeated custom enums in schema definitions with "type": "enum",
    enum_values, and optional "repeated": True. Ingest and query case-sensitive public strings through
    sync and async clients, including pandas and xarray inputs.
  • tilebox-datasets: Add field(...).contains(), .contains_all(), and .contains_any() filters for
    queryable repeated enums. Empty contains_all([]) matches every row; contains_any([]) matches none.
    Negated membership includes untagged rows. Requires a backend supporting enum membership predicates.
  • tilebox-workflows: Add workflow selection by reference or object to job submission and automation creation,
    and workflows filters to job queries. Omitting scope preserves unscoped direct-runner behavior.
  • tilebox-workflows: Preserve task workflow IDs and inherit the executing parent's scope for children.
    Keep child scope inheritance internal to the runner and task discovery and release content unbound.
  • tilebox-workflows: Expose workflow IDs, references, project slugs, and presence-aware legacy alias policies.
    Retain .slug compatibility.

Changed

  • tilebox-datasets: Return repeated enums, including built-ins such as SAR polarizations, as one
    list[str] per row in xarray object columns, preserving the returned order. Remove their extra
    n_<field> dimension and retain empty values as [], even when the entire returned column is empty.
    Update code that indexes the former array dimension to access the per-row list instead.
    Other repeated fields keep their padded arrays.
  • tilebox-workflows: Always create scoped-only workflows with legacy task aliases disabled.
  • tilebox-workflows: Use UnboundTaskIdentifier for task metadata, runner registries, and release contents;
    keep execution scope in TaskIdentifier and resolve each future task's scope before merging submissions.
  • tilebox-workflows: Rename the Workflow constructor field slug to reference; retain .slug as a read-only
    alias. Order workflows by reference, name, and ID (missing IDs first), ignoring other metadata when sorting.
  • tilebox-core: New package to own shared Connect RPC infrastructure and protobuf-py messages, public
    tilebox.query interval/pagination types, and tilebox.errors exceptions with a common TileboxError base.
  • tilebox-grpc: Retain an empty compatibility package depending on tilebox-core>=0.68.0 for one release.
  • tilebox-datasets, tilebox-workflows, and tilebox-storage: Depend explicitly on
    tilebox-core; datasets retains its scientific and LZ4 dependencies.
  • tilebox-workflows: Remove the runtime dependency on datasets. Existing public datasets imports
    of shared intervals, pagination, and conversions remain compatible. Task interval serialization is unchanged.
  • Parse ordinary Python datetimes without pandas. Strings and scientific datetime values still use pandas;
    workflows-only users need to install pandas explicitly for those inputs. Dataset installations are unchanged.
  • Raise tilebox.errors.RequestCanceledError for remote request cancellation instead of KeyboardInterrupt.
  • Require Tilebox sibling dependencies version 0.68.0 or newer. When upgrading from older releases,
    upgrade all installed Tilebox packages together; older releases do not enforce this minimum.
  • Use Connect over HTTP/2 by default. Keep transport="http1" for proxies that block HTTP/2,
    and accept transport="grpc" as a silent alias for "http2".
  • Replace generated _pb2 modules with native _pb modules. User-defined protobuf task
    arguments use protobuf-py messages; existing stored binary task payloads remain compatible.
  • Resolve dynamic dataset schemas by descriptor content and compile scientific conversion
    plans per schema, including projected metadata-only queries.
  • Bundle native OTEL response types in workflows and convert them directly into log/span
    objects. Keep the official OpenTelemetry SDK and HTTP exporters for telemetry export.
  • Serve managed workers over Connect HTTP/1 with independent log streams and task calls.
    Managed workers require a CLI with Connect worker support; that CLI still supports older workers.
  • tilebox-workflows: Show log levels first, local-time timestamps, and structured attributes in console output,
    omitting task_id, trace_id, and span_id only from the console. Add disable_console_logging() to silence
    console output without affecting exports. Rename configure_console_logging(level=...) to filter_level=...
    and default it to logging.NOTSET (no additional console filtering). Use configure_log_level(logging.DEBUG)
    to enable task DEBUG logs for both console output and Tilebox's API export.

Deprecated

  • tilebox-datasets: Deprecate the root TimeseriesDataset and TimeseriesCollection aliases.
    They still refer to asynchronous clients. Use tilebox.datasets.aio.DatasetClient and
    CollectionClient for the same classes, or the root DatasetClient and CollectionClient
    for synchronous code.

Fixed

  • tilebox-workflows: Flush and close client-owned tracing exporters when closing a client,
    without shutting down shared exporters. Release closed clients from the tracing registry.
  • tilebox-datasets: Count each page's actual datapoints in synchronous query progress bars.