Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Releases: cirrus-geo/cirrus-lib

v0.8.1

02 Nov 00:40
Compare
Choose a tag to compare

What's Changed

Full changelog: v0.8.0...v0.8.1

Added

  • Added predicate= option to transfer.download_item_assets, allowing a
    function to determine which assets to download (#55)

Changed

  • boto3utils minimum version 0.3.3

Fixed

  • statedb bug for paged queries using secondary index (#58)

v0.8.0

13 Sep 02:43
Compare
Choose a tag to compare

What's Changed

Full changelog: v0.7.0...v0.8.0

Added

  • Ability to filter statedb job queries using a specific error beginswith string (#49)
  • Add start_datetime and end_datetime message attributes for messages to CIRRUS_PUBLISH_SNS (#53)

Changed

  • ProcessPayload.process['output_options'] has been deprecated in favor of 'upload_options' (#51)

Fixed

  • Missing item datetime property will not fail message publishing (#53)

v0.7.0

17 Feb 22:29
64f7cd1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.2...v0.7.0

Added

  • Support for an ABORTED workflow state (#44)

v0.6.2

07 Feb 20:43
b01f2e2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.1...v0.6.2

Fixed

  • Issues when payloads are duplicated (#41)

v0.6.1

13 Jan 19:47
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.0...v0.6.1

Added

  • support for item filtering when chainging workflows (#37)
  • official support for python 3.9 and 3.10 (#38)

v0.6.0

06 Jan 06:11
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.6.0

⚠️ Breaking changes

  • Package now installed in cirrus namespace as cirrus.lib.
    Change all imports from cirruslib to cirrus.lib
  • Catalog and Catalogs now ProcessPayload and ProcessPayloads
  • catalog.py module renamed process_payload.py
  • ProcessPayload.process() converted to __call__() method
  • ProcessPayload.process is now a property that will return the
    current process definition in the case of a chained process array
  • ProcessPayload.from_payload() renamed from_event()
  • ProcessPayload.publish_to_s3() renamed publish_items_to_s3()
  • ProcessPayload.publish_to_sns() renamed publish_items_to_sns()
    • Note that ProcessPayload.publish_to_sns() still exists but now
      publishes whole payload to an SNS topic, not each item
  • All instances of the term catalog replaced by payload
  • All instances of the abbreviation cat replaced by payload
  • All instances of catid replaced by payload_id
  • ProcessPayload.get_catalog() renamed get_payload()
  • ProcessPayloads.catids renamed payload_ids
  • ProcessPayloads.from_catids() renamed from_payload_ids()
  • StateBD.catid_to_key() renamed payload_id_to_key()
  • StateBD.key_to_catid() renamed key_to_payload_id()
  • StateBD.get_input_catalog_url() renamed get_input_payload_url()
  • env var CIRRUS_CATALOG_BUCKET renamed CIRRUS_PAYLOAD_BUCKET
  • env var BASE_WORKFLOW_ARN renamed CIRRUS_BASE_WORKFLOW_ARN

Added

Changed

  • move code under /src and change to cirrus namespace package
    by @jkeifer (#31)
  • Catalog renamed to ProcessPayload and all references to catalog
    changed to payload by @jkeifer (#34)
  • tests default to us-west-2 region if not otherwise set in env vars
    by @jkeifer (c919fad)

Fixed

  • exception traceback logging now shows stacktrace @jkeifer (#30)
  • codecov reporting now works by @jkeifer (#33)
  • ProcessPayloads.process() now returns list of processed payload_ids
    by @jkeifer (02ff5e3)

Removed

  • version now tracked through git tags not version.py by @jkeifer (#31)

v0.6.0a2

29 Dec 21:21
970f3a5
Compare
Choose a tag to compare
v0.6.0a2 Pre-release
Pre-release

What's Changed

Full Changelog: v0.5.1...v0.6.0a2

v0.6.0a1

22 Dec 18:59
e2a96e3
Compare
Choose a tag to compare
v0.6.0a1 Pre-release
Pre-release

What's Changed

Full Changelog: v0.5.1...v0.6.0.a1

v0.5.1

01 Oct 20:33
784456d
Compare
Choose a tag to compare

[v0.5.1] - 2021-10-01

Changed

  • The outputs parameter to stateddb.set_completed() is no longer required, but now optional
  • Added `statedb.set_outputs() to set outputs indepentent of execution state

v0.4.6

19 Jul 16:33
88ae8ac
Compare
Choose a tag to compare

[v0.4.6] - 2021-07-15

Changed

  • Update boto3-utils minimum version
  • get_s3_session now only handles error from missing secrets when trying to get bucket credentials