Releases: openmhealth/schemas
v1.2.1
v1.2.0
This is a major release that is recommended for all users.
- Adds SDK support for
omh:geoposition:1.0
which represents a geographic positionomh:plane-angle-unit-value:1.0
, which represents an angle of arcomh:positioning-system:1.0
, which represents different geopositioning systemsomh:calories-burned:2.0
, which requires a time interval effective time frame and adds descriptive statistic denominator support- unit value factory methods for all units
v1.1.0
This is a major release that is recommended for all users.
-
Adds SDK support for
omh:body-mass-index:2.0
, which changes the BMI unit tokg/m^2
and requires an effective time frameomh:heart-rate:1.1
, which adds atemporal-relationship-to-sleep
propertyomh:sleep-duration:2.0
, which requires a time interval effective time frame and adds descriptive statistic denominator supportomh:sleep-episode:1.0
, a new schema that captures more information about sleep episodes beyond durationomh:step-count:2.0
, which requires a time interval effective time frame and adds descriptive statistic denominator support
-
Upgrades to Gradle 4.1 for faster builds
-
Turns on deprecation and unchecked compiler warnings for more robust code
Migration notes
In order to support multiple versions of the same measure class, each class corresponding to a 2.x schema has been renamed; the suffix 1
has been added to the old class name, and the new class has a 2
suffix. While this is technically a breaking change, the migration path is to extend any 1
class you were using and remove the suffix from the child class name, e.g. class SleepDuration extends SleepDuration1
. This should make your code compile again. Should you wish to start using version 2, you can then change the parent class to the new version.
v1.0.6
This is a minor release that is recommended for all users.
- Adds a free-form measure type to facilitate programmatic measure construction
- Updates additional property support to allow path-based property setting
- Makes schema namespace and name patterns public for use by validation code
v1.0.5
v1.0.4
This is a minor release recommended for all users.
- Adds SDK support for
- Updates the omh:physical-activity domain object from version 1.0 to 1.2, which supports calories burned.
- Fixes a misconfiguration in Jackson which was normalizing deserialized dates into UTC instead of preserving their offsets.
v1.0.3
v1.0.2
A minor update recommended for all users of the Java schema SDK.
- add missing default constructors required by persistence of serialization
- fix #3
- add TestNG integration to the build process to validate all test files
Travis integration was also enabled to easily see the build and test status of the SDK.