Skip to content

2.0.0

Compare
Choose a tag to compare
@fgalan fgalan released this 28 Sep 09:28
· 4232 commits to master since this release

Full documentation at: http://fiware-orion.readthedocs.io/en/2.0.0/

NGSIv2 API reference (v2.0): http://telefonicaid.github.io/fiware-orion/api/v2/stable

Note that NGSIv1 API has been deprecated in this release. You are strongly discouraged of using it. NGSIv2 should be always used.

Changelog (since 1.15.0):

  • Fix: GET /v2/subscriptions and GET /v2/subscriptions/{id} crashes for permanent subscriptions created before version 1.13.0 (#3256) (*)
  • Fix: correct processing of JSON special characters (such as \n) in NGSIv2 rendering (#3280, #2938)
  • Fix: correct error payload using errorCode (previously orionError was used) in POST /v1/queryContext and POST /v1/updateContext in some cases
  • Fix: bug in metadata compound value rendering in NGSIv2 (sometimes "toplevel" key was wrongly inserted in the resulting JSON object)
  • Fix: missing or empty metadata values were not allowed in NGSIv2 create/update operations (#3121)
  • Fix: default types for entities and attributes in NGSIv2 was wrongly using "none" in some cases
  • Fix: with NGSIv2 replace operations the geolocalization field is inconsistent in DB (#1142, #3167)
  • Fix: duplicated attribute/metadata keys in JSON response in some cases for dateCreated/dateModified/actionType
  • Fix: proper management of user attributes/metadata which name matches the one of a builtin (the user defined shadows the builtin for rendering but not for filtering)
  • Fix: pre-update metadata content included in notifications (and it shouldn't) (#3310)
  • Fix: duplicated items in ?attrs and ?metadata URI params (and "attrs" and "metadata" in POST /v2/op/query and subscriptions) cause duplicated keys in responses/notifications (#3311)
  • Fix: dateCreated and dateModified included in initial notification (#3182)
  • Hardening: modification of the URL parsing mechanism, making it more efficient, and the source code easier to follow (#3109, step 1)
  • Hardening: refactor NGSIv2 rendering code (throughput increase up to 33%/365% in entities/subscriptions rendering intensive scenarios) (#1298)
  • Hardening: Mongo driver now compiled using --use-sasl-client --ssl to enable proper DB authentication mechanisms
  • Deprecated: NGSIv1 API (along with related CLI parameters: -strictNgsiv1Ids and -ngsiv1Autocast)

(*) Also inclued in 1.15.1