From af38f923ae2c5529d52183e36c8ceae8931c43f0 Mon Sep 17 00:00:00 2001 From: "Stephen C. Pope" Date: Mon, 21 Oct 2024 11:08:21 -0600 Subject: [PATCH] Client Release v3.2.1 (#12712) GitOrigin-RevId: 784f5556fa4ff6946f2a495ca91f076d4a02e30a --- README.md | 16 +++++++++++++++- descarteslabs/core/client/version.py | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3c520ec7..260cf46e 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,23 @@ Changelog ## Unreleased +## [3.2.1] - 2024-10-21 + +## Authentication + +- The links for interacting with login and token generation have been updated to refer to `https://app.descarteslabs.com`. + ## Catalog -- EventSchedule now has a read-only `expires` attribute which indicates when the schedule will be expired and deleted. +- All `CatalogObject` classes which support the `owners`, `writers`, and `readers` fields have been refactored to derive this support from the new `AuthCatalogObject`. This change does not affect the behavior of any of these classes. The methods `AuthCatalogObject.user_is_owner()`, `AuthCatalogObject.user_can_write()`, and `AuthCatalogObject.user_can_read()` have been added to allow testing of permissions prior to attempting an operation such as updating or deleting the object. +- `EventSchedule` now has a read-only `expires` attribute which indicates when the schedule will be expired and deleted. +- `EventSubscription` now has a read-only `owner_role_arn` field which contains the AWS Role which will be used by certain `EventRule` targets that reside in an external AWS account. +- `EventRule` has been enhanced to support SQS Queue targets. +- Several new helper classes for use with `EventSubscription` are now supported: `EventSubscriptionSqsTarget`, `NewImageEventSubscription`, `NewStorageEventSubscription`, `NewVectorEventSubscription`, and `ComputeFunctionCompletedEventSubscription`. The latter supports events generated by the Compute service as described below. + +## Compute + +- The Compute service now generates a `compute-function-completed` event every time the number of outstanding (pending or running) jobs transitions to 0, akin to the `Function.wait_for_completion()` method. These can be used with the Catalog service events support to trigger other operations. ## [3.2.0] - 2024-10-08 diff --git a/descarteslabs/core/client/version.py b/descarteslabs/core/client/version.py index e5c0b865..468ca3cb 100644 --- a/descarteslabs/core/client/version.py +++ b/descarteslabs/core/client/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "3.2.0" +__version__ = "3.2.1"