Releases: ApryseSDK/webviewer-react-toolkit
Releases · ApryseSDK/webviewer-react-toolkit
v0.7.4
v0.7.3
Changes:
- upgraded to use WebViewer 8.1 (was using WebViewer 7.3 before)
- caught exception and give a warning in console for FileOrganizer component where WebViewer will throw error if trying to create a document with an extension it does not support
v0.7.0
Note: file functionality within toolkit v7 and above requires WebViewer v7 or higher. If you are on a previous version of WebViewer, you can use v0.6.0 of the toolkit:
# Yarn yarn add @pdftron/webviewer-react-toolkit@0.6.0 # npm npm install @pdftron/webviewer-react-toolkit@0.6.0
⚠ BREAKING CHANGES
- file: file now takes pageNumber instead of pageIndex, since WebViewer API has changed in version 7 to take 1-indexed page number values
- WebViewer: due to breaking changes in WebViewer v7, the toolkit will no longer work with previous version of WebViewer
Features
- file: pageNumber prop replaces pageIndex to match WebViewer API (216b588)
- FileOrganizer: thumbnailSize prop, fixed thumbnail auto size check (9c3d65b)
Bug Fixes
- FileOrganizer: fixed bug that skipped setting thumbnail size (c25d758)
- useFileSubscribe: correct typing of hook output (953a352)
Build and Dependencies
- WebViewer: peer dependency on version >=7 of WebViewer (28450e6)
v0.7.0-beta.4
⚠ BREAKING CHANGES
- file: file now takes pageNumber instead of pageIndex, since WebViewer API has changed in version 7 to take 1-indexed page number values
- WebViewer: due to breaking changes in WebViewer v7, the toolkit will no longer work with previous version of WebViewer
Features
- file: pageNumber prop replaces pageIndex to match WebViewer API (216b588)
Build and Dependencies
- WebViewer: peer dependency on version >=7 of WebViewer (28450e6)
v0.7.0-beta.3
Bug Fixes
- FileOrganizer: fixed bug that skipped setting thumbnail size (c25d758)
0.7.0-beta.2 (2020-11-20)
v0.7.0-beta.2
v0.7.0-beta.1
Features
- FileOrganizer: thumbnailSize prop, fixed thumbnail auto size check (9c3d65b)
v0.6.0
⚠ BREAKING CHANGES
- Thumbnail: removed throttle and isShownOnLoad props as they are no longer required due to ability to cancel position in global queue
Features
- Choice: added center prop to vertically center the choice (2c6af08)
- FileOrganizer: added gridRef prop to allow access to react-window grid (77c0c0e)
- Thumbnail: if label is empty string and no onRename given, hide thumbnail label (04b791e)
- Toast: added loading toast (95364f5)
- ToastProvider: added modify toast and exists methods (f04731f)
- ToastProvider: new props to control position of toast (190c642)
Bug Fixes
- Button: restored broken padding on small button (f03b079)
- ToastProvider: using refs to keep exists query up to date (b10d04e)
Refactors
- useFocusTrap: reduced loop iterations when finding focus index (1fd5232)
- Thumbnail: queue for expensive file operations (3eb2e55)
- Thumbnail: fewer file value subscriptions (a148935)
Build and Dependencies
v0.6.0-beta.8
Features
- Choice: added center prop to vertically center the choice (2c6af08)