Skip to content

Commit

Permalink
Merge pull request #356 from rdkcentral/sdk-release
Browse files Browse the repository at this point in the history
Release of v5.2.0
  • Loading branch information
michielvandergeest authored Oct 20, 2022
2 parents 7bb6b32 + 0d46773 commit 2b0d10e
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 6 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
# Changelog

## v5.2.0

*20 oct 2022*

- Added support for dynamic screen resolutions (#352)
- Fixed issue related to Router hash not working (#349)
- Fixed a typo in router/pagetransitions.md documentation (#344)

## v5.1.0

*30 aug 2022*

- Typescript support

## v5.0.1
Expand Down
10 changes: 10 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
# Changelog

## v5.2.0

*20 oct 2022*

- Added support for dynamic screen resolutions (#352)
- Fixed issue related to Router hash not working (#349)
- Fixed a typo in router/pagetransitions.md documentation (#344)

## v5.1.0

*30 aug 2022*

- Typescript support

## v5.0.1
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightningjs/sdk",
"version": "5.1.0",
"version": "5.2.0",
"license": "Apache-2.0",
"types": "index.d.ts",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightningjs/sdk",
"version": "5.1.0",
"version": "5.2.0",
"license": "Apache-2.0",
"types": "index.d.ts",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions src/Application/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ export default function(App, appData, platformSettings) {
.then(() => {
Metrics.app.loaded()

this.w = this.config.stage.w
this.h = this.config.stage.h

AppData = appData

AppInstance = this.stage.c({
Expand Down
5 changes: 3 additions & 2 deletions src/Router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,9 @@ export const navigate = (url, args = {}, store) => {
// push request in the queue
queue(url, args, store)

setHash(url)
if (!mustUpdateLocationHash()) {
if (mustUpdateLocationHash()) {
setHash(url)
} else {
forcedHash = url
handleHashChange(url)
.then(() => {
Expand Down

0 comments on commit 2b0d10e

Please sign in to comment.