What's Changed
Azure API for FHIR (Cosmos)
- Enhanced the logging for Cosmos query diagnostics and added exception catching. By @mikaelweave in #4933
Common to both Azure API for FHIR and Azure Health Data Services
- Added validation on the resource type with wrong casing for READ operations (e.g. GET /patient/ instead of GET /Patient/). In the past, a request with the wrong casing resource type was causing 500 status code (InternalServerError) for Azure Health Data Services (SQL) and a 400 status code (ResourceNotFound) in API for FHIR (CosmosDB). After this change, a request with the wrong casing resource type will be rejected with 400 status code (ResourceNotSupported) as the resource type in any request should be validated in the case-sensitive manner. This will be in effect for both Azure Health Data Services and API for FHIR. By @tarunmathew12 in #4890
Package Updates
- Update MediatR to 12.5.0 by @mikaelweave in #4934
Full Changelog: release/4.0.395...release/4.0.398