A3m

Latest version: v0.8.1

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

Scan your dependencies

Page 3 of 5

0.7.4

==================

Changed
-------

- Use ``platformdirs`` instead of ``appdirs`` to determine the user data
directory.
- Update dependencies.

Fixed
-----

- Update the Submit RPC handler to use the default processing configuration when
the user-provided ``config`` field is unset.

.. _changelog-0.7.3:

0.7.3

==================

Changed
-------

- Update dependencies.

.. _changelog-0.7.2:

0.7.2

==================

Changed
-------

- Update dependencies.

.. _changelog-0.7.1:

0.7.1

==================

Fixed
-----

- Fix issue in the setuptools package discovery configuration introduced in the
migration to ``pyproject.toml``.

.. _changelog-0.7.0:

0.7.0

==================

Removed
-------

- Remove unused dependency: vcrpy.
- Remove ``externals`` (fiwalk extension for ISO disk images).
- Remove virus scanning capabilities.
- Remove UUID log files that were included in AIPs.
- Remove ``null`` values from the JSON-encoded workflow, reducing the size of
the default workflow document significantly.

Added
-----

- Add scriv to manage our changelog.
- Add pyright, another static type checker that integrates well with Visual
Studio Code. We should remove mypy at some point.
- Add django-types, type stubs for Django compatible with pyright.
- Add ``make workflow`` to render the current workflow in the browser using
the latest version of amflow available.
- Add ``tox -e publish`` to build and publish the packages to PyPI.

Changed
-------

- Add time precision to values written to ``premis:dateCreatedByApplication``.
- Bump supported versions of Python to 3.11 and 3.12.
- Ruff is now used for linting and formatting, replacing flake8, black or
pyupgrade. More tools may be removed as the Ruff team adds more features,
e.g. bandit, vulture...
- The project has been migrated to ``pyproject.toml`` entirely, ``setup.cfg``
and ``setup.py`` were removed, as well as other configuration files like
``tox.ini``, ``pytest.ini`` or ``.bandit``.
- Multiple improvements in CI, e.g.: image caching for faster builds, use of
``.python-version``, combined coverage data across multiple Python versions,
use of tox without Docker for unit testing.
- ``fpr`` is not a Django app anymore but a standard Python package with new
abstractions to load rules directly from JSON-encoded documents generated by
Archivematica. Fetching new rules from Archivematica is now easier, see
:doc:`contributing` for more. This change allows for future developments
where multiple ``fpr`` could be supported.

Fixed
-----

- The Docker image is now built using ``requirements.txt`` instead of
``requirements-dev.txt`` and uses ``.python-version`` to find the default
Python version preferred by the project.
- Twine now uses ``.pypirc`` for credentials.
- The docs site now shows the last known release version using
``git describe --tags --abbrev=0`` as opposed to relying on
``a3m.__version__``. This ensures that the docs site shows the latest
published release as opposed to the latest release in development.

.. _changelog-0.6.0:

0.6.0

==================

Removed
-------

- Remove ``fileFormatIdentification`` logfile.
- Remove unused dependency ``ufraw``.
- Remove transfer METS file (client script ``create_transfer_mets``).

Added
-----

- Add .python-version``, a file indicating the default version of Python to
be used in this project in various contexts, e.g. Docker image, tooling,
etc...
- Add processing configuration choice for file format identification of metadata
files.
- Add ``Empty`` method to the gRPC API (``TransferService``) to manually clean
up local shared folders. This is a temporary solution until a3m learns to do
it automatically.
- Add GitHub issue templates.
- Add settings ``org_id`` and ``org_name`` enabling the customization of the
organization agent.

Changed
-------

- Bump supported versions of Python to 3.11 and 3.12.
- Update other dependencies, including Django 3.2.
- Don't use ``examine_contents`` in the default processing configuration.
- Change the workflow to execute file format identification of metadata files
if ``identify_submission_and_metadata`` is enabled.
- Refactor multiple client scripts with the goal of improved performance and use
of short-lived database transactions.
- In the Docker image: use pyenv to manage the installation of Python, use
Ubuntu 22.04 as the base distribution and the Archivematica 1.15 PPAs for the
installation of dependencies.
- Use local XML schemas for XML validation, enabling the use of a3m without
Internet access.
- Change filename cleanup job to filename change.

Fixed
-----

- Fix a bug in ``normalize.py`` breaking normalization.
- Fix ``CheckCloseConnectionsHandler``, a thin wrapper used for database usage
debugging purposes.
- Fix a bug in ``PoolTaskBackend`` attempting to write to the database after the
batched jobs had already been delivered to the thread pool, causing sporadic
errors in the presence of multiple database writers. The task backend now
writes the tasks before the jobs are delivered to the pool.
- Migrate from Buf remote generation alpha to v1.

.. _changelog-0.5.0:

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.