versions follow SemVer
BREAKING CHANGE: wikibase-dump-filter
now uses the ES module syntax. This also requires to bump the minimal NodeJS version to >= v14.0.0
.
Rename project: wikidata-filter
-> wikibase-dump-filter
To update from wikidata-filter
(assuming that you had wikidata-filter
installed globally):
npm uninstall --global wikidata-filter
npm install --global wikibase-dump-filter
Rewrote the module interface. Convert your code from v3
to v4
:
parse
->getEntitiesStream
filter
->filterFormatAndSerialize
serializer
->serialize
- stream method
filter
->filterAndMap
- CLI
- Added
--quiet
option
- Added
- NodeJS module
- get access to more internal helpers:
getEntitiesStream
,buildFilter
,buildFormatter
- streams returned by
getEntitiesStream
have new methods:filter
,map
,tap
- get access to more internal helpers:
- The
--simplified
option was renamed--simplify
and accepts options as JSON or key=value (64ab6ce
,54af4ad
)
- Added support for claim filters with logical operations (
642eaa3
) - Added progress bar (
2692f3b
)
- Added support for long claim arguments
- Added the possibility to use wikidata-filter as module
- Removed the possibility to pass a claim argument as only argument (that is, without the
-c, --claim
prefix)
- Added filter by sitelink