wikidata-sdk
Advanced tools
Changelog
6.0.0 - 2019-03-17
BREAKING CHANGE
simplify.qualifier
and simplify.qualifiers
that were mistakenly inverted (fixed #47, ed0e7a4
)simplifySparqlResults
consistently outputs an array of objects, unless the option minimize
is set to true
, in which case direct, requests with a single variable will return an array of those variables values ((ddba9e2)). The easy migration from v5.x.x
is to replace simplifySparqlResults(results)
by simplifySparqlResults(results, { minimize: true })
(This doesn't affect requests with several variables SELECT
ed)