Releases: demergent-labs/kybra
0.7.0
Features
ic-cdk security vulnerability fixed
ic-cdk has been updated to address this vulnerability: GHSA-rwq6-crjg-9cpw
dfx extension
Kybra now has its own dfx extension. This allows the dfx.json
canister configuration for Kybra canisters to be greatly simplified.
The extension must be installed before running dfx deploy
. This should be done in the same virtual environment in which Kybra itself is installed. You can install the extension by running: python -m kybra install-dfx-extension
.
Breaking Changes
Candid files will now automatically be stored in the .kybra
directory if using "type": "kybra"
in your dfx.json
canister configuration. All examples have had their automatically generated Candid files removed.
What's Changed
- begin implementing the kybra extension by @lastmjs in #487
- Fix kybra tests by @bdemann in #494
- update dfx to 0.22.0 by @lastmjs in #490
- Update ic cdk by @lastmjs in #491
- Update ic wasi polyfill by @lastmjs in #492
- Update rust python by @lastmjs in #493
- Update dfx 0 23 0 by @lastmjs in #495
- Update cargo lock by @lastmjs in #496
- Update documentation by @lastmjs in #497
- update to the latest stable Rust by @lastmjs in #498
- revert back to dfx 0.23.0 by @lastmjs in #502
Full Changelog: 0.6.0...0.7.0
0.7.0-rc.1
kybra-bot automated release 0.7.0-rc.1
0.7.0-rc.0
kybra-bot automated release 0.7.0-rc.0
0.6.0
This release focuses on removing the workarounds and necessary caveats in place because of the small Wasm binary limit implemented by the Internet Computer Protocol. This limit has been substantially lifted by the protocol itself, thus we were able to remove our workarounds. We've also made the initial installation process simpler and more robust.
New Features
- ic-wasm has been removed
- there is no longer a
post_install
step - memory ids
0
,1
,2
,252
,253
, and254
are no longer reserved - encrypted dfx identities are now supported
- guard functions now only allowed on
query
andupdate
methods - Wasm module hash caveat removed
ic.caller()
now correct ininit
andpost_upgrade
- metadata is now defined by the developer in
dfx.json
, no Kybra version is exposed init
andpost_upgrade
caveats removed
Breaking Changes
The post_install
canister property should no longer be used in the dfx.json
file, and we now recommend a metadata
canister property in the dfx.json
file.
Example:
{
"canisters": {
"simple_erc20": {
"type": "custom",
"build": "python -m kybra simple_erc20 src/main.py src/main.did",
"candid": "src/main.did",
"wasm": ".kybra/simple_erc20/simple_erc20.wasm",
"gzip": true,
"metadata": [
{
"name": "candid:service",
"path": "src/main.did"
},
{
"name": "cdk:name",
"content": "kybra"
}
],
"declarations": {
"output": "test/dfx_generated/simple_erc20",
"node_compatibility": true
}
}
}
}
What's Changed
- Large wasm binaries by @lastmjs in #465
- improve prints by @bdemann in #449
- Improve Python Stdlib Conditional Compilation Check by @lastmjs in #471
- Binstall by @lastmjs in #473
- Prebuilt stdlib by @lastmjs in #474
- Memory ids by @lastmjs in #475
- Misc fixes by @lastmjs in #476
- Assets stdlib by @lastmjs in #477
Full Changelog: 0.5.3...0.6.0
0.6.0rc5
kybra-bot automated release 0.6.0rc5
0.6.0rc4
kybra-bot automated release 0.6.0rc4
0.6.0rc3
kybra-bot automated release 0.6.0rc3