Skip to content

Latest commit

 

History

History
580 lines (352 loc) · 16.5 KB

CHANGELOG.md

File metadata and controls

580 lines (352 loc) · 16.5 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

  • n/a

2.46.0 - 2024-05-20

Added

  • Retry brew requests

2.45.0 - 2024-05-10

Added

  • Introduced ProductId class
  • Added parsing ProductID certificate to ProductIdPushItem

2.44.0 - 2024-04-08

Added

  • Introduced VMIPushItem.marketplace_name
  • Added support for ART/rhcos koji builds

2.43.1 - 2024-02-29

Fixed

  • Fixed compatibility with python older than 3.8 (importlib)

2.43.0 - 2024-02-28

Added

  • Introduced VMIPushItem.marketplace_title, VMIPushItem.marketplace_title_template

2.42.0 - 2024-02-22

Added

  • Introduced AmiPushItem.access_endpoint_url

2.41.0 - 2023-11-29

Added

  • Added complete support for HTTP Errata tool client

2.40.0 - 2023-09-20

Fixed

  • errata no longer crashes if Kerberos credentials are not provided

2.39.0 - 2023-09-13

Added

  • boot_mode is now populated for AmiPushItem

2.38.0 - 2023-09-11

Added

  • Introduced ContainerImagePushItem.product_name attribute

2.37.0 - 2023-09-05

Added

  • Introduced VMIPushItem.boot_mode and associated BootMode enum

2.36.0 - 2023-08-30

Added

  • container_image_items attribute for OperatorManifestPushItem model
  • More labels available on container images

2.35.0 - 2023-08-16

Added

  • Introduced AmiPushItem.uefi_support attribute

2.34.0 - 2023-07-27

Changed

  • src attribute in container and operator push items is now unset

2.33.0 - 2023-05-23

Added

  • Introduced KojiBuildInfo.id attribute

2.32.0 - 2023-05-15

Changed

  • Updated pull spec in ContainerImagePushItem with unique tag

2.31.0 - 2023-04-24

Added

  • errata backend now supports virtual machine images

2.30.0 - 2023-03-16

Added

  • Introduced many AmiPushItem fields in support of AWS Marketplace

2.29.0 - 2023-03-14

Added

  • Introduced OperatorManifestPushItem.related_images

2.28.0 - 2023-03-09

Added

  • Introduced AmiPushItem.public_image

2.27.0 - 2023-03-01

Added

  • Introduced ErratumPushItem.container_list

2.26.0 - 2023-02-21

Removed

  • File polling for staged source has been moved outside of this library

2.25.0 - 2023-02-09

Added

  • Introduced new source backend - pub that is used for extracting push items from Pub service
  • koji backend now supports loading VM images

Fixed

  • Avoided a spurious INFO log message from staged backend

Removed

  • Python 2 is no longer supported

2.24.0 - 2023-01-17

Added

  • New push item classes related to Azure virtual machine images: VHDPushItem, VMIPushItem, VMIRelease.

Fixed

  • Fixed file polling in staged source to wait for propagation of recent changes

2.23.5 - 2023-01-05

Fixed

  • Fixed compatibility with older attrs versions

2.23.4 - 2022-12-06

Fixed

  • Fixed polling for item source existence to be only done for file sources

2.23.3 - 2022-10-20

Fixed

  • fixed inspect method for containers

2.23.2 - 2022-10-06

Fixed

  • tolerate 404 response when inspecting containers push items

2.23.1 - 2022-09-01

Fixed

  • Fixed registry source sometimes raising an unwarranted ConnectionError when discovering available manifest types

2.23.0 - 2022-08-31

Changed

  • registry source now supports list-only tags

2.22.4 - 2022-08-03

Fixed

  • Fixed compatibility with attrs>=22.1.0

2.22.3 - 2022-07-13

Fixed

  • Fix not displaying warning log when file polling is disabled

2.22.2 - 2022-07-12

Fixed

  • Fix the file polling feature to also poll in the Koji source
  • Fix the file polling feature to poll the correct number of times

2.22.1 - 2022-06-29

Fixed

  • Fix the file polling feature in 2.22.0 sometimes polling the same item more than once.

2.22.0 - 2022-06-24

Added

  • Introduced a semi-hidden feature which may be used to poll for availability of push item files on locally mounted storage prior to yield.

2.21.0 - 2022-06-08

Changed

  • New values supported for AMIs in staged source. type may now use marketplace; volume may now use gp3 or io2.

2.20.0 - 2022-05-19

Changed

  • Introduced CGWPushItem and CGW directory on staged source.

2.19.0 - 2022-05-03

Changed

  • Reduced memory usage by caching duplicate values on PushItem instances.

2.18.2 - 2022-04-06

Fixed

  • registry: extended incomplete authentication fix from 2.18.1.

2.18.1 - 2022-03-30

Fixed

  • registry: fixed authentication with certain container image registries.

2.18.0 - 2022-03-18

Added

  • Introduced new backends to load a single file: "file", "rpm" and others.
  • Introduced pushsource-ls command.

2.17.0 - 2022-03-16

Added

  • Introduced entry points mechanism to assist with registration of custom backends.

2.16.0 - 2022-03-10

