Releases: microsoft/fhir-server
Releases · microsoft/fhir-server
4.0.611
4.0.607
Changes:
- f9bebe9 Check AadSmartProxy for well-known/smart-configuration (#5292)
- 4416b2d Simplify generated SQL by removing "predecessorTable" alias (#5295)
- e983a9a Remove parameters hash from sql query hash calculation (#5294)
- d4defe0 Block update or delete of system defined search parameters. (#5288)
- cc4de9a Changes to include Structure Definition version in canonical URL (#5280)
- 407da35 Pin Microsoft Graph modules to version 2.33.0 to address compatibility issues with PowerShell 5.1 (#5289)
- e15c612 Removing validate search parameter hash from ReindexProcessingJob (#5286)
- c51f173 Increase coverage for Fhir.Core across versions (#5277)
This list of changes was auto generated.
4.0.599
Changes:
This list of changes was auto generated.
4.0.598
What's Changed
Azure Health Data Services (SQL)
- Fix search with include and sort by @LTA-Thinking in #5242: When executing a search request with _include or _revinclude, if there are more than the _includesCount number of matched items, an include continuation link is provided, allowing you to navigate the complete result set. Previously, this particular functionality had some bugs when it was used in conjunction with _sort. The following issues have been fixed:
- Sorting by lastUpdated (descending): Included resources were missing from the bundle, and no include continuation token was returned. This issue has been fixed; included resources and the include continuation token are now returned correctly.
- Sorting by any other field: If enough results existed to fill a page, it triggered a 500 error. This issue has been fixed, and all results are returned correctly.
- Partial page with sort value: If matched results didn't fill a page but generated an include continuation token, that token was lost during the second search for non-sort matches. This issue has been fixed, and the include continuation token is returned correctly.
- Include continuation link with _sort: The search retrieved data for both matches with and without the sort field, regardless of which type generated the token. This issue has been fixed, and data is retrieved for the correct match.
Common to both Azure API for FHIR and Azure Health Data Services
- Adding SMART v2 fields to SMART configuration. by @v-isyamauchi-gh in #5220: Updated .well-known/smart-configuration endpoint to support SMART v2: Updated fields in the .well-known/smart-configuration endpoint with all SMART v2 required and recommended fields. Note: This affects both SMART v1 and v2. Some existing fields have been updated, including
authorization_endpoint(previouslyauthorizationEndpoint,token_endpoint(previouslytokenEndpoint). New fields have been added, includinggrant_types_supported,token_endpoint_auth_methods_supported,scopes_supported,response_types_supported. - Fixing 500 error due to an invalid input url for import. by @v-isyamauchi-gh in #5255: Bug fix for $import error: Previously, using $import with a relative URL could return a 500 Internal Server Error stating "This operation is not supported for a relative URI". This issue has been fixed, and now, a relative URL can be used as the input URL.
- Refactoring authorization code for SMART v2. by @v-isyamauchi-gh in #5248: Refactoring SMART v2 code to move all SMART v2-related authorization code to one place.
- Add tests to improve R4.Core tests coverage by @rbans96 in #5260
- Reindex core fixes and test enhancements by @jestradaMS in #5264: Reindex infrastructure improvements, ensuring more robust handling of search parameter updates, improving job orchestration for reindexing, and addressing concurrency and cancellation scenarios.
- Strengthen error handing in post search by @LTA-Thinking in #5267
Other Changes
- Fix over locking in dequeue job stored procedure by @SergeyGaluzo in #5256
- Adding pr-cleanup-pipeline for async resource cleanup per PR by @jestradaMS in #5259
- Removing Cleanup stage from pr-pipeline.yml by @jestradaMS in #5261
- Add Retry functionality to xUnit by @jestradaMS in #5263
- Updates to improve PR infrastructure deployment stability by @jestradaMS in #5262
- Adding UniqueResourceGroupName to CI variables for tests by @jestradaMS in #5271
- Update CI Deploy pipeline by @jestradaMS in #5273
- Code coverage improvement for R4 API. by @v-isyamauchi-gh in #5270
- Add retry logic for provisioning tasks to handle transient errors by @jestradaMS in #5276
Full Changelog: release/4.0.582...release/4.0.598
4.0.582
What's Changed
Azure Health Data Services (SQL)
- Merge hotfix to retain history if only meta is updated via PATCH by @rbans96 in #5253: Resolved issue where metadata-only updates made via PATCH incremented the resource version without preserving the previous version. This issue was resolved on December 1, 2025.
Full Changelog: release/4.0.581...release/4.0.582
4.0.581
What's Changed
Azure Health Data Services (SQL)
- Changes to upsert searchparameter by @paorodma-ms in #5243: Added support for PUT requests to allow creation of a resource if it doesn't exist.
- Smart v2 - Inc & RevInc searches by @apurvabhaleMS in #5224: Enabled support for _include and _revinclude searches when using SMART v2 granular scopes.
- Fix log meesage for if read only connection or not by @rbans96 in #5246
Common to both Azure API for FHIR and Azure Health Data Services
- Ignore cid-0 by @brendankowitz in #5221
- Adding a support for 'context' parameter. by @v-isyamauchi-gh in #5211: Added support for "context" parameter for $expand operation for US Core 6 IG support
- Add FHIR Server Instance Configuration by @jestradaMS in #5226
- Updated the DOTNET SDK to latest by @v-rachitsh in #5238
Other Changes
- Fix build issues by @LTA-Thinking in #5239
Full Changelog: release/4.0.573...release/4.0.581
4.0.573
What's Changed
Azure Health Data Services (SQL)
- Compartment rewriter to use requested resource types list by @apurvabhaleMS in #5206
- Disallow job creation after cancellation by @LTA-Thinking in #5222
Common to both Azure API for FHIR and Azure Health Data Services
- Fix reindex job processing and error handling by @jestradaMS in #5225: Improved error handling, internationalization, and robustness in the reindex job orchestration logic
Full Changelog: release/4.0.570...release/4.0.573
4.0.570
What's Changed
Azure Health Data Services (SQL)
- Remove raw resource from log by @LTA-Thinking in #5212: Remove raw resource data from logs.
- Add silent meta update by @LTA-Thinking in #5144: Introduced new query parameter "_meta-history" for PUT updates that allows changes that only update metadata fields to happen without adding a historical version. "_meta-history = true" is the default and creates a historical version if metadata is changed. _meta-history=false will not record a historical version, but version id and last updated time will still change.
- Remove n-square problem and fix collation by @SergeyGaluzo in #5223: Optimized query performance by eliminating an n² complexity issue and corrected inconsistent collation handling for Token-String composite search parameters, fixing previous mismatches in searches involving supplementary characters.
Common to both Azure API for FHIR and Azure Health Data Services
- Fix content type error format by @LTA-Thinking in #5207: Previously, when using an incorrect content-type with POST search, the error returned was plain text error message. This has been enhanced to return error message "Rejecting POST with invalid Content-Type." along with a OperationOutcome response that will provide more details on the error.
- [Bundles] Stale operations checks by @fhibf in #5203: Added validation to check for stale Bundle Orchestrator Operations in memory.
- [Bundle] In-memory operations are cleaned in case of failures by @fhibf in #5217: Ensure in-memory operations are cleaned in case of failures.
- Work around for Entra ID not allowing / character by @feordin in #5213: Implemented a workaround for Entra ID restrictions on "/" character in SMART v2 scopes, by allowing the use of "%2f" to replace "/".
- Handle SMART scopes in OpenIdDict eventhandler vs. loading to EF memory by @jestradaMS in #5219: Streamlines SMART scope handling by registering only base scopes and dynamically validating clinical scopes during authorization, improving performance and maintainability. This only impacts development mode, not release/production.
Documentation
Full Changelog: release/4.0.561...release/4.0.570
4.0.561
What's Changed
Azure Health Data Services (SQL)
- Add architectural doc for duplicated clinical notes by @feordin in #5052
- Reindex updates for zeroCountParams and PendingDelete by @jestradaMS in #5205: Reindex improvements: Updates to reindex, including more robust loading of soft-deleted search parameters, better logging, and performance improvements in filtering and status updates.
Full Changelog: release/4.0.559...release/4.0.561
4.0.559
What's Changed
Azure Health Data Services (SQL)
- Remove second hash from includes by @SergeyGaluzo in #5202: Removed second hash from include/revinclude query part to allow for caching query plan. For simple include/revinclude queries, this helps reduce total compliation time on subsequent executions.
- Index LastUpdated in SearchParam and set BG sync to 20 seconds by @jestradaMS in #5198: Enhancements to timing for caching updates, improving custom search parameter performance
Common to both Azure API for FHIR and Azure Health Data Services: Update new SQL schema version to v98 and added an index to improve search parameter performance.
- Exclude non business logic files from test coverage by @apurvabhaleMS in #5197
- Report test coverage for Unit tests and Integration tests by @apurvabhaleMS in #5201
- Insert into temp table only for include and revinclude searches by @apurvabhaleMS in #5209
Other Changes
Package Updates
- Bump Microsoft.Extensions.TimeProvider.Testing to 9.4.0 by @dependabot[bot] in #4945
Full Changelog: release/4.0.552...release/4.0.559