Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

chore(deps): update dependency moto to v5 #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 27, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
moto (changelog) ^4.2.12 -> ^5.0.0 age adoption passing confidence

Release Notes

getmoto/moto (moto)

v5.0.10

Compare Source

Docker Digest for 5.0.10: sha256:bfb9cd2a437fc7c754b3a6a66b7fb528ec1a53e0c683e8b75514bff81543cf55

General:
    * CloudFormation now supports cfn-lint v1, as well as v0

New Services:

    * FSX:
        * create_file_system()
        * delete_file_system()
        * describe_file_systems()
        * tag_resource()
        * untag_resource()

    * OpenSearch Serverless:
        * batch_get_collection()
        * create_collection()
        * create_security_policy()
        * create_vpc_endpoint()
        * delete_collection()
        * get_security_policy()
        * list_collections()
        * list_security_policies()
        * list_tags_for_resource()
        * tag_resource()
        * untag_resource()
        * update_security_policy()

    * Shield:
        * create_protection()
        * delete_protection()
        * describe_protection()
        * list_protections()
        * list_tags_for_resource()
        * tag_resource()
        * untag_resource()

New Methods:
    * Sagemaker:
        * create_cluster()
        * delete_cluster()
        * describe_cluster()
        * list_clusters()
        * list_cluster_nodes()

Miscellaneous:
    * CognitoIDP: admin_list_groups_by_user() now supports pagination
    * DynamoDB: transact_write_items() now validates the number of SET expressions
    * DynamoDB: update_item() now validates unused ExpressionAttributeValues
    * DynamoDB: query() now supports pagination when querying Global Indexes
    * EC2: describe_images() - feat: support filtering images by ExecutableUsers=['self']
    * EC2: describe_route_tables() now supports the filter `route.transit-gateway-id`
    * EC2: update_security_group_rule_descriptions_ingress() now supports updating multiple descriptions
    * EKS: create_nodegroup() now supports the `taints`-parameter
    * ELBv2: add_listener_certificates() now validates when adding too many certificates (> 25)
    * ELBv2: describe_target_health() now handles unknown/deregistered/terminated instances better
    * ResourceGroupsTaggingAPI: get_resources() now supports ResourceType=s3:bucket
    * RDS: Clusters now have the `creating`-status on create, and `available` immediately after - in line with AWS
    * SSM: get_parameter() now supports ARN's for the Name-parameter

v5.0.9

Compare Source

Docker Digest for 5.0.9: sha256:df61e4e76344017f6c82924a3dd1cdd4dcbac4095cf234c6d6fb0a0f800fbeff

General:
    * Fixed an InfiniteRecursion-bug when accessing S3-buckets that was introduced in 5.0.8

New Methods:
    * SSO-Admin:
        * list_accounts_for_provisioned_permission_set()
        * list_instances()
        * list_permission_sets_provisioned_to_account()
        * provision_permission_set()
        * update_instance()

Miscellaneous:
    * DynamoDB: query() now handles pagination correctly on a GSI without a range key
    * IAM: create_policy() now returns tags correctly
    * S3: list_objects(): The default value for MaxKeys can now be configured, using an environment variable:
      MOTO_S3_DEFAULT_MAX_KEYS=1

v5.0.8

Compare Source

Docker Digest for 5.0.8: sha256:cfcd97074011bd563cdbeebac35ed710581a23cb2be07ab9b67aa00298fc3369

General:
    * Improved support for non-generic partitions (China, GovCloud, ISO-regions). 
      All ARN's now contain the correct partition for resources created in those regions.

New Services:
    * NetworkManager:
        * create_global_network()
        * describe_global_networks()
        * create_core_network()
        * create_global_network()
        * delete_core_network()
        * list_core_networks()
        * get_core_network()
        * tag_resource()
        * untag_resource()

Miscellaneous:
    * ResilienceHub: list_app_assessments() can now return pre-configured results
    * ResourceGroupTagging: get_resources() now returns results when filtering on "lambda:function"
    * S3: delete_object_tagging()/put_object_tagging() now send an EventBridge notification

