diff --git a/Cargo.lock b/Cargo.lock index 11c91b009..83d6b2e68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1668,7 +1668,7 @@ dependencies = [ [[package]] name = "htsget-actix" -version = "0.1.4" +version = "0.2.0" dependencies = [ "actix-cors", "actix-web", @@ -1691,7 +1691,7 @@ dependencies = [ [[package]] name = "htsget-config" -version = "0.1.4" +version = "0.2.0" dependencies = [ "async-trait", "clap 4.1.8", @@ -1712,7 +1712,7 @@ dependencies = [ [[package]] name = "htsget-http" -version = "0.1.4" +version = "0.2.0" dependencies = [ "futures", "htsget-config", @@ -1727,7 +1727,7 @@ dependencies = [ [[package]] name = "htsget-lambda" -version = "0.1.4" +version = "0.2.0" dependencies = [ "async-trait", "bytes", @@ -1751,7 +1751,7 @@ dependencies = [ [[package]] name = "htsget-search" -version = "0.1.4" +version = "0.2.0" dependencies = [ "async-trait", "aws-config", @@ -1788,7 +1788,7 @@ dependencies = [ [[package]] name = "htsget-test" -version = "0.1.4" +version = "0.2.0" dependencies = [ "async-trait", "base64 0.21.0", diff --git a/htsget-actix/CHANGELOG.md b/htsget-actix/CHANGELOG.md index 4679c498b..2a2c41e7c 100644 --- a/htsget-actix/CHANGELOG.md +++ b/htsget-actix/CHANGELOG.md @@ -6,6 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0](https://github.com/umccr/htsget-rs/compare/htsget-actix-v0.1.4...htsget-actix-v0.2.0) - 2023-04-28 + +### Added +- *(test)* add multiple resolvers for server tests and test resolution +- *(config)* add automatic config inference for local and s3 storage, and rearrange modules +- [**breaking**] simplify storage config by allowing untagged enum representation + +### Other +- a few style changes, changed default resolver +- [**breaking**] rename `HttpTicketFormatter` and remove `UrlFormatter` implementation for it +- [**breaking**] move htsget structs to config, and resolve storage type in config + ## [0.1.1](https://github.com/umccr/htsget-rs/compare/htsget-actix-v0.1.0...htsget-actix-v0.1.1) - 2023-01-27 ### Other diff --git a/htsget-actix/Cargo.toml b/htsget-actix/Cargo.toml index cb100d7da..3b2f92f13 100644 --- a/htsget-actix/Cargo.toml +++ b/htsget-actix/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "htsget-actix" -version = "0.1.4" +version = "0.2.0" rust-version = "1.64" authors = ["Daniel del Castillo de la Rosa ", "Marko Malenic "] edition = "2021" @@ -20,10 +20,10 @@ actix-cors = "0.6" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" futures-util = { version = "0.3" } -htsget-http = { version = "0.1.4", path = "../htsget-http", default-features = false } -htsget-search = { version = "0.1.4", path = "../htsget-search", default-features = false } -htsget-config = { version = "0.1.4", path = "../htsget-config", default-features = false } -htsget-test = { version = "0.1.4", path = "../htsget-test", features = ["server-tests", "cors-tests"], default-features = false } +htsget-http = { version = "0.2.0", path = "../htsget-http", default-features = false } +htsget-search = { version = "0.2.0", path = "../htsget-search", default-features = false } +htsget-config = { version = "0.2.0", path = "../htsget-config", default-features = false } +htsget-test = { version = "0.2.0", path = "../htsget-test", features = ["server-tests", "cors-tests"], default-features = false } futures = { version = "0.3" } tokio = { version = "1.25", features = ["macros", "rt-multi-thread"] } diff --git a/htsget-config/CHANGELOG.md b/htsget-config/CHANGELOG.md index c908801dd..1c50b25cc 100644 --- a/htsget-config/CHANGELOG.md +++ b/htsget-config/CHANGELOG.md @@ -6,6 +6,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0](https://github.com/umccr/htsget-rs/compare/htsget-config-v0.1.4...htsget-config-v0.2.0) - 2023-04-28 + +### Added +- use serve_at in data server rather than a constant +- *(config)* set `Local` resolvers from data server config after parsing the `Config` +- *(config)* add automatic config inference for local and s3 storage, and rearrange modules +- [**breaking**] simplify storage config by allowing untagged enum representation + +### Other +- *(config)* fix typo +- *(config)* rename test +- *(config)* add tests for resolving responses +- *(config)* fix incorrectly using resolved id when searching for regex capture groups +- a few style changes, changed default resolver +- *(config)* add tests for default tagged storage type +- *(config)* document new features and how to use them +- [**breaking**] rename `HttpTicketFormatter` and remove `UrlFormatter` implementation for it +- [**breaking**] move htsget structs to config, and resolve storage type in config +- *(config)* leverage tagged enum types to allow selecting storage type without manually specifying config values + ## [0.1.1](https://github.com/umccr/htsget-rs/compare/htsget-config-v0.1.0...htsget-config-v0.1.1) - 2023-01-27 ### Other diff --git a/htsget-config/Cargo.toml b/htsget-config/Cargo.toml index 0c4ce3220..a48314d7d 100644 --- a/htsget-config/Cargo.toml +++ b/htsget-config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "htsget-config" -version = "0.1.4" +version = "0.2.0" rust-version = "1.64" authors = ["Daniel del Castillo de la Rosa ", "Marko Malenic "] edition = "2021" diff --git a/htsget-http/CHANGELOG.md b/htsget-http/CHANGELOG.md index 2c9820ab0..200abb9c3 100644 --- a/htsget-http/CHANGELOG.md +++ b/htsget-http/CHANGELOG.md @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0](https://github.com/umccr/htsget-rs/compare/htsget-http-v0.1.4...htsget-http-v0.2.0) - 2023-04-28 + +### Added +- *(config)* add automatic config inference for local and s3 storage, and rearrange modules +- [**breaking**] simplify storage config by allowing untagged enum representation + +### Other +- [**breaking**] rename `HttpTicketFormatter` and remove `UrlFormatter` implementation for it +- [**breaking**] move htsget structs to config, and resolve storage type in config + ## [0.1.1](https://github.com/umccr/htsget-rs/compare/htsget-http-v0.1.0...htsget-http-v0.1.1) - 2023-01-27 ### Other diff --git a/htsget-http/Cargo.toml b/htsget-http/Cargo.toml index b2c2da3f5..0fb913db1 100644 --- a/htsget-http/Cargo.toml +++ b/htsget-http/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "htsget-http" -version = "0.1.4" +version = "0.2.0" rust-version = "1.64" authors = ["Daniel del Castillo de la Rosa ", "Marko Malenic "] edition = "2021" @@ -18,9 +18,9 @@ default = ["s3-storage"] thiserror = "1.0" serde = { version = "1.0", features = ["derive"] } http = "0.2" -htsget-search = { version = "0.1.4", path = "../htsget-search", default-features = false } -htsget-config = { version = "0.1.4", path = "../htsget-config", default-features = false } -htsget-test = { version = "0.1.4", path = "../htsget-test", default-features = false } +htsget-search = { version = "0.2.0", path = "../htsget-search", default-features = false } +htsget-config = { version = "0.2.0", path = "../htsget-config", default-features = false } +htsget-test = { version = "0.2.0", path = "../htsget-test", default-features = false } futures = { version = "0.3" } tokio = { version = "1.25", features = ["macros", "rt-multi-thread"] } tracing = "0.1" diff --git a/htsget-lambda/CHANGELOG.md b/htsget-lambda/CHANGELOG.md index f7365181f..cddab16d8 100644 --- a/htsget-lambda/CHANGELOG.md +++ b/htsget-lambda/CHANGELOG.md @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0](https://github.com/umccr/htsget-rs/compare/htsget-lambda-v0.1.4...htsget-lambda-v0.2.0) - 2023-04-28 + +### Added +- *(test)* add multiple resolvers for server tests and test resolution +- *(config)* add automatic config inference for local and s3 storage, and rearrange modules +- [**breaking**] simplify storage config by allowing untagged enum representation + +### Other +- [**breaking**] rename `HttpTicketFormatter` and remove `UrlFormatter` implementation for it +- [**breaking**] move htsget structs to config, and resolve storage type in config + ## [0.1.1](https://github.com/umccr/htsget-rs/compare/htsget-lambda-v0.1.0...htsget-lambda-v0.1.1) - 2023-01-27 ### Other diff --git a/htsget-lambda/Cargo.toml b/htsget-lambda/Cargo.toml index dc4d5ccc0..b6cec236d 100644 --- a/htsget-lambda/Cargo.toml +++ b/htsget-lambda/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "htsget-lambda" -version = "0.1.4" +version = "0.2.0" rust-version = "1.64" authors = ["Marko Malenic ", "Roman Valls Guimera "] edition = "2021" @@ -19,10 +19,10 @@ tokio = { version = "1.25", features = ["macros", "rt-multi-thread"] } tower-http = { version = "0.3", features = ["cors"] } lambda_http = { version = "0.7" } lambda_runtime = { version = "0.7" } -htsget-config = { version = "0.1.4", path = "../htsget-config", default-features = false } -htsget-search = { version = "0.1.4", path = "../htsget-search", default-features = false } -htsget-http = { version = "0.1.4", path = "../htsget-http", default-features = false } -htsget-test = { version = "0.1.4", path = "../htsget-test", features = ["server-tests", "cors-tests"], default-features = false } +htsget-config = { version = "0.2.0", path = "../htsget-config", default-features = false } +htsget-search = { version = "0.2.0", path = "../htsget-search", default-features = false } +htsget-http = { version = "0.2.0", path = "../htsget-http", default-features = false } +htsget-test = { version = "0.2.0", path = "../htsget-test", features = ["server-tests", "cors-tests"], default-features = false } serde = { version = "1.0" } serde_json = "1.0" mime = "0.3" diff --git a/htsget-search/CHANGELOG.md b/htsget-search/CHANGELOG.md index a9bf22da2..318513aba 100644 --- a/htsget-search/CHANGELOG.md +++ b/htsget-search/CHANGELOG.md @@ -6,6 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0](https://github.com/umccr/htsget-rs/compare/htsget-search-v0.1.4...htsget-search-v0.2.0) - 2023-04-28 + +### Added +- *(test)* add multiple resolvers for server tests and test resolution +- use serve_at in data server rather than a constant +- *(config)* add automatic config inference for local and s3 storage, and rearrange modules +- [**breaking**] simplify storage config by allowing untagged enum representation + +### Other +- *(search)* convert match to if let +- *(search)* add warning when a non-valid PL read group header is found +- *(search)* add additional tests for searching resolvers and from storage +- *(search)* implement `ResolveResponse` on `HtsGetFromStorage` +- [**breaking**] rename `HttpTicketFormatter` and remove `UrlFormatter` implementation for it +- [**breaking**] move htsget structs to config, and resolve storage type in config + ## [0.1.1](https://github.com/umccr/htsget-rs/compare/htsget-search-v0.1.0...htsget-search-v0.1.1) - 2023-01-27 ### Fixed diff --git a/htsget-search/Cargo.toml b/htsget-search/Cargo.toml index 0ca21e770..c77809017 100644 --- a/htsget-search/Cargo.toml +++ b/htsget-search/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "htsget-search" -version = "0.1.4" +version = "0.2.0" rust-version = "1.64" authors = ["Christian Perez Llamas ", "Marko Malenic ", "Roman Valls Guimera "] edition = "2021" @@ -42,8 +42,8 @@ aws-config = { version = "0.54", optional = true } # Error control, tracing, config thiserror = "1.0" -htsget-config = { version = "0.1.4", path = "../htsget-config", default-features = false } -htsget-test = { version = "0.1.4", path = "../htsget-test", features = ["cors-tests"], default-features = false } +htsget-config = { version = "0.2.0", path = "../htsget-config", default-features = false } +htsget-test = { version = "0.2.0", path = "../htsget-test", features = ["cors-tests"], default-features = false } tracing = "0.1" base64 = "0.21" serde = "1.0" diff --git a/htsget-test/CHANGELOG.md b/htsget-test/CHANGELOG.md index 49b2b80fb..7d23cf636 100644 --- a/htsget-test/CHANGELOG.md +++ b/htsget-test/CHANGELOG.md @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0](https://github.com/umccr/htsget-rs/compare/htsget-test-v0.1.4...htsget-test-v0.2.0) - 2023-04-28 + +### Added +- *(test)* add multiple resolvers for server tests and test resolution +- use serve_at in data server rather than a constant +- *(config)* add automatic config inference for local and s3 storage, and rearrange modules +- [**breaking**] simplify storage config by allowing untagged enum representation + +### Other +- [**breaking**] move htsget structs to config, and resolve storage type in config + ## [0.1.1](https://github.com/umccr/htsget-rs/compare/htsget-test-v0.1.0...htsget-test-v0.1.1) - 2023-01-27 ### Other diff --git a/htsget-test/Cargo.toml b/htsget-test/Cargo.toml index 0b3c08965..3cf22ea4c 100644 --- a/htsget-test/Cargo.toml +++ b/htsget-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "htsget-test" -version = "0.1.4" +version = "0.2.0" rust-version = "1.60" authors = ["Marko Malenic "] edition = "2021" @@ -34,7 +34,7 @@ default = ["s3-storage"] [dependencies] # Server tests dependencies -htsget-config = { version = "0.1.4", path = "../htsget-config", default-features = false, optional = true } +htsget-config = { version = "0.2.0", path = "../htsget-config", default-features = false, optional = true } noodles-vcf = { version = "0.24", features = ["async"], optional = true } noodles-bgzf = { version = "0.19", features = ["async"], optional = true }