Skip to content

Commit e99bd8b

Browse files
David Davisdaviddavis
authored andcommitted
Building changelog for 3.9.0
[noissue]
1 parent 426c88e commit e99bd8b

34 files changed

+137
-67
lines changed

CHANGES.rst

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,143 @@ Changelog
1717

1818
.. towncrier release notes start
1919
20+
3.9.0 (2020-12-07)
21+
==================
22+
REST API
23+
--------
24+
25+
Features
26+
~~~~~~~~
27+
28+
- Made uploaded chunks to be stored as separate files in the default storage. This feature removes
29+
the need for a share storage of pulp api nodes, as the chunks are now stored individually in the
30+
shared storage and are therefore accessible by all nodes.
31+
`#4498 <https://pulp.plan.io/issues/4498>`_
32+
- Add support for logging messages with a correlation id that can either be autogenerated or passed in
33+
with a ``Correlation-ID`` header. This feature is provided as a tech preview in pulpcore 3.9.
34+
`#4689 <https://pulp.plan.io/issues/4689>`_
35+
- Added progress reporting for pulp imports.
36+
`#6559 <https://pulp.plan.io/issues/6559>`_
37+
- Exposed ``aiohttp.ClientTimeout`` fields in ``Remote`` as ``connect_timeout``,
38+
``sock_connect_timeout``, ``sock_read_timeout``, and ``total_timeout``.
39+
40+
This replaces the previous hard-coded 600 second timeout for sock_connect and sock_read,
41+
giving per-``Remote`` control of all four ``ClientTimeout`` fields to the user.
42+
`#7201 <https://pulp.plan.io/issues/7201>`_
43+
- Enabled users to add checksums to ALLOWED_CONTENT_CHECKSUMS by allowing them to populate checksums
44+
with handle-artifact-checksums command.
45+
`#7561 <https://pulp.plan.io/issues/7561>`_
46+
- Added version information to api docs.
47+
`#7569 <https://pulp.plan.io/issues/7569>`_
48+
- Made signing services to be immutable. This requires content signers to create a new signing
49+
service explicitly when a change occurs.
50+
`#7701 <https://pulp.plan.io/issues/7701>`_
51+
- Added support for repairing Pulp by detecting and redownloading missing or corrupted artifact files. Sending a POST request to ``/pulp/api/v3/repair/`` will trigger a task that scans all artifacts for missing and corrupted files in Pulp storage, and will attempt to redownload them from the original remote. Specifying ``verify_checksums=False`` when POSTing to the same endpoint will skip checking the hashes of the files (corruption detection) and will instead just look for missing files.
52+
53+
The ``verify_checksums`` POST parameter was added to the existing "repository version repair" endpoint as well.
54+
`#7755 <https://pulp.plan.io/issues/7755>`_
55+
- Added check to prevent Pulp to start if there are Artifacts with forbidden checksums.
56+
`#7914 <https://pulp.plan.io/issues/7914>`_
57+
58+
59+
Bugfixes
60+
~~~~~~~~
61+
62+
- Fixed a serious bug data integrity bug where some Artifact files could be silently deleted from storage in specific circumstances.
63+
`#7676 <https://pulp.plan.io/issues/7676>`_
64+
- Moved the initial creation of access_policies to post_migrate signal.
65+
This enforces their existance both with migrate and flush.
66+
`#7710 <https://pulp.plan.io/issues/7710>`_
67+
- Fixed incremental export to happen if start_version provided, even if last_export is null.
68+
`#7716 <https://pulp.plan.io/issues/7716>`_
69+
- Fixed a file descriptor leak during repository version repair operations.
70+
`#7735 <https://pulp.plan.io/issues/7735>`_
71+
- Fixed bug where exporter directory existed and was writable but not owned by worker process and thus
72+
not chmod-able.
73+
`#7829 <https://pulp.plan.io/issues/7829>`_
74+
- Properly namespaced the `viewset_name` in `AccessPolicy` to avoid naming conflicts in plugins.
75+
`#7845 <https://pulp.plan.io/issues/7845>`_
76+
- Update jquery version from 3.3.1 to 3.5.1 in API.html template. It is the version provided by djangorestframework~=3.12.2
77+
`#7850 <https://pulp.plan.io/issues/7850>`_
78+
- Prevented a Redis failure scenario from causing the tasking system to back up due to "tasking system
79+
locks" not being released, even on worker restart.
80+
`#7907 <https://pulp.plan.io/issues/7907>`_
81+
- Use subclassed plugin downloaders during the pulp repair.
82+
`#7909 <https://pulp.plan.io/issues/7909>`_
83+
84+
85+
Improved Documentation
86+
~~~~~~~~~~~~~~~~~~~~~~
87+
88+
- Added requirement to record a demo with PRs of substantial change.
89+
`#7703 <https://pulp.plan.io/issues/7703>`_
90+
- Removed outdated reference stating Pulp did not have an SELinux policy.
91+
`#7793 <https://pulp.plan.io/issues/7793>`_
92+
93+
94+
Removals
95+
~~~~~~~~
96+
97+
- The local file system directory used for uploaded chunks is specified by the setting
98+
CHUNKED_UPLOAD_DIR. Users are encouraged to remove all uncommitted uploaded files before
99+
applying this change.
100+
`#4498 <https://pulp.plan.io/issues/4498>`_
101+
102+
103+
Misc
104+
~~~~
105+
106+
- `#7690 <https://pulp.plan.io/issues/7690>`_, `#7753 <https://pulp.plan.io/issues/7753>`_, `#7902 <https://pulp.plan.io/issues/7902>`_
107+
108+
109+
Plugin API
110+
----------
111+
112+
Features
113+
~~~~~~~~
114+
115+
- Added pre_save hook to Artifact to enforce checksum rules implied by ALLOWED_CONTENT_CHECKSUMS.
116+
`#7696 <https://pulp.plan.io/issues/7696>`_
117+
- Enabled plugin writers to retrieve a request object from a serializer when look ups are
118+
performed from within the task serializer.
119+
`#7718 <https://pulp.plan.io/issues/7718>`_
120+
- Expose ProgressReportSerializer through `pulpcore.plugin`
121+
`#7759 <https://pulp.plan.io/issues/7759>`_
122+
- Allowed plugin writers to access the models Upload and UploadChunk
123+
`#7833 <https://pulp.plan.io/issues/7833>`_
124+
- Exposed ``pulpcore.plugin.constants.ALL_KNOWN_CONTENT_CHECKSUMS``.
125+
`#7897 <https://pulp.plan.io/issues/7897>`_
126+
- Added ``UnsupportedDigestValidationError`` to ``pulpcore.plugins.exceptions``. Going
127+
forward, plugin authors can expect to find all unique exceptions under
128+
``pulpcore.plugin.exceptions``.
129+
`#7908 <https://pulp.plan.io/issues/7908>`_
130+
131+
132+
Deprecations
133+
~~~~~~~~~~~~
134+
135+
- Plugins are encouraged to define a ``version`` attribute on their subclass of
136+
``PulpPluginAppConfig``. If undefined while Pulp loads a warning is now shown to encourage plugin
137+
writers to implement this attribute, which will be required starting in pulpcore==3.10.
138+
`#6671 <https://pulp.plan.io/issues/6671>`_
139+
- Using the ViewSet's classname to identify its AccessPolicy has been deprecated and is slated for removal in 3.10.
140+
Instead the urlpattern is supposed to be used.
141+
142+
Plugins with existing AccessPolicies should add a data migration to rename their AccessPolicies:
143+
144+
::
145+
access_policy = AccessPolicy.get(viewset_name="MyViewSet")
146+
access_policy.viewset_name = "objectclass/myplugin/myclass"
147+
access_policy.save()
148+
`#7845 <https://pulp.plan.io/issues/7845>`_
149+
- The ``pulpcore.plugin.models.UnsupportedDigestValidationError`` is being deprecated and
150+
will be removed in 3.10.
151+
152+
It can now be found at ``pulpcore.plugin.exceptions.UnsupportedDigestValidationError``
153+
instead; please change any code that imports it to access it from its new location.
154+
`#7908 <https://pulp.plan.io/issues/7908>`_
155+
156+
20157
3.8.1 (2020-10-30)
21158
==================
22159
REST API

CHANGES/4498.feature

Lines changed: 0 additions & 3 deletions
This file was deleted.

CHANGES/4498.removal

Lines changed: 0 additions & 3 deletions
This file was deleted.

CHANGES/4689.feature

Lines changed: 0 additions & 2 deletions
This file was deleted.

CHANGES/6559.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/7201.feature

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGES/7561.feature

Lines changed: 0 additions & 2 deletions
This file was deleted.

CHANGES/7569.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/7676.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/7690.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)