From 20bbc5111d43af86debe876bd2d20c7cf3295335 Mon Sep 17 00:00:00 2001 From: Brian Scholer <1260690+briantist@users.noreply.github.com> Date: Sun, 8 Oct 2023 16:44:33 -0400 Subject: [PATCH] add changelog fragment --- changelogs/fragments/109-upload-format.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changelogs/fragments/109-upload-format.yml diff --git a/changelogs/fragments/109-upload-format.yml b/changelogs/fragments/109-upload-format.yml new file mode 100644 index 0000000..e10d8f1 --- /dev/null +++ b/changelogs/fragments/109-upload-format.yml @@ -0,0 +1,6 @@ +--- +bugfixes: + - The collection publish endpoint required the file data to be base64 encoded. This worked for ``ansible-core>=2.10`` but did not work with Ansible 2.9 or other clients that were not aware of the need. Galactory can now detect and accept both raw bytes and base64 encoded content (https://github.com/briantist/galactory/issues/105). + +minor_changes: + - The option ``UPLOAD_FORMAT`` has been added to control the behavior of upload format detection. Auto-detection is attempted when the option is not set or set to ``auto``. Set it to ``base64`` to only accept base64-encoded content, or set it to ``raw`` to only accept unencoded content (https://github.com/briantist/galactory/pull/109).