Skip to content

Commit

Permalink
release: v0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Flix committed Aug 18, 2024
1 parent d7dd17f commit adf123e
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 12 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@

All notable changes to this project will be documented in this file.

## [0.14.0] - 2024-08-18

### Bug Fixes

- Fix feature specific build errors
- Add source impls to errors

### Features

- [**breaking**] By default, clients reject different major FHIR versions and different URL origins. This can be allowed through flags in the `ClientBuilder`.
- Allow sending custom HTTP requests
- Add and implement AnyResource trait for all resources
- Implement custom search request

### Refactor

- [**breaking**] Remove code duplication across FHIR versions
- This requires the FHIR version to be implement an internal trait.
- There are now generic search parameters across versions. Though there is aliases for the version specific parameters, so that hopefully nothing breaks.
- Some more generic requirements, should not be visible to the user mostly.
- [**breaking**] Remodel the way paging works
- History and search requests return a `Page` now. It offers methods to either manually go through the pages and get the entries, or automatically page and return a `Stream` of all matches. It is possible to access the inner `Bundle` though, so `history` can be compatible to previous usage.
- Different parameters and generics on the bespoken methods.

### Testing

- Add first CI and switch to cargo-make

## [0.13.0] - 2024-07-28

### Bug Fixes
Expand Down
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/fhir-model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name = "fhir-model"
readme = "README.md"
repository = "https://github.com/FlixCoder/fhir-sdk"
rust-version = "1.75"
version = "0.11.0"
version = "0.12.0"

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/fhir-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name = "fhir-sdk"
readme = "README.md"
repository = "https://github.com/FlixCoder/fhir-sdk"
rust-version = "1.75"
version = "0.13.0"
version = "0.14.0"

[lints]
workspace = true
Expand All @@ -38,7 +38,7 @@ docs = []

[dependencies]
async-trait = { version = "0.1.68", optional = true }
fhir-model = { path = "../fhir-model", version = "0.11.0", default-features = false }
fhir-model = { path = "../fhir-model", version = "0.12.0", default-features = false }
futures = { version = "0.3.28", optional = true }
reqwest = { version = "0.12.2", features = ["json"], optional = true }
serde = { version = "1.0.159" }
Expand Down

0 comments on commit adf123e

Please sign in to comment.