Skip to content

Commit

Permalink
Release 3.70.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pulpbot committed Feb 4, 2025
1 parent 21f2c21 commit ac15780
Show file tree
Hide file tree
Showing 18 changed files with 84 additions and 40 deletions.
79 changes: 79 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,85 @@

[//]: # (towncrier release notes start)

## 3.70.0 (2025-02-04) {: #3.70.0 }

### REST API {: #3.70.0-rest-api }

#### Features {: #3.70.0-rest-api-feature }

- Allow CONTENT_ORIGIN to be None. When None, the base_url for Distributions is a relative path.
[#5931](https://github.com/pulp/pulpcore/issues/5931)
- Added a login api endpoint to result in an authorization cookie from any other sort of feasible authentication.
[#5932](https://github.com/pulp/pulpcore/issues/5932)
- Added the unblocked_at filter for Tasks API.
[#6165](https://github.com/pulp/pulpcore/issues/6165)
- Added a check to the basic auth module to respect the `X-Requested-With: "XMLHttpRequest"` header.
In return the signature of the `WWW-Authenticate` header is changed so browsers will not pop up a password dialog.

#### Bugfixes {: #3.70.0-rest-api-bugfix }

- Fixed replication failing when the upstream Pulp doesn't have all the same plugins as the downstream.
[#4509](https://github.com/pulp/pulpcore/issues/4509)
- Added an extra check to the task unblocking logic to catch a rare case of stuck tasks in running, but never unblocked.
Tasks in normal operation should never end in this state, but at least with a specific upgrade it can happen.
[#6225](https://github.com/pulp/pulpcore/issues/6225)

#### Improved Documentation {: #3.70.0-rest-api-doc }

- Expanded docs on correlation id.
[#6248](https://github.com/pulp/pulpcore/issues/6248)

#### Removals {: #3.70.0-rest-api-removal }

- Marked django's `DEFAULT_FILE_STORAGE` and `STATIC_FILE_STORAGE` settings to be
removed in pulpcore 3.85. Users should upgrade to use the
[`STORAGES`](https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-STORAGES)
setting instead.

The [django-upgrade](https://github.com/adamchainz/django-upgrade?tab=readme-ov-file#django-42)
tool can handle simple cases. If cloud storages are being used, refer to django-storages
to adapt their specific storage options. E.g:

* <https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html>
* <https://django-storages.readthedocs.io/en/latest/backends/azure.html>
[#5404](https://github.com/pulp/pulpcore/issues/5404)
- Updated the OpenAPI generator version used to generate python bindings to 7.10.0.
This involves stricter client side validation of api calls when using the bindings.

### Plugin API {: #3.70.0-plugin-api }

#### Features {: #3.70.0-plugin-api-feature }

- Modified the `artifact_url` method from `ArtifactDistribution` model to return a relative URL
(no protocol, fqdn, and port) in case `CONTENT_ORIGIN` is not defined.
[#relative-path-base-url](https://github.com/pulp/pulpcore/issues/relative-path-base-url)

#### Removals {: #3.70.0-plugin-api-removal }

- Started using `settings.STORAGES` internally instead of `settings.DEFAULT_FILE_STORAGE` and `settings.STATICFILES_STORAGE`,
which was deprecated in Django 4.2.

For compatibility, plugins must replace access to:

* `settings.DEFAULT_FILE_STORAGE` with `settings.STORAGES["default"]["BACKEND"]`
* `settings.STATICFILES_STORAGE` with `settings.STORAGES["staticfiles"]["BACKEND"]`

See the new storage structure in [Django docs](https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-STORAGES).
[#5404](https://github.com/pulp/pulpcore/issues/5404)
- Removed `distribution_data` from `Replicator`. The function was renamed to `distribution_extra_fields`.
[#6077](https://github.com/pulp/pulpcore/issues/6077)
- Deleted field `pulp_label_select` from UpstreamPulp model.

### Pulp File {: #3.70.0-pulp-file }

No significant changes.

### Pulp Cert Guard {: #3.70.0-pulp-cert-guard }

No significant changes.

---

## 3.69.2 (2025-01-29) {: #3.69.2 }

### REST API {: #3.69.2-rest-api }
Expand Down
2 changes: 0 additions & 2 deletions CHANGES/+python_bindings.removal

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/+xmlhttp.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/4509.bugfix

This file was deleted.

11 changes: 0 additions & 11 deletions CHANGES/5404.removal

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5931.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/5932.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/6165.feature

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/6225.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/6248.doc

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/plugin_api/+pulp_label_select.removal

This file was deleted.

9 changes: 0 additions & 9 deletions CHANGES/plugin_api/5404.removal

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/plugin_api/6077.removal

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/plugin_api/relative-path-base-url.feature

This file was deleted.

2 changes: 1 addition & 1 deletion pulp_certguard/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ class PulpCertGuardPluginAppConfig(PulpPluginAppConfig):

name = "pulp_certguard.app"
label = "certguard"
version = "3.70.0.dev"
version = "3.70.0"
python_package_name = "pulpcore"
domain_compatible = True
2 changes: 1 addition & 1 deletion pulp_file/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ class PulpFilePluginAppConfig(PulpPluginAppConfig):

name = "pulp_file.app"
label = "file"
version = "3.70.0.dev"
version = "3.70.0"
python_package_name = "pulpcore"
domain_compatible = True
2 changes: 1 addition & 1 deletion pulpcore/app/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class PulpAppConfig(PulpPluginAppConfig):
label = "core"

# The version of this app
version = "3.70.0.dev"
version = "3.70.0"

# The python package name providing this app
python_package_name = "pulpcore"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = "pulpcore"
version = "3.70.0.dev"
version = "3.70.0"
description = "Pulp Django Application and Related Modules"
readme = "README.md"
authors = [
Expand Down Expand Up @@ -206,7 +206,7 @@ ignore = [
[tool.bumpversion]
# This section is managed by the plugin template. Do not edit manually.

current_version = "3.70.0.dev"
current_version = "3.70.0"
commit = false
tag = false
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
Expand Down

0 comments on commit ac15780

Please sign in to comment.