Skip to content

2.0.0

Compare
Choose a tag to compare
@fxgst fxgst released this 29 Jan 14:28
· 9 commits to main since this release

Added

  • Support for multiple subnets
  • Support for cross-subnet canister calls
  • Improved support to start the PocketIC server from the command line:
    • Ability to start the server without any flags
    • Use -p or --port to specify a port where the server should listen
    • Use --ttl to specify for how long the server should be running before it shuts down
    • --pid flag is no longer required and discouraged to use from the command line
  • Improved logging support:
    • Use the POCKET_IC_LOG_DIR environment varible to specify where to store logs
    • Use the environment variable POCKET_IC_LOG_DIR_LEVELS=trace to specify the log level of the logs that are written to the log file
  • read/pub_key endpoint to retrieve the public key of a subnet
  • read/get_subnet endpoint to retrieve the subnet id of a canister

Changed

  • POST instances/ endpoint requires a subnet config
  • POST instances/ endpoint returns a toplogy of the instance
  • /read/query and /update/execute_ingress_message require an effective_principal field

Removed

  • Checkpointing
  • read/canister_exists endpoint (superseded by read/get_subnet)
  • read/root_key endpoint (superseded by read/pub_key)

Full changelog: CHANGELOG.md
Commit hash: 29ec86dc9f9ca4691d4d4386c8b2aa41e14d9d16