Releases: telefonicaid/fiware-orion
2.6.0
Full documentation at: http://fiware-orion.readthedocs.io/en/2.6.0/
NGSIv2 API reference (v2.0): http://telefonicaid.github.io/fiware-orion/api/v2/stable
Changes (since 2.5.0):
- Add: supportedForwardingMode full support according to NGSIv2 spec (#3106)
- Add: -disableFileLog CLI parameter (ORION_DISABLE_FILE_LOG env var) to prevent Orion from logging into a file
- Add: support 'true' and 'false' literals (in addition to 'TRUE' and 'FALSE') in flag-like env vars
- Fix: crash on MHD_REQUEST_TERMINATED_CLIENT_ABORT situations (#3738) (*)
- Fix: avoid over-requesting to CPrs attributes that has been filtered out (#3745)
- Fix: avoid spureous entities spurious entities (eg. '{"id": "E", "type": "T"}') in GET /v2/entities responses
- Fix: create normal files as 644 permissions for assure backup tools take configuration files in RPM
- Upgrade Dockerfile base image from centos7.7.1908 to centos7.9.2009
- Disable logging to /tmp/contextBroker.log file in Dockerfile
- Remove: NGSIv1 context availability subscriptions
(*) Included also in Orion 2.5.1
2.5.2
2.5.1
2.5.0
Full documentation at: http://fiware-orion.readthedocs.io/en/2.5.0/
NGSIv2 API reference (v2.0): http://telefonicaid.github.io/fiware-orion/api/v2/stable
Changes (since 2.4.0):
- Add: milliseconds support in DateTime attributes and metadata, included dateCreated and dateModified built-ins (#432, #2670, #3412, #3666)
- Add: re-worked INFO log level, simplifying traces and making them much more useful (#3694)
- Add: library version information in GET /version (#3681)
- Add: CLI option -logLineMaxSize (#3694)
- Add: CLI option -logInfoPayloadMaxSize (#3694)
- Fix: potential race condition related with DateTime attributes due to the usage of thread unsafe functions (*)
- Fix: screen log output using the same format for time= than the one used in log files (ISO8601)
- Fix: improve error response when incorrect URL used (#2231)
- Fix: POST /v2/registrations allows forbidden attribute names in NGSIv2 (#3468)
- Fix: log WARN about insecureNotifications mode (#3013)
- Fix: avoid creating orion database in -multiservice mode (#3179)
- Fix: wrong 204 code was responded (instead of 501) when using idPattern in POST /v2/op/update operation (#3427)
- Fix: wrong 413 error when passing from 0 locations to 1 in entity update (#3706)
- Fix: changed the name of pretty much all the environment variables for Orion. E.g. adding prefix 'ORION_'
- Hardening: upgrade rapidjson dependecy from 1.0.2 to 1.1.0
- Hardening: upgrade microhttpd dependency from 0.9.48 to 0.9.70
(*) Included also in Orion 2.4.1 and 2.4.2
2.4.2
Full documentation at: http://fiware-orion.readthedocs.io/en/2.4.2/
NGSIv2 API reference (v2.0): http://telefonicaid.github.io/fiware-orion/api/v2/stable
No functional change in Orion since 2.4.1. This release has been created as 2.4.1 container in dockerhub was not correctly built (in particular fiware/orion:2.4.1
doesn't package the code corresponding to Orion 2.4.1, but corresponding to a snapshot in master corresponding to commit bd328b00655c3a547b9dd8604b287140077a2fca
).
2.4.1
Full documentation at: http://fiware-orion.readthedocs.io/en/2.4.1/
NGSIv2 API reference (v2.0): http://telefonicaid.github.io/fiware-orion/api/v2/stable
Changes (since 2.4.0):
- Fix: potential race condition related with DateTime attributes due to the usage of thread-unsafe functions
2.4.0
Full documentation at: http://fiware-orion.readthedocs.io/en/2.4.0/
NGSIv2 API reference (v2.0): http://telefonicaid.github.io/fiware-orion/api/v2/stable
Changes (since 2.3.0):
- Add: TextUnrestricted attribute type to avoid forbidden chars checking (#3550)
- Add: notification flow control on update (#3568)
- Fix: crash when using null character in some NGSIv1 operations
- Fix: crash when using attributes with invalid JSON having more than one "value" keys (#3603)
- Hardening: add deepness control to compound attribute and metadata value (max 50 levels) (related with #3605, #3606 and #3608)
- Hardening: NULL control in some strdup and calloc cases (very unlikely, but theoretically possible) (#3578)
- Hardening: avoid crash in the unlikely case MongoDB get databases operations fails in csubs cache refresh logic (#3456, partly)
- Hardening: refactor mongo connection logic at startup to make it simpler
- Change centos7.6.1810 to centos7.7.1908 in Dockerfile
2.3.0
Full documentation at: http://fiware-orion.readthedocs.io/en/2.3.0/
NGSIv2 API reference (v2.0): http://telefonicaid.github.io/fiware-orion/api/v2/stable
Changes (since 2.2.0):
- Add: basic NGSIv2 queries and updates forwarding (#3068)
- Add: idPattern '.*' support in in NGSIv2 registrations (#3458)
- Add: Notify only attributes that change (#3190)
- Add: CLI option -inReqPayloadMaxSize to let users decide the maximum allowed size of incoming request payloads (#3492)
- Add: CLI option -outReqMsgMaxSize to let users decide the maximum allowed total size of any outgoing request message (for forwards and notifications) (#3492)
- Add: -dbAuthMech CLI parameter to set MongoDB authentication mechanism (#2987)
- Add: -dbAuthDb CLI parameter to set MongoDB authentication database
- Add: -dbSSL to enable SSL in the connection to DB (#3524)
- Fix: The 'Allow:' header for the service /v2/registrations had the incorrect value of "Allow: POST". The correct value is: "Allow: GET, POST"
- Fix: incorrectly loging update subscription traces in ERROR log level (#3531)
- Fix: set default MongoDB authentication mechanism to SCRAM-SHA-1 (old MONGODB-CR was deprecated time ago)
- Fix: abort on startup when MongoDB authentication fails to avoid starting a useless Context Broker
- Fix: change max -dbhost length from 64 to 256 (to cope with long replica set strings using full domain names)
- Hardening: avoid regex when possible in servicePath token in DB queries (#3505)
- Hardening: avoid $in vectors with only one element in servicePath token in DB queries (#3505)
- Hardening: avoid mono-item $or array in entity query (#3505)
- Hardening: avoid unneeded
_id.type: {$exists: true}
in entity queries that already include _id.type (#3505) - Hardening: avoid
_id.id: /.*/
and_id.type: /.*/
in entity queries, as removing the token has the same effect (#3505) - Hardening: avoid unneeded {$exists: true} and mono-item arrays (as much as possible) in attribute queries (#3505)
- Remove: support to entities without service path in DB (no one of so ancient data model should remain today)
- Remove: deprecated Rush support
2.2.0
Important note: in the case you use attributes with id metadata (deprecated since 1.13.0), a migration procedure on existing data has to be applied (or DB has to be dropped), see details here.
Full documentation at: http://fiware-orion.readthedocs.io/en/2.2.0/
NGSIv2 API reference (v2.0): http://telefonicaid.github.io/fiware-orion/api/v2/stable
Changes (since 2.1.0):
- Add: skipInitialNotification URI param option to make initial notification in subscriptions configurable (#920)
- Add: forcedUpdate URI param option to always trigger notifications, no matter if actual update or not (#3389)
- Add: log notification HTTP response (as INFO for 2xx or WARN for other codes)
- Add: notification.lastFailureReason field in subscriptions to get the reason of the last notification failure
- Add: notification.lastSuccessCode field in subscriptions to get the HTTP responde code of the last successful notification
- Fix: NGSIv1 updates with geo:line|box|polygon|json removes location DB field of NGSIv2-located entities (#3442)
- Fix: specify notification/forwarding error cause in log messages (#3077)
- Fix: from=, corr=, srv=, subsrv= correctly propagated to logs in notifications (#3073)
- Fix: avoid "pending" fields in logs
- Fix: use "" for srv= and subsrv= in logs when service/subservice header is not provided
- Fix: bug in notification alarm raising in -notificationMode transient and persistent
- Remove: deprecated feature ID metadata (and associated NGSIv1 operations)
2.1.0
Full documentation at: http://fiware-orion.readthedocs.io/en/2.1.0/
NGSIv2 API reference (v2.0): http://telefonicaid.github.io/fiware-orion/api/v2/stable
Note that Rush support has been deprecated in this release. You are strongly discouraged of using it.
Changelog (since 2.0.0):
- Add: Oneshot Subscription (#3189)
- Add: support to MongoDB 3.6 (#3070)
- Fix: problems rendering structured attribute values when forwarded queries are involved (#3162, #3363, #3282)
- Fix: NGSIv2-NGSIv1 location metadata issues (#3122)
- Fix: wrong inclusion of "location" metadata in geo:json notifications (#3045)
- Fix: metadata filter was lost during csub cache refresh (#3290)
- Fix: NGSIv1-like error responses were used in some NGSIv2 operations
- Fix: cache sem is not taken before subCacheItemLookup() call (#2882)
- Fix: wrong Runtime Error logs on GET /v2/registrations and GET /v2/registrations/{id} calls (#3375)
- Deprecate: Rush support (along with
-rush
CLI parameter) - Remove: isDomain field in NGSIv1 registrations (it was never used)