Skip to main content

Upgrading to v1

Previous versions of the Gene Ontology Web Components were managed as separate packages. Starting with v1 of this package, all components are now bundled together in a single package. This simplifies installation and usage, allowing you to import all components from a single package instead of managing multiple dependencies.

Updating Dependencies

Previously, you may have had one or more of the following packages installed:

  • @geneontology/wc-gocam-viz
  • @geneontology/wc-go-ribbon
  • @geneontology/wc-ribbon-strips
  • @geneontology/wc-ribbon-table

To upgrade to v1, you should remove these packages and install the new unified package: @geneontology/web-components. See the installation guide for more details.

New Custom Element Names

In v1, the custom element names have been standardized to follow a consistent naming convention. Replace the following old custom element names with the new ones:

Previous Element NameNew Element Name
wc-gocam-vizgo-gocam-viewer
wc-gocam-legendgo-gocam-viewer-legend
wc-go-ribbongo-annotation-ribbon
wc-ribbon-stripsgo-annotation-ribbon-strips
wc-ribbon-tablego-annotation-ribbon-table