Skip to content

Commit

Permalink
Release: 1.51.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodsum committed Sep 4, 2018
1 parent bdb45e9 commit cba2f66
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="1.51.0"></a>
## 1.51.0 (2018-09-04)

* Mojito: Update translations (#830) ([bdb45e9](https://github.com/box/box-content-preview/commit/bdb45e9)), closes [#830](https://github.com/box/box-content-preview/issues/830)
* Fix: add min-width to video (#839) ([b655d90](https://github.com/box/box-content-preview/commit/b655d90)), closes [#839](https://github.com/box/box-content-preview/issues/839)
* Fix: navigation buttons shouldn't cover scrollbar (#838) ([55b4d8e](https://github.com/box/box-content-preview/commit/55b4d8e)), closes [#838](https://github.com/box/box-content-preview/issues/838)
* Chore: Allow load metrics emission without file info (#828) ([863be29](https://github.com/box/box-content-preview/commit/863be29)), closes [#828](https://github.com/box/box-content-preview/issues/828)
* New: Adding NodeJS version check to Release script (#834) ([f28558c](https://github.com/box/box-content-preview/commit/f28558c)), closes [#834](https://github.com/box/box-content-preview/issues/834)



<a name="1.50.0"></a>
## 1.50.0 (2018-08-28)

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-v1.50.0-blue.svg?style=flat-square)](https://github.com/box/box-content-preview)
[![version](https://img.shields.io/badge/version-v1.51.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: v1.50.0
* Version: v1.51.0
* Locale: en-US

https://cdn01.boxcdn.net/platform/preview/1.50.0/en-US/preview.js
https://cdn01.boxcdn.net/platform/preview/1.50.0/en-US/preview.css
https://cdn01.boxcdn.net/platform/preview/1.51.0/en-US/preview.js
https://cdn01.boxcdn.net/platform/preview/1.51.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/1.50.0/en-US/preview.js"></script>
<link rel="stylesheet" href="https://cdn01.boxcdn.net/platform/preview/1.50.0/en-US/preview.css" />
<script src="https://cdn01.boxcdn.net/platform/preview/1.51.0/en-US/preview.js"></script>
<link rel="stylesheet" href="https://cdn01.boxcdn.net/platform/preview/1.51.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 v1.50.0`
* Check out a specific version with `git checkout v1.51.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 run 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 `1.26.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": "1.50.0",
"version": "1.51.0",
"description": "Box Content Preview UI Element",
"author": "Box (https://www.box.com/)",
"license": "SEE LICENSE IN LICENSE",
Expand Down

0 comments on commit cba2f66

Please sign in to comment.