From c505fdc0616ce559c01e19b7130b019d85c4feba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferm=C3=ADn=20Gal=C3=A1n=20M=C3=A1rquez?= Date: Mon, 29 Jan 2024 09:08:55 +0100 Subject: [PATCH] Step: 3.10.0-next -> 3.11.0 --- CHANGES_NEXT_RELEASE | 28 ---------------------------- Changelog | 31 +++++++++++++++++++++++++++++++ README.md | 2 +- src/app/contextBroker/version.h | 2 +- src/lib/common/defaultValues.h | 2 +- 5 files changed, 34 insertions(+), 31 deletions(-) diff --git a/CHANGES_NEXT_RELEASE b/CHANGES_NEXT_RELEASE index 30bf0cd345..e69de29bb2 100644 --- a/CHANGES_NEXT_RELEASE +++ b/CHANGES_NEXT_RELEASE @@ -1,28 +0,0 @@ -- Add: servicePath field to builtin attributes (#2877) -- Add: notification.mqtt.retain and notification.mqttCustom.retain flag for MQTT retain in notifications (#4388) -- Add: notification payload in INFO log traces (#4449) -- Add: log deprecation traces for usage of legacyForwarding mode in registrations -- Add: log deprecation traces for usage of attrsFormat legacy in subscriptions -- Add: deprecatedFeatures counters block in GET /v2/statistics -- Fix: do not show dateExpires built-in attribute in GET /v2/types and GET /v2/types/{type} operations (#4451) -- Fix: builtin attributes alterationType, dateCreated and dateModified included in notifications even when onlyChangedAttrs is true -- Fix: correctly detect JSON attribute and metadata value changes in subscription triggering logic (#4211, #4434, #643) -- Fix: update forwarding was not working when entity type is not included in the request (#4460) -- Fix: DateTime and geo:json types were not supported in custom notifications using ngsi patching (#4435) -- Fix: logDeprecate not working correctly (`geo:json` wrongly considered as deprecated) -- Fix: in custom notification NGSI payload patching macro subscription covering completely the string where is used, always cast to string for id/type (#4462) -- Fix: improve error traces (#4387) -- Fix: on delete attributes operation, the lack of attribute in entity doesn't preclude the deletion of attributes which do exist (this way behaving same way as update attributes operation) -- Fix: POST /v2/entities/E/attrs?options=append was wrongly creating entities -- Fix: provide more informative error description in some error responses in update/delete operations -- Fix: proper use of "PartialUpdate" (instead of "Unprocessed") in responses in the case of partial updates/deletions (#3499) -- Fix: response 404 Not Found "NotFound" errors instead of 422 Unprocessable Content "Unprocessed" in the case of missing attribute in existing entity in attribute update operations -- Fix: "Internal Server Error" changed to "InternalServerError" in error responses -- Add: CLI parameter -dbUri / env var ORION_MONGO_URI (#3794) -- Fix: improve logs in MongoDB query logic -- Fix: false positive in log deprecation logic when entity name (or other literal) includes the token "v1" (#4454) -- Remove: deprecated NGSIv1 location metadata to specify entity geo-location -- Upgrade Debian version from 11.6 to 12.4 in Dockerfile -- Hardening: upgrade libmongoc dependency from 1.23.1 to 1.24.3 -- Reference MongoDB version changed from 4.4 to 6.0 -- Reference distribution changed from Debian 11 to Debian 12 diff --git a/Changelog b/Changelog index 016b846508..dd05d8f08c 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,34 @@ +3.11.0 (January 29th, 2024) + +- Add: notification.mqtt.retain and notification.mqttCustom.retain flag for MQTT retain in notifications (#4388) +- Add: CLI parameter -dbUri / env var ORION_MONGO_URI (#3794) +- Add: servicePath field to builtin attributes (#2877) +- Add: notification payload in INFO log traces (#4449) +- Add: log deprecation traces for usage of legacyForwarding mode in registrations +- Add: log deprecation traces for usage of attrsFormat legacy in subscriptions +- Add: deprecatedFeatures counters block in GET /v2/statistics +- Fix: correctly detect JSON attribute and metadata value changes in subscription triggering logic (#4211, #4434, #643) +- Fix: do not show dateExpires built-in attribute in GET /v2/types and GET /v2/types/{type} operations (#4451) +- Fix: builtin attributes alterationType, dateCreated and dateModified included in notifications even when onlyChangedAttrs is true +- Fix: update forwarding was not working when entity type is not included in the request (#4460) +- Fix: DateTime and geo:json types were not supported in custom notifications using ngsi patching (#4435) +- Fix: in custom notification NGSI payload patching macro subscription covering completely the string where is used, always cast to string for id/type (#4462) +- Fix: on delete attributes operation, the lack of attribute in entity doesn't preclude the deletion of attributes which do exist (this way behaving same way as update attributes operation) +- Fix: POST /v2/entities/E/attrs?options=append was wrongly creating entities +- Fix: provide more informative error description in some error responses in update/delete operations +- Fix: proper use of "PartialUpdate" (instead of "Unprocessed") in responses in the case of partial updates/deletions (#3499) +- Fix: response 404 Not Found "NotFound" errors instead of 422 Unprocessable Content "Unprocessed" in the case of missing attribute in existing entity in attribute update operations +- Fix: "Internal Server Error" changed to "InternalServerError" in error responses +- Fix: improve logs in MongoDB query logic +- Fix: logDeprecate not working correctly (`geo:json` wrongly considered as deprecated) +- Fix: false positive in log deprecation logic when entity name (or other literal) includes the token "v1" (#4454) +- Fix: improve error traces (#4387) +- Hardening: upgrade libmongoc dependency from 1.23.1 to 1.24.3 +- Reference MongoDB version changed from 4.4 to 6.0 +- Reference distribution changed from Debian 11 to Debian 12 +- Upgrade Debian version from 11.6 to 12.4 in Dockerfile +- Remove: deprecated NGSIv1 location metadata to specify entity geo-location + 3.10.0 (June 12th, 2023) - Add: option to change deprecate log setting in the REST management API diff --git a/README.md b/README.md index 70ad7e6957..6c6101f61f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ [![Support badge](https://img.shields.io/badge/tag-fiware--orion-orange.svg?logo=stackoverflow)](http://stackoverflow.com/questions/tagged/fiware-orion) [![NGSI v2](https://img.shields.io/badge/NGSI-V2-red.svg)](doc/manuals/orion-api.md)
-[![Documentation badge](https://img.shields.io/readthedocs/fiware-orion.svg)](https://fiware-orion.rtfd.io) +[![Documentation badge](https://img.shields.io/readthedocs/fiware-orion/3.11.0.svg)](https://fiware-orion.rtfd.io/en/3.11.0/) ![Compliance Tests](https://github.com/telefonicaid/fiware-orion/workflows/Compliance%20Tests/badge.svg) ![Unit Tests](https://github.com/telefonicaid/fiware-orion/workflows/Unit%20Tests/badge.svg) ![Functional Tests](https://github.com/telefonicaid/fiware-orion/workflows/Functional%20Tests/badge.svg) diff --git a/src/app/contextBroker/version.h b/src/app/contextBroker/version.h index 5937a761b9..a8acd507be 100644 --- a/src/app/contextBroker/version.h +++ b/src/app/contextBroker/version.h @@ -28,6 +28,6 @@ -#define ORION_VERSION "3.10.0-next" +#define ORION_VERSION "3.11.0" #endif // SRC_APP_CONTEXTBROKER_VERSION_H_ diff --git a/src/lib/common/defaultValues.h b/src/lib/common/defaultValues.h index 95998c82df..fe9a2e0b32 100644 --- a/src/lib/common/defaultValues.h +++ b/src/lib/common/defaultValues.h @@ -41,6 +41,6 @@ * * API Documentation - The link to the the GEri documentation, either in the gh-pages (.github.io/) inside the fiware organization in GitHub or ReadTheDocs manual. */ -#define API_DOC "https://fiware-orion.rtfd.io/" +#define API_DOC "https://fiware-orion.rtfd.io/en/3.11.0/" #endif // SRC_LIB_COMMON_DEFAULTVALUES_H_