diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b6a1d6c..60c53145 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,33 @@ All notable changes to this project will be documented in this file. +## [0.4.0] - 2023-08-31 + +### Bug Fixes + +- Improve code generation using cleaner URL usage +- Do not override headers with default headers +- Adjust wrong LinkRelationTypes definitions +- Implement Copy for ResourceType +- Implement Display for ResourceType + +### Documentation + +- Improve generated doc comments + +### Features + +- Implement basic REST client +- Implement paging +- Implement search with typed helpers + +### Miscellaneous Tasks + +- Fix new clippy lints +- Add expansions for R4B and remove unneeded definitions +- Update typed-builder and fhir-sdk dependencies +- Update README + ## [0.3.0] - 2023-04-01 ### Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index a2168d8e..6c2a6e14 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -200,31 +200,31 @@ checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" [[package]] name = "fhir-model" version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33964d0de38324d137cc3a250b8ffd5508ae37e66741dbc939b10726710564b5" dependencies = [ - "assert-json-diff", "serde", - "serde_json", - "typed-builder 0.15.2", + "typed-builder 0.14.0", ] [[package]] name = "fhir-model" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33964d0de38324d137cc3a250b8ffd5508ae37e66741dbc939b10726710564b5" +version = "0.4.0" dependencies = [ + "assert-json-diff", "serde", - "typed-builder 0.14.0", + "serde_json", + "typed-builder 0.16.0", ] [[package]] name = "fhir-sdk" -version = "0.3.0" +version = "0.4.0" dependencies = [ "async-trait", "dotenvy", "eyre", - "fhir-model 0.3.0", + "fhir-model 0.4.0", "futures", "reqwest", "serde", @@ -359,7 +359,7 @@ version = "0.1.0" dependencies = [ "Inflector", "anyhow", - "fhir-model 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "fhir-model 0.3.0", "once_cell", "prettyplease", "proc-macro2", @@ -1224,18 +1224,18 @@ dependencies = [ [[package]] name = "typed-builder" -version = "0.15.2" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fe83c85a85875e8c4cb9ce4a890f05b23d38cd0d47647db7895d3d2a79566d2" +checksum = "6605aaa56cce0947127ffa0675a8a1b181f87773364390174de60a86ab9085f1" dependencies = [ "typed-builder-macro", ] [[package]] name = "typed-builder-macro" -version = "0.15.2" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29a3151c41d0b13e3d011f98adc24434560ef06673a155a6c7f66b9879eecce2" +checksum = "2a6a6884f6a890a012adcc20ce498f30ebdc70fb1ea242c333cc5f435b0b3871" dependencies = [ "proc-macro2", "quote", diff --git a/crates/fhir-model/Cargo.toml b/crates/fhir-model/Cargo.toml index 2f33e52e..db9c4334 100644 --- a/crates/fhir-model/Cargo.toml +++ b/crates/fhir-model/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT" name = "fhir-model" readme = "README.md" repository = "https://github.com/FlixCoder/fhir-sdk" -version = "0.3.0" +version = "0.4.0" [features] default = ["r5"] @@ -20,7 +20,7 @@ r5 = [] [dependencies] serde = {version = "1.0.158", features = ["derive"]} -typed-builder = "0.15.2" +typed-builder = "0.16.0" [dev-dependencies] assert-json-diff = "2.0.2" diff --git a/crates/fhir-sdk/Cargo.toml b/crates/fhir-sdk/Cargo.toml index b29d0e25..f9ba8130 100644 --- a/crates/fhir-sdk/Cargo.toml +++ b/crates/fhir-sdk/Cargo.toml @@ -10,7 +10,7 @@ license = "MIT" name = "fhir-sdk" readme = "README.md" repository = "https://github.com/FlixCoder/fhir-sdk" -version = "0.3.0" +version = "0.4.0" [features] client = ["dep:async-trait", "dep:futures", "dep:reqwest", "dep:serde", "dep:serde_json", "dep:thiserror", "dep:tokio-retry"] @@ -20,7 +20,7 @@ r5 = ["fhir-model/r5"] [dependencies] async-trait = {version = "0.1.68", optional = true} -fhir-model = {path = "../fhir-model", version = "0.3.0"} +fhir-model = {path = "../fhir-model", version = "0.4.0"} futures = {version = "0.3.28", optional = true} reqwest = {version = "0.11.16", features = ["json"], optional = true} serde = {version = "1.0.159", optional = true}