Releases: ProjectMirador/mirador
v4.0.0-alpha.7
What's Changed
Bug fixes
- Don't start dispatching updateViewport actions until the viewport pos… in 4835595
- Update OpenSeadragonComponent to support 0 (e.g. false-y) rotation/x/… in c6bc8a0
- Only render the thumbnails if there are canvas groupings in the first… in d8e9bde
- URL-encoding access token service source url; fixes #3902
- Guard against missing grid ref in 99e5a3e
- Add companionWindowId to the CanvasLayers label selectors to ensure w… in 2ef1828
- Add the current locale to a context for the workspace and companion w… in 52d06c0
- Extract IIIFResourceLabel component for rendering the contextually ap… in c1b55cb
- Push property localization down to getValues instead of part of parsi… in 17bad85
Demos
- Add demo page with i18n examples. in c13b718
CI + Developer experience
- Fix webpack lint. in 72b9cc8
- Fix up the test suite. in 82de91f
- Use a ref to the OSD container instead of having OSD find it by id in 9480b67
- Change required type for panels to Object in dd1b25a
- Remove duplicate background key from dialog scroll in 1f5b1a0
- Update App.test.js to try to make it less flappy when run in the test… in b8a8a95
- Extract getCompanionWindowLocale selector. in 26b57a2
- Restore real timers in NewWindow test in ac07916
- Let RTL render MiradorViewer tests in 5014500
- Test plugin prop without a lazy loaded component. in 186a745
- Run CI on ubuntu-latest in 91f5546
- Update codecov-action in CI. in afa2023
- Remove mui/lab package in e6b78b1
- Add forwardRef to CompanionWindow in 560a4a7
- Add forwardRef to the CompanionWindow container in becb363
- Correct propType to return expected Boolean in 1e9844f
- Replace withTranslation HOC with hooks. in 1a900df
Full Changelog: v4.0.0-alpha.6...v4.0.0-alpha.7
v3.4.3
What's Changed
- Ensure viewerConfig exists in OpenSeadragonViewer condition by @marlo-longley in #4080
Full Changelog: v3.4.2...v3.4.3
v4.0.0-alpha.6
What's Changed
Full Changelog: v4.0.0-alpha.5...v4.0.0-alpha.6
v3.4.2
What's Changed
- backport 3922 to make initialViewerConfig work by @dnoneill in #4031
- Update version to 3.4.2 by @marlo-longley in #4047
New Contributors
Full Changelog: v3.4.1...v3.4.2
v4.0.0-alpha.5
What's Changed
New features
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
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
v3.4.1
What's Changed
- allow user to pass initalViewerConfig into windows by @cbeer in #4024
- Release v3.4.1 by @marlo-longley in #4025
Full Changelog: v3.4.0...v3.4.1
v4.0.0-alpha.4
What's Changed
Bug fixes
- Bug fix: preservation of viewport doesnt work by @fstoe in #3922
- Allow externally updated props to change the viewer even if OSD is still animating a change. by @cbeer in #3986
- Fix MUI5 menu focus styles. by @cbeer in #3982
i18n
- Update italian translation by @atomotic in #3905
- Fix Japanese Translation by @gerdesque in #3910
- Update translation.json by @veesalu in #3925
- Add Croatian language to locales by @hrvoj3e in #3931
- Reformat hr locale to match linter-expected format. by @cbeer in #3941
New configuration options
- Use a double-click handler for OSD to handle zooming instead of click-to-zoom by @cbeer in #3987
- Add maximized option to windows in config by @bertyhell in #3901
Dependency updates
- Fix #3783 and #3897, omit OpenSeadragon 4.1.0 by @lutzhelm in #3899
- Pin to ubuntu-22 to avoid CI failure by @marlo-longley in #3938
- Update dependencies by @cbeer in #3940
- Avoid using deprecated method waitForTimeout by @jcoyne in #3948
- Stop testing the mui5 branch now that it's merged by @cbeer in #3953
- Bump CI action versions. by @cbeer in #3954
- Update react-i18next by @cbeer in #3950
- Update testing-library dependencies by @cbeer in #3951
- Remove proposal by @jcoyne in #3945
- Remove react-sizeme to silence findDOMNode deprecation warnings by @marlo-longley in #3959
- Update webpack-dev-server by @cbeer in #3962
- Include OpenSeadragon v5 by @lutzhelm in #3929
- Extend uuid version support. by @cbeer in #3964
- Stop using defaultProps in MosaicRenderPreview component by @marlo-longley in #3960
- Fix warnings about usage of i18n by @jcoyne in #3972
- Use act() to ensure all promises are resolved by @jcoyne in #3961
- Use ES6 default arguments to avoid deprecated defaultProps on function components by @cbeer in #3976
Other changes
- Don't forward the focused prop. It isn't valid on Rnd. by @cbeer in #3978
- Use a function mock ref instead of a string. by @cbeer in #3977
- Refactor MiradorViewer initialize to avoid act() warning. by @cbeer in #3980
- Remove act from MiradorMenuButton test. by @cbeer in #3979
- Skip companion window plugin test that's acting wonky. by @cbeer in #3952
- Simplify the parameters passed to the button by @jcoyne in #3956
- Remove unused act import. by @cbeer in #3988
- chore: remove unused paramater of maximizeWindow action by @fstoe in #3870
- Stop passing tReady through to the MUI menu component. by @cbeer in #3981
- Address some re-select inputStabilityCheck warnings. by @cbeer in #3990
Full Changelog: v4.0.0.alpha-2...v4.0.0-alpha.4
v3.4.0
What's Changed
- [backport] Allow externally updated props to change the viewer even if OSD is still animating a change. by @marlo-longley in #4001
- Backport some bug fixes to v3 by @cbeer in #4003
- Backport i18n changes to v3 by @cbeer in #4002
- Backport OSD updates to v3 by @cbeer in #4005
- Backport MUI 4.12 updates to v3 by @cbeer in #4004
Full Changelog: v3.3.0...v3.4.0
v4.0.0.alpha-2
What's Changed
- Remove extra slash from import by @marlo-longley in #3894
Full Changelog: v4.0.0.alpha-1...v4.0.0.alpha-2
v4.0.0.alpha-1
Mirador v4 is a major refresh of many of the upstream dependencies of this project. Notably, Mirador v4 allows (and requires) downstream application use to React 18 and Material UI 5. Many other Mirador dependencies have been upgraded or replaced with modern equivalents. This alpha-1
prerelease is being made early to facilitate additional testing.
Mirador application developers are encouraged to read the (lengthy) Material UI 5 upgrade guide, React 18 upgrade guide, and review the commits below to see what changes were necessary in Mirador. A full upgrade guide will included in future Mirador release notes.
MUI 5
- Update @material-ui/core to 4.12 by @thatbudakguy in #3528
- Fix warnings related to Material UI updates by @dicksonlaw583 in #3476
- Fix MUI5 testing errors by @marlo-longley in #3793
- Fix some styling and console errors on mui5 branch by @marlo-longley in #3803
- Run CI tests when making PRs against the mui5 branch by @marlo-longley in #3794
- Rebased #3795 by @cbeer in #3804
- [MUI] Apply styles to the ToC nodes by @cbeer in #3811
- Restore spacing to the collection modal dialog by @cbeer in #3812
- [MUI5] Give the workspace add resource button a little spacing by @cbeer in #3810
- [MUI5] Add a custom background color for annotation + search chips in the gallery view by @cbeer in #3809
- [Mui5] Fix up companion window section styling by @cbeer in #3808
- [MUI5] Center collapse icon in the container by @cbeer in #3807
- [MUI5] Improve the window sidebar border by @cbeer in #3806
- Add docu for selectors by @fstoe in #3787
- [MUI5] Reduce Window top menu button margin by @cbeer in #3805
- [MUI5] Fix layer drag handle spacing by @cbeer in #3813
- Update CI to use current LTS node releases by @cbeer in #3817
- [MUI5] Restore auth banner colors by @cbeer in #3814
- [MUI5] Remove unnecessary value for boolean property by @cbeer in #3815
- [MUI5] Always give the title controls some space by @cbeer in #3816
- Use an explicit dom ref for handling scrolling to dom elements by @cbeer in #3819
- Remove unused classes propType by @marlo-longley in #3818
- Extract a styled
CompanionWindowSection
by @cbeer in #3820 - Create a MenuItem variant instead of using inline sx styles by @cbeer in #3823
- Use an MUI accordion for the sidebar collapsing sections by @cbeer in #3822
- Refactor WindowCanvasNavigationControls to pull stacking + alignment up by @cbeer in #3825
- Push IIIFThumbnail styling into slots + variants by @cbeer in #3824
- Pull button margins up to its container by @cbeer in #3828
- Create a Dialog variant to contain a modal within a mirador window by @cbeer in #3827
- Fix the CSS selector for restoring a focus state to the Fab by @cbeer in #3830
- Use MenuItem divider prop instead of styling it ourselves by @cbeer in #3829
- Refactor ErrorContent to use styled slots by @cbeer in #3826
- Remove unnecessary StyledMiradorMenuButton by @cbeer in #3832
- Extract
WorkspaceDialog
styles and push styling up to settings by @cbeer in #3833 - Pull SanitizedHtml styling up by @cbeer in #3836
- Pull workspace styles up by @cbeer in #3838
- Pull WorkspaceControlPanel styles up by @cbeer in #3839
- Pull WindowTopBar styles up by @cbeer in #3841
- Pull window options selection styles up by @cbeer in #3842
- Use Badge color instead of custom styling by @cbeer in #3843
- Pull companion area styling up by @cbeer in #3835
- Create a common selected style for mirador buttons by @cbeer in #3840
- Push companion window styles up to settings by @cbeer in #3834
- Remove apparently unused styles by @cbeer in #3845
- Fix ManifestListItem border state by @cbeer in #3846
- Remove unnecessary styling on cancel button by @cbeer in #3847
- Pull GalleryView styles up by @cbeer in #3848
- Pull window sidebar styles up by @cbeer in #3849
- The Fab ripple is what gives it a focused state; instead of disabling… by @cbeer in #3850
- Remove unnecessary button margin by @cbeer in #3853
- Style the workspace sidebar with flexbox by @cbeer in #3852
- Pull more styling up by @cbeer in #3851
- Continue to apply custom tooltip margins by @cbeer in #3855
- Mui5 sidebar list styles by @cbeer in #3854
- Pull Window styles up by @cbeer in #3837
- Restyle the WorkspaceExport form by @cbeer in #3831
- Fix branding alignment by @cbeer in #3856
- Fix dark mode issues with the collection dialog by @cbeer in #3857
- Wrap the empty workspace in paper to get the right background in dark… by @cbeer in #3858
- Update dependencies by @cbeer in #3860
- remove unused clsx dependency by @cbeer in #3861
- Update annotation tags to avoid improperly nested HTML tags by @cbeer in #3859
- Replace redux-devtools-extension with @redux-devtools/extension by @cbeer in #3863
- Remove deprecated @mui/styles package by @cbeer in #3862
- Upgrade from MUI4 to MUI5 [breaking changes] by @cbeer in #3648
React 17 + 18
- Remove enzyme by @cbeer in #3740
- Update to React 17 by @cbeer in #3741
- Update testing libraries by @cbeer in #3742
- Update to React 18 by @cbeer in #3864
Other dependency updates
- Update development dependencies and test with current versions of nodejs by @cbeer in #3547
- Update dependencies by @cbeer in #3591
- Update react-full-screen by @cbeer in #3605
- Replace @researchgate/react-intersection-observer with react-intersection-observer by @cbeer in #3608
- enableFetchMock by @jcoyne in #3619
- Stop using isomorphic-unfetch by @jcoyne in #3622
- Remove isomorphic-fetch dependency by @jcoyne in #3627
- Stop requiring polyfills by @jcoyne in #3612
- Update I18n libraries by @cbeer in #3609
- Use modern jsx transform approach by @cbeer in #3604
- Allow OSD 3.x and 4.x by @cbeer in #3635
- Update puppeteer by @cbeer in #3634
- Replace IComCom library with custom component by @marlo-longley in #3636
- Replace react-aria-live with @react-aria/live-announcer by @cbeer in #3610
- Update react-mosaic, react-dnd and related libraries by @cbeer in https://github.com/ProjectMirador/mirador/pull...