Skip to content

Commit

Permalink
Release: 2.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Press committed Jun 5, 2019
1 parent 01c549b commit 86287e2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
<a name="2.11.0"></a>
## 2.11.0 (2019-06-05)

* Fix: Add type to preview buttons ([155e0cc](https://github.com/box/box-content-preview/commit/155e0cc))
* Fix: Resize preview when thumbnails open ([01c549b](https://github.com/box/box-content-preview/commit/01c549b))
* Fix: updated error text for unsupported file types (#1002) ([4f4a8f1](https://github.com/box/box-content-preview/commit/4f4a8f1)), closes [#1002](https://github.com/box/box-content-preview/issues/1002)
* Update Translations ([a8a7d44](https://github.com/box/box-content-preview/commit/a8a7d44))
* Update: Upgrade axios to address security vulnerability (#1003) ([6bfb3c4](https://github.com/box/box-content-preview/commit/6bfb3c4)), closes [#1003](https://github.com/box/box-content-preview/issues/1003)



<a name="2.10.0"></a>
## 2.10.0 (2019-05-21)

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.10.0-blue.svg?style=flat-square)](https://github.com/box/box-content-preview)
[![version](https://img.shields.io/badge/version-v2.11.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)
Expand All @@ -19,11 +19,11 @@ If you are using Internet Explorer 11, which doesn't natively support promises,

Current Version
---------------
* Version: v2.10.0
* Version: v2.11.0
* Locale: en-US

https://cdn01.boxcdn.net/platform/preview/2.10.0/en-US/preview.js
https://cdn01.boxcdn.net/platform/preview/2.10.0/en-US/preview.css
https://cdn01.boxcdn.net/platform/preview/2.11.0/en-US/preview.js
https://cdn01.boxcdn.net/platform/preview/2.11.0/en-US/preview.css

Supported Locales
-----------------
Expand Down Expand Up @@ -51,8 +51,8 @@ You can self-host the Box Content Preview library or reference the versions avai
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise"></script>

<!-- Latest version of Preview SDK for your locale -->
<script src="https://cdn01.boxcdn.net/platform/preview/2.10.0/en-US/preview.js"></script>
<link rel="stylesheet" href="https://cdn01.boxcdn.net/platform/preview/2.10.0/en-US/preview.css" />
<script src="https://cdn01.boxcdn.net/platform/preview/2.11.0/en-US/preview.js"></script>
<link rel="stylesheet" href="https://cdn01.boxcdn.net/platform/preview/2.11.0/en-US/preview.css" />
</head>
<body>
<div class="preview-container" style="height:400px;width:575px"></div>
Expand All @@ -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.10.0`
* Check out a specific version with `git checkout v2.11.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 build:i18n && yarn:build: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:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "box-content-preview",
"version": "2.10.0",
"version": "2.11.0",
"description": "Box Content Preview UI Element",
"author": "Box (https://www.box.com/)",
"license": "SEE LICENSE IN LICENSE",
Expand Down

0 comments on commit 86287e2

Please sign in to comment.