github gear-tech/gear v1.9.0

latest releases: build, v1.9.1, v1.8.2...
one month ago

Release v1.9.0 changes

  • Crates versions bumped to "v1.9.0”, runtime spec version bumped to 1900 (#4795);
  • Weights of extrinsic and WASM instructions WERE updated (#4794).

Important

Minimal stable 🦀 Rust version bumped to v1.88 (#4768).
Recommended nightly 🦀 Rust version bumped to nightly-2025-06-06.

Important

parity-scale-codec crate used to have performance regression in v3.7.4.
It’s highly recommended to update it at least to v3.7.5 (#4779).

Update requirements

JS clients Programs Node bin
🔴 Required 🟡 Recommended ⚪ Insubstantial

✨ Key changes

🔥📚 Code operations in storage were optimized (#4274);

Important

Some storage items had types changes. Applicable migrations are implemented.

This change helps users to spend less gas on average case, as well as from now on handles cases with re-instrumentation errors and retries for future weights versions.

🔥📖 Refund exceeding value instead of errors in BIAs (#4743);

🔥📚 Default system reserve got 10x increase (#4783).

Important

System reserve is a gas locked in async mains for possible critical hooks. Its default value bumped 10-times to be sufficient for arbitrary fast-written program.

Keep in mind that this parameter is configurable via gstd::Config api.

👤 Userspace

📚 gear-eth-bridge-primitives are now on crates.io (#4734);


📚 Proper calculate_reply function implemented for gtest (#4659);


📚 Gas counter in gtest was fixed (#4736);


📚 WasmProgram and legacy approach of mocking is removed from gtest (#4751).

⚙️ Runtime

📚 Governance messages are off-limits in gear-eth-bridge (#4716);


📚 Security of memory accesses increased at backend (#4381);


📚 Removed redundant memory copies, improving overall performance (#4630);


📚 Legacy pallet-gear-debug was removed from runtime (#4667).

Full Changelog: v1.8.1...v1.9.0

Don't miss a new gear release

NewReleases is sending notifications on new releases.