Releases: gear-tech/sails
Releases · gear-tech/sails
rs/v0.6.2
What's Changed
- feat(idl-parser): Add docs to FFI ast by @vobradovich in #576
- feat(client-gen): Add
no_derive_traits
flag to remove derive generation for PartialEq, Debug by @vobradovich in #564 - feat(sails-cli): Add
client-rs
command to generate Rust client code from CLI by @vobradovich in #563 - chore(sails-rs): move ProgramMeta and ServiceMeta to new crate by @vobradovich in #588
- feat(cli): add CLI command
idl
to generate IDL from source crate by @vobradovich in #589
Full Changelog: v0.6.1...rs/v0.6.2
Breaking Changes:
- The
cargo sails
commandnew-program
has been renamed intoprogram
v0.6.1
What's Changed
- feat(sails-rs): introduce 'ethexe' feature in 'sails-rs' by @DennisInSky in #555
- feat(sails): introduce 'wait_up_to' option for making calls in 'gstd' env by @DennisInSky in #561
- build(deps): bump Gear crates to 1.6.2 by @DennisInSky in #572
- doc: add guidline for writing Sagas using Sails by @DennisInSky in #560
- build(deps): bump up Sails crates to 0.6.1 in template by @DennisInSky in #575
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- feat(gtest): adopt Gear crates 1.6.1 by @vobradovich in #511
- build(template): bump up sails version to 0.6.0 by @DennisInSky in #559
Full Changelog: v0.5.1...v0.6.0
Note
The GTest crate 1.6.1 introduced some breaking changes which found their reflection in Sails' GTestRemoting. Not it requires GTest's System instance to be initialized externally and passed to the GTestRemoting instance
v0.5.1
What's Changed
- fix(macros): support inline trait bounds by @vobradovich in #550
- feat(idl-gen): transfer comments documenting service methods into IDL and client by @vobradovich in #547
- feat(sails): transfer comments documenting exported types into IDL and client by @vobradovich in #551
- build(deps): bump up Gear libs to 1.5.1 by @DennisInSky in #552
- build(deps): bump up sails-rs to 0.5.1 in template by @DennisInSky in #554
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- build: add readme to 'sails-rs' as a symlink for proper packaging by @DennisInSky in #489
- feat(template): generate program worspace using separate packages for app and wasm by @DennisInSky in #499
- build: fix 'sails-rs' compilation when no features are specified by @DennisInSky in #501
- fix: 'cargo-sails' commands structure for being a proper cargo extension by @DennisInSky in #503
- feat(parser) move parser from sails-js to own library by @Zewasik in #491
- fix(idl-gen): types with const generics produce invalid IDL by @vobradovich in #515
- feat(template): add query method to template by @vobradovich in #519
- feat(js): setup separate npm packages by @osipov-mit in #514
- fix(gtest, gclient): extract error message from reply payload by @vobradovich in #517
- chore(js): make precommit-js, fix publishing by @osipov-mit in #521
- chore(cli): simplify cli clap commands by @vobradovich in #525
- feat(template): add .gitignore to template by @DennisInSky in #537
- feat(sails): allow to return value with reply from a service by @vobradovich in #522
- feat(client-gen): add support for external types in generated client code by @vobradovich in #538
- feat(macros): propagate allow attrs for service impls and fns by @DennisInSky in #539
- chore(template): exclude template tomls from cargo analysis by @DennisInSky in #540
- fix(build): workaround Gear release 1.6.0 with broken backword compatibility by @DennisInSky in #546
New Contributors
v0.4.0
What's Changed
- fix(sails-rs): rare error in sails-rs gstd::events::tests by @vobradovich in #468
- feat(template): add client and tests to the program template by @DennisInSky in #469
- fix(js): don't use the spread operator to append to a large array by @btwiuse in #454
- feat(js): make some async methods on TransactionBuilder sync by @btwiuse in #452
- doc: add crate documentation to 'sails-rs' by @DennisInSky in #471
- feat(idl-gen): allow non-existing dirs in path for 'generate_idl_to_file' by @DennisInSky in #472
- feat(js): use zero address in gas calculation if no account is provided by @osipov-mit in #473
- feat: introduce feature flags 'gstd', 'gtest', 'gclient' for 'sails-rs' by @DennisInSky in #476
- chore: rename 'gsdk' into 'gclient' by @DennisInSky in #484
- feat(cli): invert params of 'new-program' in 'cargo-sails' by @DennisInSky in #485
- feat: return error code from 'cargo-sails' by @DennisInSky in #488
- feat(cli): support '--no-client' and '--no-gtest' flags in 'cargo-sails' template by @DennisInSky in #487
New Contributors
Full Changelog: v0.3.0...v0.4.0
Breaking Changes
- The
sails-rs
crate introduces new feature flagsgstd
(on by default),gtest
,gclient
. This will break compilation of test projects and require manual adjustment ofdev-dependencies
like
[dev-dependencies]
sails-rs = { version = 0.4.0, features = ["gtest"] } # or `gclient` or both
- The
gsdk
module of thesails-rs
crate has been renamed intogclient
. This will break compilation of test projects and require manual adjustment of the source code
v0.3.0
What's Changed
- build(deps): bump up Gear libs to 1.5.0 by @DennisInSky in #457
- build: introduce 'debug' feature in 'sails-rs' crate by @DennisInSky in #458
- feat(sails-rs): Introduce support for 'with_gas_limit' in Gtest by @vobradovich in #439
- feat: introduce Cargo extension CLI for creating packages for building programs by @DennisInSky in #449
- chore: re-export 'gstd::debug' macro from 'sails-rs' by @DennisInSky in #461
- fix(macros): Ensure single
program
proc_macro attribute per crate by @vobradovich in #459 - feat(sails, gstd): Support for handle_reply in gstd MessageFuture by @vobradovich in #463
Full Changelog: v0.2.1...v0.3.0
v0.2.1
What's Changed
- feat(macros): provide a way for defining sails crate name in generated code by @vobradovich in #427
- feat(client-gen): provide a way for defining sails crate name by @vobradovich in #435
- feat(sails-rs): introduce common support for 'with_gas_limit' option in the 'Action' trait by @vobradovich in #438
- chore: add 'gear-wasm-builder' into 'sails-rs' as an optional dep with re-export by @DennisInSky in #445
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
- use assoc-types in traits instead of generics by @vobradovich in #393
- add default ActorId to GTestRemoting by @vobradovich in #395
- showcase building contract using native Rust means by @DennisInSky in #396
- make Demo app built from a single crate by @DennisInSky in #398
- resolve publishing issues by @breathx in #392
- fix sails crate name in generated code by @DennisInSky in #400
- rename folder containing rust code by @DennisInSky in #402
- support programs without any constructors by @DennisInSky in #412
- allow program and service coexist in the same module by @ridesun in #405
- rename 'gservice' into 'service' by @DennisInSky in #413
- support mocking of generated client using mockall by @vobradovich in #397
- rename 'groute' into 'route' by @DennisInSky in #416
- rename 'gprogram' into 'program' by @DennisInSky in #418
- allow switching actor in GTest, GSdk remotings by @DennisInSky in #422
- generate program default ctor if there are no user-defined ones by @DennisInSky in #420
- allow returning non-static lifetime references from service methods #268 by @vobradovich in #421
New Contributors
Full Changelog: v0.1.1...v0.2.0