Releases: annotorious/annotorious
Releases · annotorious/annotorious
Version 3.0.0-rc.20
- Fixed broken interaction between undo/redo stack and the external lifecycle events on the
anno
object (@rsimon).- create/delete events caused by undo/redo are no longer reverted immediately (d'oh)
- update events caused by undo/redo are now properly raised in the external lifecycle
- Fixes to build and TS type enhancements thx to @oleksandr-danylchenko 🎉
setAnnotations
now exposes thereplace
argument (thx @oleksandr-danylchenko)- Added
react-manifold
package, a utility for using multiple Annotorious instances in combination (@rsimon) - Upgraded to PixiJS 7 (@rsimon)
Full Changelog: v3.0.0-rc.19...v3.0.0-rc.20
Version 3.0.0-rc.19
- Bugfix: W3C format crosswalk no longer inserts duplicate
body
/bodies
arrays and deals with arraytarget
fields properly (#361) - Bugfix, touch support: the polygon only auto-closes if the user rests the finger on the screen. If the finger is released, auto-close is stopped (#358)
- Bugfix, touch support: click/drag robustness is now properly handled. Drag gestures will not select/deselect, minimal drag (distance <5px) is tolerated as a click (#360)
- Maintenance: all dependency versions upgraded to latest, except PixiJS which remains at v6 for now (see #362)
Version 3.0.0-rc.18
- OpenSeadragon: shape stroke no longer missing on initial load (#348)
- Keyboard shortcuts for undo/redo now working on Win/Linux
- Touch selection is now more robust (#353)
- Corner handles now have (invisible) buffer space around them, making them easier to grab on touch devices (#355)
- When drawing a polygon in touch mode, resting the finger in place for >1.5 s is treated like a double click, and closes the polygon (#354)
- When shapes overlap, clicking a smaller shape "underneath" a larger shape will now select the smaller shape, even if the larger shape is the current selection (#356)
Version 3.0.0-rc.17
- Adds missing
@annotorious/annotorious
peer dependency to@annotorious/openseadragon
package - Upgrades all dependencies to latest versions, including Svelte, Vite and TypeScript. (The only remaining expection is Pixi.JS, which remains at version 6 due to the higher effort required to migrate.)
- Fixes any TypeScript issues that surfaced with the upgrade to TS 5
- Fixes various compatibility issues with the W3C Web Annotation spec (@oleksandr-danylchenko)
Version v3.0.0-rc.16
Another official release candidate. After a series of mildly successful attempts to get a clean package configuration, this RC adds the following:
- All package configurations should now be correct. Necessary transitive dependencies (
@annotorious/core
,@annotorious/annotorious
) are pulled in when installing@annotorious/react
,@annotorious/openseadragon
and@annotorious/svelte
. - One issue remains that may require installation of the
openseadragon
package when using@annotorious/react
in some bundlers, even when only using the non-OpenSeadragon version (#329) - OpenSeadragon version now supports full style specification (fill color & opacity; stroke color, opacity and width) (#339, #340)
- Init config defaults are now sane for both versions
- drawing is enabled with mode
drag
in the standard version - drawing is disabled with mode
click
for OpenSeadragon
- drawing is enabled with mode
Version 3.0.0-rc.6
- Fixes a behavior bug with the polygon drawing tool
- Attempts to fix various
package.json
configuration issues
Version 3.0.0-rc.4
- Various minor stability bugfixes
- Project structure cleanup
- Theme auto-detection is no longer a default setting (#328)
- Fixes to undo/redo implementation (#335, #336)
- Added missing API methods
anno.cancelSelected
andanno.getSelected
(#301) - Annotation target no longer looses custom fields when going through the W3C format parser (#324)
Version 3.0.0-rc.3
Installation
# Standard version
npm install @annotorious/annotorious
# OpenSeadragon version
npm install @annotorious/openseadragon
# Annotorious for React (supports both standard and OpenSeadragon)
npm install @annotorious/react
# Annotorious for Svelte
npm install @annotorious/svelte
New in this release
- Adds support for annotation filters
- Adds support for unlimited undo/redo
- Fixes Firefox compatibility issues
- Fixes a bug in the W3C WebAnno crosswalk that created duplicate
body
andbodies
field - Fixes a bug in the React package that caused endless re-rendering of the OpenSeadragon annotator when not memo-izing OSD options
- Minor tweaks to type/utility function re-exports in
@annotorious/react
and@annotorious/svelte
- Minor TypeScript tweak: annotation body
purpose
now offers auto-complete for offical purpose values defined in the WebAnno spec
v2.7.13
Version 2.7.12
Mostly a maintenace relase.
- Rectangle annotation creation is now constrained to bounds of the image.