4.2.0
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 toissubclass(field_type, FHIRDate)
. - The new classes have
.datetime
or.time
fields as appropriate, but
a.date
alias exists to ease the transition.
- If you were examining field types with
- 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
andinstant
fields no longer raise a validation error
by @mikix in #164
New Contributors
- @armaghan-behlum made their first contribution in #133
- @dogversioning made their first contribution in #154
- @lere01 made their first contribution in #109
- @martinburchell made their first contribution in #105
- @mikix made their first contribution in #149
- @mnitchie made their first contribution in #93
- @mzbik made their first contribution in #150
- @RileyMShea made their first contribution in #83
- @timharsch made their first contribution in #128
Full Changelog: v4.1.0...v4.2.0