Skip to content

Commit

Permalink
commit by Octane (#3)
Browse files Browse the repository at this point in the history
* Release 1.2.1 (#85)

* fix: unsubrscribe data provider on component updates

* Release 1.2.1

Co-authored-by: Norbert Nader <nnader@amazon.com>

* fix: resolves #83 (#87)

* fix: resolves #83

* Update index.ts

Co-authored-by: Norbert Nader <nnader@amazon.com>

Co-authored-by: Norbert Nader <Norbert.Nader@gmail.com>
Co-authored-by: Norbert Nader <nnader@amazon.com>
  • Loading branch information
3 people authored Mar 16, 2022
1 parent a05e340 commit 6879366
Show file tree
Hide file tree
Showing 20 changed files with 85 additions and 11 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.2.1 (2022-03-11)


### Bug Fixes

* unsubrscribe data provider on component updates ([a9154ef](https://github.com/awslabs/iot-app-kit/commit/a9154eff3f3fcd55eb5ae501354de8530f706108))





# 1.2.0 (2022-03-03)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.2.0",
"version": "1.2.1",
"packages": [
"packages/*"
],
Expand Down
11 changes: 11 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.2.1 (2022-03-11)


### Bug Fixes

* unsubrscribe data provider on component updates ([a9154ef](https://github.com/awslabs/iot-app-kit/commit/a9154eff3f3fcd55eb5ae501354de8530f706108))





# 1.2.0 (2022-03-03)


Expand Down
8 changes: 4 additions & 4 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "1.2.0",
"version": "1.2.1",
"description": "IoT App Kit Components",
"main": "dist/index.cjs.js",
"module": "dist/custom-elements/index.js",
Expand Down Expand Up @@ -41,9 +41,9 @@
"@awsui/collection-hooks": "^1.0.0",
"@awsui/components-react": "^3.0.0",
"@awsui/design-tokens": "^3.0.0",
"@iot-app-kit/core": "^1.2.0",
"@iot-app-kit/related-table": "^1.2.0",
"@iot-app-kit/source-iotsitewise": "^1.2.0",
"@iot-app-kit/core": "^1.2.1",
"@iot-app-kit/related-table": "^1.2.1",
"@iot-app-kit/source-iotsitewise": "^1.2.1",
"@stencil/core": "^2.7.0",
"@synchro-charts/core": "^2.0.0",
"styled-components": "^5.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export class IotBarChart {
@Watch('settings')
@Watch('viewport')
private onPropUpdate() {
this.provider.unsubscribe();
this.buildProvider();
}

Expand Down
1 change: 1 addition & 0 deletions packages/components/src/components/iot-kpi/iot-kpi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class IotKpi {
@Watch('settings')
@Watch('viewport')
private onPropUpdate() {
this.provider.unsubscribe();
this.buildProvider();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class IotLineChart {
@Watch('settings')
@Watch('viewport')
private onPropUpdate() {
this.provider.unsubscribe();
this.buildProvider();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export class IotScatterChart {
@Watch('settings')
@Watch('viewport')
private onPropUpdate() {
this.provider.unsubscribe();
this.buildProvider();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class IotStatusGrid {
@Watch('settings')
@Watch('viewport')
private onPropUpdate() {
this.provider.unsubscribe();
this.buildProvider();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export class IotStatusTimeline {
@Watch('settings')
@Watch('viewport')
private onPropUpdate() {
this.provider.unsubscribe();
this.buildProvider();
}

Expand Down
1 change: 1 addition & 0 deletions packages/components/src/components/iot-table/iot-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class IotTable {
@Watch('settings')
@Watch('viewport')
private onPropUpdate() {
this.provider.unsubscribe();
this.buildProvider();
}

Expand Down
1 change: 1 addition & 0 deletions packages/components/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { COMPARISON_OPERATOR } from '@synchro-charts/core';
export { Components, JSX } from './components';
11 changes: 11 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.2.1 (2022-03-11)


### Bug Fixes

* unsubrscribe data provider on component updates ([a9154ef](https://github.com/awslabs/iot-app-kit/commit/a9154eff3f3fcd55eb5ae501354de8530f706108))





# 1.2.0 (2022-03-03)


Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publishConfig": {
"access": "public"
},
"version": "1.2.0",
"version": "1.2.1",
"description": "IoT Application Kit core",
"main": "./dist/index.cj.js",
"module": "./dist/index.js",
Expand Down
11 changes: 11 additions & 0 deletions packages/react-components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.2.1 (2022-03-11)


### Bug Fixes

* unsubrscribe data provider on component updates ([a9154ef](https://github.com/awslabs/iot-app-kit/commit/a9154eff3f3fcd55eb5ae501354de8530f706108))





# 1.2.0 (2022-03-03)


Expand Down
4 changes: 2 additions & 2 deletions packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"access": "public"
},
"sideEffects": false,
"version": "1.2.0",
"version": "1.2.1",
"description": "React specific wrapper for IoT Application Kit",
"author": {
"name": "Amazon Web Services",
Expand Down Expand Up @@ -41,7 +41,7 @@
"typescript": "^3.3.4000"
},
"dependencies": {
"@iot-app-kit/components": "^1.2.0"
"@iot-app-kit/components": "^1.2.1"
},
"peerDependencies": {
"react": "^17.0.2",
Expand Down
11 changes: 11 additions & 0 deletions packages/related-table/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.2.1 (2022-03-11)


### Bug Fixes

* unsubrscribe data provider on component updates ([a9154ef](https://github.com/awslabs/iot-app-kit/commit/a9154eff3f3fcd55eb5ae501354de8530f706108))





# 1.2.0 (2022-03-03)


Expand Down
2 changes: 1 addition & 1 deletion packages/related-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "1.2.0",
"version": "1.2.1",
"description": "IoT Application Kit - Related Table component",
"license": "Apache-2.0",
"main": "dist/index.js",
Expand Down
11 changes: 11 additions & 0 deletions packages/source-iotsitewise/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.2.1 (2022-03-11)


### Bug Fixes

* unsubrscribe data provider on component updates ([a9154ef](https://github.com/awslabs/iot-app-kit/commit/a9154eff3f3fcd55eb5ae501354de8530f706108))





# 1.2.0 (2022-03-03)


Expand Down
4 changes: 2 additions & 2 deletions packages/source-iotsitewise/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "1.2.0",
"version": "1.2.1",
"description": "AWS IoT SiteWise source for IoT Application Kit",
"homepage": "https://github.com/awslabs/iot-app-kit#readme",
"license": "Apache-2.0",
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"dependencies": {
"@aws-sdk/client-iotsitewise": "^3.39.0",
"@iot-app-kit/core": "^1.2.0",
"@iot-app-kit/core": "^1.2.1",
"@rollup/plugin-typescript": "^8.3.0",
"@synchro-charts/core": "^1.1.1",
"flush-promises": "^1.0.2",
Expand Down

0 comments on commit 6879366

Please sign in to comment.