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

Renovate Update dependency moto to v5 #150

Closed
wants to merge 6 commits into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
moto (changelog) ==4.2.3 -> ==5.0.2 age adoption passing confidence

Release Notes

getmoto/moto (moto)

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

v4.2.12

Compare Source

Miscellaneous:
* AWSLambda: list_functions() now returns a default PackageType (ZIP) if not specified
* CloudFormation: AWS::EC2::LaunchTemplate resources now support Fn::GetAtt operations
* CognitoIDP: admin_initiate_auth() now correctly returns a Challenge when 2FA is enabled
* DynamoDB: execute_statement() now supports INSERT/UPDATE/DELETE queries
* EC2: describe_availability_zones() now supports the ZoneNames/ZoneIds-parameters
* KMS: encrypt() now validates payloads that are too large
* ResourceGroupTaggingAPI: get_resources() now supports SQS queues
* Route53: list_hosted_zone()/list_hosted_zones_by_name() now return the CallerReference
* S3: copy() now respects the ExtraArgs-parameter when using MultiPart uploads
* S3: list_object_versions() now supports pagination
* S3: put_object_tagging() now validates the number of tags provided

v4.2.11

Compare Source

Docker Digest for 4.2.11: sha256:f2a24d8a3440bf397705e461b33a032bbb6d3511cd9c643e71419dd962b3384e

New Methods:
    * Lambda:
        * DeleteFunctionEventInvokeConfig()
        * GetFunctionEventInvokeConfig()
        * ListFunctionEventInvokeConfigs()
        * PutFunctionEventInvokeConfig()
        * UpdateFunctionEventInvokeConfig()

    * Logs:
        * describe_export_tasks()

Miscellaneous:
    * DynamoDB: put_item() now returns old item for ConditionalCheckFailed exceptions
    * DynamoDB: scan() now returns the correct ScannedCount when passing the Limit-parameter
    * DynamoDB: transact_write_items() now validates that Keys in Update-queries are not empty
    * IOT: create_thing()/describe_thing() now returns the thingId
    * Logs: create_export_task() now actually exports the data to S3
    * ResourceGroupsTaggingAPI: get_resources() now supports ACM certificates

v4.2.10

Compare Source

Docker Digest for 4.2.10: sha256:f72acd62b994654d01bdec6f5cc779f4ab30083b441e2fb7eff0c13e0bbfdca7

New Methods:
    * CognitoIdentity: list_identity_pools()

Miscellaneous:
    * Autoscaling: describe_tags() now supports the key/value filters
    * CloudFormation: AWS::Logs::LogGroup now supports tags
    * CloudWatch: get_metric_data() no longer throws an error when supplying >10 queries
    * CognitoIdentity: get_credentials_for_identity() now returns Expiration as a number, fixing compatibility with the GoLang SDK
    * EFS: describe_access_points() now supports the FileSystemId-parameter
    * LakeFormation: list_permissions() now supports the DataLocation-parameter
    * LakeFormation: register_resource() now throws an exception when registering an existing resource
    * SQS: Ensure all responses are in JSON-format when required, fixing compatibility with the Ruby SDK

v4.2.9

Compare Source

Docker Digest for 4.2.9: sha256:4e9d89322b5ca9196fa7efda78b1269580be7aa6879894950e2728edc946573f

General:
    * Fix compatibility with botocore 1.32.1

Miscellaneous:
    * ECS: Tagging is now supported for Tasks
    * LakeFormation: deregister_resource() now throws the correct error for unknown resources
    * LakeFormation: list_permissions() now supports Parameters
    * RDS: create_db_instance() now validates the engine parameter
    * Transcribe: TranscriptionJobs now support the Subtitles-parameter

v4.2.8

Compare Source

Docker Digest for 4.2.8: sha256:937315c79dedcc86506fc22a60502fd73d0e6f3a6f3e5fc614dd3164740e1191

General:
    * Support for Python 3.12
    * Support for a Simple Lambda backend, that will mock functions without invoking a Docker container.
      Use the decorator `mock_lambda_simple` for this feature.

New Methods:
    * IdentityStore:
        * describe_group()

    * Signer:
        * list_tags_by_resource()
        * tag_resource()
        * untag_resource()

Miscellaneous:
    * DynamoDB: create_table() now throws an error when supplying an unknown KeyType
    * DynamoDB: query() now throws an error when supplying a ExpressionAttributeValue that doesn't start with a ':'
    * EC2: describe_hosts() now returns the AllocationTime-attribute
    * ECS: register_task_definition() now throws an exception if the ContainerDefinition has missing keys
    * ECR: describe_images() now returns the supplied imageDigest-values, instead of random values
    * EFS: AccessPoints now have the correct identifier format
    * Lambda: Various methods now support the FunctionName in the format 'name:qualifier'
    * MQ: create_configuration() is now possible for engine-type 'RABBITMQ'
    * RDS: create_db_cluster() now throws an error if the provided engine is not supported
    * RDS: create_db_instance() now throws an error if the provided engine does not match the cluster engine
    * RDS: delete_db_cluster() now throws an error if any instances are still active
    * SageMaker: list_model_packages() and list_model_package_groups() no longer throw an error on pagination

