Skip to content

Releases: dusk-network/piecrust

Piecrust release `0.8.0`

09 Aug 09:49
02db927
Compare
Choose a tag to compare

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`

20 Jul 09:40
917a7aa
Compare
Choose a tag to compare

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 take points_limit
  • Change signature of Session::call to take points_limit
  • Change signature of Session::call_raw to take points_limit
  • Change signature of Session::call to return CallReceipt
  • Change signature of Session::call_raw to return CallReceipt

Removed

  • Remove Session::set_point_limit
  • Remove Session::take_events
  • Remove Session::spent

uplink 0.7.0 - 2023-07-19

Added

  • Add more comprehensive documentation of the whole crate [#189]&[#190]
  • Add feed extern [#243]

Changed

  • Rename Event::target to Event::source [#243]

Removed

  • Remove EventTarget struct [#243]

Release `0.6.0`

28 Jun 09:55
8f121fb
Compare
Choose a tag to compare

piecrust-uplink 0.6.0 - 2023-06-28

Added

  • Add Event struct according to spec
  • Impl fmt::Display for ContractError
  • Emit debug line on panic handler [#222]
  • Add debug feature [#222]

Changed

  • Change emit extern to include topic
  • Rename MODULE_ID_BYTES to CONTRACT_ID_BYTES
  • Expose externs only on feature abi [#222]
  • Rename std feature to abi [#222]
  • Rename host_debug to hdebug and use arg buffer [#222]

Removed

  • Remove unused height extern [#222]
  • Remove unused snap extern [#222]

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 in VM::new
  • Rename host_debug export to hdebug [#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`

07 Jun 12:05
464f917
Compare
Choose a tag to compare

piecrust 0.5.0 - 2023-06-07

Added

  • Add Session::call_raw allowing for deferred (de)serialization [#218]
  • Add MAP_NORESERVE flag to mmap syscall [#213]

Changed

  • Include points_limit in c import [#216]

piecrust-uplink 0.5.0 - 2023-06-07

Added

  • Add call_with_limit and call_raw_with_limit [#216]

Changed

  • Include points_limit in the c external [#216]

Release `0.4.0`

17 May 10:04
6027228
Compare
Choose a tag to compare

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 to contract [#207]
  • Change signature of owner to return [u8; N] instead of [u8; 32] [#201]

Removed

  • Remove State struct [#209]
  • Remove query and transact and associated functions and structs [#136]
  • Remove wee_alloc feature [#199]

piecrust 0.4.0 - 2023-05-17

Added

  • Add RawCall re-export [#136]
  • Add Session::call [#136]
  • Add crate-specific README. [#174]

Changed

  • Change owner parameter type in ModuleData::builder to be [u8; N] [#201]

Fixed

  • Fix SIGSEGV caused by moving sessions with instantiate modules [#202]

Removed

  • Remove RawQuery/Transact re-rexports [#136]
  • Remove Session::query/transact [#136]
  • Remove query/transact imports [#136]

Release `0.3.0`

26 Apr 10:29
1ee60ee
Compare
Choose a tag to compare

0.3.0 - 2023-04-26

Changed

  • Rename DeployData to ModuleData

Removed

  • Remove VM::genesis_session in favor of config parameters in VM::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`

06 Apr 12:23
833e74d
Compare
Choose a tag to compare

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 and DeployDataBuilder. [#158]
  • Added contract constructor mechanism. [#93]
  • Added caching of module compilation outputs. [#162]
  • Derive Debug for Session and VM

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`

15 Mar 10:59
49d1f46
Compare
Choose a tag to compare

0.1.0 - 2023-03-15

  • First piecrust-uplink release
  • First piecrust release