Skip to content

Commit 3dc3711

Browse files
mraszykclaude
andauthored
feat: release PocketIC v16.0.0 (#71)
dfinity/ic commit: fc21803c3c3a8dd452b3b58b959751c41fecb89c Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent a980c33 commit 3dc3711

4 files changed

Lines changed: 35 additions & 5 deletions

File tree

.github/workflows/pocket-ic-server-action-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
expected-version: '5.0.0'
2020
os: macos-15-intel # x86_64
2121

22-
- expected-version: '15.0.0'
22+
- expected-version: '16.0.0'
2323
os: ubuntu-latest
24-
- expected-version: '15.0.0'
24+
- expected-version: '16.0.0'
2525
os: macos-15-intel # x86_64
26-
- expected-version: '15.0.0'
26+
- expected-version: '16.0.0'
2727
os: macos-latest # arm64
2828

2929
- version: 'ee4c728d94b10437f41edf564650ac63cd0c0c5d'

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88

99

10+
## 16.0.0 - 2026-09-01
11+
12+
### Added
13+
- The endpoint `/instances/<instance_id>/update/mock_flexible_canister_http` to mock the responses of the committee nodes
14+
of a pending *flexible* canister HTTP outcall, i.e. one made through the `flexible_http_request` management canister endpoint.
15+
- The endpoint `/instances/<instance_id>/read/get_canister_http` reports two additional fields for every pending canister HTTP
16+
outcall: `replication`, describing how the outcall is replicated across the nodes of its subnet (`FullyReplicated`,
17+
`NonReplicated`, or `Flexible` with the outcall's `total_requests`, `min_responses`, and `max_responses`), and
18+
`pricing_version`, reporting whether it is priced with the `Legacy` or the `PayAsYouGo` pricing model.
19+
- Enabling beta features (the field `beta_features` of `icp_config` when creating an instance) now enables the
20+
`flexible_http_request` management canister endpoint on subnets that charge for HTTP outcalls; without beta features that
21+
endpoint is only available on subnets where HTTP outcalls are free (system subnets and subnets with a free cycles cost
22+
schedule). Beta features also enable the pay-as-you-go pricing model, which flexible outcalls are always priced with and
23+
which an `http_request` can select through its `pricing_version` field.
24+
25+
### Changed
26+
- The endpoint `/instances/<instance_id>/auto_progress` (and creating an instance with automatic progress enabled)
27+
only returns after the certified time of the PocketIC instance has been updated for the first time.
28+
- Mocked canister HTTP responses report the cycles their node actually spent on the outcall, instead of reporting no spend at
29+
all. This applies to `/instances/<instance_id>/update/mock_canister_http` and
30+
`/instances/<instance_id>/update/mock_flexible_canister_http`. The spend is derived from the size of the mocked response;
31+
unlike a real node, a mocked one is charged no response time, so what a mocked outcall costs does not depend on how fast the
32+
machine running the test is.
33+
- Mocking a canister HTTP response whose reject message exceeds 1 KiB now fails. Such a response is not one any node could have
34+
reported.
35+
- A node that cannot pay for gossiping its mocked reject reports an out-of-cycles reject instead of the mocked one, matching
36+
what a node of a real subnet does under pay-as-you-go pricing.
37+
38+
39+
1040
## 15.0.0 - 2026-06-26
1141

1242
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can specify a particular version of the PocketIC server to install using the
3030
- name: Install PocketIC server
3131
uses: dfinity/pocketic@main
3232
with:
33-
pocket-ic-server-version: "15.0.0"
33+
pocket-ic-server-version: "16.0.0"
3434
```
3535

3636
## Download the PocketIC Server

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
55
description: >
66
The PocketIC server version to install.
77
If omitted, the latest version will be installed.
8-
default: '15.0.0'
8+
default: '16.0.0'
99

1010
runs:
1111
using: composite

0 commit comments

Comments
 (0)