Releases: ts4nfdi/terminology-service-suite
Releases · ts4nfdi/terminology-service-suite
v2.3.0
2.3.0 (2024-07-30)
Bug Fixes
- createModelObject: added error in other branch (b036845)
- deps: removed unused dependencies (5445be0)
- Hierarchy: add export (bb291f2)
- nowrap: added nowrap to EntityInfoWidget and EntityRelationsWidget (ac214f4)
- nowrap: added nowrap to hierarchy (8286895)
- nowrap: removed nowrap from EntityInfoWidget.tsx, EntityRelationsWidget.tsx (6b3d7b1)
- OntoPortal: added missing query information (7d9a7dd)
- StructureRendering.tsx: added useLegacy parameter to call to getEntityInOntologySuffix (3f89d4c)
Features
- Hierarchy: added parentChildRelations, enhanced UI (e090ca3)
- Hierarchy: huge update (6fb07b3)
- Hierarchy: introduced props objects for parameter passing (df139ec)
- Hierarchy: loading all children on manual expansion (6832901)
- Hierarchy: major update of hierarchy (da67ec9)
- Hierarchy: selected entity is now highlighted in the hierarchy (a3c6a41)
- HierarchyWidgetSemLookP: added widget props preferredRoots, includeObsoleteEntities (ac25869)
- HTML Hierarchy: added HTML story for SemLookP Hierarchy (6679d6c)
- ModelTypeCheck.ts: exported classTypeNames, propertyTypeNames, individualTypeNames arrays (957917f)
- ols3-hierarchy: added functionality to display hierarchy with ols3 api (ac45bf8)
- OlsApi.ts: Added functions getAncestors(), getChildren(), getClassInstances() (cefccee)
- ontoportal-hierarchy: added support for backend_type == "ontoportal" + storybook example (734e155)
- Skos Hierarchy (DRAFT!!!): first draft of Skos Hierarchy, still a lot to be reviewed (1a36527)
- Skos hierarchy: implemented fetching topConcepts (bbe5ff3)
- Skos Hierarchy: implemented loadHierarchyChildren() (5af61a0)
- Storybook: refactored stories for HierarchyWidgetSemLookP (2098ddb)
v2.2.0
v2.1.0
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
2.0.0 (2024-05-07)
chore
- transfer project to TS4NFDI (0fcf444)
BREAKING CHANGES
- new name and repository url
- AutocompleteWidget: the parameter
selectOption
renamed topreselected
- AutocompleteWidget: the
preselected
parameter now expects an array of pre-selected options instead of a single option - AutocompleteWidget: the parameter
selectionChangedEvent
now expects a function that deals with an array of selected options instead of a single option - TitleWidget: parameter
entityType
renamedthingType
To update to version ^2.0.0 in consumer projects change following lines:
React projects:
package.json:
"@ts4nfdi/terminology-service-suite": "^2.0.0"
.npmrc file:
@ts4nfdi:registry=https://npm.pkg.github.com
Imports:
import { AutocompleteWidget } from "@ts4nfdi/terminology-service-suite";
JavaScript:
When implementing the widgets via GitHub link, just change the links:
<link rel="stylesheet" href="https://ts4nfdi.github.io/terminology-service-suite/js-modules/2.0.1/terminology-service-suite.min.js">
and
<script type="text/javascript" src="https://ts4nfdi.github.io/terminology-service-suite/js-modules/2.0.1/terminology-service-suite.min.js"></script>
Also see the demo project