v4.2.7

Compare Source

Docker Digest for 4.2.7: sha256:9149597856f5ce195ef451df1a1b96aa8db0692c4b8ed1f7952fc02952733103

New Services:
    * Inspector2:
        * associate_member()
        * batch_get_account_status()
        * create_filter()
        * delete_filter()
        * describe_organization_configuration()
        * disable()
        * disable_delegated_admin_account()
        * disassociate_member()
        * enable()
        * enable_delegated_admin_account()
        * get_member()
        * list_delegated_admin_accounts()
        * list_filters()
        * list_findings()
        * list_members()
        * list_tags_for_resource()
        * tag_resource()
        * untag_resource()
        * update_organization_configuration()

New Methods:
    * ECR:
        * batch_get_repository_scanning_configuration()
        * put_registry_scanning_configuration()

Miscellaneous:
    * Batch: submit_job() now returns the jobArn-attribute
    * DynamoDB: execute_statement() has now support for nested WHERE-clauses with functions
    * DynamoDB: update_item() now returns item for ConditionalCheckFailed-exceptions
    * EC2: create_key_pair() and describe_key_pair(s)() now support tags
    * Route53: get_hosted_zone() now returns the CallerReference
    * S3: get_object/put_object() now accepts AccessPoint ARN's
    * S3Control: create_access_point() now returns the correct Alias
    * SES: list_identities() now supports the IdentityType-parameter
    * SNS: create_platform_application has improved error handling

v4.2.6

Compare Source

Docker Digest for 4.2.6: sha256:ad3265531405fd48489ddee7e1fa7301b4d0f46b55daca7ba5039e73eaf70ac1

New Services:
    * IVS:
        * batch_get_channel()
        * create_channel()
        * delete_channel()
        * get_channel()
        * list_channels()
        * update_channel()

New Methods:
    * LakeFormation:
        * add_lf_tags_to_resource()
        * get_resource_lf_tags()
        * remove_lf_tags_from_resource()
        * update_lf_tag()

    * Sagemaker:
        * describe_model_package_group()
        * update_model_package()

Miscellaneous:
    * Batch: submit_job() now behaves correctly when passing the arrayProperties-parameter
    * DynamoDB: Improved PartiQL parser, with support for different types (Decimals/Booleans) and queries with quoted table-names
    * EC2: TagSpecifications now throw an error if the ResourceType is not provided
    * EC2: run_instances()/describe_instances() now always return the same attributes (before, both operations were missing different fields)
    * EC2: associate_dhcp_options() now supports DhcpOptionsId=default
    * EC2: create_key_pair() now supports the KeyType-parameter
    * EC2: run_instances() now returns the Placement.HostId attribute
    * ELBv2: modify_target_group_attributes() now has additional validations
    * Events: put_events() now throws a warning when Detail field is not a dict
    * IOT: update_thing() now behaves correctly with empty attributes
    * S3: head_object() now raises a MethodNotAllowed for DeleteMarkers

v4.2.5

Compare Source

Docker Digest for 4.2.5: sha256:076cecca9b8ba35b545d23eb5bf780902fbf23eb3610f332eef7adea1f4d2ef7

General:
    * Introducing: MotoProxy! An alternative to the MotoServer.
      See the docs: http://docs.getmoto.org/en/latest/docs/proxy_mode.html

New Methods:
    * Sagemaker:
        * list_model_package_groups()

Miscellaneous:
    * CognitoIDP: update_user_pool() no longer overrides default settings
    * CognitoIDP: set_user_mfa_preference() now allows the settings to be cleared
    * EC2: Transit Gateway Peering Attachments are now supported across accounts
    * EC2: delete_fleets() now sets the correct status
    * ECS: The Task-statuses now automatically advance
    * Glue: get_databases/get_tables() now return the CatalogId
    * IAM: list_groups() now returns the CreateDate-attribute
    * Redshift: describe_clusters() now returns the TotalStorageCapacityInMegabytes
    * SES: Templates now support if/else constructs

v4.2.4

Compare Source

Docker Digest for 4.2.4: sha256:4cdda5b0245a28ae2ebf5f1d5d93425226fe00ace65819a9fa02c8aa77a7e0b6

New Methods:
    * OpenSearch:
        * list_domain_names()

Miscellaneous:
    * DynamoDB: Fixed a bug where binary data could not be queried (introduced in 4.2.3)
    * EC2: VPC Peering Connections are now supported across accounts
    * ECS: register_task_definition() now validates the PidMode has the correct value
    * S3: put_bucket_notification_configuration() now supports SNS Topic targets

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.

@renovate renovate bot added dependencies Pull requests that update a dependency file Renovate labels Feb 26, 2024
Copy link
Contributor Author

renovate bot commented Feb 26, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@nickdavis2001
Copy link
Contributor

Close for now to reduce resource contention caused by many renovate PRs building simultaneously. come back to this later

Copy link
Contributor Author

renovate bot commented Jun 4, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate-moto-5.x branch June 4, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant