Skip to content

v0.6.1: Java Maven Jar and Python Performance Fixes

Compare
Choose a tag to compare
@nickgeorge nickgeorge released this 07 Oct 19:56
· 689 commits to master since this release

This release adds two minor patch improvements: A Java Maven jar, and performance improvements for python json_format.

Java Maven Jar

With this release, the R4 protos and several utilities are made available as a Java binary on Google's Maven repository. For examples on how to use this, see the FhirExamples repo.

The binary can be added as a dependency by adding the following to your build.gradle file if your project uses Gradle:

repositories {
    maven {
        google()
    }
}
dependencies {
    implementation 'com.google.fhir:r4:0.6.1'
}

If your project uses Maven instead of Gradle, ensure https://maven.google.com is in your repositories configuration and then add the following dependency to your pom.xml:

<dependencies>
  <dependency>
    <groupId>com.google.fhir</groupId>
    <artifactId>r4</artifactId>
    <version>0.6.1</version>
  </dependency>
</dependencies>

Python Performance Fix

We noticed that a lot of redundant work was being done to dynamically construct message definitions. These are now properly cached, resulting in a big performance improvement to parsing FHIR JSON to FhirProto.