Skip to content

Releases: gear-tech/sails

Sails-JS v0.4.2

23 May 12:49
e8a268a
Compare
Choose a tag to compare

Compatibility

  • Sails-RS v0.8.1
  • Gear v1.8.1

Changes

  • Bump @gear-js/api to v0.42.0 in #933
  • Support Program class from @gear-js/api to keep track on program upgrades in #933

Sails-RS v0.8.1

19 May 11:04
Compare
Choose a tag to compare

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 from program 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

25 Apr 10:06
0c075d7
Compare
Choose a tag to compare

Compatibility

  • Sails-RS v0.8.0
  • Gear v1.8.0

Changes

  • Add explicit export of IMethodReturnType from TransactionBuilder

Sails-JS v0.4.0

17 Apr 09:24
8d10f82
Compare
Choose a tag to compare

Compatibility

  • Sails-RS v0.8.0
  • Gear v1.8.0

Changes

  • Support ReplyCode from @gear-js/api in #893
    From now on, response function will throw an error if the program's reply is successful.
  • Update types in ctor generation (#786)
  • Unpin sails-js peer dependencies

Sails-RS v0.8.0

15 Apr 09:56
Compare
Choose a tag to compare

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 to emit_event, add emit_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

10 Feb 13:15
Compare
Choose a tag to compare

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

06 Feb 16:53
Compare
Choose a tag to compare

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 and next 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

09 Dec 09:07
564fd6b
Compare
Choose a tag to compare

Compatibility

  • Sails-RS v0.7.0

Changes

  • Setup automated releases in #608
  • Update dependencies in #709

Sails-RS v0.7.1

05 Dec 13:53
Compare
Choose a tag to compare

What's Changed

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

27 Nov 10:56
Compare
Choose a tag to compare

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