IPF 6.1 Migration Guide
IPF 6.1 is a compatible release on top of IPF 6.0 with no environment changes (Java 17 baseline and tested on JDK 21 and 25). Dependencies are refreshed: Apache Camel 4.22.3 (LTS), Spring Boot 4.1.3, HAPI FHIR 9.0.0, Micrometer Tracing 1.7.3.
What to check
- HAPI FHIR 9.0.0. IPF itself needed no changes for the new HAPI FHIR major version, but if you use the HAPI FHIR API directly (custom resource providers, interceptors, validation support, JPA server), check your code against the HAPI FHIR 9.0 release notes.
- HL7v2 trace context propagation is opt-in again (#529).
If you rely on the
ZTRsegment introduced in IPF 6.0, enable it per MLLP producer endpoint withpropagateTraceContext=true. MLLP consumers remove theZTRsegment after reading the trace context and before validation, as IPF 5 did. If your route needs to see the segment, setremoveTraceContext=falseon the consumer endpoint. - FHIR servlet names must be unique. Default resource providers are no longer JVM-wide singletons but exist once
per FHIR servlet. Registering two servlets with the same name fails; if you run more than one FHIR servlet, assign
the consumer endpoints with
servletName. See servletName and fhirRegistry. - Custom FHIR transactions should pass a resource provider factory (e.g.
() -> List.of(new MyResourceProvider())) to theFhirTransactionConfigurationconstructor. The constructors taking provider instances,BatchTransactionResourceProvider.getInstance()andFhirComponent.connect()/disconnect()are deprecated. - ITI-18
FindDocumentsExcludefollows the final text of CP-ITI-1323 (#532). IPF 5.3 implemented this stored query as a preview of the CP. The final CP doesn’t define the$XDSDocumentEntryReferenceIdListand$XDSDocumentEntryReferenceIdListExcludeparameters for this query, so they are no longer supported.FindDocumentsExcludeQuery.getReferenceIds()/getExcludedReferenceIds()(and their setters) andQueryParameter.DOC_ENTRY_REFERENCE_IDS_EXCLUDEare removed. A query that combines a parameter with its excluding counterpart (e.g.$XDSDocumentEntryClassCodeand$XDSDocumentEntryClassCodeExclude) is now rejected withXDSRegistryErrorinstead ofXDSStoredQueryParamNumber. - JAXB type converters reject DOCTYPE declarations in HL7v3 and SVS XML (#516).
XmlUtils.renderJaxb()andXmlUtils.serialize()are deprecated in favor ofXmlUtils.marshal().
New features
- Simplified HL7v3 models and Camel type converters for ITI-44, ITI-46, ITI-47 and ITI-55, see HL7v3 message types.
- Injectable
FhirRegistryfor FHIR servlets and consumer endpoints (#531), used by the IPF Spring Boot FHIR starter. See servletName and fhirRegistry. - The XDS
SubmissionSetsupports thereferenceIdListattribute (SubmissionSet.getReferenceIdList()), following CP-ITI-817 (#532). The validator accepts the slot only for XDR and XDM (ITI-41) and rejects it for all other profiles.
Fixes
- Reading XML schemas from nested JARs (e.g. Spring Boot fat JARs) works again (#528). Thanks to qligier for providing the fix.
- URI schemes and URN namespace identifiers are compared case-insensitively (#526).
- Regular expressions prone to excessive backtracking (syslog structured data parsing in the audit receiver,
XmlUtils.rootElementName(), XDS stored query list validation) were fixed, and Guava, OpenTelemetry and snappy-java were upgraded to address security advisories (#533). - Empty mapping files (XML, YAML) without mapping elements are accepted, e.g. as valid placeholder files.
- The Spring Boot starters contain their configuration metadata (
META-INF/spring-configuration-metadata.json) again, so IDEs offer completion and documentation for theipf.*application properties.