Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep release 5.0.28 #8554

Merged
merged 1 commit into from
Feb 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,40 @@
Moto Changelog
==============

5.0.28
-----
Docker Digest for 5.0.28: <autopopulateddigest>

* General:
* Bootstrapping a CDK project is now supported

* New Services:
* S3 Tables:
* create_namespace()
* create_table()
* create_table_bucket()
* delete_namespace()
* delete_table()
* delete_table_bucket()
* get_metadata_location()
* get_table()
* get_table_bucket()
* list_namespaces()
* list_table_buckets()
* list_tables()
* rename_table()
* update_metadata_location()

* Miscellaneous:
* DynamoDB: delete_item() now returns ConsumedCapacity
* DynamoDB: transact_write_items() now returns a ReturnValuesOnConditionCheckFailure for all operations
* ECR: Lifecycle Policies() now support the tagPatternList-parameter
* S3: get_object() now returns the ETag when returning a 304 (Not Modified)
* SecretsManager: get_secret_value() no longer throws an error after calling rotate_secret(RotateImmediately=False)
* SecretsManager: list_secrets() now filters values with special chars correctly
* Organizations: list_roots() now returns the roots of the parent organization, if called from within a child organization


5.0.27
-----
Docker Digest for 5.0.27: _sha256:ac5312f68c6b748b667526025f9e7a8c2e4112837c258eee68f96fa36d9dbbef_
Expand Down
34 changes: 33 additions & 1 deletion IMPLEMENTATION_COVERAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,7 @@
- [ ] register_organization_delegated_admin
- [X] remove_tags
- [ ] restore_event_data_store
- [ ] search_sample_queries
- [ ] start_dashboard_refresh
- [ ] start_event_data_store_ingestion
- [ ] start_import
Expand Down Expand Up @@ -7757,6 +7758,38 @@
- [ ] update_storage_lens_group
</details>

## s3tables
<details>
<summary>53% implemented</summary>

- [X] create_namespace
- [X] create_table
- [X] create_table_bucket
- [X] delete_namespace
- [X] delete_table
- [X] delete_table_bucket
- [ ] delete_table_bucket_policy
- [ ] delete_table_policy
- [X] get_namespace
- [X] get_table
- [X] get_table_bucket
- [ ] get_table_bucket_maintenance_configuration
- [ ] get_table_bucket_policy
- [ ] get_table_maintenance_configuration
- [ ] get_table_maintenance_job_status
- [ ] get_table_metadata_location
- [ ] get_table_policy
- [X] list_namespaces
- [X] list_table_buckets
- [X] list_tables
- [ ] put_table_bucket_maintenance_configuration
- [ ] put_table_bucket_policy
- [ ] put_table_maintenance_configuration
- [ ] put_table_policy
- [X] rename_table
- [X] update_table_metadata_location
</details>

## sagemaker
<details>
<summary>31% implemented</summary>
Expand Down Expand Up @@ -9584,7 +9617,6 @@
- route53profiles
- rum
- s3outposts
- s3tables
- sagemaker-a2i-runtime
- sagemaker-edge
- sagemaker-featurestore-runtime
Expand Down
1 change: 1 addition & 0 deletions docs/docs/services/cloudtrail.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ cloudtrail
- [ ] register_organization_delegated_admin
- [X] remove_tags
- [ ] restore_event_data_store
- [ ] search_sample_queries
- [ ] start_dashboard_refresh
- [ ] start_event_data_store_ingestion
- [ ] start_import
Expand Down
14 changes: 6 additions & 8 deletions moto/ecs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,14 +527,6 @@ def response_object(self) -> Dict[str, Any]: # type: ignore[misc]


class Service(BaseObject, CloudFormationModel):
"""Set the environment variable MOTO_ECS_SERVICE_RUNNING to a number of running tasks you want
the service to transition to, ie if set to 2:

MOTO_ECS_SERVICE_RUNNING=2

then describe_services call to return runningCount of the service AND deployment to 2
"""

def __init__(
self,
cluster: Cluster,
Expand Down Expand Up @@ -997,6 +989,12 @@ class EC2ContainerServiceBackend(BaseBackend):
`MOTO_ECS_NEW_ARN=false`

AWS reference: https://aws.amazon.com/blogs/compute/migrating-your-amazon-ecs-deployment-to-the-new-arn-and-resource-id-format-2/

Set the environment variable MOTO_ECS_SERVICE_RUNNING to a number of running tasks you want. For example:

MOTO_ECS_SERVICE_RUNNING=2

Every describe_services() will return runningCount AND deployment of 2
"""

def __init__(self, region_name: str, account_id: str):
Expand Down
Loading