Skip to content

Releases: annotorious/annotorious-openseadragon

Version 2.1.3

20 Dec 17:33
Compare
Choose a tag to compare
  • Support for formatter functions
  • Editable shapes

Version 2.1.2

29 Nov 16:49
Compare
Choose a tag to compare
  • Proper handling of multi-line comments in the Comment Widget
  • Added createSelection event
  • Localized text labels for time expressions ("2 minutes ago"), when using authInfo
  • Added missing Spanish labels for 'Edit' and 'Delete'
  • Turkish UI translation
  • Fixes a bug that caused mis-placed editor popup for polygons

Version 2.1.1

13 Oct 17:49
Compare
Choose a tag to compare
  • Image ID is now automatically inserted into the annotation target for IIIF images
  • Dim mask now also available for the polygon drawing tool
  • Czech UI translation
  • Tag widget: fixed broken autosuggest behavior
  • Editor plugins: config params are now properly forwarded to plugin args

Version 2.1.0

22 Sep 17:30
Compare
Choose a tag to compare

This is a minor version upgrade which introduces a number of backwards compatible bugfixes and additions, but also includes some minimal changes to how Annotorious is configured.

Important: CSS styles are no longer embedded in the JavaScript file, but now have to be imported separately:

<link rel="annotorious.min.css" href="styles.css">

Important: editor widgets are becoming more flexible. This release is the first to include beta support for a plugin API.
As a consequence, this version introduces a minimal change to how the tag widget is configured with a controlled vocabulary.

// Previously
var anno = Annotorious.init({
  image: 'hallstatt',
  tagVocabulary: ['Animal', 'Building', 'Vegetation', 'Waterbody']
});

// From this version onwards
var anno = Annotorious.init({
  image: 'hallstatt',
  widgets: [
    'COMMENT',
    { widget: 'TAG', vocabulary: ['Animal', 'Building', 'Vegetation', 'Waterbody'] }
  ]
});

Further additions include:

  • Editor behavior
    • Comment text element & tag input element now extend to the full size of the parent, resolving the issue that
      clicking inside the widget sometimes didn't focus
    • Comment field now gets focus automatically after popup opens
  • Tag widget
    • Style bugfixes for IE11
    • When adding a tag, it's no longer required to press Enter to save it
  • Comment widget
    • The comment widget now has an additional editable config option so you can switch (separately from the global setting) between
      editable (editable: true), not editable (editable: false) and editable, but don't allow editing other users' contributions
      (editable: 'MINE_ONLY).
  • Rectangle selection
    • There is now an SVG mask element you can use to dim the area outside the selection while drawing
  • General
    • Added support for server-generated annotation IDs, using the same API as in RecogitoJS
    • Environment is no longer a global object, meaning that it is now safe to use multiple Recogito/Annotorious instances on the same page
    • All CSS classes are now properly prefixed to avoid clashes with other styles on the page (either with a9s for Annotorious-specific elements or r6o for elements imported from Recogito core)
    • Imports are now pulled from @recogito/annotorious/src for easier development

Version 2.0.8

29 Aug 07:14
Compare
Choose a tag to compare
  • IE11 compatibility fixes
  • Bugfixes concerning the behavior of the tag autosuggest component
  • Bugfixes concerning drawing behavior
  • Security updates on various dependencies

Version 2.0.7

14 Aug 12:10
26920c5
Compare
Choose a tag to compare
  • Adds setDrawingEnabled API method.

Version 2.0.6

11 Jul 13:46
Compare
Choose a tag to compare
  • Beta support for rendering any SVG shape contained in W3C Web Annotations
  • Beta support for polygon drawing
  • Various bugfixes
  • Portuguese UI translation
  • Tag widget: controlled vocabulary autosuggest
  • Reduced build size by ~150kB

Version 2.0.5

17 Jun 17:55
Compare
Choose a tag to compare

Bugfix release which makes the OpenSeadragon plugin importable via NPM.

npm install --save @recogito/annotorious-openseadragon

import OpenSeadragon from 'openseadragon';
import * as Annotorious from '@recogito/annotorious-openseadragon';

const viewer = OpenSeadragon({
  id: "openseadragon",
  tileSources: {
    type: "image",
    url: "1280px-Hallstatt.jpg"
  }
 });

const anno = Annotorious(viewer, { locale: 'auto' });

Version 2.0.2

16 Jun 18:11
Compare
Choose a tag to compare

Maintenance release that fixes broken NPM import.

Version 2.0.1

11 Jun 15:34
Compare
Choose a tag to compare
  • Bugfixes
  • readonly display mode
  • API additions:
    • selectAnnotation method
    • panTo and fitBounds method
    • destroy method
    • mouseEnterAnnotation and mouseLeaveAnnotation events
  • Added support for internationalization
  • Ability to handle user information for UI display and when creating/updating annotations
  • Ability to add created and modified timestamps, with an option for the host application to sync with the server time