Skip to content

Latest commit

Β 

History

History
387 lines (372 loc) Β· 42.9 KB

CHANGELOG.md

File metadata and controls

387 lines (372 loc) Β· 42.9 KB

EdgeX Foundry Services

Github repository

[v2.0.0] Ireland - 2021-06-30 (Not Compatible with 1.x releases)

General

  • v2: Implemented Core Data V2 APIs as defined in SwaggerHub
  • v2: Implemented Core Command V2 APIs as defined in SwaggerHub
  • v2: Implemented Core Metadata V2 APIs as defined in SwaggerHub
  • v2: Implemented Support Scheduler V2 APIs as defined in SwaggerHub
  • v2: Implemented Support Notifications V2 APIs as defined in SwaggerHub
  • v2: Implemented System Management Agent V2 APIs as defined in SwaggerHub
  • v2: Change the default ports for EdgeX services to stay within IANA Dynamic Ports
  • v2: Updated all Docker image names (removing docker- prefix and language suffixes of -go and -c)

Change Logs for EdgeX Dependencies

Features ✨

  • v2: Remove --useradd and --userdel support from proxy-setup (#2924) (#60451040)
  • v2: Processing query params of url in put method (#3034) (#5c263209)
  • v2: Configure Kuiper for secure message bus (#3537) (#71bb76d4)
  • v2: Use service keys for Route configuration keys (#3247) (#c48b5c69)
  • v2: Remove security services initialization for mongodb (#2885) (#bd94ef45)
  • v2: Enable the check of adminState for notifications and scheduler (#33c15794)
  • v2: Add missing middleware func to router (#768023b2)
  • v2: Remove deprecated Mongo code. (#2956) (#dd265b0a)
  • v2: Add RedisDB Password for v2 security mode (#cbc1041f)
  • v2: Remove MetadataCheck mechanism when adding Event (#3069) (#f7cba1f5)
  • v2: Add secure MessageBus capability (#3436) (#55d4d9f0) commits/9055af8f))
  • data: Make Core Data publish events to // (#3002) (#cd24e070) e47b23dc))
  • data: Modify event validation error message (#43e7fdfd)
  • data: Remove pushed field completely from V2 Event related implementation (#f3d77c85)
  • data: Add the missing event's sourceName at persistent layer (#b7db4934)
  • data: Message topic should contain the event's deviceName (#16398693)
  • data: Implement get Binary Reading from database (#3303) (#d1fc5940)
  • data: Remove created field from Event and Reading (#3299) (#04121680)
  • data: Core Data remove V2 Pushed and Scrub APIs (#33b5724a)
  • notifications: Check Subscription with empty categories,labels (#45699a18)
  • notifications: Add secret creation API (#3510) (#20e30386)
  • notifications: Implement Sending Service for Email Channel (#3530) (#399b1e1f)
  • scheduler: ServiceName change should invoke old service's callback (#638c5eca)
  • security: Add new implementation for security bootstrapping/installation (#2970) (#5dc76a6c)
  • security: Secure containers run as non-root (#3003) (#310fcf06)
  • security: Implementation to set up Consul ACL (#3215) (#8a562533)
  • security: Create a Vault mgmt token for Consul Secrets API Operations (#3192) (#257616ab)
  • security: Implementation for setting up agent token (#3251) (#7baeca4e)
  • security: Add waitFor subcommand for security-bootstrapper (#3101) (#f32f4191)
  • security: Implementation for generating consul tokens (#3324) (#9479b0bd)
  • security: Integrate EdgeX core servcies/app service with Consul tokens (#3331) (#70f8294d)
  • security: Implement secrets-config proxy tls (#2930) (#382321cd)
  • security: Replace security-proxy-setup for adding users (#2808) (#ff93af41)
  • security: Implement Consul token header in API Gateway (#3391) (#58f175f3)
  • security: Secure Kong Admin API (#3328) (#073d4024)

Bug Fixes πŸ›

  • security: Enable Vault's Consul secrets engine (#3179) (#13b869e2)
  • all: Invoke DS deletion Callback by name (#b818cb7f)
  • all: Added Content-TYpe from REST header to Context (#c433a97c)
  • meta: Check the provisionWatcher existence when delete DS (#7014d8db)
  • meta: Delete DS API should check the associated Device existence (#3054) (#b641f4fe)
  • meta: Fix DS callback function panic error (#3523) (#e6c05256)
  • meta: Check the associated object existence when delete Profile (#35d7beb0)
  • notifications: Query with invalid offset range should return 416 (#73839868)
  • notifications: Fix using the wrong key to update Subscription (#fe00754a)
  • notifications: Return 200 when successful to delete subscription (#cd63672c)
  • scheduler: PATCH API Check intervalName nil value (#f5098ad0)
  • snap: Cleanup snap hooks (#9c984eaf)
  • snap: Update device-virtual --confdir (#ed9dddb0)
  • snap: Fix redis snapshots (#187bb8da)
  • snap: Update pipe optimization patch (#ce6ab2ee)
  • snap: Update service command-line options (#b880d5f7)
  • snap: Update snap optimization patch (#1010d7ab)
  • snap: Remove kong TLS config overrides (#2953) (#57027b83)
  • snap: Secure kong admin ports (#0985e833)

Code Refactoring β™»

  • security: Remove Writable from security services (#3147) (#4701403b)
  • security: Implementation for adding registry role on the fly (#3291) (#18e95d4e)
  • security: Fix Redis start issue from #2863 (#3115) (#cb6997bb)
  • security: Eliminate security-secrets-setup module (#2913) (#4ced080b)
  • security: Deprecate oauth2 auth method (#3575) (#649de808)
  • security: Implementation for adding ACL policies and roles (#3273) (#8b8c0450)
  • security: Kong cert paths are now optional (#2940) (#c80d9cda)
  • security: Remove Vault dependency on Consul by using file backend (#2886) (#f9701ca4)
  • v2: Remove obsolete V1 code, swagger & scripts (#3492) (#f99dd52e)
  • sma: Use service key for route names and add missing sys-mgmt-agent (#580caa8f)
    BREAKING CHANGE:
    API Gateway route names have changed.
    
  • all: Update Service configurations for changes to common Service configuration struct (#e3cbfe1c)
    BREAKING CHANGE:
    Core/Support/SysMgmt Service configuration has changed.
    
  • all: Assign/use new Port assignments (#3485) (#1b47f7a0)
    BREAKING CHANGE:
    Core/Support/SysMgmt default ports numbers have changed.
    
  • security: Use new enhanced SecretProvider (#2942) (#c8e01228)
  • all: Use latest bootstrap for logging client changes (#2975) (#f96f7b91)
  • all: Update for new service key names and overrides for hyphen to underscore (#3462) (#e79253a2)
    BREAKING CHANGE:
    Service key names used in configuration have changed.
    
  • scheduler: Rename Frquency to Interval in AutoEvent and Scheduler (#1ca8f34a)
  • all: Combine and improve http LoggingMiddleware (#0f2753e7)
  • all: Refactor controller error handling (#3400) (#d6c94b2b)
  • all: Replace use of BurntSushi/toml with pelletier/go-toml (#fa8052bc)
  • security: Rework entry point scripts to run 'listenTcp' command as non-root (#3292) (#5dc7e565)
  • security: Rework Proxy Setup to use KongRoute struct for configuration (#3228) (#2c126a99)
    BREAKING CHANGE:
    Names for Route configuration has changed
    
  • all: Modify config.Clients to use service key (#afe0876a)
  • security: Update remaining SecretService references to be SecretStore (#3189) (#afdb9f2a)
  • all: Remove support-logging and LoggingInfo config (#2919) (#0163c92e)
  • meta: Rename Put Command to Set Command (#f6d4ba2d)
  • meta: Refactor device service update operation to DBClient (#6b9e3f1f)
  • meta: Refactor provision watcher update operation to DBClient (#0a10fb90)
  • meta: Refactor device profile update operation (#f5f43703)
  • meta: Refactor device update operation to DBClient (#3059) (#abd2591c)
  • meta: Rename PropertyValue's Type field to ValueType (#7e47c43b)
  • meta: Remove all the Batch, DeleteByID, GetById API (#15391329)
  • meta: Move Transform func to go-mode-core-contract (#e333ecd1)
  • notifications: Rework of sending notifications (#d2fe8064)
  • notifications: Move ChannelSender interface to channel package (#28350066)
  • scheduler: Remove runOnce feature (#3549) (#5e3333aa)
  • sma: Refactor sys-mgmt-executor (#3543) (#f108a847)
  • sma: Remove obsolete SMA v1 code (#b4ce8a0d)
  • sma: Remove unused configs and example (#5120e818)

[v1.3.1] - 2021-02-08

Features ✨

  • metadata: Add service callback for deviceService AdminState Update API (#a9476202)

Bug Fixes πŸ›

  • Fix nil pointer error when update the unreachable DS adminState (#c117ee17)
  • Upgrade to go-mod-messaging with ZMQ fix for Hanoi (#3084) (#9a6eedb9)
  • snap: Fix redis snapshots (#3102) (#12a188d7)

[v1.3.0] - 2020-11-18

Features ✨

  • all: Add config setting for value used for ListenAndServe (#2629) (#d3bef6b2)
  • core-data: Updated the Tags type to by object and added example to show how the data is represented in JSON. (#212e9527)
  • core-data: Add persisting of new Tags property on V1 & V2 Event models for Redis (#2677) (#ae7f6d9e)
  • security: Implement pluggable password generator (#2659) (#ff532ada)
  • core-data: Add Tags property to Event in V1 & V2 swagger. (#116c3839)
  • V2: Add correlation id into log (#16bfafab)
  • core-data: Event ID has to be pre-populated (#2695) (#470d1768) 151af978))
  • metadata: Optimize the error handling for deletion API (#567a6ee1)
  • sdk: Adding vault configuration default env variable (#2673) (#1421448a)
  • security: Implement encryption of vault master key (#2574) (#09ff485f)
  • security: Add security-redis-bootstrap service (#1a6876e5)
  • support-notifications: Notification content type and long line (#2699) (#855c38c3)

Snap

Bug Fixes πŸ›

  • Use DB credentials for Redis Streams MesssageBus connection (#2792) (#8ed4663e)
  • Query event API w/ limit always returns first $n records (redis) (#235aec4e)
  • Created timestamp is 0 on message queue (#793f45a3)
  • ADD_PROXY_ROUTE fails if URL contains dot (#6e12203f)
  • Fix path dependency in tokenprovider_linux_test.go (#2641) (#04784571)
  • Allow startup duration/interval to be overridden via env vars (#2649) (#b6e84d11)
  • Use Itoa() instead of string() for int conversion (#2663) (#6df8530f)
  • Get deviceProfile by ID when updating the valuedescriptor Should query device profile by name and id to prevent item not found error (#234ed2e8)
  • data: Modify the log level of event (#2833) (#a54f4bf5) commits/471572d2))
  • metadata: Refactor deviceProfile JSON and YAML POST API (#2597) (#9098740b)
  • metadata: Notify both device services when a Device is moved from one to the other (#2716) (#bea4f5e6)
  • metadata: Device profile post returns 409 if id exists (#172f3e63)
  • notifications: include From/To in SMTP header (#2758) (#b3e2acdd)
  • snap: Disable asc version check (#92e33c6b)
  • snap: Update snap to use kong deb from bintray (#335fa3dd)
  • snap: Strip postgresql man pages (#8a15cd27)
  • snap: Strip commit+date from version (#75c89412)
  • snap: Remove external symlink to openresty (#54f1720a)
  • snap: Remove support-logging (#f3e829cf)

Code Refactoring β™»

Other changes

  • Remove security services initialization for mongodb (#2567) (#80cc2cf8)

[v1.2.1] - 2020-06-12

Features ✨

  • Add default MQTT optional MessageQueue values to enable env overrides (#2564) (#e91925a3)

Bug Fixes πŸ›

  • Don't use hostname for webserver ListenAndServe (#2579) (#525c6541)
  • Fix: Allow overrides that have empty/blank value (#3ccad16a)
  • Added setting the Reading ID in the Events collection. (#2575) (#fed02ba9)
  • Accurately represent default port w/ EXPOSE in dockerfiles (#2502f83b)
  • Missing fmt.Sprintf() in debug logging statement (#4b30bbc4)

[v1.2.0] - 2020-05-14

Scheduler

  • Remove QueueClient global and refactor its code (#98dddcf2)

Command

  • Refactor to remove configuration global variable (#2118) (#7aeef728)

Many

  • Support new edgex-go security services (#f09a2eaf)

Doc

Feature

  • environment: Allow uppercase environment overrides (#14cb1f3e)

Security

Snap

Notifications

  • Refactor to remove Configuration global variable (#c021313d)
  • Refactor to remove dbClient global variable (#5f01098a)
  • Refactor to remove LoggingClient global variable (#e37ee154)

Bug Fixes πŸ›

  • Add Redis connection test during client creation so error will trigger retry (#8dfb5d32)
  • Update to use go-mod-bootstrap to fix issue with override un-done. (#2536) (#ac53844b)
  • Add generation of application-service vault token for shared DB credentials (#af1eaf2f)
  • Add call to Message Bus Connect() (#2467) (#2cabbc24)
  • #2034 fixes bug around named return values (#dce4ecfd)

Code Refactoring β™»

[v1.1.0] - 2019-11-14

Features ✨

  • config-seed: Change Config Seed rules engine properties so messages are received from App-Service-Configurable (#dd6fb282)

Feature

  • query-params: Pass QueryParams through EdgeX to Device Services (#1571) (#4d7ed080)

Bug Fixes πŸ›

[v1.0.0] - 2019-06-25

Many

  • Rename ReadMaxLimit to MaxResultCount, set default to 50k (#499cd073)

FIX

  • Client monitor update in milliseconds, not seconds (#cd852482)
  • Event ids blank when exported (#f9b26649)

[0.7.1] - 2018-12-10

FIX

  • Client monitor update in milliseconds, not seconds (#7424180a)

[0.7.0] - 2018-11-16

BUG

  • Consul values overridden at service start (#b5d54ea5)

Snap

  • Move bin and config dirs into snap/local/ (#aada7c16)

Fix

  • LogLevel field name in JSON, criteria in Mongo (#7534e412)

Metadata

  • Check that db type is mongo before getting a session (#410d0046)

v0.0.0 - 2021-02-01

Features ✨

  • Add Tags property to Event in V1 & V2 swagger. (#116c3839)
  • Add default MQTT optional MessageQueue values to enable env overrides (#2564) (#e91925a3)
  • Add persisting of new Tags property on V1 & V2 Event models for Redis (#2677) (#ae7f6d9e)
  • Implement pluggable password generator (#2659) (#ff532ada)
  • Add config setting for value used for ListenAndServe (#2629) (#d3bef6b2)
  • Updated the Tags type to by object and added example to show how the data is represented in JSON. (#212e9527)
  • V2: Add correlation id into log (#16bfafab)
  • config-seed: Change Config Seed rules engine properties so messages are received from App-Service-Configurable (#dd6fb282)
  • core-data: Event ID has to be pre-populated (#2695) (#470d1768)
  • metadata: Optimize the error handling for deletion API (#567a6ee1)
  • metadata: Add service callback for deviceService AdminState Update API (#a9476202)
  • sdk: Adding vault configuration default env variable (#2673) (#1421448a)
  • security: Implement encryption of vault master key (#2574) (#09ff485f)
  • security: Add security-redis-bootstrap service (#1a6876e5)
  • support-notifications: notification content type and long line (#2699) (#855c38c3)

Core

  • Unified core and metadata db interfaces package name (#9e847c16)
  • Create a new package for db access (#50d46abf)

Fix

  • LogLevel field name in JSON, criteria in Mongo (#7534e412)

BUG

  • Consul values overridden at service start (#b5d54ea5)

Snap

FIX

  • Client monitor update in milliseconds, not seconds (#cd852482)
  • Event ids blank when exported (#f9b26649)

Feature

  • environment: Allow uppercase environment overrides (#14cb1f3e)
  • query-params: Pass QueryParams through EdgeX to Device Services (#1571) (#4d7ed080)

Security

Refact

  • Use latest go-mod-bootstrap with self seeding, remove config-seed & remove Docker profiles (#28c25972)

Scheduler

  • Remove QueueClient global and refactor its code (#98dddcf2)

Many

  • Support new edgex-go security services (#f09a2eaf)
  • Rename vault-config.json to vault-config.hcl (#6d2924b2)
  • Rename ReadMaxLimit to MaxResultCount, set default to 50k (#499cd073)

Command

  • Refactor to remove configuration global variable (#2118) (#7aeef728)

Notifications

  • Refactor to remove Configuration global variable (#c021313d)
  • Refactor to remove dbClient global variable (#5f01098a)
  • Refactor to remove LoggingClient global variable (#e37ee154)

Metadata

  • Check that db type is mongo before getting a session (#410d0046)

Bug Fixes πŸ›

  • Upgrade to go-mod-messaging with ZMQ fix for Hanoi (#3084) (#9a6eedb9)
  • #2034 fixes bug around named return values (#dce4ecfd)
  • Add call to Message Bus Connect() (#2467) (#2cabbc24)
  • Fix nil pointer error when update the unreachable DS adminState (#c117ee17)
  • Add generation of application-service vault token for shared DB credentials (#af1eaf2f)
  • Added setting the Reading ID in the Events collection. (#2575) (#fed02ba9)
  • Fix: Allow overrides that have empty/blank value (#3ccad16a)
  • Use DB credentials for Redis Streams MesssageBus connection (#2792) (#8ed4663e)
  • Don't use hostname for webserver ListenAndServe (#2579) (#525c6541)
  • Query event API w/ limit always returns first $n records (redis) (#235aec4e)
  • Created timestamp is 0 on message queue (#793f45a3)
  • Allow startup duration/interval to be overridden via env vars (#2649) (#b6e84d11)
  • ADD_PROXY_ROUTE fails if URL contains dot (#6e12203f)
  • Fix path dependency in tokenprovider_linux_test.go (#2641) (#04784571)
  • Use Itoa() instead of string() for int conversion (#2663) (#6df8530f)
  • Get deviceProfile by ID when updating the valuedescriptor Should query device profile by name and id to prevent item not found error (#234ed2e8)
  • config-seed: Slice bound out of range on Windows (#1606) (#7ee64677)
  • data: Modify the log level of event (#2833) (#a54f4bf5)
  • metadata: Device PATCH V2 API should check service and profile (#2862) (#471572d2)
  • metadata: Refactor deviceProfile JSON and YAML POST API (#2597) (#9098740b)
  • metadata: V2 GET /deviceservice/all returns inconsistent response when specifying labels or not (#08b8cf9d)
  • metadata: Device profile post returns 409 if id exists (#172f3e63)
  • metadata: correct V2 parsing err response (#c4d32136)
  • metadata: Notify both device services when a Device is moved from one to the other (#2716) (#bea4f5e6)
  • notifications: Include From/To in SMTP header (#2758) (#b3e2acdd)
  • snap: remove support-logging (#f3e829cf)

Code Refactoring β™»

Documentation πŸ“–

  • Update ZMQ for module directory structure. (#2191) (#32c2c55f)
  • all: Add multiple responses schemas to V2 Swagger files (#82e94d13)
  • all: Update response codes in V2 Swagger files (#3130a5bf)
  • data: Update examples in V2 API Swagger file (#9a9f8dfa)

Other changes

  • Remove security services initialization for mongodb (#2567) (#80cc2cf8)