Skip to content

4.2.0

Compare
Choose a tag to compare
@mikix mikix released this 23 Jul 13:35
· 14 commits to main since this release
796ffa6

Changes

  • This release drops support for all currently end-of-life Python versions
    (i.e. this release only supports 3.8 and above)
  • FHIRDate is no longer a single catch-all for the four date & time fields in FHIR.
    Now there are also FHIRDateTime, FHIRInstant, and FHIRTime classes, all of which
    inherit from FHIRDate to ease the transition.
    • If you were examining field types with field_type is FHIRDate before,
      change your code to issubclass(field_type, FHIRDate).
    • The new classes have .datetime or .time fields as appropriate, but
      a .date alias exists to ease the transition.
  • The dependency on isodate has been removed.

Improvements

  • Regenerate models from FHIR 4.0.1 (instead of 4.0.0) by @mikix in #149
  • Add ability to use JWT tokens for auth by @armaghan-behlum in #133
  • Detect oauth2 mode even if there's no authorize_uri by @mikix in #135
  • FHIR time fields are now parsed correctly by @mikix in #164

Fixes

  • Fix reauthorization to work beyond the first time by @timharsch in #128
  • Fix FHIRServer.request_data() to work at all by @timharsch in #130
  • Fix create() method for Bundle type transaction/batch by @martinburchell in #105
  • Stop injecting models into the Python modules list by @mzbik in #151
  • Use more entropy when generating auth tokens by @mnitchie in #93
  • Leap seconds in datetime and instant fields no longer raise a validation error
    by @mikix in #164

New Contributors

Full Changelog: v4.1.0...v4.2.0