v5.0.7

Compare Source

Docker Digest for 5.0.7: sha256:81ac52ff74b0bf0f4957ee4260e6a7e75d66c9e5d040ed4f721a5500b873c88a

New Services:
    * Sagemaker Metrics:
        * batch_put_metrics()

New Methods:
    * DynamoDB:
        * describe_import()
        * import_table()

    * EMR Serverless:
        * cancel_job_run()
        * get_job_run()
        * list_job_runs()
        * start_job_run()

    * IAM:
        * tag_instance_profile()
        * untag_instance_profile()

    * Panorama:
        * create_node_from_template_job()
        * describe_node_from_template_job()
        * list_nodes()

    * SSO-Admin:
        * describe_account_assignment_creation_status()
        * describe_account_assignment_deletion_status()

    * WAFv2:
        * create_ip_set()
        * delete_ip_set()
        * list_ip_sets()
        * get_ip_set()
        * update_ip_set()
        * put_logging_configuration()
        * get_logging_configuration()
        * list_logging_configurations()
        * delete_logging_configuration()

Miscellaneous:
    * Athena: start_query_execution() now supports the ExecutionParameters-parameter
    * DynamoDB: Tables now support DeleteProtection
    * DynamoDB: update_item() no longer throws an error when deleting an item from an empty set
    * DynamoDB: update_item() no throws an error when adding an empty set
    * EC2: delete_network_acl() now throws an error when the ACL still has associations attached to it
    * EC2: describe_route_tables() now supports the `route.nat-gateway-id` filter
    * EC2: revoke_security_group_ingress/_egress() now throw an error when an unknown Security Group is passed

v5.0.6

Compare Source

Docker Digest for 5.0.6: sha256:da919d3c1db07b378c413ed00a6c1c3e32ce1943a13671658c4db0f55dd49e42

New Services:
    * Bedrock:
        * create_model_customization_job()
        * delete_custom_model()
        * delete_model_invocation_logging_configuration()
        * get_custom_model()
        * get_model_customization_job()
        * get_model_invocation_logging_configuration()
        * list_custom_models()
        * list_model_customization_jobs()
        * list_tags_for_resource()
        * put_model_invocation_logging_configuration()
        * stop_model_customization_job()
        * tag_resource()
        * untag_resource()

    * BedrockAgent:
        * create_agent()
        * create_knowledge_base()
        * delete_agent()
        * delete_knowledge_base()
        * get_agent()
        * get_knowledge_base()
        * list_agents()
        * list_knowledge_bases()
        * list_tags_for_resource()
        * tag_resource()
        * untag_resource()

New Methods:
    * EC2:
        * describe_addresses_attributes()

    * Rekognition:
        * detect_custom_labels()

    * Sagemaker:
        * update_trial_component()

Miscellaneous:
    * CloudFront: update_distribution() now supports the CacheBehaviours-parameter
    * DynamoDB: query() now acts correctly when paginating GSI tables without range keys
    * EC2: RouteTables can now have multiple propagations
    * EC2: describe_instances() now now filter by product-code and product-code.type
    * EC2: describe_security_group_rules() now validates the format of the incoming security group id's
    * ECS: update_service() now supports the loadBalancers-parameter
    * Logs: describe_metric_filter() now has the correct validation for metricNamespaces
    * IOT: search_index() now supports thingTypeName
    * SFN: send_task_failure()/send_task_success() now work correctly when using the Parser
    * SNS: subscribe() now throws an exception if the endpoint doesn't exist
    * SQS: Improved queue name validation

v5.0.5

Compare Source

Docker Digest for 5.0.5: sha256:b95cf0d65557475f29e7256938028eef352e23acafe8e07c071cd58b67c44708

General:
    * DynamoDB: scan() now returns items in a alphabetical order

New Methods:
    * SecretsManager:
        * batch_get_secret_value()

