Skip to content

v5.0.0

Compare
Choose a tag to compare
@elrayle elrayle released this 18 Nov 15:47
941dec5

Actions Required to Upgrade

No actions are required for this upgrade other than adjusting your gem file to allow for version 5.0.0 to be included by bundler. If you have customizations for the linked data module or you use the Discogs authority, see the Update notes below for more details to determine if the changes impact your app.

Updates

This is a major release of QA with the following breaking changes...

request_header for linked data module

The parameter signature of the following methods changed to add parameter request_header: {}

  • Qa::Authorities::LinkedData::SearchQuery #search
  • Qa::Authorities::LinkedData::FindTerm #find

Discogs extended context output

The Discogs authority changed the format of the extended context to match that produced by the linked data module.

OLD FORMAT:

"context": {
  "Formats": ["Vinyl", "LP", "Compilation"],
  ...
}

NEW FORMAT:

"context": [
  {
    "property": "Formats",
    "values": ["Vinyl", "LP", "Compilation"]
  },
  ...
}

Change Log

  • refactor to single request_header parameter for search and find methods; multi-parameters are still supported, but deprecated
  • refactor Discogs to provide the same format for extended context as the linked data module