From afb3cf7fb11b6d714afee5a7862b42f12d12d234 Mon Sep 17 00:00:00 2001 From: Jeremy Press Date: Tue, 23 Apr 2019 13:34:11 -0700 Subject: [PATCH] Release: 2.8.0 --- CHANGELOG.md | 10 ++++++++++ README.md | 14 +++++++------- package.json | 2 +- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9738275b9..a8784ff99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ + +## 2.8.0 (2019-04-23) + +* Fix: Avoid adding thumbnail sidebar classes if option is disabled (#990) ([c5eac30](https://github.com/box/box-content-preview/commit/c5eac30)), closes [#990](https://github.com/box/box-content-preview/issues/990) +* Fix: Load images via img elements to avoid CORS issues with XHRs (#988) ([fa6e82a](https://github.com/box/box-content-preview/commit/fa6e82a)), closes [#988](https://github.com/box/box-content-preview/issues/988) +* Fix: Media controls now visible for videos in narrow window (#987) ([753fc14](https://github.com/box/box-content-preview/commit/753fc14)), closes [#987](https://github.com/box/box-content-preview/issues/987) +* Fix: Show next/previous buttons for file collections in error viewer (#989) ([ce3e834](https://github.com/box/box-content-preview/commit/ce3e834)), closes [#989](https://github.com/box/box-content-preview/issues/989) + + + ## 2.7.0 (2019-04-16) diff --git a/README.md b/README.md index 0c800cd8f..cd6c4a950 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![Project Status](https://img.shields.io/badge/status-active-brightgreen.svg?style=flat-square)](http://opensource.box.com/badges/) [![Styled With Prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![build status](https://img.shields.io/travis/box/box-content-preview/master.svg?style=flat-square)](https://travis-ci.org/box/box-content-preview) -[![version](https://img.shields.io/badge/version-v2.7.0-blue.svg?style=flat-square)](https://github.com/box/box-content-preview) +[![version](https://img.shields.io/badge/version-v2.8.0-blue.svg?style=flat-square)](https://github.com/box/box-content-preview) [![npm version](https://img.shields.io/npm/v/box-ui-elements.svg?style=flat-square)](https://www.npmjs.com/package/box-ui-elements) [Box Content Preview](https://developer.box.com/docs/box-content-preview) @@ -19,11 +19,11 @@ If you are using Internet Explorer 11, which doesn't natively support promises, Current Version --------------- -* Version: v2.7.0 +* Version: v2.8.0 * Locale: en-US -https://cdn01.boxcdn.net/platform/preview/2.7.0/en-US/preview.js -https://cdn01.boxcdn.net/platform/preview/2.7.0/en-US/preview.css +https://cdn01.boxcdn.net/platform/preview/2.8.0/en-US/preview.js +https://cdn01.boxcdn.net/platform/preview/2.8.0/en-US/preview.css Supported Locales ----------------- @@ -51,8 +51,8 @@ You can self-host the Box Content Preview library or reference the versions avai - - + +
@@ -69,7 +69,7 @@ You can self-host the Box Content Preview library or reference the versions avai ### Self-hosting To self-host the Box Content Preview library, follow these steps: 1. Either fork the repo and check out the version you want to host or download the specific version as a zip: - * Check out a specific version with `git checkout v2.7.0` + * Check out a specific version with `git checkout v2.8.0` * Download a specific version as a zip from https://github.com/box/box-content-preview/releases 2. Install dependencies and build the library with `yarn install && yarn prod` 3. Self-host everything except for the `dev` folder from the `/dist` folder. You must not alter the folder structure and `third-party` needs to be in the same folder as `2.4.0`. For example, if you self-host using a `box-assets` directory, these URLs must be accessible: diff --git a/package.json b/package.json index 4c3d4b2cc..ede2f6b4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "box-content-preview", - "version": "2.7.0", + "version": "2.8.0", "description": "Box Content Preview UI Element", "author": "Box (https://www.box.com/)", "license": "SEE LICENSE IN LICENSE",