datalinker is versioned with semver. Dependencies are updated to the latest available version during each release. Those changes are not noted here explicitly.
Find changes for the upcoming release in the project's changelog.d directory.
- Include the new CUTOUTMODE parameter to the cutout service in the DataLink descriptor for image cutouts. Provide three services,
cutout-sync,cutout-sync-maskedimage, andcutout-sync-exposure, corresponding to the three possible settings of that parameter. The default is nowImage, containing only the image pixels.
- Publish multi-platform images that support both linux/amd64 and linux/arm64.
- Update to the latest Repertoire client for compatibility with the new service discovery model. This release requires Repertoire 0.6.0 or later.
- Retrieve the cutout sync URL using Repertoire 0.4.0 support for API versions.
- Add an optional
join_stylequery parameter when constructing time series that can be set to eitherccdVisit(the original scheme) orvisit_detector. If set tovisit_detector, the constructed query will join onvisitanddetectorcolumns.
- Remove HiPS list support. This has moved to Repertoire.
- Use service discovery via Repertoire to get the URL of the cutout service. As of this release, Repertoire must be enabled and deployed in the same Phalanx environment for datalinker to work.
- Add optional support for reporting exceptions to Sentry.
- Add new HiPS list routes for the v2 path layout, which provides a separate HiPS tree, with its own list, for each data release.
- Drop
Expiresfrom the reply headers of the{links}endpoint, since that header is effectively obsolete since HTTP/1.1 given the presence ofCache-Controlwith amax-ageparameter.
- Set
ExpiresandCache-Controlheaders on the links reply reflecting the expiration time of signed image URLs, informing clients that the response should not be cached beyond the expiration of those URLs. The lifetime of the links is specified as a new configuration option for now. That option will be removed once that lifetime is available from Butler.
- datalinker now requires uv for development and frozen dependencies.
- Use
lsst.daf.butlerto parse Butler URIs rather than doing the parsing internally. This adds support for the new Butler URI format that will be used for future data releases.
- Drop support for direct Butler and require client/server Butler.
- Update to a new version of
lsst.daf.butler, which changes the REST API implementation in a backward-incompatible way to match the new release of the Butler server.
- Update lsst-resources, fixing a memory leak.
- Update to the latest Butler client, which may require running an equally new version of the Butler server.
- Add support for querying the Butler server for images rather than instantiating local Butler instances. To support this, datalinker now requests delegated tokens from Gafaelfawr so that it can make API calls on behalf of the user.
- Standardize using a
DATALINKER_prefix for all environment variables used to configure datalinker. - Diagnose more errors in environment variable settings and fail on startup if the configuration is not valid.
- Add support for reporting uncaught exceptions to a Slack incoming webhook.
- Support configuration of the DataLink and HiPS URL prefixes on which datalinker should listen.
- Configure Uvicorn to log accesses in a JSON format if datalinker is configured to use the production logging profile.
- Validate the configuration parameters passed via environment variables and error out early if they are set to invalid values.