Skip to content

Commit

Permalink
Release: 2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Press committed Jun 11, 2019
1 parent eca5b2c commit 5fbbabf
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.12.0"></a>
## 2.12.0 (2019-06-11)

* New: Autocad svg (#1016) ([a2508e6](https://github.com/box/box-content-preview/commit/a2508e6)), closes [#1016](https://github.com/box/box-content-preview/issues/1016)
* New: Emit metric when missing xrefs (#1015) ([eca5b2c](https://github.com/box/box-content-preview/commit/eca5b2c)), closes [#1015](https://github.com/box/box-content-preview/issues/1015)
* New: metadataAPI.js (#1010) ([5e4de5f](https://github.com/box/box-content-preview/commit/5e4de5f)), closes [#1010](https://github.com/box/box-content-preview/issues/1010)
* New: Show banner when doc has xrefs (#1013) ([6f9fca7](https://github.com/box/box-content-preview/commit/6f9fca7)), closes [#1013](https://github.com/box/box-content-preview/issues/1013)
* Update Translations ([54b0eb9](https://github.com/box/box-content-preview/commit/54b0eb9))
* Update Translations (#1014) ([0f278dc](https://github.com/box/box-content-preview/commit/0f278dc)), closes [#1014](https://github.com/box/box-content-preview/issues/1014)
* Docs: Add fileOptions example ([6b72ec9](https://github.com/box/box-content-preview/commit/6b72ec9))



<a name="2.11.0"></a>
## 2.11.0 (2019-06-05)

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

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

0 comments on commit 5fbbabf

Please sign in to comment.