Skip to content

Commit

Permalink
add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
fxgst committed Nov 20, 2023
1 parent 6e6da66 commit ebd2797
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## 2.0.0 - 2023-11-21

### Added
- Support for multiple subnets
- Support for cross-subnet canister calls
- Ability to mute the server's stdout/stderr streams by setting the `POCKET_IC_MUTE_SERVER` environment variable
- `__del__` method for PocketIC such that it gets collected automatically
- New `.topology` field returning a map of subnet IDs to subnet configurations
- New `get_subnet()` method to get the subnet of a canister
- new `update_call_with_effective_principal()` method to call a canister with an effective principal
- New class `SubnetConfig`
- New class `SubnetKind` to specify different kinds ob subnets

### Changed
- `create_canister()` takes optional parameters to specify a subnet ID or a desired canister ID
- constructor `PocketIC(subnet_config)` with a new optional `SubnetConfig` to create a PocketIC instance with a specified subnet topology
- new implementation for `get_root_key()`

### Removed
- `delete()` method, superseded by `__del__`


## 1.0.1 - 2023-10-13

### Fixed
- Fixed broken links on PyPi


## 1.0.0 - 2023-10-12

### Added
- Blocking REST-API: Encode IC-call in endpoint, not in body

## 0.1.0 - 2023-09-01

### Added
- Initial PocketIC Python release

0 comments on commit ebd2797

Please sign in to comment.