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

v0.6.0

Compare
Choose a tag to compare
@jkeifer jkeifer released this 06 Jan 06:11
· 29 commits to main since this release

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)