Skip to content

v0.7.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 06 May 23:03
· 369 commits to main since this release

Notable changes

  1. Cairo 2.6.3 is now the default version for Dojo.
  2. Torii supports indexing pending blocks with --index-pending flag.
  3. Torii and Katana by default do not add a CORS layer. You should enable it by passing --allowed-origins "*" for instance to explicitly add this CORS layer accordingly.
  4. Sozo now attempts to automatically grant the writer permissions to all the models that are declared into the writes entry of an overlay manifest file. The overlay manifest file will be firstly described here and should have a dedicated section soon with all the functionalities that will depend on it.

Targeted features for for the 0.7.0 (which will ends up being the first iteration for 1.0):

  • Cairo 2.6 support (currently only a CI problem to be fixed to ensure correct publication of the releases.
  • New storage layout [1/2] with: Nested structs, Array<T>, ByteArray.
  • New storage layout [2/2] with: Enums rework to fully support custom enumeration without the same type limitation we currently have.
  • Update of Torii to support the new types + the new storage layout.
  • Namespaces to register / access models.
  • Sozo support for constructor / initializer pattern with arguments.
  • Torii upgradeability of models.

What's Changed

  • fix: ensure events command picks the correct manifests path for ABIs by @glihm in #1777
  • style(katana-db): standardize naming for historical tables by @kariy in #1773
  • refactor(katana-db): convert StorageChangeSet into a normal table by @kariy in #1774
  • test(katana-db): ensure key/value types implement their respective traits by @kariy in #1776
  • feat(katana-db): integer set using roaring bitmap by @kariy in #1775
  • feat: add verification of the RPC version by @glihm in #1782
  • fix(messaging): update latestBlock to pending by @ybensacq in #1743
  • fix: split_u256 by @greged93 in #1793
  • chore(katana): use deps from workspace by @kariy in #1795
  • fix: add the transaction options to sozo migrate apply by @glihm in #1802
  • Prepare release: v0.6.1-alpha.0 by @tarrencev in #1803
  • fix(grpc): queries by @Larkooo in #1779
  • Saya New Inputs by @neotheprogramist in #1757
  • ci: bump codecov to latest version and CI fail on upload fail by @glihm in #1805
  • Info trace outputs txn hash as hex by @broody in #1809
  • Move class artifacts out of katana-primitives by @kariy in #1813
  • Add account with simple __execute__ entrypoint for testing by @kariy in #1814
  • fix: incorrect assumption about migration output by @lambda-0x in #1790
  • feat: add metadata section to the world contract manifest by @glihm in #1781
  • feat(katana): add executor metrics by @kariy in #1791
  • katana: update grafana dashboard with execution metrics by @kariy in #1818
  • Prepare release: v0.6.1-alpha.1 by @tarrencev in #1824
  • Strip version v prefix with release-dispatch by @tarrencev in #1825
  • feat: store contract abi and source in contract metadata by @remybar in #1682
  • refactor(katana-primitives): remove total supply from fee token genesis config by @kariy in #1821
  • refactor: clean up bin/sozo by @lambda-0x in #1828
  • Derive Default for GenesisJson by @tcoratger in #1830
  • Add new TypeScript bindgen by @RareSecond in #1783
  • fix: calculate address of all contracts during migration by @lambda-0x in #1822
  • fix: rework clean command to be more intuitive and propose a clean all by @glihm in #1784
  • fix: use fee_estimate_multiplier on more places by @lambda-0x in #1823
  • fix ci by @lambda-0x in #1836
  • fix: handle invalid version validation for installation script by @bhavyagosai in #1840
  • fix(katana): expected module path in json logs by @lambda-0x in #1842
  • Update devcontainer on release by @tarrencev in #1843
  • feat(sozo): add --stats flag to output stats of the build artifacts by @fabrobles92 in #1799
  • Update devcontainer image: 3153a80 by @tarrencev in #1844
  • Prepare release: v0.6.1-alpha.2 by @tarrencev in #1845
  • fix(dojo-bindgen): typescript code gen by @Larkooo in #1847
  • fix(katana-provider): temporarily invalidate cache if nonce or class hash is default value by @kariy in #1850
  • Update defaults for new TypeScript bindgen by @RareSecond in #1846
  • Prepare release: v0.6.1-alpha.3 by @tarrencev in #1851
  • [sozo] Deploy Account by @JimmyFate in #1601
  • fix(ci): exit with non-zero status code if any function call fails by @lambda-0x in #1853
  • fix: ensure transaction executions are stored with fork and db providers by @glihm in #1852
  • feat(torii-client): expose grpc event messages by @Larkooo in #1826
  • Replace block_time: None by default by @tcoratger in #1858
  • fix(katana): wrong from_address value taken from the transaction trace by @kariy in #1862
  • test(katana-executor): test tx execution info conversion by @kariy in #1863
  • test(katana-executor): test events/messages are extracted correctly from tx execution info by @kariy in #1864
  • fix: messaging tutorial data by @glihm in #1869
  • feat: add raw max fee to TransactionsOptions by @princeibs in #1856
  • Bump katana database version by @kariy in #1833
  • feat: spawn event message subscription service by @Larkooo in #1876
  • feat: enable global flag for all commands/options by @lambda-0x in #1875
  • refactor(sozo): migration logic to be more robust and testable by @lambda-0x in #1848
  • Prepare release: v0.6.1-alpha.4 by @tarrencev in #1872
  • Display default values for EnvironmentOptions in katana cli by @notV4l in #1861
  • docs(katana): update DB er diagram by @kariy in #1874
  • Bump alloy to 0.7.0 by @tcoratger in #1881
  • fix: event message subscription subscription broker by @Larkooo in #1885
  • feat(torii): process pending block by @Larkooo in #1798
  • fix(katana): invalid nonce values set in error by @Eikix in #1890
  • fix: ensure account defaults to block pending by @glihm in #1891
  • CI: add workflow_dispatch for devcontainer.yml by @glihm in #1882
  • refactor(torii): don't use feature-only type in non-feature code by @kariy in #1894
  • Fix dojoup script when installing from git by @kariy in #1895
  • Torii external-url arg to support https by @broody in #1898
  • fix(katana): place import inside its feature scope by @kariy in #1902
  • fix(torii): fallback invalid events & flag indexing pending blocks by @Larkooo in #1897
  • [sozo] add trace logs by @btirth in #1867
  • fix: allow ref self until sozo can handle starknet contracts by @glihm in #1879
  • feat: cli arg disable cors torii proxy server by @Larkooo in #1904
  • Prepare release: v0.7.0-alpha.0 by @tarrencev in #1905
  • bump alloy to 0.7.1 by @tcoratger in #1906
  • feat: add allowed-origins to katana cli by @Larkooo in #1909
  • [saya] demo by @neotheprogramist in #1883
  • fix(sozo): events subcommand by @lambda-0x in #1915
  • prompt user for double password check by @mubarak23 in #1912
  • feat: sync range marks pending cursor to none by @Larkooo in #1910
  • feat: add support for Cairo 2.6 by @glihm in #1865
  • fix(docker): build jemalloc with 64KB pagesize for linux/arm64 by @kariy in #1916
  • feat(sozo): automatically authorize models to migrated systems based on models specified in overlays by @lambda-0x in #1880
  • Prepare release: v0.7.0-alpha.1 by @tarrencev in #1923
  • Update Saya to use rustls-tls rather than openssl by @tarrencev in #1934
  • Support triggering release action by @tarrencev in #1935

New Contributors

Full Changelog: v0.6.0...v0.7.0-alpha.1