Miscellaneous:
    * ApplicationAutoscaling: put_scaling_policy() now generates CW alarms for DynamoDB and ECS
    * DynamoDB: Fix pagination for scan()/query()
    * DynamoDB: batch_write_item() now validates for duplicate DELETE or PUT requests
    * Events: put_events() now validates that input-values cannot be empty
    * IOT: create_topic_rule() now validates name-format
    * ResourceGroupsTaggingAPI: tag_resources() now supports RDS snapshots
    * SFN: Fixed a bug where the executionInput was double encoded

v5.0.4

Compare Source

Docker Digest for 5.0.4: sha256:e13e917e563bd1e3bb745b0ce914bdcc3bd4577542e13e1468eac5078774b2aa

General:
    * Lambda: The results of a Dockerless invocation can now be configured.
      See http://docs.getmoto.org/en/latest/docs/services/lambda.html

    * StepFunctions can now execute the provided StepFunctionMachine (opt-in), instead of returning static data (still the default).
      See http://docs.getmoto.org/en/latest/docs/services/stepfunctions.html

New Service:
    * ElastiCache:
        * list_tags_for_resource()

    * ResilienceHub:
        * create_app()
        * create_app_version_app_component()
        * create_app_version_resource()
        * create_resiliency_policy()
        * describe_app()
        * describe_resiliency_policy()
        * import_resources_to_draft_app_version()
        * list_app_assessments()
        * list_app_version_app_components()
        * list_app_version_resources()
        * list_app_versions()
        * list_apps()
        * list_resiliency_policies()
        * list_tags_for_resource()
        * publish_app_version()
        * tag_resource()
        * untag_resource()

    * Workspaces:
        * create_tags()
        * create_workspace_image()
        * create_workspaces()
        * deregister_workspace_directory()
        * describe_client_properties()
        * describe_tags()
        * describe_workspace_directories()
        * describe_workspace_image_permissions()
        * describe_workspace_images()
        * describe_workspaces()
        * modify_client_properties()
        * modify_selfservice_permissions()
        * modify_workspace_creation_properties()
        * register_workspace_directory()
        * update_workspace_image_permission()

Miscellaneous:
    * APIGateway: update_usage_plan() now supports some remove-operations
    * Autoscaling: describe_auto_scaling_groups() now returns a dynamic CreatedTime
    * CloudFormation: Outputs now support Conditions
    * CloudFormation: Outputs now return Descriptions
    * CognitoIDP: admin_update_user_attributes() and admin_delete_user_attributes now correctly update the UserLastModifiedDate
    * DynamoDB: query() no longer requires the LastEvaluatedKey to exist
    * EC2: describe_vpc_endpoint_services() now supports all services
    * Kinesis: list_streams() now returns StreamSummaries
    * Lambda: get_policy() now throws an error when no statements exist
    * ResourceGroupsTaggingAPI now supports DynamoDB tables
    * ResourceGroupsTaggingAPI now supports SSM documents
    * S3: EventBridge notifications are now supported for ObjectRestore:Post
    * S3: restore_object() now contains limited validation when supplying both Days- and Type-argument
    * S3: select_object_content() now supports Compressed requests and CSV responses
    * SecretsManager: list_secrets() now handles negative matches correctly
    * SNS: delete_endpoint() is now an idempotent operation, just like AWS

v5.0.3

Compare Source

Docker Digest for 5.0.3: sha256:032d8ead42f289d9700e9bc844c6d264575ad11b3f6c22cc76d65ff638c8c7bd

General:
    * New configuration options for:
      - Passing URL's through the proxy
      - Configuring DOcker-less services in ServerMode
      See http://docs.getmoto.org/en/latest/docs/configuration/index.html

New Services:
    * Route53Domains:
        * delete_domain()
        * list_domains()
        * list_operations()
        * register_domain()
        * update_domain_nameservers()

New Methods:
    * CostExplorer:
        * get_cost_and_usage()

    * ECR:
        * get_registry_scanning_configuration()

