diff --git a/CHANGELOG.md b/CHANGELOG.md index 9af1597fd..bc10d48f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,73 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.12.0](https://github.com/TelestionTeam/telestion-client/compare/v0.11.2...v0.12.0) (2021-04-08) + + +### ⚠ BREAKING CHANGES + +* **event-bus:** Numerous changes, please see https://github.com/TelestionTeam/telestion-client/wiki/v0.12-Migration-Guide +* **types:** The error message is no longer addressable. +* The minimum required node version for all packages is now Node v14! +* **mock-server:** The listen function now requires an object as argument which contains the port and hostname as properties. +* **mock-server:** The event bus and http server instance properties are now marked private. Please use the provided abstractions and hooks instead. (see onInit, send, handle, register, etc.) +* **common:** The loading indicator gives the children function the current dependencies which are always defined: +```tsx +const [position, setPosition] = useState(); +const [height, setHeight] = useState(); + +return ( + + {(currentPos, currentHeight) => ( +

{currentPos} - {currentHeight}

+ )} +
+); +``` +* **common:** The useDependencyTimeout now returns `true` if all dependencies are defined and `false` if not all dependencies are defined yet. Before the return value was inverted. +The type guard makes the hook useful as a condition in if-statements, for example: +```tsx +const [position, setPosition] = useState(); + +// throws if no position received after 5 seconds +if (useDependencyTimeout(5000, [position])) { + // type guarded - "position" is always defined + return

Latest position: {position}

; +} + +return

Waiting for incoming data

