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.5.0 - 2020-02-25
- Introduced
Repository.sync
API (and associatedSyncOptions
classes) for synchronizing Pulp repositories.
2.4.0 - 2020-01-13
- Introduced
Repository.search_content
API for retrieving content units from Pulp repositories.
- Fixed a bug that export an empty maintenance report would crash.
- Fixed another bug that maintenance report could have an invalid
last_updated_by
value.
2.3.1 - 2019-10-03
- Fixed certain exceptions from requests library not being propagated properly while getting maintenance report.
- Task failure/completion logs now include task tags.
- Patterns to
Matcher.regex
are now more strictly typechecked when the matcher is created.
2.3.0 - 2019-09-25
- Introduced
Distributor.delete
for deleting a distributor from Pulp.
2.2.0 - 2019-09-16
- Introduced "proxy futures" for values produced by this library.
- Added a new attribute
relative_url
toDistributor
, so users can search distributors by relative_url
2.1.0 - 2019-09-10
- A
search_distributor
API to search distributors on definedCriteria
Matcher.less_than()
matcher to find the results with fields less than the given value
- Fixed certain exceptions from requests library (such as SSL handshake errors) not being propagated correctly.
2.0.0 - 2019-09-09
Page
objects may now be directly used as iterables
- API break: types of fields on model objects are now strictly validated during construction.
- API break: objects documented as immutable are now more deeply immutable; it is no longer possible to mutate list fields on these objects.
- API break: fixed inconsistencies on collection model fields. All fields previously declared as tuples have been updated to use (immutable) lists.
- API break:
MaintenanceReport.last_updated
,MaintenanceEntry.started
are nowdatetime
objects as documented. In previous versions, these were documented as datetimes but implemented asstr
.
Page.as_iter
is now deprecated.
1.5.0 - 2019-09-03
- Introduced
Repository.remove_content
to remove contents of a repository. - Introduced
Unit
classes representing various types of Pulp units.
- Fixed hashability of
PulpObject
subclasses, making it possible to use them in sets/dicts
Task.units_data
is now deprecated in favor ofTask.units
.
1.4.0 - 2019-09-02
- Support querying and updating maintenance mode of Pulp repositories
- Introduced
Client.get_content_type_ids
method to retrieve supported content types.
- Fixed a crash in
upload_file
when passed a file object opened in text mode
1.3.0 - 2019-08-15
- Introduced
Repository.is_temporary
attribute - Extended search functionality; it is now possible to search using fields defined
on the
PulpObject
classes. Searching on raw Pulp fields remains supported.
- Fixed inconsistency between real and fake clients: both clients now immediately raise
if a search is attempted with invalid criteria. Previously, the fake client would
instead return a failed
Future
.
1.2.1 - 2019-08-12
- Fixed import conflicts for
pubtools
module
1.2.0 - 2019-08-07
- A new API
FileRepository.upload_file
to upload a file to Pulp repository
1.1.0 - 2019-07-03
- Extended search functionality to support matching fields by regular expression,
using new
Matcher
class
Criteria.exists
is now deprecated in favor ofMatcher.exists()
Criteria.with_field_in
is now deprecated in favor ofMatcher.in_()
1.0.0 - 2019-06-26
- Fixed some unstable autotests
- Version set to 1.0.0 to indicate that API is now considered stable
0.3.0 - 2019-06-18
- Repository and Task objects have many additional attributes
- Changed formatting of task error text; now includes a header with the ID of the failed task
- Client now stops paginated searches if the caller is not holding any references to the search result
- Fixed a crash on Python 2.6
0.2.1 - 2019-06-17
- Fixed various compatibility issues with old versions of libraries
0.2.0 - 2019-06-14
- Task error_summary and error_details are now initialized appropriately with data from Pulp
- Client now logs Pulp load every few minutes when awaiting tasks
- Client now logs warnings when Pulp operations are being retried
- Cancelling a future now attempts to cancel underlying Pulp task(s)
- Deleting a resource which is already nonexistent now succeeds
0.1.1 - 2019-06-13
- Fixed missing schema files from distribution
- Initial release to PyPI