dev.azure.com/aidainnovazione0090/DeviceManager/_git/go-mod-core-contracts@v1.0.2/CHANGELOG.md (about) 1 2 <a name="Core Contracts Go Mod Changelog"></a> 3 ## Core Contracts Module (in Go) 4 [Github repository](https://github.com/edgexfoundry/go-mod-core-contracts) 5 6 ## [v3.1.0] - 2023-11-15 7 8 ### ✨ Features 9 10 - Allow NameFieldEscape configurable ([b0688fa…](https://github.com/edgexfoundry/go-mod-core-contracts/commit/b0688fa74e6493f4ada8b41961a83322533a5983)) 11 - Use URL escape for DTO name field ([fe869c7…](https://github.com/edgexfoundry/go-mod-core-contracts/commit/fe869c73d3d455c6bcd8a80f44612dba226c759b)) 12 - Add new API route constants for Echo ([ba4bcab…](https://github.com/edgexfoundry/go-mod-core-contracts/commit/ba4bcab7d7f1689a3ec3108d74c56bd728437987)) 13 14 15 ### 🐛 Bug Fixes 16 17 - Use comma without a space as separator to parse array value ([2452e70…](https://github.com/edgexfoundry/go-mod-core-contracts/commit/2452e706a7425134e876c397f528274d17037f0e)) 18 - Add todo comment for the new Echo API const ([e1baa79…](https://github.com/edgexfoundry/go-mod-core-contracts/commit/e1baa79db8796fb641862e2e1fc0f29cb6a78ab5)) 19 20 21 ### 👷 Build 22 23 - Upgrade to go 1.21 and linter 1.54.2 ([aae349d…](https://github.com/edgexfoundry/go-mod-core-contracts/commit/aae349de27787b263ac536cb84a85526ba2e88ac)) 24 25 26 ## [v3.0.0] - 2023-05-31 27 28 ### Features ✨ 29 30 - Using url.PathEscape for http client request path ([#6bcf78a](https://github.com/edgexfoundry/go-mod-core-contracts/commit/6bcf78aee2db63f4e9ae3a03b8b24e3626f753db)) 31 ```text 32 BREAKING CHANGE: To consist with the change for MQTT topic path encoding, use PathEscape to encode the API path because the url.QueryEscape encode the empty space to plus sign, and plus sign is invalid for publishing the MQTT message. 33 ``` 34 - Update API version to v3 ([#4f0fdd](https://github.com/edgexfoundry/go-mod-core-contracts/commit/4f0fddbe1238861d7d4ba45b7dfce325304839c5)) 35 ```text 36 BREAKING CHANGE: all EdgeX base API version is changed to v3 for REST endpoints 37 ``` 38 - Add 'discoveredDevice' for discovered device fields ([#f889069](https://github.com/edgexfoundry/go-mod-core-contracts/commit/f8890694ba2443089107554beff12780e39f030e)) 39 ```text 40 BREAKING CHANGE: add 'DiscoveredDevice' field which includes profileName,adminState,autoEvents and properties for discovered device 41 ``` 42 - Update maximum and minimum to float64 data type ([#1af2d52](https://github.com/edgexfoundry/go-mod-core-contracts/commit/1af2d52b2805dd8b31ab8a74952bd92a1b93e9d7)) 43 ```text 44 BREAKING CHANGE: update maximum and minimum data type from string to float64 45 ``` 46 - Update ProtocolProperties to have typed values ([#d9af69a](https://github.com/edgexfoundry/go-mod-core-contracts/commit/d9af69a8b2a38abe867dc9f255879174cd6f5be6)) 47 ```text 48 BREAKING CHANGE: update ProtocolProperties type from 'map[string]string' to 'map[string]any' 49 ``` 50 - Update data type in ResourceProperties ([#9353c25](https://github.com/edgexfoundry/go-mod-core-contracts/commit/9353c25cfaefc34f37012e8b0a65cde6e012df1b)) 51 ```text 52 BREAKING CHANGE: update mask,shift,base,scale,offset to numeric data type also rename 'Others' to 'Optional' for the consistency with 53 message broker settings. 54 ``` 55 - Remove Notify out of Device DTO/Model ([#cb18066](https://github.com/edgexfoundry/go-mod-core-contracts/commit/cb18066d493742bdfaf8f31a0eded08ce169db02)) 56 ```text 57 Since core-metadata will publish system event message when device is created or updated, notify is no longer needed and should be removed. 58 ``` 59 - Add interface for injecting authentication data to outgoing requests ([#dc21b6](https://github.com/edgexfoundry/go-mod-core-contracts/commit/dc21b6ba2c81931ffc3ae0ec228443a46b7c8900)) 60 ```text 61 BREAKING CHANGE: This change adds an AuthenticationInjector interface to all http clients. If non-nil, the interface is invoked to add authentication data to the outgoing HTTP request. 62 63 While the change does affect the public interface of the HTTP clients, actual requests are only mutated by the authentication injector, which is provided by the consumer. 64 ``` 65 - Remove LastConnected and LastReported from Device/DeviceService ([#fbdba8c3e](https://github.com/edgexfoundry/go-mod-core-contracts/commit/fbdba8c3ee7a5841e5299dff2aa29aa4bea36a71)) 66 ```text 67 BREAKING CHANGE: LastConnected and LastReported removed from device and device service DTOs and models 68 ``` 69 - Add device service name in Add Event API endpoint ([#61bd91](https://github.com/edgexfoundry/go-mod-core-contracts/commit/61bd91ab058f1c855ec180b3d64afd937c6ababb)) 70 ```text 71 BREAKING CHANGE: Update EventClient 'Add' method signature 72 ``` 73 - Remove SimpleReading value required validation for empty string ([#0e331f](https://github.com/edgexfoundry/go-mod-core-contracts/commit/0e331f41e0d4903de81972c1cae15627e716c4a2)) 74 - Allow Device Profile to be empty string in ProvisionWatcher ([#d0b069d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d0b069d)) 75 - Add URLEncode helper function ([#cb6c3dd](https://github.com/edgexfoundry/go-mod-core-contracts/commits/cb6c3dd)) 76 - Add YAML tag for Device and ProvisionWatcher ([#19c4f32](https://github.com/edgexfoundry/go-mod-core-contracts/commits/19c4f32)) 77 - Add 'ds-regexcmd' query parameter ([#6582a37](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6582a37)) 78 - Add ability to authenticate outbound IntervalActions ([#b2c2176](https://github.com/edgexfoundry/go-mod-core-contracts/commits/b2c2176)) 79 - Use URL escape for device command name and resource name ([#1450102](https://github.com/edgexfoundry/go-mod-core-contracts/commits/1450102)) 80 - Add 'Others' field in ResourceProperties ([#6eb51bb](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6eb51bb)) 81 - Add new Properties field to ProvisionWatcher DTO and Model ([#4695302](https://github.com/edgexfoundry/go-mod-core-contracts/commits/4695302)) 82 - Add new Properties field to Device DTO and Model ([#66fa623](https://github.com/edgexfoundry/go-mod-core-contracts/commits/66fa623)) 83 - Added ValidateDeviceSubscribeTopic ([#7d63dd3](https://github.com/edgexfoundry/go-mod-core-contracts/commits/7d63dd3)) 84 - Add UnmarshalObjectValue helper function to Reading DTO ([#baf7df4](https://github.com/edgexfoundry/go-mod-core-contracts/commits/baf7df4)) 85 - Add topic constants that will replace configured topics ([#f8aa83a](https://github.com/edgexfoundry/go-mod-core-contracts/commits/f8aa83a)) 86 - Add service key for new core-common-config-bootstrapper service ([#28efaad](https://github.com/edgexfoundry/go-mod-core-contracts/commits/28efaad)) 87 - Implement xml Marshaller interface for event/reading tags ([#809b610](https://github.com/edgexfoundry/go-mod-core-contracts/commits/809b610)) 88 89 ### Code Refactoring ♻ 90 91 - Modify the numeric data type in Value Properties to pointer ([#dc7210](https://github.com/edgexfoundry/go-mod-core-contracts/commit/dc72102d704193154e31b181131103b75868c7cc)) 92 ```text 93 BREAKING CHANGE: 94 - update mask,shift,base,scale,offset to pointer 95 - update maximum and minimum data type from string to float64 pointer 96 ``` 97 - Change Config stem constants to flatten config layout ([#f0cd4eda](https://github.com/edgexfoundry/go-mod-core-contracts/commit/f0cd4eda7020d5e86576b480fb0804a1016453ed)) 98 ```text 99 BREAKING CHANGE: Location of service configuartion in Config Provider (Consul) has changed 100 ``` 101 - Refactor Secret DTO to rename Path property to SecretName ([#36dc869](https://github.com/edgexfoundry/go-mod-core-contracts/commits/36dc869)) 102 ```text 103 BREAKING CHANGE: Path property renamed to SecretName 104 ``` 105 - Remove SystemManagementClient ([#4228851](https://github.com/edgexfoundry/go-mod-core-contracts/commit/42288514cea911c59a0e58050476491dcc7c96d8)) 106 ```text 107 BREAKING CHANGE: SystemManagementClient no longer available 108 ``` 109 - Remove old common Metrics DTO and route constant ([#3eccfbd9](https://github.com/edgexfoundry/go-mod-core-contracts/commit/3eccfbd97ef867018de46b5e3b273bb9958dbcdc)) 110 ```text 111 BREAKING CHANGE: /metrics endpoint no longer available for any service 112 ``` 113 - Use true/false for command parameters to be more consistent ([#a2a49d7b](https://github.com/edgexfoundry/go-mod-core-contracts/commit/a2a49d7ba2e55cefcdc8c66b99d348e67c20079e)) 114 ```text 115 BREAKING CHANGE: ds-pushevent and ds-returnevent to use true/false instead of yes/no 116 ``` 117 - Update module to v3 ([#60a23e1e](https://github.com/edgexfoundry/go-mod-core-contracts/commit/60a23e1e32adaf99c37a33ef7dcfe888a31e5e2f)) 118 ```text 119 BREAKING CHANGE: Import paths will need to change to v3 120 ``` 121 - Add new system event type constants and rename action constants ([#d129ffd](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d129ffd)) 122 - Remove obsolete swagger doc reference ([#73cc6cf](https://github.com/edgexfoundry/go-mod-core-contracts/commits/73cc6cf)) 123 - Rename dummy_validator.go to fake_validator.go ([#5a07d2b](https://github.com/edgexfoundry/go-mod-core-contracts/commits/5a07d2b)) 124 - Changed config version from 3.0 to v3 ([#78cc929](https://github.com/edgexfoundry/go-mod-core-contracts/commits/78cc929)) 125 126 ### Build 👷 127 128 - Update to Go 1.20 and linter v1.51.2 ([#46cc121](https://github.com/edgexfoundry/go-mod-core-contracts/commits/46cc121)) 129 130 ## [v2.3.0] - 2022-11-09 131 132 ### Features ✨ 133 134 - Reduce the character restriction for name fields ([#49dcdfb](https://github.com/edgexfoundry/go-mod-core-contracts/commits/49dcdfb)) 135 - Add UoM API route and UoM response DTO ([#aa36825](https://github.com/edgexfoundry/go-mod-core-contracts/commits/aa36825)) 136 - Add new SystemEvent DTO ([#c11c1bf](https://github.com/edgexfoundry/go-mod-core-contracts/commits/c11c1bf)) 137 - Add SimpleReading value validation to prevent type mismatch ([#3cd3c74](https://github.com/edgexfoundry/go-mod-core-contracts/commits/3cd3c74)) 138 139 ### Bug Fixes 🐛 140 141 - Keep the existing baseUrl path in helper function ([#abc04af](https://github.com/edgexfoundry/go-mod-core-contracts/commits/abc04af)) 142 - Remove DeviceProfileBasicInfo fieldName from validation error messages ([#8656825](https://github.com/edgexfoundry/go-mod-core-contracts/commits/8656825)) 143 144 ### Code Refactoring ♻ 145 146 - Adding config stem constants ([#33d1416](https://github.com/edgexfoundry/go-mod-core-contracts/commits/33d1416)) 147 - Improve string concatenate logic for Metric DTO ToLineProtocol() ([#c7c3660](https://github.com/edgexfoundry/go-mod-core-contracts/commits/c7c3660)) 148 149 ### Documentation 📖 150 151 - Add deprecated annotation to lastConnected and lastReported ([#ab92af2](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ab92af2)) 152 153 ### Build 👷 154 155 - Upgrade to Go 1.18 ([#de188ed](https://github.com/edgexfoundry/go-mod-core-contracts/commits/de188ed)) 156 - Add go build tag to exclude DTO validator ([#af18e4a](https://github.com/edgexfoundry/go-mod-core-contracts/commits/af18e4a)) 157 158 ## [v2.2.0] - 2022-05-11 159 160 ### Features ✨ 161 162 - add new method for CommandClient ([#a13ffb3](https://github.com/edgexfoundry/go-mod-core-contracts/commits/a13ffb3)) 163 - Add new device profile API clients ([#3d2ca3b](https://github.com/edgexfoundry/go-mod-core-contracts/commits/3d2ca3b)) 164 - Add Units property to reading DTO and model ([#637851d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/637851d)) 165 - Add Metric DTO to hold data for a single metric ([#6f432a9](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6f432a9)) 166 - Add DTOs for device profile changes ([#ee12520](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ee12520)) 167 - Remove DeviceProfile deviceResources validate gt=0 ([#fd99e17](https://github.com/edgexfoundry/go-mod-core-contracts/commits/fd99e17)) 168 - Add new routes for device profile changes ([#e5aff1a](https://github.com/edgexfoundry/go-mod-core-contracts/commits/e5aff1a)) 169 - extend DeviceServiceCallbackClient to support validation API ([#20c4465](https://github.com/edgexfoundry/go-mod-core-contracts/commits/20c4465)) 170 - Add ServiceName to Common DTOs ([#043134c](https://github.com/edgexfoundry/go-mod-core-contracts/commits/043134c)) 171 - update device validation route ([#a30116e](https://github.com/edgexfoundry/go-mod-core-contracts/commits/a30116e)) 172 - add validate API route for device service ([#e6de2b0](https://github.com/edgexfoundry/go-mod-core-contracts/commits/e6de2b0)) 173 - **security:** Add a new constant for security-spiffe-token-provider ([#306938c](https://github.com/edgexfoundry/go-mod-core-contracts/commits/306938c)) 174 175 ### Test 176 177 - Generate mock CommandClient for unit test ([#9b8e31f](https://github.com/edgexfoundry/go-mod-core-contracts/commits/9b8e31f)) 178 179 ### Bug Fixes 🐛 180 181 - Remove redundant URL escaping from Client lib ([#c67fdec](https://github.com/edgexfoundry/go-mod-core-contracts/commits/c67fdec)) 182 - Remove JSON omitempty from SimpleReading value ([#d83bf3a](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d83bf3a)) 183 - Update device resource/command DTO ([#59aa69d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/59aa69d)) 184 - Add yaml:inline to DeviceProfile DTO DeviceProfileBasicInfo ([#4d80223](https://github.com/edgexfoundry/go-mod-core-contracts/commits/4d80223)) 185 - Update the ReadWrite validation to include WR ([#708](https://github.com/edgexfoundry/go-mod-core-contracts/issues/708)) ([#b3917be](https://github.com/edgexfoundry/go-mod-core-contracts/commits/b3917be)) 186 - update network connectivity problem error kind ([#a52b776](https://github.com/edgexfoundry/go-mod-core-contracts/commits/a52b776)) 187 - Adding the missed PATCH method in REST Address DTO ([#a113ab0](https://github.com/edgexfoundry/go-mod-core-contracts/commits/a113ab0)) 188 189 ### Build 👷 190 191 - **security:** Enable gosec and default linter set ([#6ac863c](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6ac863c)) 192 193 ## [v2.1.0] - 2021-11-17 194 195 ### Features ✨ 196 197 - Add Object Value type in Reading ([#388af6c](https://github.com/edgexfoundry/go-mod-core-contracts/commits/388af6c)) 198 - Add Client API to support Object Value type in Set Command ([#676](https://github.com/edgexfoundry/go-mod-core-contracts/issues/676)) ([#762fd04](https://github.com/edgexfoundry/go-mod-core-contracts/commits/762fd04)) 199 - Add Reading API route constant and client ([#635](https://github.com/edgexfoundry/go-mod-core-contracts/issues/635)) ([#62d0d23](https://github.com/edgexfoundry/go-mod-core-contracts/commits/62d0d23)) 200 - Update routes and ReadingClient for new Reading APIs ([#dcbf024](https://github.com/edgexfoundry/go-mod-core-contracts/commits/dcbf024)) 201 - Remove unclear HTTP status code ([#646](https://github.com/edgexfoundry/go-mod-core-contracts/issues/646)) ([#5e91c92](https://github.com/edgexfoundry/go-mod-core-contracts/commits/5e91c92)) 202 - Add omitempty tag to Reading DTO ([#630bcf1](https://github.com/edgexfoundry/go-mod-core-contracts/commits/630bcf1)) 203 - Update the api version inside all godoc from 2.x to 2.1.0 ([#99ac5f5](https://github.com/edgexfoundry/go-mod-core-contracts/commits/99ac5f5)) 204 - **command:** Add totalCount field into MultiDeviceCoreCommandsResponse DTO ([#eaa77a0](https://github.com/edgexfoundry/go-mod-core-contracts/commits/eaa77a0)) 205 - **data:** Add totalCount field into MultiReadingsResponse DTO ([#94063c0](https://github.com/edgexfoundry/go-mod-core-contracts/commits/94063c0)) 206 - **data:** Use generic interface in the Event Tagging value ([#ad694db](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ad694db)) 207 - **data:** Add totalCount field into MultiEventsResponse DTO ([#e706228](https://github.com/edgexfoundry/go-mod-core-contracts/commits/e706228)) 208 - **data:** Add new core-data reading API route and update ReadingClient ([#2d3bd2a](https://github.com/edgexfoundry/go-mod-core-contracts/commits/2d3bd2a)) 209 - **metadata:** Add totalCount field into core-metadata multi-instance response DTO ([#af86f72](https://github.com/edgexfoundry/go-mod-core-contracts/commits/af86f72)) 210 - **notification:** Add totalCount field into multi-instance response DTOs ([#a61439c](https://github.com/edgexfoundry/go-mod-core-contracts/commits/a61439c)) 211 - **notifications:** Add new notification API route and update TransmissionClient ([#e205b66](https://github.com/edgexfoundry/go-mod-core-contracts/commits/e205b66)) 212 - **scheduler:** Add totalCount field into multi-instance response DTOs ([#e8f11e0](https://github.com/edgexfoundry/go-mod-core-contracts/commits/e8f11e0)) 213 214 ### Bug Fixes 🐛 215 216 - Add missing DBTimestamp for Model To DTO conversion ([#c361e36](https://github.com/edgexfoundry/go-mod-core-contracts/commits/c361e36)) 217 - Update DTO accept empty Id if the name is provided ([#35f1535](https://github.com/edgexfoundry/go-mod-core-contracts/commits/35f1535)) 218 - Fix error message typo ([#a2d58b6](https://github.com/edgexfoundry/go-mod-core-contracts/commits/a2d58b6)) 219 - **data:** Add reading id mapping during conversion ([#fcb12ca](https://github.com/edgexfoundry/go-mod-core-contracts/commits/fcb12ca)) 220 221 ## [v2.0.0] - 2021-06-30 222 ### General 223 - **v2:** Implemented V2 DTOs, Model objects and Clients. 224 - **v1:** Removed v1 APIs and request handling code [e59505e](https://github.com/edgexfoundry/go-mod-core-contracts/commits/e59505e) 225 ### Features ✨ 226 - **v2:** Create Constants for configuration's map key ([#7342969](https://github.com/edgexfoundry/go-mod-core-contracts/commits/7342969)) 227 - **notifications:** Create client library for support-notifications ([#626](https://github.com/edgexfoundry/go-mod-core-contracts/issues/626)) ([#ee4e77d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ee4e77d)) 228 - **SMA:** Prepare new route and DTO for SMA v2 redesign ([#038c30b](https://github.com/edgexfoundry/go-mod-core-contracts/commits/038c30b)) 229 - **SMA:** Add MultiMetricsResponse and MultiConfigsResponse ([#6135065](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6135065)) 230 - **v2:** Implement v2 GeneralClient ([#ec81246](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ec81246)) 231 - **command:** Create v2 client library for core-command ([#e46cefb](https://github.com/edgexfoundry/go-mod-core-contracts/commits/e46cefb)) 232 - **command:** Add parameters field to Core Command ([#939edfe](https://github.com/edgexfoundry/go-mod-core-contracts/commits/939edfe)) 233 - **data:** Add factory methods for AddEventRequest, Event and Reading DTOs ([#00861d0](https://github.com/edgexfoundry/go-mod-core-contracts/commits/00861d0)) 234 - **SMA:** Add HealthResponse for SMA GET health API ([#5a23571](https://github.com/edgexfoundry/go-mod-core-contracts/commits/5a23571)) 235 - **v2:** Added ApiVersion to BaseRequest ([#12e7666](https://github.com/edgexfoundry/go-mod-core-contracts/commits/12e7666)) 236 - **meta:** Add DeviceResourceResponse DTO and API route ([#fc0ca70](https://github.com/edgexfoundry/go-mod-core-contracts/commits/fc0ca70)) 237 - **meta:** Implement the re-designed device profile model ([#540](https://github.com/edgexfoundry/go-mod-core-contracts/issues/540)) ([#1c03d9d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/1c03d9d)) 238 - **meta:** Enhance v2 DeviceServiceCallbackClient ([#df388aa](https://github.com/edgexfoundry/go-mod-core-contracts/commits/df388aa)) 239 - **data:** Add encoding method for AddEventRequest ([#d71b5a3](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d71b5a3)) 240 - **meta:** Rename Resource to SourceName in AutoEvent model ([#0ece284](https://github.com/edgexfoundry/go-mod-core-contracts/commits/0ece284)) 241 - **meta:** Add error type used by device service data transformation ([#076855e](https://github.com/edgexfoundry/go-mod-core-contracts/commits/076855e)) 242 - **notifications:** Return 400 when UpdateSubscription with empty categories, labels ([#1521f71](https://github.com/edgexfoundry/go-mod-core-contracts/commits/1521f71)) 243 - **v2:** Create a common Address struct for v2 API ([#525](https://github.com/edgexfoundry/go-mod-core-contracts/issues/525)) ([#eae89da](https://github.com/edgexfoundry/go-mod-core-contracts/commits/eae89da)) 244 - **data:** Add Origin constant for event and reading v2 API ([#6bf0fec](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6bf0fec)) 245 - **data:** Remove created field from Event and Reading ([#9016fba](https://github.com/edgexfoundry/go-mod-core-contracts/commits/9016fba)) 246 - **v2:** Address add json omitempty and emailAddress struct to DTO ([#6d7c8f1](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6d7c8f1)) 247 - **data:** Add Encode method for EventResponse ([#19b4da6](https://github.com/edgexfoundry/go-mod-core-contracts/commits/19b4da6)) 248 - **data:** Add CBOR support in EventClient for binary reading ([#c13f5d0](https://github.com/edgexfoundry/go-mod-core-contracts/commits/c13f5d0)) 249 - **SMA:** Implement v2 SystemManagementClient ([#7d294dd](https://github.com/edgexfoundry/go-mod-core-contracts/commits/7d294dd)) 250 - **v2:** Add contentType field to Address ([#3adadce](https://github.com/edgexfoundry/go-mod-core-contracts/commits/3adadce)) 251 - **scheduler:** Update IntervalAction to use the common Address ([#81d8f1f](https://github.com/edgexfoundry/go-mod-core-contracts/commits/81d8f1f)) 252 - **data:** Update Add Event route to include SourceName ([#778f72f](https://github.com/edgexfoundry/go-mod-core-contracts/commits/778f72f)) 253 - **v2:** Add factory methods for DeviceRequest DTO ([#6c6dc03](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6c6dc03)) 254 - **v2:** Add factory methods for Request DTO ([#5755a25](https://github.com/edgexfoundry/go-mod-core-contracts/commits/5755a25)) 255 - **v2:** Enhance the DTO's Json and Validate annotation ([#19dc603](https://github.com/edgexfoundry/go-mod-core-contracts/commits/19dc603)) 256 - **command:** Remove commandName constant ([#673266b](https://github.com/edgexfoundry/go-mod-core-contracts/commits/673266b)) 257 - **data:** Implement UnmarshalCBOR for AddEventRequest DTO ([#a85587f](https://github.com/edgexfoundry/go-mod-core-contracts/commits/a85587f)) 258 - **meta:** Add resource map for cache ([#c58f4e6](https://github.com/edgexfoundry/go-mod-core-contracts/commits/c58f4e6)) 259 - **meta:** Assign ApiVersion for each ConvertModelToDTO func ([#99a3cf8](https://github.com/edgexfoundry/go-mod-core-contracts/commits/99a3cf8)) 260 - **meta:** Implement Device Resource Client ([#4ed049f](https://github.com/edgexfoundry/go-mod-core-contracts/commits/4ed049f)) 261 - **meta:** Implement ProvisionWatcherClient ([#098d65f](https://github.com/edgexfoundry/go-mod-core-contracts/commits/098d65f)) 262 - **meta:** Rename ProfileResource to DeviceCommand for v2 Model and DTO ([#d0d059f](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d0d059f)) 263 - **notifications:** Create Subscription DTO and Model ([#6e7f6a6](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6e7f6a6)) 264 - **notifications:** Create Transmission DTO and Model ([#41d5e11](https://github.com/edgexfoundry/go-mod-core-contracts/commits/41d5e11)) 265 - **notifications:** Update Subscription DTO to adopt common Address ([#50867e2](https://github.com/edgexfoundry/go-mod-core-contracts/commits/50867e2)) 266 - **notifications:** Add factory method for Notification DTO ([#b2eac77](https://github.com/edgexfoundry/go-mod-core-contracts/commits/b2eac77)) 267 - **notifications:** Add required const and field for sending service ([#59eaa4a](https://github.com/edgexfoundry/go-mod-core-contracts/commits/59eaa4a)) 268 - **notifications:** Add Notification DTO and Model ([#24aa260](https://github.com/edgexfoundry/go-mod-core-contracts/commits/24aa260)) 269 - **scheduler:** Rename Address field and add interval constant ([#4bf416a](https://github.com/edgexfoundry/go-mod-core-contracts/commits/4bf416a)) 270 - **scheduler:** Create v2 IntervalAction DTO and Model ([#ca1ab36](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ca1ab36)) 271 - **scheduler:** Modify import path for v2 Go Model changes ([#19021e2](https://github.com/edgexfoundry/go-mod-core-contracts/commits/19021e2)) 272 - **scheduler:** Create Interval DTO and Model ([#6a623b8](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6a623b8)) 273 - **scheduler:** Implement Interval and IntervalAction Client ([#cf5ddad](https://github.com/edgexfoundry/go-mod-core-contracts/commits/cf5ddad)) 274 - **v2:** BaseResponse omit empty RequestId and Message ([#f45e548](https://github.com/edgexfoundry/go-mod-core-contracts/commits/f45e548)) 275 - **v2:** Create new ErrKind for Delete API to return 409 ([#5f77921](https://github.com/edgexfoundry/go-mod-core-contracts/commits/5f77921)) 276 - **v2:** Adjust DeviceServiceCommandClient interface by moving baseURL as func param ([#3393ae7](https://github.com/edgexfoundry/go-mod-core-contracts/commits/3393ae7)) 277 - **v2:** Create Mocking Clients for v2 Client Libraries ([#b47bd74](https://github.com/edgexfoundry/go-mod-core-contracts/commits/b47bd74)) 278 - **v2:** Update DeviceServicCommandClient interface to have queryParams ([#76d71ab](https://github.com/edgexfoundry/go-mod-core-contracts/commits/76d71ab)) 279 - **v2:** Add queryParams as part of SetCommand ([#c9200dd](https://github.com/edgexfoundry/go-mod-core-contracts/commits/c9200dd)) 280 - **v2:** Refactor CoreCommand DTO to DeviceCoreCommand ([#d4786e8](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d4786e8)) 281 - **v2:** Put together the constants of the models package ([#7967573](https://github.com/edgexfoundry/go-mod-core-contracts/commits/7967573)) 282 - **v2:** Implement Device Service Command Client ([#b433f68](https://github.com/edgexfoundry/go-mod-core-contracts/commits/b433f68)) 283 - **v2:** Update the API path to /device/name/{name}/{command} ([#ec69e1e](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ec69e1e)) 284 ### Code Refactoring ♻ 285 - **scheduler:** Remove runOnce from the Interval ([#782597b](https://github.com/edgexfoundry/go-mod-core-contracts/commits/782597b)) 286 - **scheduler:** Rename Interval.Frequency field to Interval ([#94fa9ab](https://github.com/edgexfoundry/go-mod-core-contracts/commits/94fa9ab)) 287 - **data:** Rename AutoEvent.Frequency field to Interval ([#a14145b](https://github.com/edgexfoundry/go-mod-core-contracts/commits/a14145b)) 288 - **security:** Removed SecuritySecretsSetupServiceKey ([#38ea8fc](https://github.com/edgexfoundry/go-mod-core-contracts/commits/38ea8fc)) 289 - **v2:** Remove edgex-prefix from all service keys ([#078c96f](https://github.com/edgexfoundry/go-mod-core-contracts/commits/078c96f)) 290 ``` 291 BREAKING CHANGE: 292 Service key names have changed. 293 ``` 294 - **meta:** Rename PropertyValue struct to ResourceProperties ([#aae2b6e](https://github.com/edgexfoundry/go-mod-core-contracts/commits/aae2b6e)) 295 - **v2:** Move all constants to common package ([#d45ecd7](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d45ecd7)) 296 297 <a name="v0.1.149"></a> 298 ## [v0.1.149] - 2021-01-19 299 ### Features ✨ 300 - Update device service v2 api route ([#eda60ea](https://github.com/edgexfoundry/go-mod-core-contracts/commits/eda60ea)) 301 302 <a name="v0.1.147"></a> 303 ## [v0.1.147] - 2021-01-19 304 ### Features ✨ 305 - Enhance v2 validation error message ([#07beb41](https://github.com/edgexfoundry/go-mod-core-contracts/commits/07beb41)) 306 307 <a name="v0.1.146"></a> 308 ## [v0.1.146] - 2021-01-14 309 ### Features ✨ 310 - **meta:** Get profileName & deviceName from req ([#92e4a24](https://github.com/edgexfoundry/go-mod-core-contracts/commits/92e4a24)) 311 - **meta:** Revert to a single AddEventRequest DTO ([#a0c1ddc](https://github.com/edgexfoundry/go-mod-core-contracts/commits/a0c1ddc)) 312 - **meta:** Update v2 API AddEvent path ([#f3d88ad](https://github.com/edgexfoundry/go-mod-core-contracts/commits/f3d88ad)) 313 - **meta:** Complete the EventClient ([#b476394](https://github.com/edgexfoundry/go-mod-core-contracts/commits/b476394)) 314 315 <a name="v0.1.145"></a> 316 ## [v0.1.145] - 2021-01-13 317 ### Features ✨ 318 - **data:** Update AddEvent to use single AddEventRequest DTO ([#6160179](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6160179)) 319 320 <a name="v0.1.144"></a> 321 ## [v0.1.144] - 2021-01-12 322 ### Code Refactoring ♻ 323 - Chnage from plural Secrets to Secret and SecretData ([#0325e96](https://github.com/edgexfoundry/go-mod-core-contracts/commits/0325e96)) 324 325 <a name="v0.1.142"></a> 326 ## [v0.1.142] - 2021-01-08 327 ### Features ✨ 328 - **meta:** Add ReadingClient ([#d87652e](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d87652e)) 329 330 <a name="v0.1.141"></a> 331 ## [v0.1.141] - 2021-01-08 332 ### Features ✨ 333 - **meta:** Add v2 ProvisionWatcher API route ([#f1e1e8b](https://github.com/edgexfoundry/go-mod-core-contracts/commits/f1e1e8b)) 334 335 <a name="v0.1.140"></a> 336 ## [v0.1.140] - 2021-01-08 337 ### Features ✨ 338 - **data:** Update v2 API AddEvent path ([#843dcd9](https://github.com/edgexfoundry/go-mod-core-contracts/commits/843dcd9)) 339 340 <a name="v0.1.139"></a> 341 ## [v0.1.139] - 2021-01-06 342 ### Features ✨ 343 - **meta:** Add RFC3986 validation on name fields ([#b61c297](https://github.com/edgexfoundry/go-mod-core-contracts/commits/b61c297)) 344 - **meta:** Create ProvisionWatcher Model and DTO ([#50cbdd6](https://github.com/edgexfoundry/go-mod-core-contracts/commits/50cbdd6)) 345 346 <a name="v0.1.137"></a> 347 ## [v0.1.137] - 2021-01-04 348 ### Features ✨ 349 - **meta:** Add DeviceServiceClient ([#d0b5ae4](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d0b5ae4)) 350 351 <a name="v0.1.136"></a> 352 ## [v0.1.136] - 2020-12-30 353 ### Features ✨ 354 - Add SecretsRequest DTO ([#5dcdd52](https://github.com/edgexfoundry/go-mod-core-contracts/commits/5dcdd52)) 355 356 <a name="v0.1.135"></a> 357 ## [v0.1.135] - 2020-12-29 358 ### Code Refactoring ♻ 359 - Refactor logging client to remove remote & file options ([#5220a5b](https://github.com/edgexfoundry/go-mod-core-contracts/commits/5220a5b)) 360 361 <a name="v0.1.134"></a> 362 ## [v0.1.134] - 2020-12-29 363 ### Features ✨ 364 - Refactor createRequest method ([#ae795ac](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ae795ac)) 365 - Add device service callback client ([#ed4f318](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ed4f318)) 366 367 <a name="v0.1.133"></a> 368 ## [v0.1.133] - 2020-12-28 369 ### Features ✨ 370 - **meta:** Add v2 DeviceClient ([#d692bb7](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d692bb7)) 371 372 <a name="v0.1.132"></a> 373 ## [v0.1.132] - 2020-12-28 374 ### Features ✨ 375 - **v2:** Implement custom validation tag for RFC3986 unreserved chars ([#4e5601f](https://github.com/edgexfoundry/go-mod-core-contracts/commits/4e5601f)) 376 - **v2:** Implement custom validation tag for RFC3986 unreserved characters ([#fb2b1e2](https://github.com/edgexfoundry/go-mod-core-contracts/commits/fb2b1e2)) 377 378 <a name="v0.1.131"></a> 379 ## [v0.1.131] - 2020-12-16 380 ### Features ✨ 381 - Make valueType case insensitive and covert to camelcase internally ([#7940b1d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/7940b1d)) 382 ### Code Refactoring ♻ 383 - Extract the valueType checking func as validation Tag ([#8b4aa8e](https://github.com/edgexfoundry/go-mod-core-contracts/commits/8b4aa8e)) 384 385 <a name="v0.1.130"></a> 386 ## [v0.1.130] - 2020-12-16 387 ### Features ✨ 388 - **data:** Update core-data v2 API path constants ([#7d41c9d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/7d41c9d)) 389 390 <a name="v0.1.129"></a> 391 ## [v0.1.129] - 2020-12-15 392 ### Features ✨ 393 - **meta:** Implement validation logic for device profile DTO ([#1f27142](https://github.com/edgexfoundry/go-mod-core-contracts/commits/1f27142)) 394 ### Code Refactoring ♻ 395 - **meta:** Use range to iterates element for verifying device profile ([#505e46a](https://github.com/edgexfoundry/go-mod-core-contracts/commits/505e46a)) 396 397 <a name="v0.1.128"></a> 398 ## [v0.1.128] - 2020-12-15 399 ### Features ✨ 400 - **v2 data:** Remove pushed field from Event DTO/Model ([#7a3afce](https://github.com/edgexfoundry/go-mod-core-contracts/commits/7a3afce)) 401 402 <a name="v0.1.127"></a> 403 ## [v0.1.127] - 2020-12-14 404 ### Features ✨ 405 - Refactor GetRequest func to accept request path and params ([#6d5c326](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6d5c326)) 406 - **meta:** Add v2 client for querying device profile ([#db07628](https://github.com/edgexfoundry/go-mod-core-contracts/commits/db07628)) 407 408 <a name="v0.1.126"></a> 409 ## [v0.1.126] - 2020-12-14 410 ### Features ✨ 411 - **meta:** Add v2 client for deleting device profile ([#47fe6c2](https://github.com/edgexfoundry/go-mod-core-contracts/commits/47fe6c2)) 412 413 <a name="v0.1.125"></a> 414 ## [v0.1.125] - 2020-12-13 415 ### Features ✨ 416 - Add formatted alternatives to log functions ([#580458f](https://github.com/edgexfoundry/go-mod-core-contracts/commits/580458f)) 417 - Add support to get current log level ([#2708f24](https://github.com/edgexfoundry/go-mod-core-contracts/commits/2708f24)) 418 419 <a name="v0.1.124"></a> 420 ## [v0.1.124] - 2020-12-11 421 ### Features ✨ 422 - Use require pkg to verify test result ([#c47e45b](https://github.com/edgexfoundry/go-mod-core-contracts/commits/c47e45b)) 423 - **meta:** Add v2 client for uploading device profile in YAML file ([#1b4ca27](https://github.com/edgexfoundry/go-mod-core-contracts/commits/1b4ca27)) 424 ### Code Refactoring ♻ 425 - **meta:** Rename request func and add negative test case ([#98564d9](https://github.com/edgexfoundry/go-mod-core-contracts/commits/98564d9)) 426 427 <a name="v0.1.123"></a> 428 ## [v0.1.123] - 2020-12-09 429 ### Features ✨ 430 - **meta:** Add v2 client for adding, updating device profiles ([#26f7976](https://github.com/edgexfoundry/go-mod-core-contracts/commits/26f7976)) 431 - **meta:** Add v2 client for adding, updating device profiles ([#73165ec](https://github.com/edgexfoundry/go-mod-core-contracts/commits/73165ec)) 432 ### Code Refactoring ♻ 433 - **meta:** Refactor http client helper method ([#0d0ddc5](https://github.com/edgexfoundry/go-mod-core-contracts/commits/0d0ddc5)) 434 - **meta:** v2 Device OperatingState value change ([#f86ad7d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/f86ad7d)) 435 436 <a name="v0.1.122"></a> 437 ## [v0.1.122] - 2020-12-08 438 ### Code Refactoring ♻ 439 - **meta:** Remove unnecessary comments ([#85d4d6a](https://github.com/edgexfoundry/go-mod-core-contracts/commits/85d4d6a)) 440 - **meta:** Remove OperatingState field in DeviceService v2 model ([#617ea87](https://github.com/edgexfoundry/go-mod-core-contracts/commits/617ea87)) 441 442 <a name="v0.1.121"></a> 443 ## [v0.1.121] - 2020-12-04 444 ### Features ✨ 445 - **data:** Remove Labels out of v2 Reading DTO/Model ([#8582742](https://github.com/edgexfoundry/go-mod-core-contracts/commits/8582742)) 446 447 <a name="v0.1.120"></a> 448 ## [v0.1.120] - 2020-12-03 449 ### Features ✨ 450 - **data:** Add profileName to Event DTO and Model ([#3af72c1](https://github.com/edgexfoundry/go-mod-core-contracts/commits/3af72c1)) 451 452 <a name="v0.1.119"></a> 453 ## [v0.1.119] - 2020-12-01 454 ### Code Refactoring ♻ 455 - **v2:** Remove base64 encoding for float value ([#26970d7](https://github.com/edgexfoundry/go-mod-core-contracts/commits/26970d7)) 456 457 <a name="v0.1.118"></a> 458 ## [v0.1.118] - 2020-11-30 459 ### Bug Fixes 🐛 460 - Modify the fields in Reading DTO and Model ([#4aa5c7d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/4aa5c7d)) 461 462 <a name="v0.1.116"></a> 463 ## [v0.1.116] - 2020-11-30 464 ### Features ✨ 465 - Add a new CountResponse to replace EventCountResponse and ReadingCountResponse ([#80998b0](https://github.com/edgexfoundry/go-mod-core-contracts/commits/80998b0)) 466 467 <a name="v0.1.115"></a> 468 ## [v0.1.115] - 2020-11-21 469 ### Features ✨ 470 - **clients:** Implement Add method for v2 EventClient ([#8845bd7](https://github.com/edgexfoundry/go-mod-core-contracts/commits/8845bd7)) 471 472 <a name="v0.1.114"></a> 473 ## [v0.1.114] - 2020-11-19 474 ### Bug Fixes 🐛 475 - Remove error log message when logging set to STDOUT ([#a11423a](https://github.com/edgexfoundry/go-mod-core-contracts/commits/a11423a)) 476 477 <a name="v0.1.113"></a> 478 ## [v0.1.113] - 2020-11-19 479 ### Features ✨ 480 - **clients:** Add v2 CommonClient ([#50f8fed](https://github.com/edgexfoundry/go-mod-core-contracts/commits/50f8fed)) 481 482 <a name="v0.1.112"></a> 483 ## [v0.1.112] - 2020-10-27 484 ### Bug Fixes 🐛 485 - **metadata:** Add validation tag for UpdateDTO ([#38672b8](https://github.com/edgexfoundry/go-mod-core-contracts/commits/38672b8)) 486 487 <a name="v0.1.111"></a> 488 ## [v0.1.111] - 2020-10-23 489 ### Code Refactoring ♻ 490 - Rename constant to match edgex-go funce ([#5ae68de](https://github.com/edgexfoundry/go-mod-core-contracts/commits/5ae68de)) 491 492 <a name="v0.1.110"></a> 493 ## [v0.1.110] - 2020-10-23 494 ### Code Refactoring ♻ 495 - **data:** Modify event and reading v2 API route path ([#f996e27](https://github.com/edgexfoundry/go-mod-core-contracts/commits/f996e27)) 496 497 <a name="v0.1.109"></a> 498 ## [v0.1.109] - 2020-10-20 499 ### Features ✨ 500 - Add ContentTypeXML to clients.constants ([#3050e5e](https://github.com/edgexfoundry/go-mod-core-contracts/commits/3050e5e)) 501 502 <a name="v0.1.108"></a> 503 ## [v0.1.108] - 2020-10-20 504 ### Code Refactoring ♻ 505 - Remove all ResponseNoMessage funcs in v2 ([#c01bdb9](https://github.com/edgexfoundry/go-mod-core-contracts/commits/c01bdb9)) 506 507 <a name="v0.1.106"></a> 508 ## [v0.1.106] - 2020-10-20 509 ### Features ✨ 510 - **v2:** Update DTOs for UpdateEventPushed ([#cbe9a46](https://github.com/edgexfoundry/go-mod-core-contracts/commits/cbe9a46)) 511 512 <a name="v0.1.105"></a> 513 ## [v0.1.105] - 2020-10-19 514 ### Bug Fixes 🐛 515 - Replace broken link in pull request template ([#e304680](https://github.com/edgexfoundry/go-mod-core-contracts/commits/e304680)) 516 517 <a name="v0.1.104"></a> 518 ## [v0.1.104] - 2020-10-19 519 ### Features ✨ 520 - Add constant for Redis bootstrap ([#ba4de2a](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ba4de2a)) 521 522 <a name="v0.1.103"></a> 523 ## [v0.1.103] - 2020-10-19 524 ### Features ✨ 525 - **metadata:** Add label constant for redis key ([#0a8b18e](https://github.com/edgexfoundry/go-mod-core-contracts/commits/0a8b18e)) 526 527 <a name="v0.1.102"></a> 528 ## [v0.1.102] - 2020-10-19 529 ### Features ✨ 530 - **metadata:** Add API route path for device ([#ac01b7b](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ac01b7b)) 531 532 <a name="v0.1.101"></a> 533 ## [v0.1.101] - 2020-10-19 534 ### Features ✨ 535 - Add more constants core-data and metadatai ([#ba17f5c](https://github.com/edgexfoundry/go-mod-core-contracts/commits/ba17f5c)) 536 537 <a name="v0.1.100"></a> 538 ## [v0.1.100] - 2020-10-14 539 ### Features ✨ 540 - **v2:** Add new constant for comma separator to split labels ([#d6824fd](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d6824fd)) 541 542 <a name="v0.1.99"></a> 543 ## [v0.1.99] - 2020-10-14 544 ### Features ✨ 545 - **v2:** Add new constants and default value for offset, limit, and labels ([#9368c2f](https://github.com/edgexfoundry/go-mod-core-contracts/commits/9368c2f)) 546 547 <a name="v0.1.98"></a> 548 ## [v0.1.98] - 2020-10-14 549 ### Features ✨ 550 - **v2:** Add new error kind for indicating requested range not satisfiable ([#23ef20d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/23ef20d)) 551 552 <a name="v0.1.97"></a> 553 ## [v0.1.97] - 2020-10-12 554 ### Features ✨ 555 - **v2:** Add new Response DTOs to return an array of objects ([#b203258](https://github.com/edgexfoundry/go-mod-core-contracts/commits/b203258)) 556 557 <a name="v0.1.96"></a> 558 ## [v0.1.96] - 2020-10-12 559 ### Bug Fixes 🐛 560 - Rename deviceId to deviceName from Event DTO ([#da55c3b](https://github.com/edgexfoundry/go-mod-core-contracts/commits/da55c3b)) 561 562 <a name="v0.1.95"></a> 563 ## [v0.1.95] - 2020-10-12 564 ### Bug Fixes 🐛 565 - Replace ID to Id in v2 ([#24f5622](https://github.com/edgexfoundry/go-mod-core-contracts/commits/24f5622)) 566 567 <a name="v0.1.94"></a> 568 ## [v0.1.94] - 2020-10-09 569 ### Features ✨ 570 - **metadata:** Modified deviceProfile DTO to support PUT API ([#cadcd80](https://github.com/edgexfoundry/go-mod-core-contracts/commits/cadcd80)) 571 572 <a name="v0.1.93"></a> 573 ## [v0.1.93] - 2020-10-08 574 ### Features ✨ 575 - **metadata:** Add API route path for device service ([#b736a93](https://github.com/edgexfoundry/go-mod-core-contracts/commits/b736a93)) 576 577 <a name="v0.1.91"></a> 578 ## [v0.1.91] - 2020-10-07 579 ### Features ✨ 580 - **metadata:** Add API route path for device profile ([#bc90a46](https://github.com/edgexfoundry/go-mod-core-contracts/commits/bc90a46)) 581 582 <a name="v0.1.89"></a> 583 ## [v0.1.89] - 2020-10-01 584 ### Bug Fixes 🐛 585 - **metadata:** Add Id field to DTO Model transform func ([#8c13419](https://github.com/edgexfoundry/go-mod-core-contracts/commits/8c13419)) 586 587 <a name="v0.1.88"></a> 588 ## [v0.1.88] - 2020-10-01 589 ### Bug Fixes 🐛 590 - **notifications:** Add ContentType to client struct ([#f9360e8](https://github.com/edgexfoundry/go-mod-core-contracts/commits/f9360e8)) 591 592 <a name="v0.1.86"></a> 593 ## [v0.1.86] - 2020-09-30 594 ### Features ✨ 595 - **metadata:** Add func to transform the deviceProfile model to DTO ([#da904d6](https://github.com/edgexfoundry/go-mod-core-contracts/commits/da904d6)) 596 597 <a name="v0.1.84"></a> 598 ## [v0.1.84] - 2020-09-25 599 ### Features ✨ 600 - Add new error types for device SDK v2 API ([#eea4301](https://github.com/edgexfoundry/go-mod-core-contracts/commits/eea4301)) 601 602 <a name="v0.1.82"></a> 603 ## [v0.1.82] - 2020-09-22 604 ### Fix 605 - Error msg should return first non-empty msg ([#b21f5c8](https://github.com/edgexfoundry/go-mod-core-contracts/commits/b21f5c8)) 606 607 <a name="v0.1.81"></a> 608 ## [v0.1.81] - 2020-09-22 609 ### Features ✨ 610 - **metadata:** Add API route path for metadata v2 API ([#cbead72](https://github.com/edgexfoundry/go-mod-core-contracts/commits/cbead72)) 611 612 <a name="v0.1.78"></a> 613 ## [v0.1.78] - 2020-09-11 614 ### Features ✨ 615 - New error mechanism for v2 API ([#35b6e46](https://github.com/edgexfoundry/go-mod-core-contracts/commits/35b6e46)) 616 ### Code Refactoring ♻ 617 - Use int for statusCode instead of uint16 ([#5c2b418](https://github.com/edgexfoundry/go-mod-core-contracts/commits/5c2b418)) 618 619 <a name="v0.1.77"></a> 620 ## [v0.1.77] - 2020-09-09 621 ### Bug Fixes 🐛 622 - RequestId in v2 API can be empty or uuid ([#d723a17](https://github.com/edgexfoundry/go-mod-core-contracts/commits/d723a17)) 623 624 <a name="v0.1.76"></a> 625 ## [v0.1.76] - 2020-09-09 626 ### Bug Fixes 🐛 627 - Don't in-line `Metrics` property on MetricsResponse so that it matches swagger ([#267d3ce](https://github.com/edgexfoundry/go-mod-core-contracts/commits/267d3ce)) 628 629 <a name="v0.1.75"></a> 630 ## [v0.1.75] - 2020-09-04 631 ### Bug Fixes 🐛 632 - Provided custom XML marshaling of Event ([#64c3076](https://github.com/edgexfoundry/go-mod-core-contracts/commits/64c3076)) 633 634 <a name="v0.1.74"></a> 635 ## [v0.1.74] - 2020-09-01 636 ### Features ✨ 637 - Add Tags to V1 Event's UnmarshalJSON ([#570feb4](https://github.com/edgexfoundry/go-mod-core-contracts/commits/570feb4)) 638 - Add `Tags` field to V1 Event model and v2 Event DTO and model ([#f295970](https://github.com/edgexfoundry/go-mod-core-contracts/commits/f295970)) 639 640 <a name="v0.1.72"></a> 641 ## [v0.1.72] - 2020-08-18 642 ### Features ✨ 643 - Add Reading DTO ValueType value validation ([#9dedf25](https://github.com/edgexfoundry/go-mod-core-contracts/commits/9dedf25)) 644 645 <a name="v0.1.71"></a> 646 ## [v0.1.71] - 2020-08-17 647 ### Features ✨ 648 - **metadata:** Add Versionable to v2 Response DTO ([#7a8de45](https://github.com/edgexfoundry/go-mod-core-contracts/commits/7a8de45)) 649 650 <a name="v0.1.70"></a> 651 ## [v0.1.70] - 2020-08-14 652 ### Features ✨ 653 - **metadata:** Create metadata updating DTOs ([#f8d5fa6](https://github.com/edgexfoundry/go-mod-core-contracts/commits/f8d5fa6)) 654 655 <a name="v0.1.68"></a> 656 ## [v0.1.68] - 2020-08-06 657 ### Refactor 658 - Improve Reading field accessibility ([#59edc6d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/59edc6d)) 659 660 <a name="v0.1.67"></a> 661 ## [v0.1.67] - 2020-08-05 662 ### Features ✨ 663 - **metadata:** Create metadata DTOs and models for v2 API ([#37282b2](https://github.com/edgexfoundry/go-mod-core-contracts/commits/37282b2)) 664 665 <a name="v0.1.66"></a> 666 ## [v0.1.66] - 2020-08-04 667 ### Features ✨ 668 - Update common Response DTOs (Add factory method & remove BaseResponse) ([#98665c9](https://github.com/edgexfoundry/go-mod-core-contracts/commits/98665c9)) 669 ### Fixed 670 - [#256](https://github.com/edgexfoundry/go-mod-core-contracts/issues/256) SMA agent operation api 404 not found ([#fac8a9e](https://github.com/edgexfoundry/go-mod-core-contracts/commits/fac8a9e)) 671 672 <a name="v0.1.65"></a> 673 ## [v0.1.65] - 2020-07-20 674 ### Features ✨ 675 - Add func to convert event and reading from model to DTO ([#2d40e57](https://github.com/edgexfoundry/go-mod-core-contracts/commits/2d40e57)) 676 - Add API version for v2 DTO ([#3c79dc8](https://github.com/edgexfoundry/go-mod-core-contracts/commits/3c79dc8)) 677 678 <a name="v0.1.64"></a> 679 ## [v0.1.64] - 2020-07-10 680 ### Code Refactoring ♻ 681 - Rename device field to deviceName in v2 CoreData DTO and Model In Event and Reading, there is a device field. According to Core WG meeting on July 9th 2020, we need to rename to deviceName to make it explicit. Fix: [#251](https://github.com/edgexfoundry/go-mod-core-contracts/issues/251) ([#6fb5b16](https://github.com/edgexfoundry/go-mod-core-contracts/commits/6fb5b16)) 682 683 <a name="v0.1.63"></a> 684 ## [v0.1.63] - 2020-07-08 685 ### Code Refactoring ♻ 686 - Remove Retry UrlClient ([#1df9e1d](https://github.com/edgexfoundry/go-mod-core-contracts/commits/1df9e1d)) 687 688 <a name="v0.1.60"></a> 689 ## [v0.1.60] - 2020-06-22 690 ### Features ✨ 691 - Normalize reading's valueType letter case Since Go DS and C DS send reading with different letter cases, we should normalize the valueType to make it consistent. ([#e04bdb8](https://github.com/edgexfoundry/go-mod-core-contracts/commits/e04bdb8)) 692 693 <a name="v0.1.36"></a> 694 ## [v0.1.36] - 2019-12-13 695 ### Bug 696 - **modules:** Add missing yaml attribue to PropertyValue.MediaType ([#e9879d5](https://github.com/edgexfoundry/go-mod-core-contracts/commits/e9879d5)) 697 698 <a name="v0.1.32"></a> 699 ## [v0.1.32] - 2019-10-22 700 ### Reverts 701 - Add Parameters field to models.Operations struct