Releases: ProjectMirador/mirador
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...
v3.3.0
What's Changed
- Give the collection modal content some padding; fixes #3434 by @cbeer in #3444
- Add whitespace between the seeAlso link and the mime type; fixes #3380 by @cbeer in #3445
- Wrap the export json in an accordion; fixes #3440 by @cbeer in #3443
- Pluralize item counts for English, at least; fixes #3268 by @cbeer in #3446
- Use an explicit placeholder for missing manifest thumbnails by @cbeer in #3447
- Update french translations per #3451 by @regisrob in #3452
- Add Mirador 2 maintenance status info by @camillevilla in #3455
- Respect the IIIF service preferredFormats list when picking thumbnails by @cbeer in #3442
- Increase the default elastic window size to 480x400 by @cbeer in #3460
- Update translation.json by @dvhassel in #3468
- Consolidate implementations of asArray by @cbeer in #3449
- Guard against missing canvas groupings by @cbeer in #3456
- Scroll the selected annotation into view in the annotations companion window by @cbeer in #3450
- Stop displaying 'added from url placeholder' by @cbeer in #3448
- Norwegian bokmål translation by @tarjelavik in #3474
- Do not import manifesto es modules directly by @charbugs in #3478
- point pkg.main to cjs modules by @charbugs in #3479
- Update manifest link by @DigitLib in #3490
- Update
it
locale by @atomotic in #3495 - Support for a polish (pl) locale by @tsuchodolskij in #3502
- Update fr translation of windowPluginMenu key by @regisrob in #3504
- Add Korean translation in src/locales by @typiespectre in #3505
- Release v3.3.0 by @cbeer in #3508
New Contributors
- @dvhassel made their first contribution in #3468
- @tarjelavik made their first contribution in #3474
- @tsuchodolskij made their first contribution in #3502
- @typiespectre made their first contribution in #3505
Full Changelog: v3.2.0...v3.3.0
v3.2.0
Improvements
- Refactor
MiradorViewer
to be more amenable for use inside a React application - #3432 Prevent item labels in the Collection modal from being cut off
Locales
- #3428 Add support for Swedish
Developer tooling
- #3415 add npm script for running the test suite in a debugger
- Update development dependencies
Thanks to:
@cbeer
@lutzhelm
@camillevilla
@regisrob
@charbugs
@istyf
@shestyf
@markmatney
@mejackreed