Skip to content

v4.0.0-alpha.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@cbeer cbeer released this 13 Dec 16:43
· 38 commits to master since this release
2b83ab8

What's Changed

New features

  • allow user to pass initalViewerConfig into windows by @cbeer in #4019

Bug fixes

  • Don't let manifesto mutate the manifest json. by @cbeer in #4036
  • Expect zero value for opacity and index in OpenSeadragonTileSource by @lutzhelm in #4037
  • fix: fetchSearch by @fstoe in #4008

Developer experience

  • Remove canvas. by @cbeer in #3975
  • Add node 22.x to the test matrix by @jcoyne in #3946
  • Bump package version by @cbeer in #4032
  • Don't bother passing the viewer ref to children, they can get it from… by @cbeer in #4034
  • Improve OSD viewport initialization by @cbeer in #4026
  • Extract components for handling OSD + tile sources. by @cbeer in #4014
  • Guard against null required statements... by @cbeer in #4010
  • Pass through all props to the plugins by @cbeer in #4033
  • Remove forced re-render; it doesn't seem necessary any more. by @cbeer in #4035
  • Rename NewWindow to NewBrowserWindow for clarity by @marlo-longley in #4013

Use top-level named exports

  • Add index.js files to src directories by @cbeer in #3991

Converting class components to functional components

  • Convert AnnotationsOverlay to a function. by @cbeer in #4022
  • Convert CollectionDialog to a function. by @cbeer in #3995
  • Convert IIIFAuthentication to a function. by @cbeer in #3998
  • Convert NewWindow to a function. by @cbeer in #3997
  • Convert ThumbnailNavigation to a function. by @cbeer in #3994
  • Convert Workspace components to functions by @cbeer in #3993
  • Convert some class components to functions. by @cbeer in #3992
  • Rewrite ScrollTo as a function. by @cbeer in #4006
  • Update CanvasLayers to a function. by @cbeer in #3996
  • Update search components to functions. by @cbeer in #3999

Convert HOC to hooks

  • Convert withWidth from a HOC to a hook. by @cbeer in #4021
  • Fix withSize regression by @cbeer in #4000
  • Use hooks to determine the element size, not HOCs by @cbeer in #4020
  • Use the useContext hook instead of withWorkspaceContext HOC by @cbeer in #4018