Miscellaneous:
    * ApiGateway: update_usage_plan() now supports adding apiStages
    * Athena: get_query_execution() now returns exact OutputLocation file
    * Autoscaling: describe_auto_scaling_groups() now supports the filters-argument
    * CloudFront: create_distribution() now supports CustomHeaders
    * CloudFront: update_distribution() now handles updates to DistributionConfig correctly
    * CloudFormation - Now supports creation and deletion of AWS::EMR::Cluster
    * CloudFormation - Now supports creation and deletion of AWS::EMR::SecurityConfiguration
    * CloudFormation - Now supports creation and deletion of AWS::EFS::AccessPoint
    * CloudFormation - Now supports creation and deletion of AWS::EFS::FileSystem
    * CloudFormation - Now supports creation and deletion of AWS::EMR::InstanceGroupConfig
    * CloudFormation - Now supports deletion of AWS::Logs::LogGroup
    * CloudFormation: delete_stack() now handles resource dependencies better
    * CloudWatch: put_metric_data() now supports large (compressed) requests
    * CognitoIDP: admin_initiate_auth() and respond_to_auth_challenge() now support SMS_MFA
    * DynamoDB: transact_write_items() now raises ValidationException when putting and deleting the same item
    * EC2: authorize_security_group_egress/_ingress now support the TagSpecifications-argument
    * EC2: describe_security_group_rules() now supports Tag-filters
    * S3: EventBridge notifications are now supported for ObjectCreated:POST/COPY/MULTIPART_UPLOAD and ObjectDeleted
    * SNS: subscribe() now adds support the `$or`, `equals-ignore-case` and `suffix` features in a FilterPolicy 
    * SQS: send_message() should respect DelaySeconds of 0

v5.0.2

Compare Source

Docker Digest for 5.0.2: sha256:89cc6c764d714bf76e592a61f0c06fd142f672085e1dd3a53eb734aaeb4e14e2

General:
    * Removed the `python-jose` and `sshpubkeys` dependencies in favor of `joserfc`. This removes a transitive dependency on `ecdsa`, which contains a open security vulnerability

New Methods:
    * Autoscaling:
        * batch_put_scheduled_update_group_action()
        * batch_delete_scheduled_action()

    * RDS:
        * create_db_proxy()
        * describe_db_proxies()

Miscellaneous:
    * AWSLambda: The ImageConfig.EntryPoint of a function is now used when invoking it in a Docker container
    * CognitoIDP now allows public actions even if IAM auth is enabled
    * DynamoDB: create_table() now validates the number of KeySchema-items
    * EC2: modify_image_attributes() now supports all LaunchPermissions
    * ECS: register_task_definition() now has improved validation around `memory`-parameters
    * Glue: create_database() now supports the `tags`-parameter
    * IAM: assume_user()/create_user()/get_caller_identity() now return the correct partition for China (aws-cn) when called from a Chinese region
    * ResourceGroupsTagging: get_resources() now supports ELB resources
    * Route53: list_hosted_zones() now supports pagination
    * S3: put_bucket_notification_configuration() now supports EventBridge-notifications
    * SES now returns errors in the correct format

v5.0.1

Compare Source

Docker Digest for 5.0.1: sha256:b6004b2e112c0ba870b2103049548abecec476edeac7a724ed9c71249358e821

New Methods:
    * SecretsManager:
        * remove_regions_from_replication()
        * replicate_secret_to_regions()

Miscellaneous:
    * AWSLambda: create_event_source_mapping() now supports Kinesis streams as targets
    * CloudFront: Removed error handling for InvalidOriginServer, as our validation was too strict
    * DynamoDB: batch_execute_statement() now supports for Update/Insert/Delete-statements
    * DynamoDB: query() now correctly handles calls where both Limit and ScanIndexForward are supplied
    * EC2: Now supports availability zones for eu-central-2 (Zurich)
    * S3: list_objects_v2() can now return more then 1000 results max (again)
    * S3: copy_object() now allows in-place copies when bucket versioning is enabled
    * SecretsManager: create_secrets() now supports the parameters AddReplicaRegions and ForceOverwriteReplicaSecret
    * SecretsManager: list_secrets() now supports the filters primary-region and owning-service

v5.0.0

Compare Source

Docker Digest for 5.0.0: sha256:2faf2460a6446dfe472ac0d799e00341b1c84203d08540c247a6cc09be7c54e9

