Eulfedora

Latest version: v1.7.2

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

Scan your dependencies

Page 2 of 5

1.5

---

* Now Python 3 compatible, thanks in large part to Morgan Aubert
(`ellmetha <https://github.com/ellmetha>`_).
* New, more efficient version of :class:`eulfedora.views.RawDatastreamView`
and :meth:`eulfedora.views.raw_datastream`. Passes response
headers from Fedora, and takes advantage of support for HEAD
and Range requests in Fedora 3.7+. **NOTE** that the method signature
has changed. The previous implementation is still available
as :class:`eulfedora.views.RawDatastreamViewOld` and
:meth:`eulfedora.views.raw_datastream_old` for those who need the
functionality.
* Updated functionality for synchronizing content between Fedora
repositories: :mod:`eulfedora.syncutil` for programmatic access and
**repo-cp** for command-line. Now supports Fedora archive export format
and better handling for large objects.
* Upload API method (:meth:`eulfedoa.api.REST_API.upload`) now supports
iterable content with known size.
* Updated to require requests 2.9 or greater.

1.4

---

* New **streaming** option for :class:`eulfedora.views.RawDatastreamView`
and :meth:`eulfedora.views.raw_datastream` to optionally return a
:class:`django.http.StreamingHttpResponse` (intended for use with
large datastream content).
* New **repo-cp** script (*BETA*) for synchronizing content between Fedora
repositories (e.g., production to QA or development servers, for
testing purposes).

1.3.1

-----

* Require a version of python-requests earlier than 2.9 (2.9
includes change to upload behavior for file-like objects that
breaks eulfedora api uploads as currently handled in eulfedora).

1.3

---

* Tutorial updated to be compatible with Django 1.8 thanks to
`jaska chfw <https://github.com/chfw>`_.
* New class-based view :class:`eulfedora.views.RawDatastreamView`,
equivalent to :meth:`eulfedora.views.raw_datastream`.
* Access to historical versions of datastreams now available in
:meth:`eulfedora.models.DigitalObject.getDatastreamObject` and
:meth:`eulfedora.views.raw_datastream`.

1.2

---

* Change checksum handling to cue Fedora to auto-generate checksums
on ingest.
* **Recommended**: Fedora 3.7+ for automatic checksum support on ingest

.. Note::

This checksum change in this release is a work-around for a Fedora bug
present in 3.8 (at least, possibly 3.7), where passing a checksum type
with no checksum value results in in Fedora storing an empty checksum,
where previously it would calculate and store a checksum. On ingest, if
a checksum type but no checksum value is specified, *no* checksum
information will be sent to Fedora (when checksum type and checksum
value are both specified, they will be passed through to Fedora
normally). If you have auto-checksumming configured in Fedora, then
your checksums should be generated automatically. Note that auto-
checksum functionality on ingest was broken until Fedora 3.7 (see
https://jira.duraspace.org/browse/FCREPO-1047); if you are still using
an older version of Fedora and need checksums generated at ingest, you
should use eulfedora 1.1.

1.1

---

* :class:`~eulfedora.models.ReverseRelation` now includes an option for specifying
a property to be used for sorting resulting items. Can also be specified
for reverse relations autogenerated by :class:`~eulfedora.models.Relation`.
* :mod:`unittest2` is now optional for testutils
* Use python :mod:`json` for :mod:`eulfedora.indexdata.views` instead
of the simplejson that used to be included with Django
* Support for Fedora 3.8.
* Update :meth:`eulfedora.views.raw_datastream` to handle old Fedora
datstreams with invalid content size.

.. Note::

Differentiating Fedora error messages in some versions of Fedora (somewhere
after 3.4.x, applicable to at least 3.7 and 3.8, possibly earlier versions)
requires that Fedora be configured to include the error message in the
response, as described at
https://groups.google.com/forum/!topic/fedora-tech/PAv1LYWPW0k

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.