Skip to content

Commit

Permalink
Release: 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Press committed Apr 2, 2019
1 parent c3830f9 commit a1ea622
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
<a name="2.5.0"></a>
## 2.5.0 (2019-04-02)

* Docs: update latest version in readme ([c3830f9](https://github.com/box/box-content-preview/commit/c3830f9))
* Update: Open Preview Thumbnails by default (#971) ([5be09ef](https://github.com/box/box-content-preview/commit/5be09ef)), closes [#971](https://github.com/box/box-content-preview/issues/971)
* Fix: Fail intentionally when preview image files with deleted reps (#964) ([f5c4de4](https://github.com/box/box-content-preview/commit/f5c4de4)), closes [#964](https://github.com/box/box-content-preview/issues/964)
* Fix: Handle failed document preload for deleted representations (#968) ([0a1d0ef](https://github.com/box/box-content-preview/commit/0a1d0ef)), closes [#968](https://github.com/box/box-content-preview/issues/968)
* Fix: Hide thumbnails in mobile portrait (#967) ([8d5cbb8](https://github.com/box/box-content-preview/commit/8d5cbb8)), closes [#967](https://github.com/box/box-content-preview/issues/967)
* Fix: Keyboard navigation should only focus meaningful elements (#970) ([cb6fe25](https://github.com/box/box-content-preview/commit/cb6fe25)), closes [#970](https://github.com/box/box-content-preview/issues/970)
* Fix: Thumbnail navigation now animates correctly in IE11 (#972) ([cf53a79](https://github.com/box/box-content-preview/commit/cf53a79)), closes [#972](https://github.com/box/box-content-preview/issues/972)



<a name="2.4.0"></a>
## 2.4.0 (2019-03-26)

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

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

0 comments on commit a1ea622

Please sign in to comment.