Fixed

  • Added a workaround for a python2 strptime thread-safety bug.

Added

  • Introduced DirectoryPushItem class for RAW content.

2.15.0 - 2022-03-08

Changed

  • All PushItem classes are now slotted, for reduced memory usage.

2.14.0 - 2022-02-01

Added

  • Introduced FilePushItem.display_order attribute.

2.13.4 - 2022-01-20

Fixed

  • registry: fixed usage with source images and schema1-only images.
  • errata: improved logging in one modulemd error case.

2.13.3 - 2021-12-06

Fixed

  • Fixed a crash when mixing get_partial with backends accepting a url (e.g. staged).

2.13.2 - 2021-12-03

Fixed

  • Ensure that registry source produces manifest pull specs for all manifest types

2.13.1 - 2021-11-24

Fixed

  • Fixed a crash in registry source when authentication is used

2.13.0 - 2021-11-08

Added

  • Introduced registry source for accessing images from a container image registry.

2.12.0 - 2021-10-18

Changed

  • Mitigate spurious timeout error by using as_completed_with_timeout_reset

2.11.0 - 2021-09-15

  • ErrataSource now uses HTTPS when performing XML-RPC calls to Errata Tool. Previously, HTTP was used.

2.10.3 - 2021-08-27

Fixed

  • Fixed KojiSource crash bug introduced in 2.10.2.

2.10.2 - 2021-08-26

Fixed

  • Added a workaround for a thread-safety issue in pyasn1 in some legacy environments.

2.10.1 - 2021-08-11

Fixed

  • Added a missing dependency declaration on scandir for Python versions older than 3.5.

2.10.0 - 2021-08-10

Changed

  • Internally created executors are now named for improved metrics and debuggability.
  • Library no longer has a hard dependency on Python bindings to rpm, if RPM-related functionality is not used.

2.9.0 - 2021-07-05

Changed

  • Source instances now support with statements to ensure that resources are freed when no longer required.

2.8.0 - 2021-06-25

Added

  • Added build_info attribute to push items.
  • Added module_build attribute to RPM push items.
  • Added rpm_filter_arch parameter to errata source, to select a subset of RPMs by architecture.
  • Added ModuleMdSourcePushItem class. Source modulemd documents are now represented by this class rather than ModuleMdPushItem.
  • Added many classes for container-related content, supported by koji and errata sources.

Changed

  • errata source now produces ModuleMdSourcePushItem where applicable, and respects FTP paths from Errata Tool for these items.
  • errata source is now available for general use and is no longer marked as a technical preview.

2.7.0 - 2021-06-10

Fixed

  • Fix usage of errata source when the an Errata Tool URL includes a path component.
  • When Errata Tool requests push of a module which cannot be found in koji, this is now raised as an error rather than ignored.

Added

  • Added module_filter_filename parameter to koji source, to select only a subset of modulemd files from a build (e.g. limit to certain arches).

Changed

  • On ErratumPushItem, the type attribute will now be automatically converted from legacy values found in the wild such as "RHBA", "RHSA". Values are now also validated.
  • ModuleMdPushItem.name now uses the NSVCA of a module rather than the filename of a loaded modulemd file, when this metadata is available.
  • errata source now includes FTP paths in the dest field of generated push items, where applicable.

2.6.0 - 2021-05-27

Added

  • Added Source.reset to restore default state of library, intended for testing.

Fixed

  • Fix keyword arguments leaking between subsequent calls to a source prepared using Source.get_partial.

2.5.0 - 2021-03-02

Added

  • Added optional field billing_codes to the AMI staged push item schema and model.

2.4.0 - 2020-12-11

Fixed

  • Fix missing reboot_suggested field in erratum pkglist schema and model. The field was formerly permitted in the top-level erratum schema only, which was incorrect.

2.3.0 - 2020-11-23

Fixed

  • Fix too strict schema on staging metadata for FILES: "description" field is permitted to be an empty string.

2.2.0 - 2020-11-19

Changed

  • On ErratumPushItem, the from_ attribute is now available under the preferred name of from. Since this clashes with the python keyword of the same name, the from_ name will remain available indefinitely.

2.1.0 - 2020-11-12

Changed

  • References to unsupported DOCKER, CHANNEL_DUMPS content types in staging metadata files will no longer cause a validation error.
  • The id field within erratum reference objects may now be provided as an integer (it will be converted to a string).
  • The name field within erratum pkglist objects is now optional, defaulting to a blank string.

2.0.0 - 2020-11-04

Added

  • Added some user-friendly logs when advisory or staged metadata fails validation.

Removed

  • Removed support for obsolete "channel dump" push items:
    • ChannelDumpPushItem class was removed (backwards-incompatible API change)
    • CHANNEL_DUMPS directory in staging areas should no longer be used (will generate a warning)

1.2.0 - 2020-07-06

Added

  • Introduced PushItem.with_checksums method for calculating checksums.

1.1.0 - 2020-06-23

Fixed

  • Fix too strict schema on erratum references; id and title are allowed to be null.
  • Fix crash on Python 2 if using get_partial and register_backend together

Changed

  • Improved log message details in some cases of error

1.0.0 - 2020-06-16

  • Initial stable release of project