Pulpcore

Latest version: v3.53.0

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

Scan your dependencies

Page 45 of 57

3.16.2

Not secure
===================
REST API
--------

Bugfixes
~~~~~~~~

- Fixed PulpImport to correctly save relative to MEDIA_ROOT.
(backported from 9660)
:redmine:`9663`


Plugin API
----------

No significant changes.

3.16.1

Not secure
===================
REST API
--------

Bugfixes
~~~~~~~~

- Fixed bug where Artifacts were being downloaded even if they were already saved in Pulp.
(backported from 9542)
:redmine:`9596`
- Fixed bug where the content app would stop working after a brief loss of connection to the database.
(backported from 9276)
:redmine:`9598`


Plugin API
----------

No significant changes.

3.16.0

Not secure
===================
REST API
--------

Features
~~~~~~~~

- Prioritize remote content provided by Alternate Content Sources over regular content in the content
app.
:redmine:`8749`
- Marked readonly task resources as shared for concurrent use.
:redmine:`9326`
- Added validation for the remote type that can be used with the ACS.
:redmine:`9375`


Bugfixes
~~~~~~~~

- Ordered several ContentStages paths to fix deadlocks in high-concurrency scenarios.
:redmine:`8750`
- Fixed a bug where ``pulpcore-content`` decompressed data while incorrectly advertising to clients
it was still compressed via the ``Content-Encoding: gzip`` header.
:redmine:`9213`
- Changed the pulpcore-worker to mark abandoned tasks as "failed" instead of "canceled".
:redmine:`9247`
- Fixed the repository modify endpoint performance problems.
:redmine:`9266`
- ``RBACContentGuard`` assign/remove permission endpoints now properly return 201 instead of 200
:redmine:`9314`
- Fixed bug where some Openshift environments could not start workers due to a strange Python runtime
import issue.
:redmine:`9338`
- PATCH/PUT/DELETE calls for the ACS are asynchronous and trigger a task.
:redmine:`9374`
- Fixed update call for the ACS so paths are not silenty removed when other fields are being updated.
:redmine:`9376`
- Fixed an issue where on_demand content might not be downloaded properly if the remote URL was changed (even if re-synced).
:redmine:`9395`
- Fixed a bug, where natural key calculations on content performed superfluous database calls.
:redmine:`9409`
- Ensured that with the removal of ACS its' hidden repositories are removed as well.
:redmine:`9417`
- Taught a remote-artifact error path to not assume 'filename' was valid for all content.
:redmine:`9427`
- Taught several more codepaths to order-before-update to avoid deadlocks.
:redmine:`9441`


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Added an architecture diagram to the components page.
:redmine:`7692`
- Fixed a note saying where to find versioning details.
:redmine:`8859`
- Removed deprecated uses of ``MEDIA_ROOT``.
:redmine:`9100`
- Updated ACS docs to use CLI commands.
:redmine:`9251`
- Document Azure storage needs to set ``MEDIA_ROOT``
:redmine:`9428`
- Corrected a fact that Redis is needed by the tasking system in the installation section.
:redmine:`9436`


Removals
~~~~~~~~

- Removed the legacy tasking system and the ``USE_NEW_WORKER_TYPE`` setting.
:redmine:`9157`
- Removed OpenAPI browsable API
:redmine:`9322`
- Updated the pulp import creation endpoint to return a task group instead of a task.
:redmine:`9382`


Misc
~~~~

- :redmine:`9432`, :redmine:`9443`


Plugin API
----------

Features
~~~~~~~~

- Added optional stage for Alternate Content Source support.
:redmine:`8748`
- ``AlternateContentSource`` has a new class variable ``REMOTE_TYPES`` that it will use to validate
the type of remote set on the ACS.
:redmine:`9375`
- Added ``pulpcore.plugin.viewset.TaskGroupResponse`` which can be used to return a reference to a
task group created in a viewset. Added ``pulpcore.plugin.serializers.TaskGroupResponseSerializer``
which can be used to indicate the serializer response format of viewsets that will use
``TaskGroupResponse`` similar to how ``AsyncOperationResponseSerializer`` is used.
:redmine:`9380`
- Added the ``pulpcore.plugin.tasking.general_multi_delete`` that deletes a list of model instances
in a transaction.
:redmine:`9417`
- Exposed tasks ``general_create``, ``general_create_from_temp_file``, ``general_delete``,
``general_update``, ``orphan_cleanup``, and ``reclaim_space`` in the plugin api.
:redmine:`9418`
- `ALLOW_SHARED_TASK_RESOURCES` is now enabled by default. If all goes smoothly, this will become permanent and the setting will be removed in the next release.
:redmine:`9474`


Bugfixes
~~~~~~~~

- Set the default widget type to ``JSONWidget`` for ``JSONFields`` for Model Resources to fix
django-import-export bug where ``django.db.models.JSONFields`` weren't properly handled.
:redmine:`9307`
- PATCH/PUT/DELETE calls for the ACS are asynchronous and trigger a task.
:redmine:`9374`


Removals
~~~~~~~~

- Removed the deprecated ``reserved_resources_record__resource`` filter for Task. Use
``reserved_resources_record__contains`` instead.
:redmine:`9157`
- Removed drf-access-policy workaround for condition/condition_expession.
:redmine:`9163`
- Removed ACS path validation. Plugins should now define ``validate_paths`` on their ACS serializer to
validate paths.
:redmine:`9340`
- Renamed ``TaskGroupResponse`` to ``TaskGroupOperationResponse`` and ``TaskGroupResponseSerializer``
to ``TaskGroupOperationResponseSerializer`` in order to avoid conflicts with responses from task
groups endpoints.
:redmine:`9425`
- The `resources` argument of `dispatch()` has been removed. `exclusive_resources` and `shared_resources` should be used instead.
:redmine:`9477`
- ContentSaver._pre_save() and ContentSaver._post_save() must now be implemented as synchronous functions rather than coroutines.
:redmine:`9478`

3.15.9

Not secure
===================
REST API
--------

Bugfixes
~~~~~~~~

- Restore multiple-retry logic for PulpImport.
:github:`2854`


Misc
~~~~

- :github:`2856`


Plugin API
----------

No significant changes.

3.15.8

Not secure
===================
REST API
--------

Bugfixes
~~~~~~~~

- Fixed file descriptior leak during upload.
:github:`2087`
- Fixed a bug in pulpcore-worker, where wakeup and cancel signals could be lost due to a race
condition.
:github:`2144`
- Fixed a bug where notifications to workers may go unnoticed. This may lead to idle workers while
there are tasks waiting.
:github:`2506`
- Changed the pulpcore-worker to mark abandoned tasks as "failed" instead of "canceled".
:github:`2532`


Plugin API
----------

No significant changes.

3.15.7

Not secure
===================
REST API
--------

Bugfixes
~~~~~~~~

- Reduced memory usage during tasks like sync by holding fewer objects in-memory unnecessarily.
:github:`2069`
- Fixes duplicate key error ``Key (content_artifact_id, remote_id)`` when creating ``RemoteArtifacts``
during syncs in pulp_container and possibly other plugins.
:github:`2381`
- Declared proper dependency on user model in migration 0040.
:github:`2403`
- Fixed a rare deadlock when sync'ing overlapping content in high-concurrency envs.
:github:`2420`


Plugin API
----------

Bugfixes
~~~~~~~~

- Adjusted the default size of the queues between pipelines to be 1 instead of 1000. The batchers in
the stage will still accumulate up to 500 (by default) items so batching is still in-effect there
where it matters.
:github:`2069`

Page 45 of 57

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.