Skip to content

v0.11.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ma2bd ma2bd released this 12 May 20:45
· 594 commits to main since this release

Linera: v0.11.0 update

We're very excited to publish Linera v0.11.0! 🚀

We've been working hard to improve the Linera protocol as part of our mission to deliver truly scalable Web3 infrastructure.

Summary

This release features another set of SDK improvements, making it easier to write applications for Linera.

For a more in-depth breakdown see the 'What's Changed' section.

What's Changed

  • Fix round notification handling for CLI commands. by @afck in #1826
  • Add fn user back to Message by @andresilva91 in #1832
  • Modify Native Fungible App's Message to be Notify only by @andresilva91 in #1833
  • change protocol version to 0.11.0 on the main branch by @afck in #1835
  • linera-version: use CARGO_MANIFEST_DIR instead of PWD by @Twey in #1837
  • Move Fungible ABI to linera SDK by @andresilva91 in #1836
  • Put proxy metrics behind with_metrics by @andresilva91 in #1819
  • Make sure we have metrics enabled in our Docker images by @andresilva91 in #1820
  • Stop using unwrap_or_default in e2e tests by @andresilva91 in #1847
  • enhancement: remove node_modules and add node_modules to .gitignore by @fenghaojiang in #1852
  • chore: add .git-blame-ignore-revs by @Colerar in #1853
  • package{,-lock}.json: remove accidental files by @Twey in #1856
  • Use tuple<> for the unit type by @jvff in #1859
  • linera-views: avoid generating duplicate GraphQL type names by @Twey in #1857
  • Fix Credit message tracking in Fungible Token by @jvff in #1861
  • Add a configurable policy for incoming messages. by @afck in #1862
  • linera-views::dynamodb: box aws-sdk-dynamodb futures by @Twey in #1860
  • Remove push_to_all_chains by @andresilva91 in #1848
  • Test bouncing of tokens rejected by receiver by @jvff in #1863
  • linera-views: add local variants of store traits by @Twey in #1843
  • Fix some typos and comments. by @afck in #1866
  • Make clap non-optional in linera-core. by @afck in #1865
  • IndexedDB views backend by @Twey in #1630
  • .github/workflows/documentation: supersede in-progress publishes by @Twey in #1867
  • Implement Witty traits for BTreeMap and Duration by @jvff in #1869
  • Remove InitializationArgument/Parameters from ContractAbi/ServiceAbi by @andresilva91 in #1844
  • Update to the README.md and corresponding changes. by @MathieuDutSik in #1868
  • Return from add_event and remove_event whether it was new. by @afck in #1870
  • Implement Witty traits for log::Level by @jvff in #1877
  • Use anyhow::Error in end-to-end tests by @jvff in #1878
  • linera wallet forget-keys command by @andresilva91 in #1871
  • linera wallet forget-chain command by @andresilva91 in #1872
  • Derive Witty traits for linera-base types by @jvff in #1881
  • Use u64 microseconds as durations in the protocol. by @afck in #1884
  • Increase the gRPC message size limit to 16 MiB. by @afck in #1883
  • Remove newline incorrectly added between the test and its attributes by @jvff in #1892
  • Simplify current_round computation; remove previous_round. by @afck in #1882
  • Ensure WIT types are registered in a deterministic order by @jvff in #1893
  • Service engine uses Cranelift instead of Singlepass by @christos-h in #1885
  • Fix Linera Explorer by @andresilva91 in #1896
  • Use test_case in worker_tests. by @afck in #1894
  • Display error in WasmExecutionError::ExecuteModuleInWasmer by @christos-h in #1886
  • Rename the aws feature to dynamodb. by @afck in #1901
  • Fix the build without RocksDB. by @afck in #1900
  • Wait for refund messages before final assertions in Matching Engine end-to-end test by @jvff in #1873
  • Fix warnings when building with --no-default-features. by @afck in #1904
  • Make linera_chain::manager public, so the docs get published. by @afck in #1903
  • Create a WitInterface trait to allow creating of WIT interface snippets by @jvff in #1902
  • Add fallback/public mode to the chain manager. by @afck in #1899
  • Added a Service API to fetch a blob of bytes from a URL by @christos-h in #1887
  • Use Witty to declare the application interfaces by @jvff in #1907
  • Replace file-lock dependency with fs4 in order to support non-POSIX operating systems by @jvff in #1908
  • Receive wasmer::Engine by reference in InstanceBuilder constructor by @jvff in #1911
  • Add WIT file contents generation to Witty by @jvff in #1910
  • Adjusting NFT Webfrontend README by @andresilva91 in #1913
  • Make Wallet public and usable in tests with ClientContext. by @afck in #1912
  • Add some Wasmer specific getters to Witty by @jvff in #1914
  • Generate WIT files using a custom binary by @jvff in #1916
  • Add TestClock::sleep to make sleeps respect simulated time. by @afck in #1917
  • Add fetch_url to ServiceSystemApi type exported by Witty by @jvff in #1919
  • Migrate to Witty by @jvff in #1920
  • Run check-all-features also without --all-targets. by @afck in #1923
  • Restrict read/write access to wallet.json to the user on Unix. by @afck in #1925
  • Handle timeouts returned by process_inbox_if_owned in ChainListener. by @afck in #1922
  • Use Web-safe time primitives by @Twey in #1926
  • Rename the get_free_port and introduce one for endpoint. by @MathieuDutSik in #1930
  • [amm] Send tokens back to owner's chains by @andresilva91 in #1909
  • Remove redundant operation mutation from AMM by @andresilva91 in #1928
  • Llm example by @christos-h in #1915
  • Adding CloseChain operation to AMM by @andresilva91 in #1929
  • Fix incorrect delivery notifications for rejected blocks by @jvff in #1933
  • Remove WIT files that are no longer used by @jvff in #1935
  • Update Rust to version 1.77.0 by @jvff in #1937
  • Insertion of the Ethereum support in Linera by @MathieuDutSik in #1918
  • Wasmer v4 by @Twey in #1879
  • Disallow grants for broadcast channels by @andresilva91 in #1941
  • Update to Rust 1.77.2 by @jvff in #1943
  • Clean up some leftover code by @MathieuDutSik in #1944
  • Use BlockExecutionOutcome in ExecutedBlock. by @afck in #1940
  • Rename contract's initialize entrypoint to instantiate by @jvff in #1936
  • Bounded the exists query for ScyllaDB by @christos-h in #1938
  • Address comment on #1941 by @andresilva91 in #1947
  • Remove async-trait dependency from applications by @jvff in #1942
  • Replace {Contract,Service}StateStorage with new State trait by @jvff in #1950
  • Add num_blocks metric by @andresilva91 in #1949
  • Update wit-bindgen to 0.24.0 by @jvff in #1953
  • Remove incorrect store of the contract state by @jvff in #1955
  • Next generation of Ethereum interoperability by @MathieuDutSik in #1945
  • flake.lock: update to gain access to Rust 1.77 by @Twey in #1952
  • Use EmptyState in Native Fungible application by @jvff in #1959
  • INSTALL.md: add instructions for using the Nix flake by @Twey in #1962
  • linera-witty: use wasmer from git to avoid wasmer-vm dependency by @Twey in #1960
  • linera-execution: use instrumentation for Wasmer metering by @Twey in #1951
  • Remove Result return types from applications by @jvff in #1969
  • Remove test runner and the mock system API by @jvff in #1974
  • Implement eth_call operation by @MathieuDutSik in #1973
  • Don't pass wasmer::Instance in a wasmer::FunctionEnvMut by @Twey in #1968
  • Remove bcs and serde-json dependencies requirement for applications by @jvff in #1980
  • Replace git wasmer dependency with prerelease by @Twey in #1979
  • Llm Stories by @christos-h in #1946
  • Move write_batch into ContractRuntime by @jvff in #1978
  • HashedValue -> HashedCertificateValue by @andresilva91 in #1964
  • value -> hashed_certificate_value by @andresilva91 in #1965
  • Some changes to Ethereum support in preparation of #1963. by @MathieuDutSik in #1983
  • Separate storage interface for contracts and services by @jvff in #1985
  • Oracle support in the core protocol by @afck in #1963
  • Make applications handle their own state by @jvff in #1993
  • Add support for blobs in linera-storage::Storage by @andresilva91 in #1984
  • Rename new and finalize to load and store by @jvff in #1994
  • Don't create .cargo/config.toml in new projects by @jvff in #1995
  • Clean-up example application READMEs and Cargo config by @jvff in #1996
  • Improve the README file of the LLM example by @ma2bd in #1997
  • Feature gate the Ethereum tests by @MathieuDutSik in #2000

New Contributors

Full Changelog: v0.10.1...v0.11.0