Changelog

0.1.0rc7 (2019-10-15)

Features

  • Add new repo_key class attribute to Content which defaults to an empty tuple. Subclasses should use repo_key to specify the names of fields, which together should be unique per Repository. Anytime RepositoryVersion.add_content() is called, it now automatically removes content that matches the repo_key. #5008
  • Add a ReadOnlyContentViewSet for plugin writers. #5535

Bugfixes

  • Fix fields filter for SingleArtifactContentUploadSerializer #5543

Improved Documentation

  • Document explicit definition of ref_name on the serializer. #5562

Deprecations and Removals

  • Remove pulpcore.plugin.tasking.Task and expose pulpcore.models.Task instead. #5442
  • Change _id, _created, _last_updated, _href to pulp_id, pulp_created, pulp_last_updated, pulp_href #5457
  • Removing non_fatal_errors from Task. #5537

0.1.0rc6.dev (2019-09-30)

Features

  • Setting code on ProgressBar. #5184
  • PublishedMetadata.create_from_file() interface added for creating PublishedMetadata. #5304
  • Add SingleArtifactContentUploadSerializer a base class for content serializers that accept uploaded files. #5403
  • DeclarativeArtifacts can have an Artifact without a RemoteArtifact. #5413
  • Added plugin_managed field on repository that plugins can set for repositories that should be managed by plugins and not by users. #5421

Improved Documentation

  • Update docs removing database agnostic gotchas. #5129

Deprecations and Removals

  • Remove support for mysql/mariadb making postgresql the only supported database. #5129
  • PublishedMetadata should no longer be created using the default constructor. #5304
  • Replace ProgressBar with ProgressReport and removing ProgressSpinner. #5444
  • Remove custom JSONField implementation from public API #5465

Misc


0.1.0rc5.dev (2019-09-10)

Features

  • Expose CharInFilter to plugins, which can filter by lists of strings. #5182
  • Plugin writers can now define settings programatically. #5290

Bugfixes

  • Breaking change on how to subclass Master/Detail models in plugins, now default_related_name is required for Detail models. #4681
  • Fixes too many open files when trying to perform large syncs with many downloads. #5323

Improved Documentation

  • Updating docs for subclassing models. #4681
  • Added documentation on how to add settings programatically. #5290

0.1.0rc4 (2019-07-25)

Features

  • The DigestValidationError and SizeValidationError are available in the pulpcore.plugin.exceptions package. #5077
  • The HyperlinkRelatedFilter is available in the pulpcore.plugin.viewsets submodule. #5103

Improved Documentation

  • Adds a new page and various updates with ContentGuard documentation for plugin writers. #3972
  • Removed beta changelog entries to shorten the changelog. #5166

0.1.0rc3 (2019-06-28)

Bugfixes

  • Fixes use of the proxy URL when syncing from a remote. #5011

Improved Documentation

  • Switch to using towncrier for better release notes. #4875
  • The term ‘lazy’ and ‘Lazy’ is replaced with ‘on-demand’ and ‘On-Demand’ respectively. #4990

Deprecations and Removals

  • The RemoteSerializer.policy attribute in the plugin API had its choices restricted to only ‘immediate’. Plugin writers wanting to use ‘on_demand’ or ‘streamed’ as values for ‘policy’ should redefine the ‘policy’ attribute on the detail Remote. #4990

0.1.0rc2

Breaking Changes

The RepositoryPublishURLSerializer was removed from the plugin API.

Distributions are now Master/Detail. All plugins will require updating to provide a detail Distribution. Here is an example of pulp_file introducing the FileDistribution as an example of changes to match.

Publications are now Master/Detail. Plugins that use Publications will need to provide a detail Publication. Here is an example of pulp_file introducing the FilePublisher as an example of changes to match along with its follow-on change.