; +``` +* **deps:** Moving forward, testing is done with React Spectrum v3.9. Consider all previous versions unsupported. +* **deps:** ``s for header actions now require a `isQuiet={true}` attribute to work properly with React Spectrum 3.9 + +### Features + +* **common:** Enhance loading indicator component ([#350](https://github.com/TelestionTeam/telestion-client/issues/350)) ([82d07f1](https://github.com/TelestionTeam/telestion-client/commit/82d07f14a28e802d301f78e516f619a6bb339a6a)) +* **event-bus:** Implement basic event bus as first part of the refactoring process ([d8ccc73](https://github.com/TelestionTeam/telestion-client/commit/d8ccc73801459a2994ed4195a99f39547598d708)) +* **event-bus:** Rewrite Vert.x Event Bus ([8d83dec](https://github.com/TelestionTeam/telestion-client/commit/8d83decff975cbeb0f1bc4c85c88211642ea015e)) +* **mock-server:** Add close function ([3e0b5a8](https://github.com/TelestionTeam/telestion-client/commit/3e0b5a8c704e45911e7c17cd762cc082dbb7900f)) +* **mock-server:** Add logger option to constructor and clean up some internals ([cefceae](https://github.com/TelestionTeam/telestion-client/commit/cefceaeb1c76cc0fc8a5c72b4d92c1911b47da63)) +* **mock-server:** First full implementation ([7461df5](https://github.com/TelestionTeam/telestion-client/commit/7461df52eccaad3740b80a5c0fcc871704b72d42)) +* **types:** The error message now extends from base message ([a8f17dd](https://github.com/TelestionTeam/telestion-client/commit/a8f17dd4d468f9ae250b4e105d7175a56aa63f1b)) +* Specify minimum node version in all packages and update workflows to use npm v7 as default ([b727223](https://github.com/TelestionTeam/telestion-client/commit/b72722326ce8b88f42ad2c16ddbd60991e2c8b72)) +* **mock-server:** Add protected method to get all connections ([cf9e267](https://github.com/TelestionTeam/telestion-client/commit/cf9e2677baa92fe7822a5f5cbc37ec29b7130da5)) + + +### Bug Fixes + +* **cli:** Init: npm install command to be compatible with npm v7 ([c81b35e](https://github.com/TelestionTeam/telestion-client/commit/c81b35e27fe9bbdcdc82498701a3fd3cb59bba18)) +* **core:** Fix breaking changes ([b6551c3](https://github.com/TelestionTeam/telestion-client/commit/b6551c3c388db5bf78da385a1a52d8f526f04970)) +* **deps:** Fix issues with react-spectrum v3.9 ([14bcfe4](https://github.com/TelestionTeam/telestion-client/commit/14bcfe444504fc744f6c8f38b4bf6a5c474da847)) +* **mock-server:** Fix breaking changes ([eab07d3](https://github.com/TelestionTeam/telestion-client/commit/eab07d33567cb8c2bd759083dd2e5c2db6a4d9b6)) + + +### Documentation Changes + +* **event-bus:** Document basic event bus ([395e677](https://github.com/TelestionTeam/telestion-client/commit/395e6778af0ed6ab9f4b5ba121135fd0099d3f39)) +* **mock-server:** Document all methods ([e0127e5](https://github.com/TelestionTeam/telestion-client/commit/e0127e5b2e393d8d321e474b1eb47362cd24e98d)) + + + ### [0.11.2](https://github.com/TelestionTeam/telestion-client/compare/v0.11.1...v0.11.2) (2021-03-09) diff --git a/lerna.json b/lerna.json index 223d0a776..0683e418c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.11.2", + "version": "0.12.0", "npmClient": "npm", "packages": [ "packages/*" diff --git a/packages/telestion-client-cli/CHANGELOG.md b/packages/telestion-client-cli/CHANGELOG.md index e83b04a8f..99f8394f0 100644 --- a/packages/telestion-client-cli/CHANGELOG.md +++ b/packages/telestion-client-cli/CHANGELOG.md @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.12.0](https://github.com/TelestionTeam/telestion-client/compare/v0.11.2...v0.12.0) (2021-04-08) + + +### ⚠ BREAKING CHANGES + +* The minimum required node version for all packages is now Node v14! + +### Features + +* Specify minimum node version in all packages and update workflows to use npm v7 as default ([b727223](https://github.com/TelestionTeam/telestion-client/commit/b72722326ce8b88f42ad2c16ddbd60991e2c8b72)) + + +### Bug Fixes + +* **cli:** Init: npm install command to be compatible with npm v7 ([c81b35e](https://github.com/TelestionTeam/telestion-client/commit/c81b35e27fe9bbdcdc82498701a3fd3cb59bba18)) + + + ### [0.11.2](https://github.com/TelestionTeam/telestion-client/compare/v0.11.1...v0.11.2) (2021-03-09) **Note:** Version bump only for package @wuespace/telestion-client-cli diff --git a/packages/telestion-client-cli/package.json b/packages/telestion-client-cli/package.json index f5d300b2d..ab536f5db 100644 --- a/packages/telestion-client-cli/package.json +++ b/packages/telestion-client-cli/package.json @@ -2,7 +2,7 @@ "name": "@wuespace/telestion-client-cli", "description": "The command line interface for the Telestion Client development", "license": "MIT", - "version": "0.11.2", + "version": "0.12.0", "homepage": "https://github.com/TelestionTeam/telestion-client#readme", "bin": { "tc-cli": "./bin/cli.js" diff --git a/packages/telestion-client-common/CHANGELOG.md b/packages/telestion-client-common/CHANGELOG.md index 492adce4b..adc3224cc 100644 --- a/packages/telestion-client-common/CHANGELOG.md +++ b/packages/telestion-client-common/CHANGELOG.md @@ -3,6 +3,53 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.12.0](https://github.com/TelestionTeam/telestion-client/compare/v0.11.2...v0.12.0) (2021-04-08) + + +### ⚠ BREAKING CHANGES + +* The minimum required node version for all packages is now Node v14! +* **common:** The loading indicator gives the children function the current dependencies which are always defined: +```tsx +const [position, setPosition] = useState(); +const [height, setHeight] = useState(); + +return ( + + {(currentPos, currentHeight) => ( +

{currentPos} - {currentHeight}

+ )} +
+); +``` +* **common:** The useDependencyTimeout now returns `true` if all dependencies are defined and `false` if not all dependencies are defined yet. Before the return value was inverted. +The type guard makes the hook useful as a condition in if-statements, for example: +```tsx +const [position, setPosition] = useState(); + +// throws if no position received after 5 seconds +if (useDependencyTimeout(5000, [position])) { + // type guarded - "position" is always defined + return

Latest position: {position}

; +} + +return

Waiting for incoming data

