All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.17.1 - 2024-09-24
- Increase
SCRATCH_BUF_BYTES
to 1024
0.17.0 - 2024-09-04
- Add
emit_raw
andfeed_raw
functions - Add
ContractError::DoesNotExist
variant
- Remove
'static
bound onemit
topics
0.16.0 - 2024-08-01
- Add
impl PartialEq<[u8; 32]> for ContractId
#375
- Change
callee
function to returnOption<ContractId>
- Change
callee
ABI to return an integer
0.15.0 - 2024-07-03
- Fix incomplete removal of economic protocol functionality
0.14.0 - 2024-06-26
- Remove all economic protocol-related functionality
- Removed the 'charge' portion of the economic protocol #365
0.13.0 - 2024-06-05
- Add support for metadata elements: free limit and free price hint #357
0.12.0 - 2024-05-08
- Add contract charge setting method #353
- Add contract allowance setting method and a corresponding passing mechanism #350
0.11.0 - 2024-02-14
- Add
wrap_call_unchecked
function for calls with no argument checking #324
- Change
wrap_call
function to supportbytecheck
-based integrity check of arguments #324
0.10.0 - 2024-01-24
- Add
self_owner
function returning the owner of the calling contract
- Change
owner
function to take aContractId
as argument and return anOption<[u8; N]>
- Change
owner
extern to take a*const u8
argument signifying the contract ID
0.9.0 - 2023-12-13
- Add
ContractError::to_parts
andContractError::from_parts
functions #301 - Add
fn_name
andfn_arg
as an argument tocall_raw
andcall_raw_with_limit
#301
- Change variable names and documentation to match the
gas
terminology as opposed topoints
- Rename
ContractError::Other
toContractError::Unknown
#301 - Change
Display
forContractError
to display messages #301 - Change
ContractError
variants to be CamelCase #301
- Remove
ContractError::from_code
function #301 - Remove
raw_call
as an argument ofcall_raw
andcall_raw_with_limit
#301 - Remove
RawCall
andRawResult
#301
0.8.0 - 2023-10-11
- Change return of
owner
andself_id
to()
- Remove call to
hdebug
on panic #271
0.7.1 - 2023-09-13
- Expose
arg_buf::with_arg_buf
to allow for custom argument buffer handling #268
0.7.0 - 2023-07-19
- Add contract validation during deployment #157
- Add more comprehensive documentation of the whole crate #189¾
- Add
feed
extern #243
- Rename
Event::target
toEvent::source
#243
- Remove
EventTarget
struct #243
0.6.1 - 2023-07-03
- Prevent macro expansion in panic handler without the debug feature
0.6.0 - 2023-06-28
- Add
Event
struct according to spec - Impl
fmt::Display
forContractError
- Emit debug line on panic handler #222
- Add
debug
feature #222
- 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
0.5.0 - 2023-06-07
- Add
call_with_limit
andcall_raw_with_limit
#216
- Include
points_limit
in thec
external #216
0.4.0 - 2023-05-17
- Add
call
and associated functions and structs #136 - Add
dlmalloc
feature #199 - Add crate-specific README #174
- Change
module
named functions and items tocontract
#207 - Change signature of
owner
to return[u8; N]
instead of[u8; 32]
#201
- Remove
State
struct #209 - Remove
query
andtransact
and associated functions and structs #136 - Remove
wee_alloc
feature #199
0.3.0 - 2023-04-26
- Add documentation for
piecrust-uplink::types
#139
- Rename
ModuleError
enum variants to be upper case
- Remove deprecated
alloc_error_handler
#192
0.1.0 - 2023-03-15
- First
piecrust-uplink
release