Skip to content

Releases: dfinity/canhttp

ic-pocket-canister-runtime-v0.2.0

09 Dec 12:34
9140589

Choose a tag to compare

Changed

  • Breaking: Bump pocket-ic to v11.0.0 (#63)

Fixed

  • Point to correct READMEs (#60)

ic-canister-runtime-v0.1.1

09 Dec 12:34
9140589

Choose a tag to compare

Fixed

  • Point to correct READMEs (#60)

ic-agent-canister-runtime-v0.1.1

09 Dec 12:33
9140589

Choose a tag to compare

Fixed

  • Point to correct READMEs (#60)

ic-pocket-canister-runtime-v0.1.0

24 Nov 09:24
f5c0e57

Choose a tag to compare

Added

  • Add ExecuteHttpOutcallMocks trait and support for PocketIC live mode (#43)
  • Add READMEs and examples (#42)
  • Add PocketIcRuntime and mock HTTP mock infrastructure (#38)

ic-agent-canister-runtime-v0.1.0

24 Nov 09:24
f5c0e57

Choose a tag to compare

Added

  • Add AgentRuntime (#36)

ic-canister-runtime-v0.1.0

24 Nov 09:25
472cd24

Choose a tag to compare

Added

  • Add helper methods to CyclesWalletRuntime (#44)
  • Add READMEs and examples (#42)
  • Add StubRuntime (#41)
  • Add CyclesWalletRuntime (#37)
  • Add Runtime crate and IcRuntime implementation (#35)

canhttp-v0.4.0

24 Nov 09:20
472cd24

Choose a tag to compare

Added

  • Add JsonRpcHttpLayer which combines the HttpConversionLayer, JsonConversionLayer and ConsistentJsonRpcIdFilter middlewares into a single convenient-to-use layer (#46)
  • Add example canisters demonstrating JSON-RPC functionalities and parallel calls (#48)

Changed

  • Bump ic-cdk to v0.19.0 (#40)

Fixed

  • Missing optional dependency on serde for multi feature (#47)

v0.3.0

20 Oct 07:49
7555f0c

Choose a tag to compare

What's Changed

Added

  • Breaking: A new method charge_cycles that does the actual charging was added to CyclesChargingPolicy (#7)
  • Example of canister using the library to make HTTP requests (#6)

Changed

  • Breaking: Update ic-cdk to v0.18.7 including several changes to align with the new HTTP outcall API (#21). Notably:
    • IcError is refactored into an enum
    • Use of the new HttpRequestArgs and HttpRequestResult types in CyclesChargingPolicy and Client trait impls
    • Removal of IcHttpRequestWithCycles, CyclesCostEstimator, CyclesAccountingError and CyclesAccounting due to the ic-cdk method for making HTTP outcalls now taking care of charging cycles

v0.2.1

11 Jul 12:28
0f4b365

Choose a tag to compare

What's Changed

Added

  • An iter method to canhttp::multi::MultiResults returning a borrowing iterator (#3)

Changed