Skip to content

Latest commit

 

History

History
404 lines (302 loc) · 30.5 KB

CHANGELOG.md

File metadata and controls

404 lines (302 loc) · 30.5 KB

CHANGELOG

versions follow SemVer

18.3.0 - 2024-11-20

  • Added global --config option and WB_CONFIG environment variable, to allow customizing the config used

18.2.0 - 2024-10-05

18.1.0 - 2024-08-13

18.0.0 - 2024-03-15

BREAKING CHANGE: updated NodeJS minimal version to >= v18 to be able to use the native fetch

17.0.0 - 2023-07-17

BREAKING CHANGE: updated NodeJS minimal version >= v14.0.0 to be able to convert the code from CommonJS to ES modules

16.3.0 - 2022-11-02

16.2.0 - 2022-11-01

16.1.0 - 2022-06-27

16.0.0 - 2022-05-03

BREAKING CHANGE: updated NodeJS minimal version >= v10.0.0

15.17.0 - 2022-04-11

15.16.0 - 2022-01-16

15.15.0 - 2021-10-18

  • wb data: allow to set the nondeprecated simplify option

15.14.0 - 2021-10-12

  • allow to pass templates to all edit commands where it wasn't possible yet (wb-add-alias, wb-add-qualifier, wb-add-reference, wb-delete-entity, wb-merge-entity, wb-move-claim, wb-move-qualifier, wb-remove-alias, wb-remove-claim, wb-remove-reference, wb-remove-qualifier, wb-set-alias, wb-set-description, wb-set-label, wb-update-claim, wb-update-qualifier)
  • allow to set dryRun=false in templates examples
  • allow to set a commands shortlist in templates

15.13.0 - 2021-10-01

15.12.0 - 2021-09-01

  • wb id: added support for dbpedia urls
  • wb query: added --sample and --describe modes

15.11.0 - 2021-05-01

15.10.0 - 2020-12-27

15.9.0 - 2020-12-14

15.8.0 - 2020-12-01

  • wb sparql: added support for template metadata, allowing to generate a [template-specific --help menu]

15.7.0 - 2020-12-01

15.6.0 - 2020-11-30

  • wb sparql: Added support for async SPARQL-generating functions

15.5.0 - 2020-11-06

15.4.0 - 2020-11-01

15.3.0 - 2020-10-07

15.2.0 - 2020-08-07

15.1.0 - 2020-07-21

15.0.0 - 2020-07-21

BREAKING CHANGE: wb convert now requires ids to be passed as explicit subject or object options.

14.1.0 - 2020-07-19

14.0.0 - 2020-07-17

BREAKING CHANGE: local files are now always stored in the home directory. To keep your current config after this upgrade, follow this steps:

mkdir -p ~/.config/wikibase-cli
wb config --json > ~/.config/wikibase-cli/config.json
# Now we can run the upgrade
npm install -g wikibase-cli@14

13.2.0 - 2020-07-16

13.1.0 - 2020-07-11

  • batch mode: allow to combine arguments passed inline and those passed on stdin

13.0.0 - 2020-06-26

BREAKING CHANGE: output now defaults to newline-delimited values (instead of space-delimited values)

12.2.0 - 2020-06-10

12.1.0 - 2020-06-10

12.0.0 - 2020-05-17

  • wb-generate-template:
    • BREAKING CHANGE: default to format js, when only one entity is requested
    • When using --format js: add entities labels as comments
    • Added --create-mode option
  • Added wb move-claim

11.3.0 - 2020-05-03

11.2.0 - 2020-05-02

11.1.0 - 2020-04-26

11.0.0 - 2020-04-18

BREAKING CHANGE:

  • the short option -n is repurposed to alias --limit in read operations (it was previously associated with the --no-cache option)
  • the short option -t is repurposed to alias --type in read operations (it was previously associated with the --limit option)

New features:

10.0.0 - 2020-04-08

BREAKING CHANGE: Removed the -g, --edit-group <key> option, as it is now automatically generated when in batch mode and targeting wikidata.org

9.2.0 - 2020-03-08

9.1.0 - 2020-03-08

9.0.0 - 2019-12-16

BREAKING CHANGE: updated wikibase-edit to > v4.0.0, which uses async/await, and started using those internally too, thus requiring NodeJS >= v7.6.0. If you are locked on an older version of NodeJS, you are thus advised to stay on wikibase-cli@8

8.2.0 - 2019-11-28

8.1.0 - 2019-11-07

8.0.0 - 2019-10-01

