This repository has been archived by the owner on Sep 13, 2023. It is now read-only.
Releases: dfinity/icx-proxy
Releases · dfinity/icx-proxy
rev-4f73294
bump `ic-agent`, `clap` and release (#48)
rev-1fb04a4: chore(deps): bump axum-core from 0.2.7 to 0.2.8 (#47)
Bumps [axum-core](https://github.com/tokio-rs/axum) from 0.2.7 to 0.2.8. - [Release notes](https://github.com/tokio-rs/axum/releases) - [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/axum/compare/axum-core-v0.2.7...axum-core-v0.2.8) --- updated-dependencies: - dependency-name: axum-core dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
rev-7624053: refactor: from `slog`+`hyper` to `tracing`+`axum` (#45)
This is a massive refactor which will enable us to collect better logs. - Moves code out of `main.rs` - agent proxy code is now in `proxy/agent.rs` - forwarding proxy code is now in `proxy/forward.rs` - temporary `src/http_transport.rs` pending on dfinity/agent-rs#373 - Adds a new log format switch with `json` support. The exact format may need some fine tuning - Completely gets rid of `reqwest`
rev-c619cc4
chore: bump `agent-rs` and toolchain (#44)
rev-a90e666: fix: `502` replica errors + map `DESTINATION_INVALID` to `404` (#43)
This should map any `canister has no query method 'http_request'` or `canister not found` to `404`. Also change from `500` to `502` for replica errors.
rev-02a0517: feat: Add metrics for validation (#42)
This change creates a `Validate` trait and then uses it to wrap the existing validation logic. We then wrap our `Validator` struct using `WithMetrics` to expose whether requests passed/failed/skipped validation.
rev-dcaa135: feat: set max response size for http transport (#41)
* set max response size for http transport * handle responze size exceeded limit * change max size
rev-76b4159: fix: use stream api instead of channel (#40)
Spawning a task has some slightly different async properties compared to the stream api, and in this case, we should prefer the stream api. This allows us to buffer a preset amount and ties the cancellation of the downstream request more closely to the upstream request.
rev-2b27e54
limit request body size
rev-11bf43f: refactor: canister ids and aliases (#37)
* refactor: canister ids and aliases Add a new flag `ignore_url_canister_param` for prod. Move logic to `canister_id.rs`. Add traits to make composition easier. Add basic tests. Redid `lookup` and `resolve_canister_id` to remove allocation. Bump version and dependencies.