Moto

Latest version: v5.0.7

Safety actively analyzes 629855 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 28

4.1.5

-----
Docker Digest for 4.1.5: _sha256:0e43c36e1b1390106ec43b2e383486c45fef27646838acaa8073cbd2b4a97a31_

General:
* Our Docker-images are now also hosted in GHCR:
https://github.com/getmoto/moto/pkgs/container/motoserver

New Methods:
* Athena:
* create_prepared_statement()
* get_prepared_statement()
* list_named_queries()

* S3:
* get_object_attributes()

* SecretsManager:
* delete_resource_policy()
* put_resource_policy()

Miscellaneous:
* Athena: Now automatically creates the default WorkGroup called `primary`
* AWSLambda: the default data dir for Docker containers can now be customized using the environment variable MOTO_LAMBDA_DATA_DIR
* CloudFormation now supports the resource AWS::CloudFormation::Stack
* CognitoIDP: the ID-token now uses the key cognito:username, instead of username
* EC2: describe_security_group_rules() now provides the correct value for the IsEgress-parameter
* EC2: revoke_security_group_egress() no longer throws an error when the IPProtocol-argument is not provided
* Glue: get_job() now supports the parameters CodeGenConfigurationNodes, ExecutionClass, SourceControlDetails
* IOT: delete_certificate() now supports the forceDelete-parameter

4.1.4

-----
Docker Digest for 4.1.4: _sha256:32ed22e2c69826a90482d0e473c460d60c3c7dc60819d95c0c165e0e978208db_

General:
Data is now deleted after the mock ends. If you use manual mocks, you can still choose the keep the data:
mock = mock_sqs()
mock.start()
mock.stop(remove_data=False)

New Services:
* Neptune:
* create_db_cluster()
* create_global_cluster()
* delete_db_cluster()
* delete_global_cluster()
* describe_db_clusters()
* describe_global_clusters()
* describe_orderable_db_instance_options()
* modify_db_cluster()
* start_db_cluster()

New Methods:
* Glue:
* get_jobs()
* get_table_version()

Miscellaneous:
* APIGateway: update_rest_api() now updates the policy-attribute
* Athena now exposes an endpoint to store mock query results. See http://docs.getmoto.org/en/latest/docs/services/athena.html
* CognitoIDP: The idToken now contains the cognito:groups attribute
* DynamoDB: scan() now respects the Projection-attribute of a GSI/LSI
* KMS: encrypt(), decrypt(), re_encrypt() now accept aliases as arguments
* KMS: list_aliases() now supports the KeyId-parameter
* Lambda: FIFO Queues are now supported event sources
* RDS: create_option_group() now returns the OptionGroupArn-attribute
* ResourceGroupsTaggingAPI: get_resources() now supports RDS Clusters and ClusterSnapshots
* SSM now includes the parameters at /aws/service/ecs/optimized-ami

4.1.3

-----
Docker Digest for 4.1.3: _sha256:3139cdae44d5da35d92d9e385cb878581eef8df3514cbda5cbc3e103488095a7_

New Services:
* IdentityStore:
* create_group()

Miscellaneous:
* DynamoDB: create_table() now deals correctly with non-key attributes supplied as part of the KeySchema
* Glue: get_partitions() now supports nano-second precision when filtering timestamps
* Glue: get_table_version() now returns the Table.VersionId and Table.UpdateTime-attributes
* Transcribe: start_transcription_job() now supports the IdentifyMultipleLanguages-parameter

4.1.2

-----
Docker Digest for 4.1.2: _sha256:742bd95faadb80133aa7082ca6f4d1d71af2f4802833e92348b082b11ec8d4ed_

New Methods:
* Batch:
* create_scheduling_policy()
* delete_scheduling_policy()
* describe_scheduling_policies()
* list_scheduling_policies()
* update_scheduling_policy()

* EC2:
* allocate_hosts()
* describe_hosts()
* modify_hosts()
* release_hosts()

* ECS:
* put_cluster_capacity_providers()
* update_capacity_provider()
* update_cluster()

* Glue:
* batch_get_crawlers()

Miscellaneous:
* AWSLambda: Base Images are now pulled from multiple repositories, increasing the number of supported language/versions out of the box
* CognitoIDP: admin_update_user_attributes() now checks for duplicate emails
* ECS: create_cluster() now supports the parameters configuration, capacityProviders, defaultCapacityProviderStrategy
* ECS: delete_cluster() now marks the cluster as INACTIVE, rather than removing it outright, in-line with how AWS behaves
* ECS: register_task_definition() now supports the parameters proxyConfiguration, inferenceAccelerators, runtimePlatform, ipcMode, pidMode, ephemeralStorage
* ECS: run_task() no longer crashes when providing launchType=FARGATE
* ECS now has improved tagging-support
* EKS: create_nodegroup() now returns the correct launchTemplate-attributes
* Kinesis now supports the streamARN-parameter for all arguments
* S3: Improved bucket policy enforcement

4.1.1

-----
Docker Digest for 4.1.1: _sha256:abb85db28568fc355636dac710a8108ba3cdb01bf1c129118cf1ce49eb8c5f07_

New Methods:
* APIGateway:
* get_export()

* EC2:
* describe_security_group_rules()

* Glue:
* delete_registry()
* get_registry()
* get_schema()
* list_registries()
* update_schema()

* Sagemaker:
* describe_pipeline()
* describe_pipeline_definition_for_execution()
* describe_pipeline_execution()
* list_pipeline_executions()
* list_pipeline_parameters_for_execution()
* start_pipeline()

Miscellaneous:
* APIGateway: put_integration() now supports the connectionType-parameter
* Batch: register_job_definition() now supports type="multinode"
* EC2: describe_launch_template_versions() now supports $Latest and $Default versions
* ECS: list_services() now throws correct error when providing unknown cluster
* ECS: start_task() now supports the tags-parameter
* Events: put_events() now supports sending events to an eventbus in another region/account
* KMS: list_aliases() now returns the TargetKeyId-attribute
* S3: put_bucket_logging() now actually logs incoming requests, when enabled
* SES: Fixed a bug where the service was not region-aware, i.e. all resources were shared across regions
* SES: improved parser support for email templates
* SSM: put_parameter() now validates the value of the Type-parameter
* RDS: create_db_instance() now supports the PreferredMaintenanceWindow and PreferredBackupWindow-parameters

4.1.0

-----
Docker Digest for 4.1.0: _sha256:1c38613f7273054650d08f3cb3ce118753296d08ffbfee8c96400c89a529c9ca_

General:
* Dropped support for Py 3.6
* Moto now uses setup.cfg to hold our packaging configuration, instead of setup.py, making Moto compatible with more recent Pip-versions

Page 7 of 28

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.