Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Releases: dfinity/icx-proxy

rev-4f73294

30 Sep 16:27
4f73294
Compare
Choose a tag to compare
bump `ic-agent`, `clap` and release (#48)

rev-1fb04a4: chore(deps): bump axum-core from 0.2.7 to 0.2.8 (#47)

30 Sep 03:22
1fb04a4
Compare
Choose a tag to compare
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] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

rev-7624053: refactor: from `slog`+`hyper` to `tracing`+`axum` (#45)

10 Aug 17:47
7624053
Compare
Choose a tag to compare
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

03 Aug 05:55
c619cc4
Compare
Choose a tag to compare
chore: bump `agent-rs` and toolchain (#44)

rev-a90e666: fix: `502` replica errors + map `DESTINATION_INVALID` to `404` (#43)

29 Jul 19:46
a90e666
Compare
Choose a tag to compare
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)

18 Jul 16:17
02a0517
Compare
Choose a tag to compare
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)

23 Jun 17:38
dcaa135
Compare
Choose a tag to compare
* 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)

17 Jun 17:08
76b4159
Compare
Choose a tag to compare
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

13 Jun 20:16
Compare
Choose a tag to compare
limit request body size

rev-11bf43f: refactor: canister ids and aliases (#37)

13 Jun 18:17
11bf43f
Compare
Choose a tag to compare
* 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.