Skip to content

v0.11.0

Compare
Choose a tag to compare
@LeMyst LeMyst released this 06 Jun 09:21
· 719 commits to master since this release
316584a
  • Only send changes when writing to Wikibase.
  • Add Exception if format is set to something else than json when using FunctionsEngine.mediawiki_api_call().
  • Add Python 3.10 CI workflow.
  • Remove pandas as a dependency.
  • Fix issue when core_prop id is and ItemID (#155 thanks to @maximearmstrong)

BREAKING CHANGES

  • Replace wbi_core.FunctionsEngine by wbi_functions.
  • Remove FunctionsEngine.get_linked_by() and FunctionsEngine.delete_item(). WikibaseIntegrator will only support wikibase-oriented functions. Directly use wbi_functions.mediawiki_api_call_helper instead.
  • Rename FunctionsEngine.delete_statement() to wbi_functions.remove_claims().
    • revision parameter in now optional.
    • Add summary parameter.
    • Change parameters order.
  • Rename FunctionsEngine.get_search_results() to wbi_functions.search_entities().
  • Remove dataframe support in wbi_functions.execute_sparql_query, use sparqldataframe package instead.
  • Move format force to json to wbi_functions.mediawiki_api_call().
  • Move all datatypes from wbi_core to wbi_datatype.
  • Move wbi_core.JsonParser to wbi_jsonparser.JsonParser