; +``` +* **deps:** Moving forward, testing is done with React Spectrum v3.9. Consider all previous versions unsupported. +* **deps:** ``s for header actions now require a `isQuiet={true}` attribute to work properly with React Spectrum 3.9 + +### Features + +* Specify minimum node version in all packages and update workflows to use npm v7 as default ([b727223](https://github.com/TelestionTeam/telestion-client/commit/b72722326ce8b88f42ad2c16ddbd60991e2c8b72)) +* **common:** Enhance loading indicator component ([#350](https://github.com/TelestionTeam/telestion-client/issues/350)) ([82d07f1](https://github.com/TelestionTeam/telestion-client/commit/82d07f14a28e802d301f78e516f619a6bb339a6a)) + + +### Bug Fixes + +* **deps:** Fix issues with react-spectrum v3.9 ([14bcfe4](https://github.com/TelestionTeam/telestion-client/commit/14bcfe444504fc744f6c8f38b4bf6a5c474da847)) + + + ### [0.11.2](https://github.com/TelestionTeam/telestion-client/compare/v0.11.1...v0.11.2) (2021-03-09) **Note:** Version bump only for package @wuespace/telestion-client-common diff --git a/packages/telestion-client-common/package.json b/packages/telestion-client-common/package.json index 27906b145..f9a89b041 100644 --- a/packages/telestion-client-common/package.json +++ b/packages/telestion-client-common/package.json @@ -2,7 +2,7 @@ "name": "@wuespace/telestion-client-common", "description": "The common components of the Telestion Client", "license": "MIT", - "version": "0.11.2", + "version": "0.12.0", "homepage": "https://github.com/TelestionTeam/telestion-client#readme", "main": "build/index.js", "module": "build/index.es.js", diff --git a/packages/telestion-client-core/CHANGELOG.md b/packages/telestion-client-core/CHANGELOG.md index a8b8bb4ce..0b9b2cc9a 100644 --- a/packages/telestion-client-core/CHANGELOG.md +++ b/packages/telestion-client-core/CHANGELOG.md @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.12.0](https://github.com/TelestionTeam/telestion-client/compare/v0.11.2...v0.12.0) (2021-04-08) + + +### ⚠ BREAKING CHANGES + +* The minimum required node version for all packages is now Node v14! + +### Features + +* Specify minimum node version in all packages and update workflows to use npm v7 as default ([b727223](https://github.com/TelestionTeam/telestion-client/commit/b72722326ce8b88f42ad2c16ddbd60991e2c8b72)) + + +### Bug Fixes + +* **core:** Fix breaking changes ([b6551c3](https://github.com/TelestionTeam/telestion-client/commit/b6551c3c388db5bf78da385a1a52d8f526f04970)) + + + ### [0.11.2](https://github.com/TelestionTeam/telestion-client/compare/v0.11.1...v0.11.2) (2021-03-09) **Note:** Version bump only for package @wuespace/telestion-client-core diff --git a/packages/telestion-client-core/package.json b/packages/telestion-client-core/package.json index c7e999039..738a4c1b5 100644 --- a/packages/telestion-client-core/package.json +++ b/packages/telestion-client-core/package.json @@ -2,7 +2,7 @@ "name": "@wuespace/telestion-client-core", "description": "The core components of the Telestion Client", "license": "MIT", - "version": "0.11.2", + "version": "0.12.0", "homepage": "https://github.com/TelestionTeam/telestion-client#readme", "main": "build/index.js", "module": "build/index.es.js", diff --git a/packages/telestion-client-prop-types/CHANGELOG.md b/packages/telestion-client-prop-types/CHANGELOG.md index f25a8db2a..a3079ea97 100644 --- a/packages/telestion-client-prop-types/CHANGELOG.md +++ b/packages/telestion-client-prop-types/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.12.0](https://github.com/TelestionTeam/telestion-client/compare/v0.11.2...v0.12.0) (2021-04-08) + + +### ⚠ BREAKING CHANGES + +* The minimum required node version for all packages is now Node v14! + +### Features + +* Specify minimum node version in all packages and update workflows to use npm v7 as default ([b727223](https://github.com/TelestionTeam/telestion-client/commit/b72722326ce8b88f42ad2c16ddbd60991e2c8b72)) + + + ### [0.11.2](https://github.com/TelestionTeam/telestion-client/compare/v0.11.1...v0.11.2) (2021-03-09) **Note:** Version bump only for package @wuespace/telestion-client-prop-types diff --git a/packages/telestion-client-prop-types/package.json b/packages/telestion-client-prop-types/package.json index 85531c2f7..7c33ed945 100644 --- a/packages/telestion-client-prop-types/package.json +++ b/packages/telestion-client-prop-types/package.json @@ -2,7 +2,7 @@ "name": "@wuespace/telestion-client-prop-types", "description": "PropTypes for Telestion Client types", "license": "MIT", - "version": "0.11.2", + "version": "0.12.0", "homepage": "https://github.com/TelestionTeam/telestion-client#readme", "main": "build/index.js", "module": "build/index.es.js", diff --git a/packages/telestion-client-template/CHANGELOG.md b/packages/telestion-client-template/CHANGELOG.md index ddcd8dd1a..297c1e9de 100644 --- a/packages/telestion-client-template/CHANGELOG.md +++ b/packages/telestion-client-template/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.12.0](https://github.com/TelestionTeam/telestion-client/compare/v0.11.2...v0.12.0) (2021-04-08) + + +### ⚠ BREAKING CHANGES + +* The minimum required node version for all packages is now Node v14! + +### Features + +* Specify minimum node version in all packages and update workflows to use npm v7 as default ([b727223](https://github.com/TelestionTeam/telestion-client/commit/b72722326ce8b88f42ad2c16ddbd60991e2c8b72)) + + + ### [0.11.2](https://github.com/TelestionTeam/telestion-client/compare/v0.11.1...v0.11.2) (2021-03-09) **Note:** Version bump only for package @wuespace/telestion-client-template diff --git a/packages/telestion-client-template/package.json b/packages/telestion-client-template/package.json index 90ef8e99c..6c7dcbbb2 100644 --- a/packages/telestion-client-template/package.json +++ b/packages/telestion-client-template/package.json @@ -2,7 +2,7 @@ "name": "@wuespace/telestion-client-template", "description": "The template for a Telestion Client project", "license": "MIT", - "version": "0.11.2", + "version": "0.12.0", "homepage": "https://github.com/TelestionTeam/telestion-client#readme", "engines": { "node": ">=14" diff --git a/packages/telestion-client-types/CHANGELOG.md b/packages/telestion-client-types/CHANGELOG.md index 12acc68c2..340959714 100644 --- a/packages/telestion-client-types/CHANGELOG.md +++ b/packages/telestion-client-types/CHANGELOG.md @@ -3,6 +3,27 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.12.0](https://github.com/TelestionTeam/telestion-client/compare/v0.11.2...v0.12.0) (2021-04-08) + + +### ⚠ BREAKING CHANGES + +* **event-bus:** Numerous changes, please see https://github.com/TelestionTeam/telestion-client/wiki/v0.12-Migration-Guide +* **types:** The error message is no longer addressable. + +### Features + +* **event-bus:** Implement basic event bus as first part of the refactoring process ([d8ccc73](https://github.com/TelestionTeam/telestion-client/commit/d8ccc73801459a2994ed4195a99f39547598d708)) +* **event-bus:** Rewrite Vert.x Event Bus ([8d83dec](https://github.com/TelestionTeam/telestion-client/commit/8d83decff975cbeb0f1bc4c85c88211642ea015e)) +* **types:** The error message now extends from base message ([a8f17dd](https://github.com/TelestionTeam/telestion-client/commit/a8f17dd4d468f9ae250b4e105d7175a56aa63f1b)) + + +### Bug Fixes + +* **core:** Fix breaking changes ([b6551c3](https://github.com/TelestionTeam/telestion-client/commit/b6551c3c388db5bf78da385a1a52d8f526f04970)) + + + ### [0.11.2](https://github.com/TelestionTeam/telestion-client/compare/v0.11.1...v0.11.2) (2021-03-09) diff --git a/packages/telestion-client-types/package.json b/packages/telestion-client-types/package.json index 595359a85..eb07ff89f 100644 --- a/packages/telestion-client-types/package.json +++ b/packages/telestion-client-types/package.json @@ -2,7 +2,7 @@ "name": "@wuespace/telestion-client-types", "description": "Types for Telestion Client and their projects", "license": "MIT", - "version": "0.11.2", + "version": "0.12.0", "homepage": "https://github.com/TelestionTeam/telestion-client#readme", "types": "types/index.d.ts", "files": [ diff --git a/packages/vertx-event-bus/CHANGELOG.md b/packages/vertx-event-bus/CHANGELOG.md index 1bcacfdfb..731fb98dc 100644 --- a/packages/vertx-event-bus/CHANGELOG.md +++ b/packages/vertx-event-bus/CHANGELOG.md @@ -3,6 +3,32 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.12.0](https://github.com/TelestionTeam/telestion-client/compare/v0.11.2...v0.12.0) (2021-04-08) + + +### ⚠ BREAKING CHANGES + +* **event-bus:** Numerous changes, please see https://github.com/TelestionTeam/telestion-client/wiki/v0.12-Migration-Guide +* The minimum required node version for all packages is now Node v14! + +### Features + +* **event-bus:** Implement basic event bus as first part of the refactoring process ([d8ccc73](https://github.com/TelestionTeam/telestion-client/commit/d8ccc73801459a2994ed4195a99f39547598d708)) +* **event-bus:** Rewrite Vert.x Event Bus ([8d83dec](https://github.com/TelestionTeam/telestion-client/commit/8d83decff975cbeb0f1bc4c85c88211642ea015e)) +* Specify minimum node version in all packages and update workflows to use npm v7 as default ([b727223](https://github.com/TelestionTeam/telestion-client/commit/b72722326ce8b88f42ad2c16ddbd60991e2c8b72)) + + +### Bug Fixes + +* **core:** Fix breaking changes ([b6551c3](https://github.com/TelestionTeam/telestion-client/commit/b6551c3c388db5bf78da385a1a52d8f526f04970)) + + +### Documentation Changes + +* **event-bus:** Document basic event bus ([395e677](https://github.com/TelestionTeam/telestion-client/commit/395e6778af0ed6ab9f4b5ba121135fd0099d3f39)) + + + ### [0.11.2](https://github.com/TelestionTeam/telestion-client/compare/v0.11.1...v0.11.2) (2021-03-09) **Note:** Version bump only for package @wuespace/vertx-event-bus diff --git a/packages/vertx-event-bus/package.json b/packages/vertx-event-bus/package.json index 73fb1b24a..25e1ddc2a 100644 --- a/packages/vertx-event-bus/package.json +++ b/packages/vertx-event-bus/package.json @@ -2,7 +2,7 @@ "name": "@wuespace/vertx-event-bus", "description": "The Vert.x event bus client for Telestion Client", "license": "MIT", - "version": "0.11.2", + "version": "0.12.0", "homepage": "https://github.com/TelestionTeam/telestion-client#readme", "main": "build/index.js", "module": "build/index.es.js", diff --git a/packages/vertx-mock-server/CHANGELOG.md b/packages/vertx-mock-server/CHANGELOG.md index b5173d7ba..fb06dfa2b 100644 --- a/packages/vertx-mock-server/CHANGELOG.md +++ b/packages/vertx-mock-server/CHANGELOG.md @@ -3,6 +3,35 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.12.0](https://github.com/TelestionTeam/telestion-client/compare/v0.11.2...v0.12.0) (2021-04-08) + + +### ⚠ BREAKING CHANGES + +* The minimum required node version for all packages is now Node v14! +* **mock-server:** The listen function now requires an object as argument which contains the port and hostname as properties. +* **mock-server:** The event bus and http server instance properties are now marked private. Please use the provided abstractions and hooks instead. (see onInit, send, handle, register, etc.) + +### Features + +* Specify minimum node version in all packages and update workflows to use npm v7 as default ([b727223](https://github.com/TelestionTeam/telestion-client/commit/b72722326ce8b88f42ad2c16ddbd60991e2c8b72)) +* **mock-server:** Add close function ([3e0b5a8](https://github.com/TelestionTeam/telestion-client/commit/3e0b5a8c704e45911e7c17cd762cc082dbb7900f)) +* **mock-server:** Add logger option to constructor and clean up some internals ([cefceae](https://github.com/TelestionTeam/telestion-client/commit/cefceaeb1c76cc0fc8a5c72b4d92c1911b47da63)) +* **mock-server:** Add protected method to get all connections ([cf9e267](https://github.com/TelestionTeam/telestion-client/commit/cf9e2677baa92fe7822a5f5cbc37ec29b7130da5)) +* **mock-server:** First full implementation ([7461df5](https://github.com/TelestionTeam/telestion-client/commit/7461df52eccaad3740b80a5c0fcc871704b72d42)) + + +### Bug Fixes + +* **mock-server:** Fix breaking changes ([eab07d3](https://github.com/TelestionTeam/telestion-client/commit/eab07d33567cb8c2bd759083dd2e5c2db6a4d9b6)) + + +### Documentation Changes + +* **mock-server:** Document all methods ([e0127e5](https://github.com/TelestionTeam/telestion-client/commit/e0127e5b2e393d8d321e474b1eb47362cd24e98d)) + + + ## [0.11.0](https://github.com/TelestionTeam/telestion-client/compare/v0.10.1...v0.11.0) (2021-02-28) **Note:** Version bump only for package @wuespace/vertx-mock-server diff --git a/packages/vertx-mock-server/package.json b/packages/vertx-mock-server/package.json index cf13b8b12..f0329f41d 100644 --- a/packages/vertx-mock-server/package.json +++ b/packages/vertx-mock-server/package.json @@ -2,7 +2,7 @@ "name": "@wuespace/vertx-mock-server", "description": "The Vert.x event bus mock server for Telestion Client", "license": "MIT", - "version": "0.11.0", + "version": "0.12.0", "homepage": "https://github.com/TelestionTeam/telestion-client#readme", "main": "build/index.js", "module": "build/index.es.js",