Releases: gear-tech/sails
Releases · gear-tech/sails
Sails-JS v0.4.2
Sails-RS v0.8.1
Bump up Gear crates to v1.8.1
What's New
- Transfering the value to the program in a message without payload
- Using the stack buffer to optimize the encoding of events and replies
- Added Syscall structure, for proxying and testing system calls
- Support program upgradability with
gr_exit
call to redirect message to new program
What's Changed
- feat(sails-rs): make
with_args
accept Fn to chain calls by @vobradovich in #897 - feat(macros): accept value to program without a message payload by @vobradovich in #910
- chore(macros): add
handle_reply
fn to program impl, remove fromprogram
attr by @vobradovich in #917 - feat(sails-rs): Use stack buffer to optimize events encoding by @techraed in #911
- feat(sails-rs,sails-macro): Use stack buffer to optimize reply payloads by @techraed in #918
- feat: add Syscall struct, impl for wasm & tests by @vobradovich in #920
- feat(macros): accept
&mut self
in program service expo by @vobradovich in #927 - feat: Support program upgradability with gr_exit call to redirect message to new program by @vobradovich in #896
Full Changelog: rs/v0.8.0...rs/v0.8.1
Sails-JS v0.4.1
Compatibility
- Sails-RS v0.8.0
- Gear v1.8.0
Changes
- Add explicit export of
IMethodReturnType
fromTransactionBuilder
Sails-JS v0.4.0
Sails-RS v0.8.0
Bump up Gear crates to v1.8.0
What's new?
- program accepts messages with solidity encoded payload (gear.exe)
- program emits events with topics based on the event signature and indexed fields (gear.exe)
- introduce solidity generator
What's Changed
- feat(sails, macros): Program should accept messages with solidity encoded payload with ethexe feature by @vobradovich in #821
- feat: use channels for event testing instead of custom event listener by @vobradovich in #841
- feat(workspace): update to Rust 2024 edition by @vobradovich in #842
- feat(ethexe): Accept solidity encoded payload with first parameter u128 (value) by @vobradovich in #850
- feat(ethexe): Program emits events with topics based on the event signature and indexed fields by @vobradovich in #844
- feat(ethexe): add
encode_reply
as second parameter for methods, add Callback selectors by @vobradovich in #859 - build: Update to rust 1.86 by @vobradovich in #871
- feat(ethexe): add encode_reply as second parameter for constructors by @vobradovich in #873
- feat(ethexe): introduce solidity generator by @osipov-mit in #868
- chore(gtest): set default gas limit to
gtest::constants::MAX_USER_GAS_LIMIT
by @vobradovich in #876 - BREAKING CHANGE: rename
notify_on
fn toemit_event
, addemit_event
fn to Exposure by @vobradovich in #875 - build(deps): bump up Gear crates to 1.8.0 by @vobradovich in #883
Full Changelog: rs/v0.7.3...rs/v0.8.0
Sails-RS v0.7.3
What's Changed
- build(deps): bump parity-scale-codec from 3.6.12 to 3.7.4 by @vobradovich in #805
Full Changelog: rs/v0.7.2...rs/v0.7.3
Sails-RS v0.7.2
What's Changed
- fix(macros): support special lifetime '_ in service impl by @vobradovich in #714
- [rs]feat(cli): introduce '--sails-version' option for 'cargo sails program' by @DennisInSky in #727
- feat(macros): new
export
macro with unwrap result for fn impl by @vobradovich in #728 - feat(gtest): gtest run blocks
auto
andnext
mode by @vobradovich in #766 - feat(gtest): add logging to gtest remoting impl by @vobradovich in #768
- feat(gclient): impl
at_block
for query at specific block by @vobradovich in #778 - build(deps): bump up Gear crates to 1.7.1
Full Changelog: rs/v0.7.1...rs/v0.7.2
Sails-JS v0.3.1
Sails-RS v0.7.1
What's Changed
- build: have some programs as release assets by @DennisInSky in #687
- doc: cargo sails new-program subcommand renamed to program by @btwiuse in #698
- fix(rs): rust 1.83 clippy warnings by @vobradovich in #710
The main change is in pinning parity-scale-codec to 3.6.12
Full Changelog: rs/v0.7.0...rs/v0.7.1
Sails-RS v0.7.0
What's Changed
- fix(ffi): unify c_char ptr cast by @breathx in #648
- feat(macros): allow to define multiple services within the same module and services with the same name in other modules by @vobradovich in #660
- build(deps): bump up Gear crates to 1.7.0 by @DennisInSky in #683
Full Changelog: rs/v0.6.2...rs/v0.7.0