- Fix problem with typescript httpFor
- Update node LTS requirement
- Use node-abort-controller due to a problem with CRA (Create React App) 5+
- Update dependencies
- Update dependencies
- Add support for conditional update
- Address potential URL injection
- Update typescript definitions
- Add support for per-request signing (used by AWS HealthLake) thanks @ericfuxealth and @sdhakal-xealth!
- Export CapabilityTool
- Officially drop support for Node 10
- Security updates
- Fix a few problems with typescript definitions
- Change to GH actions
- Allow for longer FHIR ids (some systems use ids over 64)
- Downgrade debug so it works in old IE (for Epic and other citrix-based EHRs)
- Fix typescript interface for smart metadata
- Introduce typescript support
- A few library version bumps
- Minor updates
- Update to use correct mime-type (thanks @oliveregger)
- Update examples (human name)(thanks @oliveregger)
- Fixed logging headers (thanks @jpnarkinsky and @awatson1978)
- Updates SMART auth to not use set headers the deprecated way
- Remove flatted
- Add new client.request method to create request directly
- Fix a bug where console.dir was not working with react native. NOTE: We will finally remove deprecation warnings and migrate to the new API in 1.7.0.
- Update a dep in the examples
- Fix a bug with headers when calling smart auth
- Add support for .well-known (fetching SMART URIs)
- Remove require url, as we are on node 10+ now
- Add content-type default header if missing (fixes #129)
- Update dependencies
- Add support for operations
- Drop support for node 8
- Remove universal-url
- Update dependencies
- Update README
- Update dependencies to address audit
- Replace request with cross-fetch for better client support
- Update npm packages
- Update server example output
- Refactor HttpClient
- Add test for minimial response
- Add test for setting TLS options (key, cert)
- Fix code coverage tool
- Better KeepAlive support
- NOTE: Breaking Change: replaced
Client.requestFor()
function for accessing raw HTTP objects withClient.httpFor()
which returns an object containing both the request and the response.
- Add requestOptions (can be used to set cert/key/ca, etc) (thanks @sulkaharo)
- Expose the raw http response object (thanks @sulkaharo)
- Add support for POST searches
- Fix null pointer exception (thanks @yinzara )
- Use
request
errors to avoid throwing errors with no message (#99)
-
Refactor parameters to replace
headers
withoptions
. Use of theheaders
parameter is now DEPRECATED.Old style (DEPRECATED):
client.read({ resourceType: 'Patient', id: '123', headers: { CustomHeader: 'ABC' } });
New style:
client.read({ resourceType: 'Patient', id: '123', options: { headers: { CustomHeader: 'ABC' } } })
- Improve error handling in
search
method
- Add missing
request
dependency