Skip to content

Commit

Permalink
Client Release v3.2.1 (#12712)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 784f5556fa4ff6946f2a495ca91f076d4a02e30a
  • Loading branch information
stephencpope authored and Descartes Labs Build committed Oct 21, 2024
1 parent 483f675 commit af38f92
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion descarteslabs/core/client/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit af38f92

Please sign in to comment.