Skip to content

Commit

Permalink
November 2021 Release of the APL 1.8.2 compliant APL Viewhost Web
Browse files Browse the repository at this point in the history
For more details on this release refer to CHANGELOG.md

To learn about APL see: https://developer.amazon.com/docs/alexa-presentation-language/understand-apl.html
  • Loading branch information
TYLER CHONG committed Nov 9, 2021
1 parent 0093d6f commit 7436794
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog for apl-viewhost-web

## [1.8.2]

### Changed

- Fixed scrolling issue with SpeakItem command when highlight mode set to line
## [1.8.0]

This release adds support for version 1.8 of the APL specification. Please also see APL Core Library for changes: [apl-core-library CHANGELOG](https://github.com/alexa/apl-core-library/blob/master/CHANGELOG.md)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Alexa Presentation Language (APL) Viewhost Web

<p>
<a href="https://github.com/alexa/apl-viewhost-web/tree/v1.8.0" alt="version">
<img src="https://img.shields.io/badge/stable%20version-1.8.0-brightgreen" /></a>
<a href="https://github.com/alexa/apl-viewhost-web/tree/v1.8.2" alt="version">
<img src="https://img.shields.io/badge/stable%20version-1.8.2-brightgreen" /></a>
<a href="https://github.com/alexa/apl-core-library/tree/v1.8.1" alt="APLCore">
<img src="https://img.shields.io/badge/apl%20core%20library-1.8.1-navy" /></a>
</p>
Expand Down
2 changes: 2 additions & 0 deletions js/apl-html/src/events/RequestFirstLineBounds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export class RequestFirstLineBounds extends Event {
// Highlight first line as this event applicable only to line highlighting.
this.component.highlight(0);
this.event.resolveWithRect(top, 0, this.component.bounds.width, height);
} else if (this.component === undefined) {
this.event.resolveWithRect(0, 0, 0, 0);
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apl-viewhost-web",
"version": "1.8.1",
"version": "1.8.2",
"description": "This is a Web-assembly version (WASM) of apl viewhost web.",
"license": "Apache 2.0",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const https = require('https');
const fs = require('fs');

const artifactUrl = 'https://d1gkjrhppbyzyh.cloudfront.net/apl-viewhost-web/B07C7BCD-6E2F-409F-BC86-70E18AE4C5CC/index.js';
const artifactUrl = 'https://d1gkjrhppbyzyh.cloudfront.net/apl-viewhost-web/2D236713-D55A-4CC2-889E-5A65CF48DCB8/index.js';

const outputFilePath = 'index.js';
const outputFile = fs.createWriteStream(outputFilePath);
Expand Down

0 comments on commit 7436794

Please sign in to comment.