Changelog

0.0.24 (2020-09-12)

0.0.22 (2020-08-11)

0.0.21 (2020-07-22)

0.0.19 (2020-04-07)

  • The generate-data-files command warns if an MO file is missing.
  • Rename environment variable from GITHUB_ACCESS_TOKEN to OCDS_GITHUB_ACCESS_TOKEN.

0.0.18 (2020-04-06)

  • ExtensionVersion: __repr__() falls back to Base URL and Download URL if Id or Version is blank.
  • The generate-data-files command uses a null translator if an MO file is missing.

0.0.17 (2020-04-03)

0.0.16 (2019-11-20)

  • Add support for Sphinx>=1.6.

0.0.15 (2019-09-30)

0.0.14 (2019-09-18)

  • Use in-memory HTTP requests cache.

0.0.13 (2019-08-29)

0.0.12 (2019-08-29)

  • ProfileBuilder: Unregistered extensions are now supported by the profile builder. The extension_versions argument to __init__() can be a list of extensions’ metadata URLs, base URLs and/or download URLs.
  • ProfileBuilder: Add an extension_field argument to release_schema_patch() and patched_release_schema() methods to annotate all definitions and fields with extension names.
  • Add ocdsextensionregistry.utils.get_latest_version(), to return the identifier of the latest version from a list of versions of the same extension.

0.0.11 (2019-06-26)

The generate-pot-files and generate-data-files commands can now be run offline (see documentation for details).

  • ExtensionRegistry: Support the file:// scheme for the extension_versions_data and extensions_data arguments to __init__(). This means the --extension-versions-url and --extensions-url CLI options can now refer to local files.
  • Add a --versions-dir option to the generate-pot-files and generate-data-files commands to specify a local directory of extension versions.
  • ExtensionVersion: Add available_in_bulk(), to return whether the extension’s files are available in bulk.
  • ExtensionVersion: Add zipfile(), to return a ZIP archive of the extension’s files.
  • Upgrade to ocds-babel 0.1.0.

0.0.10 (2019-01-28)

  • Fix invalid dependencies in extension.json.

0.0.9 (2019-01-23)

  • Drop support for docs/ directory in extensions.
  • Use UTF-8 characters in JSON files when building profiles.
  • No longer write extension readme files when building profiles.

0.0.8 (2019-01-18)

  • Fix rate limiting error when getting publisher names from GitHub in generate-data-file tool.

0.0.7 (2019-01-18)

0.0.6 (2018-11-20)

  • Add command-line tools (see documentation for details).
  • Fix edge case so that metadata language maps are ordered, even if extension.json didn’t have language maps.

0.0.5 (2018-10-31)

  • Add ProfileBuilder, Codelist, CodelistCode classes.
  • ExtensionVersion:
    • Add files property, to return the contents of all files within the extension.
    • Add schemas property, to return the schemas.
    • Add codelists property, to return the codelists.
    • Add docs property, to return the contents of documentation files within the extension.
    • The metadata property normalizes the contents of extension.json to provide consistent access.

0.0.4 (2018-06-27)

0.0.3 (2018-06-27)

0.0.2 (2018-06-12)

  • ExtensionRegistry:
    • Add get() method, to get a specific extension version.
    • Make it iterable, to iterate over all extension versions.
    • Remove all() method.
  • Add package-specific exceptions.

0.0.1 (2018-06-11)

First release.