Skip to content

v1.1.0

Compare
Choose a tag to compare
@wvanderp wvanderp released this 26 Jun 09:44
· 61 commits to main since this release

this release fixes errors surrounding the quantitySnak and adds new QString and PString for typescript types

Another big change is dropping the support for version 15 of the node.

why QString

The QString is a big part of wikidata because it is used to refer to all items. We wanted to ensure that we always work with a QString in the library. And the best way to do this is to check that at the borders. so we started doing that by setting these types

all the changes

here are the changes in alphabetical order:

  • committed .vscode to make spellcheck portable
  • upgrade codeql-action to V2
  • dropped node 15 from support
  • ignored ts-node 10.8.1 because there is a bug around the code coverage
  • updated dependencies
  • updated jsdoc blocks
  • added the QString and PString type and type guards
  • use QString and PString internally
  • the parameters of QuantitySnak are optional, so the output should also be optional
  • added the ability to create QuantitySnak from numbers
  • added lining to the test files
  • added to the test coverage