Releases: dusk-network/piecrust
Releases · dusk-network/piecrust
Piecrust release `0.8.0`
0.8.0 - 2023-08-09
Added
- Add
Error::MemoryAccessOutOfBounds
[#249] - Add
memmap2
dependency
Changed
- Change imports
- Change diffing algorithm to not delegate growth to
bsdiff
- Change memory growth algorithm to not require copying to temp file
Fixed
- Fix behavior of imports on out of bounds pointers [#249]
- Fix SIGBUS caused by improper memory growth
Release `0.7.0`
piecrust 0.7.0 - 2023-07-19
Added
- Add support for the
feed
import [#243] - Add
Error::Infallible
variant - Add
Error::MissingHostData
variant - Add
Error::MissingHostQuery
variant - Add
Error::Utf8
variant - Add
CallReceipt
struct
Changed
- Change signature of
SessionDataBuilder::insert
to return an error on serialization - Handle possible errors in imports
- Handle error on deserializing contract metadata
- Change signature of
Session::deploy
to takepoints_limit
- Change signature of
Session::call
to takepoints_limit
- Change signature of
Session::call_raw
to takepoints_limit
- Change signature of
Session::call
to returnCallReceipt
- Change signature of
Session::call_raw
to returnCallReceipt
Removed
- Remove
Session::set_point_limit
- Remove
Session::take_events
- Remove
Session::spent
uplink 0.7.0 - 2023-07-19
Added
Changed
- Rename
Event::target
toEvent::source
[#243]
Removed
- Remove
EventTarget
struct [#243]
Release `0.6.0`
piecrust-uplink 0.6.0 - 2023-06-28
Added
- Add
Event
struct according to spec - Impl
fmt::Display
forContractError
- Emit debug line on panic handler [#222]
- Add
debug
feature [#222]
Changed
- Change
emit
extern to include topic - Rename
MODULE_ID_BYTES
toCONTRACT_ID_BYTES
- Expose
extern
s only on featureabi
[#222] - Rename
std
feature toabi
[#222] - Rename
host_debug
tohdebug
and use arg buffer [#222]
Removed
piecrust 0.6.0 - 2023-06-28
Added
- Add
debug
feature, gating debugging capabilities [#222]
Changed
- Change event handling to emit
piecrust-uplink::Event
- Change
emit
export to include topic - Remove
Into<PathBuf>
bound inVM::new
- Rename
host_debug
export tohdebug
[#222]
Fixed
- Fix memleak due to last contract instance not being reclaimed
in session.
Removed
- Remove
Event
struct - Remove
__heap_base
requirement from contracts
Release `0.5.0`
piecrust 0.5.0 - 2023-06-07
Added
- Add
Session::call_raw
allowing for deferred (de)serialization [#218] - Add
MAP_NORESERVE
flag tommap
syscall [#213]
Changed
- Include
points_limit
inc
import [#216]
piecrust-uplink 0.5.0 - 2023-06-07
Added
- Add
call_with_limit
andcall_raw_with_limit
[#216]
Changed
- Include
points_limit
in thec
external [#216]
Release `0.4.0`
piecrust-uplink 0.4.0 - 2023-05-17
Added
- Add
call
and associated functions and structs [#136] - Add
dlmalloc
feature [#199] - Add crate-specific README [#174]
Changed
- Change
module
named functions and items tocontract
[#207] - Change signature of
owner
to return[u8; N]
instead of[u8; 32]
[#201]
Removed
- Remove
State
struct [#209] - Remove
query
andtransact
and associated functions and structs [#136] - Remove
wee_alloc
feature [#199]
piecrust 0.4.0 - 2023-05-17
Added
Changed
- Change
owner
parameter type inModuleData::builder
to be[u8; N]
[#201]
Fixed
- Fix SIGSEGV caused by moving sessions with instantiate modules [#202]
Removed
Release `0.3.0`
0.3.0 - 2023-04-26
Changed
- Rename
DeployData
toModuleData
Removed
- Remove
VM::genesis_session
in favor of config parameters inVM::session
0.3.0 - 2023-04-26
Added
- Add documentation for
piecrust-uplink::types
. [#139]
Changed
- Rename
ModuleError
enum variants to be upper case.
Removed
- Remove deprecated
alloc_error_handler
. [#192]
Release `0.2.0`
0.2.0 - 2023-04-06
Added
- Added uplink::owner and uplink::self_id. [#158]
- Implemented Display for ModuleId. [#178]
- Added persistence for module metadata. [#167]
- Added
DeployData
andDeployDataBuilder
. [#158] - Added contract constructor mechanism. [#93]
- Added caching of module compilation outputs. [#162]
- Derive
Debug
forSession
andVM
Changed
- Changed deploy API to accept
Into<DeployData>
. [#158] - Made modules compile at deploy time rather than on first query/transaction time. [#162]
Removed
- Removed errant print statements.
- Removed SELF_ID export from contracts. [#167]
Release `0.1.0`
0.1.0 - 2023-03-15
- First
piecrust-uplink
release - First
piecrust
release