BREAKING CHANGES:

  • renamed:
  • removed:
    • wb-coord (as it was just an alias of wb claims P625, and thus coupled to Wikidata)
  • changed behavior:
    • wb-add-claim: doesn't stop you from creating duplicated claims anymore (no claim existance check)
  • changed aliases:
    • wb s is now an alias for wb sparql, while wb u is wb summary new alias

New features:

7.5.0 - 2019-05-29

7.4.0 - 2019-05-25

7.3.0 - 2019-05-17

  • wd create-item / wd edit-item: accept JS files as input, where the JS file should export either an object or a function, to which command line arguments are passed
  • Added wd generate-template: a command to easily create those JSON or JS files to be passed to wd create-item or wd edit-item from existing items
  • wd data: allow to fetch a single claim's data by passing a claim GUID
  • Added wd lang

7.2.0 - 2019-02-26

  • wd claims returns claims GUIDs when provided with a property and a value

7.1.0 - 2018-12-22

7.0.0 - 2018-10-05

  • BREAKING CHANGE: wd sparql or wd query commands making use of the --index <variable> option now get their values aggregated in an array instead of being the direct value of the index key, preventing to delete multiple values for a same key.

6.6.0 - 2018-10-05

6.5.0 - 2018-10-02

  • wd data: added support for format=ttl

6.4.0 - 2018-09-24

6.3.0 - 2018-08-07

6.2.0 - 2018-06-26

6.1.0 - 2018-06-07

6.0.0 - 2017-12-16

5.7.0 - 2017-12-16

5.6.0 - 2017-12-13

5.5.0 - 2017-12-08

  • wd claims, wd data, wd open, and wd revisions accept numeric ids, assume it's an item id (commit: 37afea9)

5.4.0 - 2017-12-06

  • Added the command wikibase-cli as an alias to wd [UPDATE: implementation failed, removed by d0df064]

5.3.0 - 2017-11-30

  • Added the possibility to pass a JS file to wd sparql to generate SPARQL requests from the command arguments

5.2.0 - 2017-11-29

5.1.0 - 2017-11-09

5.0.0 - 2017-11-03

4.19.0 - 2017-10-29

4.18.0 - 2017-10-13

  • Let wd props accept additional arguments to filter matching properties

4.17.0 - 2017-10-13

4.16.0 - 2017-10-13

  • Added bot support

4.15.0 - 2017-10-07

4.14.0 - 2017-09-11

4.13.0 - 2017-06-10

4.12.0 - 2017-05-29

4.11.0 - 2017-05-24

4.10.0 - 2017-05-24

4.9.0 - 2017-05-14

4.8.0 - 2017-03-31

4.7.0 - 2017-03-30

4.6.0 - 2017-02-20

4.5.0 - 2017-02-20

4.4.0 - 2017-02-19

4.3.0 - 2017-02-07

4.2.0 - 2017-01-28

4.1.0 - 2017-01-24

  • wd open opens a search page when no entity or property id can be found in the input

4.0.0 - 2017-01-21

  • Make results minimalist unless bassed the -v, --verbose option. Could be considered a breaking change as one might have built on the default verbose outputs.
  • Not copying results to clipboard anymore, unless passed the -c, --clipboard option
  • Format outputs for the shell by default, unless passed the -j, --json option
  • Renamed wd wikiqid to wd id. Using github#master version of commander to be able to set wikiqid as an alias to avoid making it a breaking change.

3.0.0 - 2016-08-29

2.1.0 - 2016-08-29

  • Added wd graph

2.0.0 - 2016-08-26

  • Added a help menu: wd help
  • Renamed qlabel -> wd label
  • Renamed qclaims -> wd claims
  • Renamed qdata -> wd data
  • Renamed wdprops -> wd props
  • Renamed wdprops reset -> wd props --reset
  • Renamed wikiqid -> wd wikiqid
  • Renamed wdsparql -> wd sparql
  • Removed wdsparqlsimplify: use wd sparql -s
  • Replaced all language options by a uniformized -l, --lang option
  • Added wd open

1.7.0 - 2016-07-24

  • Added qdata, a command to get the data of a given entity

1.6.0 - 2016-07-17

  • wikiqid accepts full wikipedia urls

1.5.0 - 2016-06-18

  • Added wdsparqlsimplify, like wdsparql but with simplified results out of the box

1.4.0 - 2016-06-18

  • Added wdprops, a command to get the list of all Wikidata properties

1.3.1 - 2016-06-06

1.2.1 - 2016-06-03

  • Commands use the environment local language as default instead of English

1.2.0 - 2016-06-03

1.1.0 - 2016-05-13

1.0.0 - 2016-05-13