Skip to content

Releases: gear-tech/sails

Sails-RS v1.0.0-beta.3

13 Apr 10:57

Choose a tag to compare

Pre-release

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_ID and INTERFACE_ID constants for improved clarity and efficiency.
  • Sails Type Registry: Replace scale-info with sails-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 new error: failed to select a version for the requirement by @vobradovich in #1273
  • feat: add entry_id to 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

13 Apr 10:56
3b5a8d7

Choose a tag to compare

Pre-release

What's Changed

Full Changelog: js/v0.5.0...js/v1.0.0-beta.1

Sails-RS v1.0.0-beta.2

27 Mar 12:56

Choose a tag to compare

Pre-release

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_ID and INTERFACE_ID constants 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

26 Mar 10:40
df23d53

Choose a tag to compare

js/v1.0.0-beta

chore: inline macros to simplify code generation (#1258)

Sails-RS v0.9.3

25 Mar 12:11

Choose a tag to compare

What's Changed

  • fix(rs): command reply tuple with value by @m62624 in #1259

Full Changelog: rs/v0.9.2...rs/v0.9.3

Sails-RS v0.10.3

24 Mar 12:27

Choose a tag to compare

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

17 Mar 16:52

Choose a tag to compare

Pre-release

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_ID and INTERFACE_ID constants 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

24 Dec 10:42

Choose a tag to compare

What's Changed

Full Changelog: rs/v0.10.1...rs/v0.10.2

Sails-RS v0.10.1

10 Dec 09:51

Choose a tag to compare

What's Changed

Full Changelog: rs/v0.10.0...rs/v0.10.1

Sails-RS v0.10.0

03 Dec 10:13

Choose a tag to compare

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

New Contributors

Full Changelog: js/v0.5.0...rs/v0.10.0