General:
    * All decorators have been replaced with a single decorator:
      `mock_aws`

    * The `mock_batch_simple` and `mock_lambda_simple` decorators can now be configured using the `config`-parameter:
      `@mock_aws(config={"batch": {"use_docker": False}, "lambda": {"use_docker": False}})`

    * It is now possible to configure methods/services which should reach out to AWS.
      @​mock_aws(
          config={"core": {"mock_credentials": False, "passthrough": {"urls": [], "services": []}}}
      )

    * All requests now return a RequestId

Miscellaneous:

    * IAM: The AWS managed Policies are no longer loaded by default.
      If your application depends on these policies, tell Moto explicitly to load them like so:

      @​mock_aws(config={"iam": {"load_aws_managed_policies": True}})

      Or by setting an environment variable:
      MOTO_IAM_LOAD_MANAGED_POLICIES=true

    * S3: list_objects() now returns a hashed ContinuationToken

v4.2.14

Compare Source

Docker Digest for 4.2.14: sha256:2fa10aa48e32f85c63c62a7d437b8a4b320a56a8494bc25d45ced370bc159c23

New Services:
    * Backup:
        * create_backup_plan()
        * create_backup_vault()
        * get_backup_plan()
        * describe_backup_vault()
        * delete_backup_plan()
        * list_backup_plans()
        * list_backup_vaults()
        * list_tags()
        * tag_resource()
        * untag_resource()

New Methods:
    * RDS:
        * describe_db_cluster_snapshot_attributes()
        * describe_db_snapshot_attributes()
        * modify_db_cluster_snapshot_attribute()
        * modify_db_snapshot_attribute()
        * restore_db_instance_to_point_in_time()

    * SageMaker:
        * create_feature_group()

    * SageMakerRuntime:
        * invoke_endpoint_async()

Miscellaneous:
    * Cognito: The ID-token now contains custom attributes
    * DynamoDB: query() now returns the correct ScannedCount
    * EC2: Security Group Rules now have tag support 
    * LakeFormation: grant_permissions() now has better support for known principal-resource pairs
    * SNS: set_subscription_attributes() can now unset the FilterPolicy

v4.2.13

Compare Source

Docker Digest for 4.2.13: sha256:20a2fdd4828b0ce1170ae26186ed28b64523cf6af83af892a74d9b3e23f84471

New Services:
    * Panorama:
        * delete_device()
        * describe_device()
        * list_devices()
        * provision_device()
        * update_device_metadata()

New Methods:
    * CognitoIDP:
        * admin_respond_to_auth_challenge()

    * IdentityStore:
        *  list_group_memberships_for_member()

    * Rekognition:
        * compare_faces()
        * detect_labels()
        * detect_text()

    * SSO-Admin:
        * attach_customer_managed_policy_reference_to_permission_set()
        * attach_managed_policy_to_permission_set()
        * delete_inline_policy_from_permission_set()
        * detach_customer_managed_policy_reference_from_permission_set()
        * detach_managed_policy_from_permission_set()
        * get_inline_policy_for_permission_set()
        * list_account_assignments_for_principal()
        * list_customer_managed_policy_references_in_permission_set()
        * list_managed_policies_in_permission_set()
        * put_inline_policy_to_permission_set()

    * Textract:
        * detect_document_text()

Miscellaneous:
    * ACM: describe_certificate() now returns a DomainValidationOption for each SN
    * CloudFormation: create_change_set() now longer throws an exception when supplying a YAML TemplateBody
    * CognitoIDP: create_resource_server() no longer crashes when the scope-parameter is not provided
    * DynamoDB: scan() now correctly handles the ScanFilter-attribute again (broken in 4.2.11)
    * EC2: launch templates created by CloudFormation now have a generated name if not provided
    * EC2: describe_instance_types() now handles unknown values for EnaSupport correctly
    * Sagemaker: create_model_package() nown supports Versioned packages
    * Scheduler: delete_scheduler() now throws the correct exception when a Schedule does not exist
    * SSO-Admin: list_account_assignments() now supports pagination

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants