Skip to content

v1.20.0

Compare
Choose a tag to compare
@jusa3 jusa3 released this 07 Mar 08:50
· 438 commits to main since this release

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)
  • optional entityType legacy API: added automatic entityType inferring using legacy API via parallel queries for all types (63202c2)
  • preferredOntologyJSON: added functionality to select defining ontology if possible to ModelObjectCreator.ts (967cf09)
  • randomString(): added utility function generating random string (7d64033)
  • Standard/Legacy family: Added classes implementing interfaces Thing, Entity, Ontology, Property, Class, Individual according to legacy (ols3/api, ols4/api/) response structure (8852c57)
  • StructureRendering.tsx: added new file for functions generating JSX for basic model structures (i.e. Reification) (0233a6c)
  • TabWidget & childs: adapt to model, entityType optional, features both API versions (b74a62d)
  • TitleWidget: adapt to model, entityType optional, features both API versions (5b485bb)