Dcicutils

Latest version: v8.11.0

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

Scan your dependencies

Page 14 of 25

3.14.1

======
* In ``qa_utils``:

* New class ``MockBotoS3Iam``.
* New class ``MockBotoS3Kms``.
* New class ``MockBotoS3OpenSearch``.
* New class ``MockBotoS3Sts``.
* New method ``MockBotoS3Session.get_credentials``.
* New method ``MockBotoS3Session.put_credentials_for_testing``.
* New property ``MockBotoS3Session.region_name``.
* New method ``MockBotoS3Session.unset_environ_credentials_for_testing``.

3.14.0

======

* In ``misc_utils``:

* New function ``key_value_dict``.
* New function ``merge_key_value_dict_lists``.

* In ``qa_utils``:

* Add ``MockBotoS3Client.get_object_tagging``.
* Add ``MockBotoS3Client.put_object_tagging``.

* In ``s3_utils``:

* Add ``s3Utils.get_object_tags``
* Add ``s3Utils.set_object_tags``
* Add ``s3Utils.set_object_tag``

3.13.1

======

* Fix a bug in ``diff_utils``.

3.13.0

======

* In ``deployment_utils``:

* In ``CreateMappingOnDeployManager``:

* Add ``get_deploy_config`` with slightly different arguments than ``get_deployment_config``,
so CGAP and FF can be more easily compared.

* Change ``--strict`` and ``--skip`` to not take an argument on the command line, and to default to False.

NOTE: After some discussion, this was decided to be treated as a bug fix, not as an incompatible change,
so the semantic version will not require a major version bump.

* When testing, test with switch arguments, too.

* In ``env_utils``:

* Add ``FF_ENV_PRODUCTION_BLUE_NEW`` (value ``'fourfront-production-blue'``)
and ``FF_ENV_PRODUCTION_GREEN_NEW`` (value ``'fourfront-production-green'``)
and teach ``is_stg_or_prd_env`` and ``get_standard_mirror_env`` about them
as alternative stg/prd hosts.

* Add ``is_beanstalk_env`` to detect traditional/legacy beanstalk names during transition.

* In ``qa_utils``:

* Add ``MockedCommandArgs``.

3.12.0

======

* In ``diff_utils``:

* Add support for ``.diffs(..., include_mappings=True)``
* Add support for ``.diffs(..., normalizer=<fn>)`` where ``<fn>`` is a function of two keyword arguments,
``item`` and ``label`` that can rewrite a given expression to be compared into a canonical form (e.g.,
reducing a dictionary with a ``uuid`` to just the ``uuid``, which is what we added the functionality for).

3.11.1

======

* In ``ff_utils``:

* In ``get_metadata``, strip leading slashes on ids in API functions.

Page 14 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.