From d62ac3691c73a35a312f9fd67a89234a0b9b0669 Mon Sep 17 00:00:00 2001 From: Liam Ross Date: Fri, 4 Dec 2020 11:49:15 -0800 Subject: [PATCH] chore(release): 0.7.0-beta.4 --- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f2b09b..c84920f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [0.7.0-beta.4](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.7.0-beta.3...v0.7.0-beta.4) (2020-12-04) + +### ⚠ 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](https://github.com/PDFTron/webviewer-react-toolkit/commit/216b58811656e0b98a1d0d00463f721f09c8c8d7)) + +### Build and Dependencies + +- **WebViewer:** peer dependency on version >=7 of WebViewer ([28450e6](https://github.com/PDFTron/webviewer-react-toolkit/commit/28450e6c670896e8e26310ba0c51ca699293c282)) + ## [0.7.0-beta.3](https://github.com/PDFTron/webviewer-react-toolkit/compare/v0.7.0-beta.2...v0.7.0-beta.3) (2020-11-24) ### Bug Fixes diff --git a/package.json b/package.json index 900b931..8ed988a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pdftron/webviewer-react-toolkit", - "version": "0.7.0-beta.3", + "version": "0.7.0-beta.4", "description": "A React component library for integrating with PDFTron WebViewer API.", "license": "SEE LICENSE IN LICENSE", "repository": {