Releases: gbv/cocoda-sdk
Releases · gbv/cocoda-sdk
cocoda-sdk v2.0.7
- SkosmosApi: Don't override concepts/topConcepts properties.
- Adjustments to
cdk.getSchemes
.
Note: This is an old release. Only adding it to have a full changelog in the releases.
Full Changelog: v2.0.6...v2.0.7
cocoda-sdk v2.0.6
- ConceptApi/SkosmosApi: Adjust setting values on
this.has
.- In ConceptApi, all capabilities are set to
true
until there is updated data from the /status endpoint. - In SkosmosApi,
this.has.top
is now set totrue
by default.
- In ConceptApi, all capabilities are set to
- Updated dependencies.
cocoda-sdk v2.0.5
- Updated dependencies.
cocoda-sdk v2.0.4
- Small language-related fix to LabelSearchSuggestionProvider.
cocoda-sdk v2.0.3
- LocApiProvider: Do not prepend notation to
suggest
results. - Updated dependencies.
cocoda-sdk v2.0.2
- Implements an
addAllProviders
method to easily add all available providers. (#37)
import { cdk, addAllProviders } from "cocoda-sdk"
addAllProviders()
cocoda-sdk v2.0.1
- Fixes CJS builld. (#38)
cocoda-sdk v2.0.0
- cocoda-sdk is now a native ES module!
- This is a breaking change because it changed how the package is exported. Refer to this section in the README for more information.
- By default, only
ConceptApiProvider
andMappingsApiProvider
are activated to allow tree-shaking of unused providers. However, it is easy to add additional providers, for example:import { cdk, LocApiProvider } from "cocoda-sdk"; cdk.addProvider(LocApiProvider)
. The browser bundle contains all providers by default.
- Improved Skosmos integration. (#27)
Note: The documentation under https://gbv.github.io/cocoda-sdk/ is currently broken due to the code restructuring. We will fix this soon!
cocoda-sdk v1.0.16
- Support for initialization of registries via BARTOC API types. (#34)
- See examples/bartoc.js.
cocoda-sdk v1.0.15
- LabelSearchSuggestionProvider is now usable with any registry that supports the
search
method. - LocApiProvider now rejects concepts that come from a different scheme.