Prep Release V5
This commit is contained in:
parent
38f6359dce
commit
0255717edd
30
CHANGELOG.md
30
CHANGELOG.md
@ -1,6 +1,36 @@
|
|||||||
Moto Changelog
|
Moto Changelog
|
||||||
==============
|
==============
|
||||||
|
|
||||||
|
5.0.0
|
||||||
|
-----
|
||||||
|
Docker Digest for 5.0.0: <autopopulateddigest>
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
4.2.14
|
4.2.14
|
||||||
-----
|
-----
|
||||||
|
@ -14,17 +14,6 @@ backup
|
|||||||
|
|
||||||
.. autoclass:: moto.backup.models.BackupBackend
|
.. autoclass:: moto.backup.models.BackupBackend
|
||||||
|
|
||||||
|start-h3| Example usage |end-h3|
|
|
||||||
|
|
||||||
.. sourcecode:: python
|
|
||||||
|
|
||||||
@mock_backup
|
|
||||||
def test_backup_behaviour:
|
|
||||||
boto3.client("backup")
|
|
||||||
...
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|start-h3| Implemented features for this service |end-h3|
|
|start-h3| Implemented features for this service |end-h3|
|
||||||
|
|
||||||
- [ ] cancel_legal_hold
|
- [ ] cancel_legal_hold
|
||||||
|
@ -26,6 +26,10 @@ identitystore
|
|||||||
- [ ] describe_group_membership
|
- [ ] describe_group_membership
|
||||||
- [X] describe_user
|
- [X] describe_user
|
||||||
- [X] get_group_id
|
- [X] get_group_id
|
||||||
|
|
||||||
|
The ExternalId alternate identifier is not yet implemented
|
||||||
|
|
||||||
|
|
||||||
- [ ] get_group_membership_id
|
- [ ] get_group_membership_id
|
||||||
- [ ] get_user_id
|
- [ ] get_user_id
|
||||||
- [ ] is_member_in_groups
|
- [ ] is_member_in_groups
|
||||||
|
@ -84,6 +84,7 @@ kms
|
|||||||
Verify message using public key from generated private key.
|
Verify message using public key from generated private key.
|
||||||
|
|
||||||
- grant_tokens are not implemented
|
- grant_tokens are not implemented
|
||||||
|
- The MessageType-parameter DIGEST is not yet implemented
|
||||||
|
|
||||||
|
|
||||||
- [ ] verify_mac
|
- [ ] verify_mac
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from moto.core.decorator import mock_aws # noqa # pylint: disable=unused-import
|
from moto.core.decorator import mock_aws # noqa # pylint: disable=unused-import
|
||||||
|
|
||||||
__title__ = "moto"
|
__title__ = "moto"
|
||||||
__version__ = "4.2.15.dev"
|
__version__ = "5.0.0.dev"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
"""BackupBackend class with methods for supported APIs."""
|
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
from typing import Any, Dict, List, Optional, Tuple
|
from typing import Any, Dict, List, Optional, Tuple
|
||||||
|
|
||||||
from moto.core import BackendDict, BaseBackend, BaseModel
|
from moto.core.base_backend import BackendDict, BaseBackend
|
||||||
|
from moto.core.common_models import BaseModel
|
||||||
from moto.core.utils import unix_time
|
from moto.core.utils import unix_time
|
||||||
from moto.moto_api._internal import mock_random
|
from moto.moto_api._internal import mock_random
|
||||||
from moto.utilities.tagging_service import TaggingService
|
from moto.utilities.tagging_service import TaggingService
|
||||||
|
@ -274,7 +274,7 @@ def patch_client(client: botocore.client.BaseClient) -> None:
|
|||||||
"""
|
"""
|
||||||
"""
|
"""
|
||||||
Adding the botocore_stubber to the BUILTIN_HANDLERS, as above, will mock everything as long as the import ordering is correct
|
Adding the botocore_stubber to the BUILTIN_HANDLERS, as above, will mock everything as long as the import ordering is correct
|
||||||
- user: start mock_service decorator
|
- user: start mock_aws decorator
|
||||||
- system: imports core.model
|
- system: imports core.model
|
||||||
- system: adds the stubber to the BUILTIN_HANDLERS
|
- system: adds the stubber to the BUILTIN_HANDLERS
|
||||||
- user: create a boto3 client - which will use the BUILTIN_HANDLERS
|
- user: create a boto3 client - which will use the BUILTIN_HANDLERS
|
||||||
|
Loading…
Reference in New Issue
Block a user