v11.1.7
laurenfrederick
released this
07 Oct 13:25
·
991 commits
to master
since this release
Please note changes in 11.1.7 may not yet be released in future versions, as
this is a backport and patch release on the 11.1.x series of releases. Updates that
are included in the future will have a corresponding CHANGELOG entry in future
releases.
Fixed
- CUMULUS-3024
- Update PUT /granules endpoint to operate consistently across datastores
(PostgreSQL, ElasticSearch, DynamoDB). Previously it was possible, given a
partial Granule payload to have different data in Dynamo/ElasticSearch and PostgreSQL - Given a partial Granule object, the /granules update endpoint now operates
with behavior more consistent with a PATCH operation where fields not provided
in the payload will not be updated in the datastores. - Granule translation (db/src/granules.ts) now supports removing null/undefined fields when converting from API to Postgres
granule formats. - Update granule write logic: if a
null
files key is provided in an update payload (e.g.files: null
),
an error will be thrown.null
files were not previously supported and would throw potentially unclear errors. This makes the error clearer and more explicit. - Update granule write logic: If an empty array is provided for the
files
key, all files will be removed in all datastores
- Update PUT /granules endpoint to operate consistently across datastores
- CUMULUS-2971
- Updated
@cumulus/aws-client/S3ObjectStore
class to take string query parameters and
its methodssignGetObject
andsignHeadObject
to take parameter presignOptions
- Updated
- CUMULUS-2557
- Updated
@cumulus/aws-client/S3/moveObject
to handle zero byte files (0 byte files).
- Updated
- CUMULUS-3021
- Updated
@cumulus/api-client/collections
and@cumulus/integration-tests/api
to encode
collection version in the URI path
- Updated
- CUMULUS-3027
- Pinned typescript to ~4.7.x to address typing incompatibility issues
discussed in knex/knex#5279 - Update generate-ts-build-cache script to always install root project dependencies
- Pinned typescript to ~4.7.x to address typing incompatibility issues