Skip to content

Commit 2b0d10e

Browse files
Merge pull request #356 from rdkcentral/sdk-release
Release of v5.2.0
2 parents 7bb6b32 + 0d46773 commit 2b0d10e

File tree

7 files changed

+30
-6
lines changed

7 files changed

+30
-6
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
# Changelog
22

3+
## v5.2.0
4+
5+
*20 oct 2022*
6+
7+
- Added support for dynamic screen resolutions (#352)
8+
- Fixed issue related to Router hash not working (#349)
9+
- Fixed a typo in router/pagetransitions.md documentation (#344)
10+
311
## v5.1.0
412

13+
*30 aug 2022*
14+
515
- Typescript support
616

717
## v5.0.1

docs/changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
# Changelog
22

3+
## v5.2.0
4+
5+
*20 oct 2022*
6+
7+
- Added support for dynamic screen resolutions (#352)
8+
- Fixed issue related to Router hash not working (#349)
9+
- Fixed a typo in router/pagetransitions.md documentation (#344)
10+
311
## v5.1.0
412

13+
*30 aug 2022*
14+
515
- Typescript support
616

717
## v5.0.1

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lightningjs/sdk",
3-
"version": "5.1.0",
3+
"version": "5.2.0",
44
"license": "Apache-2.0",
55
"types": "index.d.ts",
66
"scripts": {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lightningjs/sdk",
3-
"version": "5.1.0",
3+
"version": "5.2.0",
44
"license": "Apache-2.0",
55
"types": "index.d.ts",
66
"scripts": {

src/Application/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ export default function(App, appData, platformSettings) {
130130
.then(() => {
131131
Metrics.app.loaded()
132132

133+
this.w = this.config.stage.w
134+
this.h = this.config.stage.h
135+
133136
AppData = appData
134137

135138
AppInstance = this.stage.c({

src/Router/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,9 @@ export const navigate = (url, args = {}, store) => {
180180
// push request in the queue
181181
queue(url, args, store)
182182

183-
setHash(url)
184-
if (!mustUpdateLocationHash()) {
183+
if (mustUpdateLocationHash()) {
184+
setHash(url)
185+
} else {
185186
forcedHash = url
186187
handleHashChange(url)
187188
.then(() => {

0 commit comments

Comments
 (0)