Releases: ts4nfdi/terminology-service-suite
Releases · ts4nfdi/terminology-service-suite
v1.22.1
v1.22.0
v1.21.7
v1.21.0
1.21.0 (2024-04-04)
Bug Fixes
- Added color parameter to be included in render for plainJS (771d61e)
- added return in brackets of selectionChangedEvent (242d65d)
- AutocompleteWidget: fixed array out of bounds exception (381e563)
- AutocompleteWidget: Only allow 1 preselected with singleSelection=true (449c39d)
- AutocompleteWidget: reduced ...rest to parameters not in AutocompleteWidgetProps (c3d1167)
- ci: update branch name (538d882)
- DataContentWidget: removed useLegacy (728da46)
- downgraded typescript version from 5.0.2 to 4.5.3 (37ff47e)
- fixed small signature issue in model (f4397cf)
- Modified IriWidget.stories.tsx (df021c5)
- modified react stories to work properly in new storybook version (f0c115f)
- new api url: changed ols -> ols4 for ebi api url in html stories (ae9a5fc)
- OlsApi: Error in getEntityObject() no IRI (a356bed)
- package-lock.json: removed file from gitignore (48a917e)
- package-lock.json: updated to make CI build work (99359fe)
- package-lock.json: updated to make CI build work (04a3b98)
- Removed argType parameter from HierarchyWidget.stories.tsx which is no property of HierarchyWidget (5b98557)
- removed local module "semlookp-widgets" from package.json (8220ae4)
- renamed file (2de8294)
- ResourcesWidget: restored changes to story argTypes (6dc66ac)
- TabWidget: passing entityType as singular (50c9ac4)
Features
- Added components to html storybook and modified README.md (f861365)
- Added html-Storybook into project (7530720)
- Added missing stories for actions in html Storybook (5904e91)
- added non-React version of all widgets (f76cfbc)
- Added wrapper Storybook integrating both framework's (React & HTML) components (43bfbea)
- ci: build react and html storybooks (364629b)
- disambiguation page: added disambiguation page for entitylinks (a4a83a0)
- EntityRelationsWidget: added html story file (97771cb)
- first experiment of non-React AutocompleteWidget (236f972)
- link plainJS-build-dir for HTML storybook, add cross-env, update stories overview (39fd462)
- Storybook: outsourced argTypes, args & stories (c28eb42)
- Storybook: outsourced argTypes, args & stories (42741ca)
- Storybook: refactored storybook files (e2f3cba)
- Upgraded Storybook to latest version (8c02fc0)
- wrapped components in html Storybook inside EuiPanels like in React Storybook (4efee30)
Release 2024-04
chore(release): 1.20.10 [skip ci] ## [1.20.10](https://github.com/nfdi4health/semlookp-widgets/compare/v1.20.9...v1.20.10) (2024-04-03) ### Bug Fixes * corrected key of the short_form for the OLS3 and OLS4 API. ([d2e696e](https://github.com/nfdi4health/semlookp-widgets/commit/d2e696e018a64db700658f72e32a59de3eff3a82))
v1.20.10
v1.20.9
v1.20.8
v1.20.7
v1.20.0
1.20.0 (2024-03-07)
- Major data model update (offers more flexibility in development)
- New HierarchyWidget feature: hierarchy tree opens at the position of the current term. Navigation functions are available for clicking on the terms.
Bug Fixes
- BreadcrumbWidget: Added gui render on loading and error (60867b2)
- Class: fixed returning no array type in getSubsets() if value in response is not an array (efa64e7)
- DataContentWidget: fixed pagination error resulting in just counting the ontologies on the first page (61136b7)
- DescriptionWidget: added ...rest prop to EuiText for colored text (52b3173)
- DescriptionWidget: fixed missing inclusion of descText and NO_DESCRIPTION (a285026)
- Entity: access correct tag for crossrefs (558a8d4)
- Entity: fixed duplicate subsets on info widget by filtering them out in annotations (c537b5d)
- EntityRelationsWidget: fixed error with instances (79f44a0)
- getAnnotationPredicates(): fixed error when using method with ols4/api which does not have "annotations" key inside "config" (507a1ad)
- getResponseObject(): fixed error when providing "class" for old / "term" for new API (30eebdb)
- HierarchyWidget Storybook: removed unused queries from story file, provided entityType (c07aed3)
- Metadata: add useLegacy parameter (0c542df)
- MetadataWidget: added missing parameters ontology and entityType to call to TabPresentation component, modified pluralizeType() (ecc0a75)
- MetadataWidget: removed defining ontology not available message (be510a9)
- MetadataWidget: style - prevent overflow (724200c)
- Model: fixed Class::getSubsets() error (d25259b)
- ols -> ols4: changed api url in storybook widgets to render correctly; also changed display of defining ontology not available warning in some widgets (d28233e)
- OLS3Ontology: fixed getDescription() (2be5bfc)
- OLS4Entity: remove duplicate cross ref function (c4abd2b)
- OlsApi.ts: fixed wrong functions getTerm, getProperty, getIndividual (202bb60)
- OlsApi: fixed error with cases "term" and "class" as well as missing useLegacy parameter (1274e3c)
- parameter in request (666c004)
- ReifiedJSX: fixed wrong condition preventing correct link augmentation (c86aa68)
- TabWidget: input data structure (262d277)
- TitleWidget: added missing useLegacy parameter to getThingObject() call (3094245)
- WidgetProps: adapted AlternativeNameTabWidget (0ba8851)
- WidgetProps: TabWidget and SubWidgets use entityType, not thingType (fe85bd3)
Features
- add getTypePlural for entity class (71855c4)
- add HierarchyWidget deprecated (0c53f1d)
- addLinksToText(): added function in StructureRendering.tsx (54faefd)
- BreadcrumbWidget: adapt to model, entityType optional, features both API versions (84e33b6)
- DescriptionWidget: adapt to model, entityType optional, features both API versions (5f7826e)
- EntityInfoWidget: added getHasKeySection(), getPropertyCharacteristicsSection(), getDomainSection(), getRangeSection() and getIndividualPropertyAssertionsSection() to display the respective sections (as done in ols4 project) (71775f7)
- EntityInfoWidgetStories: added two new stories demonstrating the functionality with the v2 API (5e3df92)
- export interfaces: added index.ts for interface importing via same folder (62fcc7e)
- getAxiomsInformationJSX(): implemented function generating JSX element for Reified axioms (d4a39d9)
- getClassExpressionJSX(): added function getClassExpressionJSX(), still to be reviewed (963c56c)
- getResponseObject(): added function getResponseObject() in OlsApi.ts which requests a response for given parameters and returns the respective model object containing the response (a12528c)
- HierarchyWidget improvement ongoing (3ddec61)
- HierarchyWidget: added useEffect dependencies (f4c1f5a)
- HierarchyWidget: change onNavigate functions (7059b8b)
- HierarchyWidget: entityType optional & using singular instead of plural (24af56e)
- MetadataWidget: adapt to model, entityType optional, features both API versions (ed44b93)
- MetadataWidgets: update to new model (c095844)
- model interfaces: Added interfaces for model types Thing, Entity, Ontology, Property, Class, Individual (3379a78)
- Model: added function getCrossReferences() to Entity (d594d36)
- ModelObjectCreator): refactored getResponseObject() in OlsApi.ts, added file ModelObjectCreator.ts and function createModelObject(response: any: Thing within returning the dynamic model object wrapper for the given response (7938733)
- ModelTypeCheck: added functions for typechecking (a2b3a39)
- OLS4 family: Added classes implementing interfaces Thing, Entity, Ontology, Property, Class, Individual according to OLS4 (api/v2) response structure (8936db7)
- OlsApi: added function getThingObject() (5415455)
- **o...