Releases: smart-on-fhir/client-py
Releases · smart-on-fhir/client-py
4.3.0
Changes
- Support for Python 3.8 has been dropped, as it is now end-of-life.
- Add pagination functionality to
FHIRSearch
by @LanaNYC in #169 and #174- This adds two new methods:
FHIRSearch.perform_iter
andFHIRSearch.perform_resources_iter
, which automatically handle the pagination for you. - It changes
FHIRSearch.perform_resources
to handle pagination behind the scenes, so you don't miss out on any resources. But in order to avoid breaking the API for current users, it does keep them all in memory at once. - It deprecates the previous versions of those methods (
perform
which has no pagination, andperform_resources
which now keeps everything in memory)
- This adds two new methods:
Improvements
New Contributors
Full Changelog: v4.2.0...v4.3.0
v4.2.1
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
Release v4.1.0
Installation
pip install fhirclient==4.1.0
What's Changed
- Fix request header overwrite by @BrianKolowitz in #66
- Add include method to FHIRSearch objects by @abjonnes in #52
- Bump jinja2 from 2.7.3 to 2.11.3 by @dependabot in #97
- Add authorize for system app by @ducu in #117
- Prepare release version 4.1.0 by @ducu in #125
New Contributors
- @BrianKolowitz made their first contribution in #66
- @dependabot made their first contribution in #97
- @ducu made their first contribution in #117
Full Changelog: v4.0.0...v4.1.0