Skip to content

Commit 19a3020

Browse files
committed
Add towncrier
1 parent 294473e commit 19a3020

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

doc/changes/DM-52397.misc.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
`Butler.registry.queryDatasets`, `Butler.registry.queryDataIds`, and `Butler.registry.queryDimensionRecords` have been re-implemented using the same query framework backing `Butler.query()` and the various `Butler.query_*()` methods. Though the `Butler.registry.*` methods are not yet deprecated, users are encouraged to begin migrating to the equivalent `Butler.query_*` functions. The new implementation comes with a number of minor behavior changes:
2+
- We no longer raise an exception if governor dimension values in a query constraint are not known to the registry. Instead, we return no results.
3+
- Result rows are now deduplicated.
4+
- `findFirst` searches are now supported in calibration collections.

doc/changes/DM-52397.removal.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
Removed deprecated `DatasetQueryResults.materialize()` method.
22
Removed deprecated `offset` parameter from the `limit` method in the `DataCoordinateQueryResults`, `DatasetQueryResults`, and `DimensionRecordQueryResults` classes.
3+
Removed the deprecated feature where HTM and HEALPix spatial dimensions like `htm11` or `healpix10` could be used in data ID constraints passed to queries. The exception is `htm7`, which will continue to work. Users should instead use region `OVERLAPS` constraints in query `where` expressions.
4+
Removed support for `<` and `>` operators in `Butler.registry.query*()` `where` strings for comparisons of `Timespan` vs `Timespan`, or `Timespan` vs `Time`. Instead, use `timespan.begin < ts` or `timespan.end > ts` to explicitly indicate which timespan bound you are comparing with.

0 commit comments

Comments
 (0)