Releases: gear-tech/sails
Releases · gear-tech/sails
Sails-RS v1.0.0-beta.3
BREAKING CHANGE v1.0.0
- IDL V2 Introduction: Introduced a new version of the Interface Definition Language (IDL V2) along with its specification, Abstract Syntax Tree (AST), parser, and code generator. This new version provides enhanced capabilities and a more structured approach to defining interfaces.
- Sails Header for Message Routing: Implemented a standardized Sails Header (v1) for asynchronous messages. This header facilitates deterministic routing, improves off-chain decodability, and enables unique service fingerprinting without altering the underlying Gear message layout. Detailed specifications for the header, interface IDs, and ReflectHash are provided.
- Client Generation Logic Refinement: Updated the client generation process to align with IDL V2 and the new Sails Header. This includes changes to how service methods and events are identified and encoded/decoded, leveraging new
ROUTE_IDandINTERFACE_IDconstants for improved clarity and efficiency. - Sails Type Registry: Replace
scale-infowithsails-type-registry. - Comprehensive Documentation: Added new documentation files (
idl-v2-spex.md,interface-id-spec.md,reflect-hash-spec.md,sails-header-v1-spec.md) to thoroughly explain the new specifications and their implications for developers.
What's Changed
- feat: add
git://support to IDL v2 includes by @m62624 in #1272 - fix: cargo
cargo sails newerror: failed to select a version for the requirement by @vobradovich in #1273 - feat: add
entry_idto IDL AST and use it across parser and generators by @vobradovich in #1275 - feat: replace scale-info with sails-type-registry by @m62624 in #1248
- feat: Client generation for IDL v1 using sails-rs 1.x.x by @vobradovich in #1286
Full Changelog: rs/v1.0.0-beta.2...rs/v1.0.0-beta.3
Sails-JS v1.0.0-beta.1
What's Changed
- feat(idl-v2): intoduce IDL V2 (spec, ast, parser, gen) and Sails Header (spec, routing, code gen) by @vobradovich in #1186
- feat: support type aliases in IDL v2 by @m62624 in #1264
- feat: add
entry_idto IDL AST and use it across parser and generators by @vobradovich in #1275 - feat(js): add bun build & bun tests by @vobradovich in #1284
- chore(js): update dependencies by @osipov-mit in #1288
- feat: Client generation for IDL v1 using sails-rs 1.x.x by @vobradovich in #1286
Full Changelog: js/v0.5.0...js/v1.0.0-beta.1
Sails-RS v1.0.0-beta.2
BREAKING CHANGE v1.0.0
- IDL V2 Introduction: Introduced a new version of the Interface Definition Language (IDL V2) along with its specification, Abstract Syntax Tree (AST), parser, and code generator. This new version provides enhanced capabilities and a more structured approach to defining interfaces.
- Sails Header for Message Routing: Implemented a standardized Sails Header (v1) for asynchronous messages. This header facilitates deterministic routing, improves off-chain decodability, and enables unique service fingerprinting without altering the underlying Gear message layout. Detailed specifications for the header, interface IDs, and ReflectHash are provided.
- Client Generation Logic Refinement: Updated the client generation process to align with IDL V2 and the new Sails Header. This includes changes to how service methods and events are identified and encoded/decoded, leveraging new
ROUTE_IDandINTERFACE_IDconstants for improved clarity and efficiency. - Comprehensive Documentation: Added new documentation files (
idl-v2-spex.md,interface-id-spec.md,reflect-hash-spec.md,sails-header-v1-spec.md) to thoroughly explain the new specifications and their implications for developers.
What's Changed
- feat(cli): fix template name conflict, remove old templates by @vobradovich in #1245
- fix: sails-cli idl gen for eth by @vobradovich in #1246
- feat: add Syscall - ::gas_available, ::read_bytes, ::system_reserve_gas, refine deps, add Syscall spec by @vobradovich in #1247
- fix: fn returns
CommandReply<()>with value must send manual reply by @vobradovich in #1254 - feat: support type aliases in IDL v2 by @m62624 in #1264
- feat: add include support to IDL v2 by @m62624 in #1175
- feat: embed IDL in WASM custom sections (sails:idl) by @ukint-vs in #1261
New Contributors
Full Changelog: rs/v1.0.0-beta.1...rs/v1.0.0-beta.2
Sails-JS v1.0.0-beta
js/v1.0.0-beta chore: inline macros to simplify code generation (#1258)
Sails-RS v0.9.3
What's Changed
Full Changelog: rs/v0.9.2...rs/v0.9.3
Sails-RS v0.10.3
What's Changed
- fix: fn returns CommandReply<()> with value must send manual reply #1253
Full Changelog: rs/v0.10.2...rs/v0.10.3
Sails-RS v1.0.0-beta.1
What's Changed
BREAKING CHANGE
- IDL V2 Introduction: Introduced a new version of the Interface Definition Language (IDL V2) along with its specification, Abstract Syntax Tree (AST), parser, and code generator. This new version provides enhanced capabilities and a more structured approach to defining interfaces.
- Sails Header for Message Routing: Implemented a standardized Sails Header (v1) for asynchronous messages. This header facilitates deterministic routing, improves off-chain decodability, and enables unique service fingerprinting without altering the underlying Gear message layout. Detailed specifications for the header, interface IDs, and ReflectHash are provided.
- Client Generation Logic Refinement: Updated the client generation process to align with IDL V2 and the new Sails Header. This includes changes to how service methods and events are identified and encoded/decoded, leveraging new
ROUTE_IDandINTERFACE_IDconstants for improved clarity and efficiency. - Comprehensive Documentation: Added new documentation files (
IDL_V2_SPEC.md,INTERFACE_ID_SPEC.md,REFLECT_HASH_SPEC.md,SAILS_HEADER_V1_SPEC.md) to thoroughly explain the new specifications and their implications for developers.
Full Changelog: rs/v0.10.2...rs/v1.0.0-beta.1
Sails-RS v0.10.2
What's Changed
- feat(rs/cli/program_new): add dependency inheritance from workspace by @StackOverflowExcept1on in #1138
- fix: clippy 1.92
unused_assignmentsby @vobradovich in #1152 - feat(rs/cli/new): add
--ethflag, fix compatibility with Solidity names by @StackOverflowExcept1on in #1162
Full Changelog: rs/v0.10.1...rs/v0.10.2
Sails-RS v0.10.1
What's Changed
- feat(vara.eth): implement #[export(payable)] by @m62624 in #1120
- docs: add section for payable macro by @m62624 in #1130
- fix(vara.eth): use RustType from SolType to decode payload by @vobradovich in #1128
- fix(vara.eth): fix incorrect contract generation by @StackOverflowExcept1on in #1133
- feat(vara.eth): add Solidity keyword validation for identifiers by @m62624 in #1132
- docs(vara.eth): clarify identifier validation by @m62624 in #1141
Full Changelog: rs/v0.10.0...rs/v0.10.1
Sails-RS v0.10.0
Bump up Gear crates to v1.10.0
What's New
- BREAKING CHANGE: New client implementation and code generation by @vobradovich in #1050
What's Changed
- feat: add ping-pong example w/ message stacking by @vobradovich in #1077
- feat(gearexe): remove uint128 value as first parameter in contracts & signatures by @vobradovich in #1081
- feat(sol-gen): add payable modifier, adjust callback modifier by @osipov-mit in #1117
- feat(sol-gen): parse #[indexed] comment from IDL by @m62624 in #1118
- feat(rs/ethexe): add some logic to demonstrate how vara.eth works by @StackOverflowExcept1on in #1113
New Contributors
- @StackOverflowExcept1on made their first contribution in #1113
Full Changelog: js/v0.5.0...rs/v0.10.0