Versioned

Latest version: v0.6.1

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

Scan your dependencies

Page 1 of 3

0.6.1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Features and Improvements**

- Add ``Repository.list_artifact_names()`` and ``Repository.purge_artifact_versions()`` methods to both ``s3_and_dynamodb_backend`` and ``s3_only_backend``

0.5.4

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Features and Improvements**

- Fix a bug that the ``s3_only_backend`` is not able to handle suffix like ``.tar.gz``, ``.json.gz``.

0.5.3

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Minor Improvements**

- add validation to detect if human manually contaminate the artifact S3 dir.
- add the missing ``Alias.random_artifact()`` method.

**Bugfixes**

- fix bug that sometimes it uses the wrong boto session to get the S3 metadata and S3 last modified time.

**Miscellaneous**

- Update the s3 and dynamodb backend example jupyter notebook.
- Add s3 only backend example jupyter notebook.

0.5.2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Bugfixes**

- fix a bug that accidentally deleted the ``get_artifact_s3path`` API.

0.5.1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Features and Improvements**

- add S3 only backend in ``s3_only_backend.py`` module. It doesn't require DynamoDB table.
- the old ``core.py`` module is renamed to ``s3_and_dynamodb_backend.py`` module. The old API is kept intentionally for backward compatibility. However, it is scheduled to be removed in 1.X.Y release.
- suggest to use ``from versioned import api as versioned``, then use ``versioned.s3_and_dynamodb_backend`` or ``versioned.s3_only_backend`` to access the backend.

**Minor Improvements**

- improve test for ``s3_and_dynamodb_backend``.

0.4.2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Bugfixes**

- fix a bug that the ``purge_all`` method cannot delete DynamoDB items correctly when S3 doesn't have the artifacts.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.