From 22822e63feb60ad1f432272444cd9de1016ef668 Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Mon, 4 Jan 2021 15:08:32 +0100 Subject: [PATCH 1/8] Update ci.yml Add Node 14 to unit-test matrix --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edfd7eb8..a05d4889 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,6 +72,7 @@ jobs: node-version: - 10.x - 12.x + - 14.x steps: - name: Git checkout uses: actions/checkout@v2 From 646e482e2a79018673d7b68c687a3c5400fcec2e Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Mon, 4 Jan 2021 16:30:39 +0100 Subject: [PATCH 2/8] Update NGSI-v2 expectation to offer proper GeoJSON. Consequence of merging https://github.com/telefonicaid/iotagent-node-lib/pull/854 --- .../ngsiv2/contextRequests/createBidirectionalDevice.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/ngsiv2/contextRequests/createBidirectionalDevice.json b/test/unit/ngsiv2/contextRequests/createBidirectionalDevice.json index f5789071..25b29f18 100644 --- a/test/unit/ngsiv2/contextRequests/createBidirectionalDevice.json +++ b/test/unit/ngsiv2/contextRequests/createBidirectionalDevice.json @@ -2,7 +2,7 @@ "id": "Second MQTT Device", "type": "AnMQTTDevice", "location": { - "type": "geo:point", - "value": "0, 0" + "type": "geo:json", + "value": {"type":"Point","coordinates":[0,0]} } -} \ No newline at end of file +} From 1667fe21c952629f746ee9332b8ac342d983c4eb Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Mon, 4 Jan 2021 17:28:26 +0100 Subject: [PATCH 3/8] Add deprecation notice --- docs/deprecated.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/deprecated.md b/docs/deprecated.md index 11fdaf01..4fc6fed5 100644 --- a/docs/deprecated.md +++ b/docs/deprecated.md @@ -14,6 +14,7 @@ A list of deprecated features and the version in which they were deprecated foll - Support to NGSIv1. - Support to Node.js v4 in iotagent-json 1.9.0. The use of Node.js v8 is highly recommended. +- Support to Node.js v10 in iotagent-json 1.17.0. The use of Node.js v12 is highly recommended. ## Using old iotagent-json versions @@ -38,3 +39,4 @@ The following table provides information about the last iotagent-json version su | NGSIv1 API | Not yet defined | Not yet defined | | Support to Node.js v6 | Not yet defined but it will be done by May 2019 | Not yet defined | | Support to Node.js v4 | 1.9.0 | December 19th, 2018 | +| Support to Node.js v10 | Not defined but it will completed before May 2021 | Not yet defined | From c94d8d0855e918ad8cada7bd6ec9342d42c1b6e1 Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Thu, 7 Jan 2021 20:09:30 +0100 Subject: [PATCH 4/8] Update deprecated.md --- docs/deprecated.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/docs/deprecated.md b/docs/deprecated.md index 4fc6fed5..f8a03ba1 100644 --- a/docs/deprecated.md +++ b/docs/deprecated.md @@ -12,9 +12,13 @@ particular: A list of deprecated features and the version in which they were deprecated follows: -- Support to NGSIv1. -- Support to Node.js v4 in iotagent-json 1.9.0. The use of Node.js v8 is highly recommended. -- Support to Node.js v10 in iotagent-json 1.17.0. The use of Node.js v12 is highly recommended. +- Support to NGSI v1. +- Support to Node.js v4 in iotagent-ul 1.9.0. +- Support to Node.js v6 in iotagent-ul 1.10.0. +- Support to Node.js v8 in iotagent-ul 1.14.0. +- Support to Node.js v10 in iotagent-ul 1.17.0. + +The use of Node.js v12 is highly recommended. ## Using old iotagent-json versions @@ -34,9 +38,10 @@ in the case you want to use old versions: The following table provides information about the last iotagent-json version supporting currently removed features: -| **Removed feature** | **Last iotagent-json version supporting feature** | **That version release date** | -| --------------------- | ------------------------------------------------- | ----------------------------- | -| NGSIv1 API | Not yet defined | Not yet defined | -| Support to Node.js v6 | Not yet defined but it will be done by May 2019 | Not yet defined | -| Support to Node.js v4 | 1.9.0 | December 19th, 2018 | +| **Removed feature** | **Last iotagent-ul version supporting feature** | **That version release date** | +| ---------------------- | ------------------------------------------------- | ----------------------------- | +| NGSIv1 API | Not yet defined | Not yet defined | +| Support to Node.js v4 | 1.9.0 | December 2018 | +| Support to Node.js v6 | 1.10.0 | May 2019 | +| Support to Node.js v8 | 1.14.0 | April 2020 | | Support to Node.js v10 | Not defined but it will completed before May 2021 | Not yet defined | From 91115b9b15faae3533dc4529c2ec2edda9337b59 Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Thu, 7 Jan 2021 20:10:27 +0100 Subject: [PATCH 5/8] Update deprecated.md --- docs/deprecated.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/deprecated.md b/docs/deprecated.md index f8a03ba1..2895da98 100644 --- a/docs/deprecated.md +++ b/docs/deprecated.md @@ -38,10 +38,10 @@ in the case you want to use old versions: The following table provides information about the last iotagent-json version supporting currently removed features: -| **Removed feature** | **Last iotagent-ul version supporting feature** | **That version release date** | -| ---------------------- | ------------------------------------------------- | ----------------------------- | -| NGSIv1 API | Not yet defined | Not yet defined | -| Support to Node.js v4 | 1.9.0 | December 2018 | -| Support to Node.js v6 | 1.10.0 | May 2019 | -| Support to Node.js v8 | 1.14.0 | April 2020 | -| Support to Node.js v10 | Not defined but it will completed before May 2021 | Not yet defined | +| **Removed feature** | **Last iotagent-json version supporting feature** | **That version release date** | +| ---------------------- | --------------------------------------------------- | ----------------------------- | +| NGSIv1 API | Not yet defined | Not yet defined | +| Support to Node.js v4 | 1.9.0 | December 2018 | +| Support to Node.js v6 | 1.10.0 | May 2019 | +| Support to Node.js v8 | 1.14.0 | April 2020 | +| Support to Node.js v10 | Not defined but it will completed before May 2021 | Not yet defined | From b1dccdcb1ef6e5e99893687d9f86a1c56c0081e5 Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Thu, 7 Jan 2021 20:27:17 +0100 Subject: [PATCH 6/8] Update deprecated.md --- docs/deprecated.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/deprecated.md b/docs/deprecated.md index 2895da98..da3e251d 100644 --- a/docs/deprecated.md +++ b/docs/deprecated.md @@ -13,10 +13,10 @@ particular: A list of deprecated features and the version in which they were deprecated follows: - Support to NGSI v1. -- Support to Node.js v4 in iotagent-ul 1.9.0. -- Support to Node.js v6 in iotagent-ul 1.10.0. -- Support to Node.js v8 in iotagent-ul 1.14.0. -- Support to Node.js v10 in iotagent-ul 1.17.0. +- Support to Node.js v4 in iotagent-json 1.9.0. +- Support to Node.js v6 in iotagent-json 1.10.0. +- Support to Node.js v8 in iotagent-json 1.14.0. +- Support to Node.js v10 in iotagent-json 1.17.0. The use of Node.js v12 is highly recommended. From a685f9ba4120760514eaa575c9c380a06c29650f Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Fri, 8 Jan 2021 13:17:22 +0100 Subject: [PATCH 7/8] Update docs/deprecated.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fermín Galán Márquez --- docs/deprecated.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/deprecated.md b/docs/deprecated.md index da3e251d..d9659d2d 100644 --- a/docs/deprecated.md +++ b/docs/deprecated.md @@ -41,7 +41,7 @@ The following table provides information about the last iotagent-json version su | **Removed feature** | **Last iotagent-json version supporting feature** | **That version release date** | | ---------------------- | --------------------------------------------------- | ----------------------------- | | NGSIv1 API | Not yet defined | Not yet defined | -| Support to Node.js v4 | 1.9.0 | December 2018 | -| Support to Node.js v6 | 1.10.0 | May 2019 | -| Support to Node.js v8 | 1.14.0 | April 2020 | +| Support to Node.js v4 | 1.9.0 | December 19th, 2018 | +| Support to Node.js v6 | 1.10.0 | May 22nd, 2019 | +| Support to Node.js v8 | 1.14.0 | April 7th, 2020 | | Support to Node.js v10 | Not defined but it will completed before May 2021 | Not yet defined | From bed3a83b6851b05c4b66473d32fe79a715d5acca Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Fri, 8 Jan 2021 13:17:30 +0100 Subject: [PATCH 8/8] Update docs/deprecated.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fermín Galán Márquez --- docs/deprecated.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/deprecated.md b/docs/deprecated.md index d9659d2d..3a5f6c69 100644 --- a/docs/deprecated.md +++ b/docs/deprecated.md @@ -13,9 +13,9 @@ particular: A list of deprecated features and the version in which they were deprecated follows: - Support to NGSI v1. -- Support to Node.js v4 in iotagent-json 1.9.0. -- Support to Node.js v6 in iotagent-json 1.10.0. -- Support to Node.js v8 in iotagent-json 1.14.0. +- Support to Node.js v4 in iotagent-json 1.9.0 (finally removed in 1.10.0) +- Support to Node.js v6 in iotagent-json 1.10.0 (finally removed in 1.11.0) +- Support to Node.js v8 in iotagent-json 1.14.0 (finally removed in 1.15.0) - Support to Node.js v10 in iotagent-json 1.17.0. The use of Node.js v12 is highly recommended.