Releases: bluesky/tiled
Releases · bluesky/tiled
💉 Add OCI standard container health checks to run Tiled on Kubernetes
What's Changed
- Fix bug with pickling
Context
by @danielballan in #768 - 💉 Add health check for hosting containerized tiled instances by @Kezzsim in #770
Full Changelog: v0.1.0b5...v0.1.0b6
v0.1.0b5
Added
- Support partial download of an asset using the
HTTPRange
Header.
Fixed
- When authenticated as a Service Principal, display the SP's uuid in
the client Context repr. - The dependency
json-merge-patch
, introduced in v0.1.0b4, was missing from
some pip selectors.
v0.1.0b4
Changed
- Minor implementation changes were necessary to make Tiled compatible with
Numpy 2.0. - For improved security, the server-side array slicing function has been
refactored to avoid usingeval()
. To be clear: there were no known
exploitable vulnerabilities in theeval()
approach. The input was validated
against a regular expression before being passed toeval()
. However,
avoidingeval()
altogether is better practice for defense-in-depth against
potential code injection attacks due to current or future bugs in Tiled or
its upstream dependencies.
v0.1.0b3
Added
- Added a new HTTP endpoint,
PATCH /api/v1/metadata/{path}
supporting modifying
existing metadata using aapplication/json-patch+json
or a
application/merge-patch+json
patch. - Added client-side methods for replacing, updating (similar to
dict.update()
),
and patching metadata.
Fixed
- Fixed regression introduced in the previous release (v0.1.0b1) where exceptions
raised in the server sent no response instead of properly sending a 500
response. (This presents in the client as, "Server disconnected without
sending a response.") A test now protects against this class of regression.
v0.1.0b2
Changed
- Customized default logging configuration to include correlation ID and username
of authenticated user. - Added
--log-timestamps
CLI flag totiled serve ...
to opt in to including
timestamp prefix in log messages.
v0.1.0b1
Added
- Support for
FullText
search on SQLite-backed catalogs
Fixed
- Updated
BaseClient.formats
to use thedict
structure for specs. - The
tiled serve directory --watch
function was not compatible with recentanyio
v0.1.0a122
Fixed
- A dependency on
fastapi
was introduced intiled.adapters
. This has been
removed.
v0.1.0a121
Added
- The
tiled serve ...
CLI commands now accept a--log-config
option,
pointing to a custom uvicorn logging configuration file. An example
file was added to the repository root,example_log_config.yml
. - Added
tiled.adapters.protocols
which will provide possibility for user to
implement their custom adapters in a way that satisfies mypy. - Added
tiled.client.smoke
with a utility for walking a node and ensuring
that the data in it can be read. - Added
tiled.client.sync
with a utility for copying nodes between two
Tiled instances. - Show authentication state in
Context
repr.
Changed
- SQLite-backed catalogs now employ connection pooling. This results in a
significant speed-up and avoids frequently re-opening the SQLite file. - Metadata returned from the use of the
select_metadata
is now a one-item
dictionary with 'selected' as the key, to match default type/behavior. - The method
BaseClient.data_sources()
returns dataclass objects instead of
raw dict objects. tiled.client.sync
has conflict handling, with initial options of 'error'
(default), 'warn', and 'skip'
Fixed
- Propagate setting
include_data_sources
into child nodes. - Populate attributes in member data variables and coordinates of xarray Datasets.
- Update dependencies.
- Fix behavior of queries
In
andNotIn
when passed an empty list of values.
v0.1.0a120
v0.1.0a120 (25 April 2024)
Fixed
- The
content-encoding
blosc
was recently upgraded from Blosc to Blosc2.
Thecontent-encoding
has been renamed toblosc2
to avoid version
confusion between different versions of Tiled servers and clients.
v0.1.0a119
Fixed
- Metric-reporting had an error when
compress
timing was recorded but
content-encoding
header was unset.