From e58134a571d5a4361c9150c16fa13800ab89e92d Mon Sep 17 00:00:00 2001 From: Amb1guousRaccoon <139561650+Amb1guousRaccoon@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:13:59 -0500 Subject: [PATCH 1/5] [skip ci] change Github to GitHub in README (#1156) Co-authored-by: Amb1guousRaccoon --- README.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.adoc b/README.adoc index 456495e922..a73f3c43b1 100644 --- a/README.adoc +++ b/README.adoc @@ -106,21 +106,21 @@ Hit CTRL-C to stop the server ---- -== Releasing Starknet docs on Github (for Admins only) +== Releasing Starknet docs on GitHub (for Admins only) _The high-level process for releasing documentation changes in this repository._ During the course of content development, writers merge branches with changes either directly into `main`, into a secondary branch as needed, where these changes wait until we are ready to release them—that is, post them to link:https://docs.starknet.io[docs.starknet.io]. -Github actions create Git tags and releases that appear at the repo’s link:https://github.com/starknet-community-libs/starknet-docs/releases[Releases] and link:https://github.com/starknet-community-libs/starknet-docs/tags[Tags] pages. +GitHub actions create Git tags and releases that appear at the repo’s link:https://github.com/starknet-community-libs/starknet-docs/releases[Releases] and link:https://github.com/starknet-community-libs/starknet-docs/tags[Tags] pages. -When a feature branch is merged into the `main` branch, a github action creates a release tag in the format `v..` and updates `CHANGELOG.md`. It then publishes the new content to docs.starknet.io. +When a feature branch is merged into the `main` branch, a GitHub action creates a release tag in the format `v..` and updates `CHANGELOG.md`. It then publishes the new content to docs.starknet.io. === Procedure Merging a feature branch to `main` automatically publishes changes in the feature branch. No additional steps are required. -Github increments the version numbers in `package.json` and `package-lock.json`, and updates `CHANGELOG.md` with the descriptions of each PR that was just merged into `main`. +GitHub increments the version numbers in `package.json` and `package-lock.json`, and updates `CHANGELOG.md` with the descriptions of each PR that was just merged into `main`. . Update your local `main` branch from the remote `main` branch using one of the following: * Pull the changes: From fc821f6323126c01004f5d95d751c5af2a949ebf Mon Sep 17 00:00:00 2001 From: odednaor Date: Tue, 5 Mar 2024 12:06:44 +0200 Subject: [PATCH 2/5] docs: Update version_notes.adoc with 0.13.1 release notes (#1160) * Update version_notes.adoc with 0.13.1 release notes * Update version_notes.adoc * Update nav.adoc * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * Update version_notes.adoc * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * Update components/Starknet/modules/starknet_versions/pages/version_notes.adoc * Apply suggestions from code review * Add links to community forum posts * Added pricing changes * Added pricing changes --------- Co-authored-by: Steve Goodman <39279277+stoobie@users.noreply.github.com> Co-authored-by: Steve Goodman --- .../modules/starknet_versions/nav.adoc | 5 +- .../pages/version_notes.adoc | 86 +++++++++++++++++-- 2 files changed, 79 insertions(+), 12 deletions(-) diff --git a/components/Starknet/modules/starknet_versions/nav.adoc b/components/Starknet/modules/starknet_versions/nav.adoc index 71c54bcab1..0b45777ee9 100644 --- a/components/Starknet/modules/starknet_versions/nav.adoc +++ b/components/Starknet/modules/starknet_versions/nav.adoc @@ -1,4 +1,3 @@ -* Versions -** xref:version_notes.adoc[Starknet release notes] -// ** xref:upcoming_versions.adoc[Upcoming Starknet versions] +* Release information +** xref:version_notes.adoc[Release notes] ** xref:deprecated.adoc[Deprecated, unsupported, and removed features] diff --git a/components/Starknet/modules/starknet_versions/pages/version_notes.adoc b/components/Starknet/modules/starknet_versions/pages/version_notes.adoc index 432babbba2..8a57b192d4 100644 --- a/components/Starknet/modules/starknet_versions/pages/version_notes.adoc +++ b/components/Starknet/modules/starknet_versions/pages/version_notes.adoc @@ -5,7 +5,7 @@ The following release notes cover the ongoing version changes to Starknet. You c == Starknet environments -Within Starknet's deployment pipeline there are separate and distinct networks that operate independently of each other for testing before deployment. +Within Starknet's deployment pipeline, there are separate and distinct networks that operate independently of each other for testing before deployment. include::ROOT:partial$snippet_important_goerli2_removed.adoc[] @@ -16,13 +16,82 @@ include::ROOT:partial$snippet_important_goerli2_removed.adoc[] |Environment |Starknet version|Sierra version|Cairo version |Mainnet|0.13.0|1.4.0|2.0.0 - 2.5.4 - -|Sepolia Testnet|0.13.0|1.4.0|2.0.0 - 2.5.4 +|Sepolia Testnet|0.13.1|1.5.0|2.0.0 - 2.6 |Goerli Testnet (deprecated)|0.13.0|1.4.0|2.0.0 - 2.5.4 |=== +[id="version0.13.1"] +== Starknet v0.13.1 + +[discrete] +=== New features and enhancements + +* *Cheaper data availability:* Starknet uses link:https://eips.ethereum.org/EIPS/eip-4844[EIP-4844]. +* Time-related syscalls when called from an account contract's `+__validate__+` function: +** `timestamp` returns the hour, rounded down. +** `block_number` returns the block number, rounded down to the nearest multiple of 100. +* *Optimization:* Load into memory only the functions in a contract that are actually used when generating the proof. + +[discrete] +=== Pricing changes + +[discrete] +==== Computation + +* A Cairo step now costs 0.0025 gas/step, a 50% reduction. +* All builtins costs are accordingly reduced by 50%. + +[discrete] +==== Calldata and signatures + +Each felt in the calldata and signature arrays of all transaction types now costs 0.128 gas/felt. + +[discrete] +==== Class declaration +* Each felt of a sierra_program in the contract class and of bytecode in the compiled contract class now costs 28 gas/felt. ++ +[NOTE] +==== +v1 `DECLARE` transactions only include bytecode. +==== +* Each character in the ABI costs 0.875 gas. + +[discrete] +==== Events + +* An additional felt to the data array of an event now costs 0.128 gas/felt, similar to calldata. +* An additional felt to the keys array now costs 0.256 gas/felt. + +[discrete] +=== API changes: + +Starknet block: + +* New field `l1_da_mode`, which indicates whether EIP-4844 was used in the block. +* `eth_l1_gas_price` and `strk_l1_gas_price` were replaced, and the information now contains the data gas price (EIP-4844) in addition to the regular gas price +* `execution_resources` in the transaction receipt now contains: +** data availability resources +** syscall resources, which contribute to the transaction fee but were not included in the receipt before this version. +* `transaction_commitment` and `event_commitment` are added to the block. `0` is returned for old blocks. + +[discrete] +=== Infrastructure updates + +Starknet now supports multiple L1 providers. + +[discrete] +=== Additional resources + +Community Forum Posts: + +* link:https://community.starknet.io/t/starknet-v0-13-1-eip4844-support-more-fee-reductions-stability-quality-of-life/112951[Starknet v0.13.1: EIP4844 Support, More Fee Reductions, Stability, Quality of Life] +* link:https://community.starknet.io/t/starknet-v0-13-1-fee-reduction/113552[Starknet v0.13.1: Fee Reduction] +* link:https://community.starknet.io/t/data-availability-with-eip4844/113065[Data availability with EIP4844] +* link:https://community.starknet.io/t/starknet-v0-13-1-pre-release-notes/113664[Starknet v0.13.1 pre-release notes] + + [id="version0.13.0"] -== Starknet v0.13.0 +== Starknet v0.13.0 (Jan 10, 23) Starknet v0.13.0 is live on Mainnet. @@ -38,7 +107,7 @@ Starknet 0.13.0 includes the following changes: [id="version0.12.3"] -== Starknet v0.12.3 (November 19th 23) +== Starknet v0.12.3 (Nov 19, 23) Starknet v0.12.3 is live on Mainnet. @@ -63,7 +132,7 @@ Move structs that are common to `secp256k1` and `secp256r1` to a separate file. [id="version0.12.2"] -== Starknet v0.12.2 (September 4th 23) +== Starknet v0.12.2 (Sep 04, 23) Starknet v0.12.2 is live on Mainnet. @@ -74,7 +143,7 @@ This version includes the following changes: * Increased maximum Cairo steps per transaction from 1 million to 3 million. [id="version0.12.1"] -== Starknet v0.12.1 (August 21st 23) +== Starknet v0.12.1 (Aug 21, 23) Starknet v0.12.1 is live on Mainnet. @@ -85,7 +154,7 @@ This version includes the following changes: * Keccak builtin. [id="version0.12.0"] -== Starknet v0.12.0 (July 12th, 23) +== Starknet v0.12.0 (July 12, 23) Starknet v0.12.0 is live on Mainnet. @@ -265,7 +334,6 @@ Technical changes: [id="version0.9.1"] == Starknet v0.9.1 (July 20, 22) - This version contains the following changes: Starknet: From 59ccbc5f48a73743909928926a838a8e0b8c214b Mon Sep 17 00:00:00 2001 From: Starknet docs deployer <> Date: Tue, 5 Mar 2024 10:07:14 +0000 Subject: [PATCH 3/5] chore(release): 0.1.498 --- CHANGELOG.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7371bad89a..05fec75d4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.1.498](https://github.com/starknet-io/starknet-docs/compare/v0.1.497...v0.1.498) (2024-03-05) + ### [0.1.497](https://github.com/starknet-io/starknet-docs/compare/v0.1.496...v0.1.497) (2024-02-29) ### [0.1.496](https://github.com/starknet-io/starknet-docs/compare/v0.1.495...v0.1.496) (2024-02-29) diff --git a/package-lock.json b/package-lock.json index ae304f8b86..ed47ac9fd6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "starknet-docs", - "version": "0.1.497", + "version": "0.1.498", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "0.1.497", + "version": "0.1.498", "dependencies": { "@antora/lunr-extension": "^1.0.0-alpha.8", "@asciidoctor/tabs": "^1.0.0-beta.3", diff --git a/package.json b/package.json index c732c074b1..d983ed26ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "starknet-docs", - "version": "0.1.497", + "version": "0.1.498", "private": true, "scripts": { "pre-release": "standard-version --prerelease --skip.changelog --releaseCommitMessageFormat 'chore(prerelease): {{currentTag}}'", From ea7a77d8b6b74e6c1e9b1c76de5e82ff43d7e093 Mon Sep 17 00:00:00 2001 From: Steve Goodman <39279277+stoobie@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:12:36 +0200 Subject: [PATCH 4/5] Prep for March 5 0.13.1 support on Sepolia (#1158) * Prep for 0.13.1 support on Goerli * Add 0.13.1 on Sepolia to footer, current version support. * Apply suggestions from code review * Update playbook.yml * Update playbook.yml --- playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbook.yml b/playbook.yml index 3a9dd2b1c2..62224527b9 100644 --- a/playbook.yml +++ b/playbook.yml @@ -40,7 +40,7 @@ asciidoc: # These attributes define the version footer, located in the starknet-docs-antora-ui project, # In /src/partials/, in the files footer-content.hbs and starknet_version.hbs. starknet_mainnet_version: 'Mainnet: 0.13.0' - starknet_testnet_version: 'Sepolia testnet: 0.13.0 | Goerli testnet: 0.13.0' + starknet_testnet_version: 'Sepolia testnet: 0.13.1 | Goerli testnet: 0.13.0' page-starknet_version: '{starknet_mainnet_version} | {starknet_testnet_version}' From ad736f99d73317036d7bd0c6b022ffe1c7d31797 Mon Sep 17 00:00:00 2001 From: Starknet docs deployer <> Date: Tue, 5 Mar 2024 10:13:05 +0000 Subject: [PATCH 5/5] chore(release): 0.1.499 --- CHANGELOG.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05fec75d4b..9dedf9b193 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.1.499](https://github.com/starknet-io/starknet-docs/compare/v0.1.498...v0.1.499) (2024-03-05) + ### [0.1.498](https://github.com/starknet-io/starknet-docs/compare/v0.1.497...v0.1.498) (2024-03-05) ### [0.1.497](https://github.com/starknet-io/starknet-docs/compare/v0.1.496...v0.1.497) (2024-02-29) diff --git a/package-lock.json b/package-lock.json index ed47ac9fd6..c26e890cd1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "starknet-docs", - "version": "0.1.498", + "version": "0.1.499", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "0.1.498", + "version": "0.1.499", "dependencies": { "@antora/lunr-extension": "^1.0.0-alpha.8", "@asciidoctor/tabs": "^1.0.0-beta.3", diff --git a/package.json b/package.json index d983ed26ec..9495321d5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "starknet-docs", - "version": "0.1.498", + "version": "0.1.499", "private": true, "scripts": { "pre-release": "standard-version --prerelease --skip.changelog --releaseCommitMessageFormat 'chore(prerelease): {{currentTag}}'",