From 36c28b700a73168826ec8c8ce4284e98357132ab Mon Sep 17 00:00:00 2001 From: Will Hickey Date: Fri, 16 Sep 2022 16:39:35 -0500 Subject: [PATCH 1/3] Remove markdown file update from version increment-cargo-version.sh --- scripts/increment-cargo-version.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/increment-cargo-version.sh b/scripts/increment-cargo-version.sh index 386b2b21239a05..7a5f48960360d4 100755 --- a/scripts/increment-cargo-version.sh +++ b/scripts/increment-cargo-version.sh @@ -33,8 +33,6 @@ done # shellcheck disable=2207 Cargo_tomls=($(find . -mindepth 2 -name Cargo.toml "${not_paths[@]}")) -# shellcheck disable=2207 -markdownFiles=($(find . -name "*.md" "${not_paths[@]}")) # Collect the name of all the internal crates crates=() @@ -138,15 +136,6 @@ for Cargo_toml in "${Cargo_tomls[@]}"; do done done -# Update all the documentation references -for file in "${markdownFiles[@]}"; do - # Set new crate version - ( - set -x - sed -i "$file" -e "s/$currentVersion/$newVersion/g" - ) -done - # Update cargo lock files scripts/cargo-for-all-lock-files.sh tree >/dev/null From 3b57f941bfe3162dc46d4ce2fba2bc4fb5fca1dd Mon Sep 17 00:00:00 2001 From: Will Hickey Date: Fri, 16 Sep 2022 16:55:24 -0500 Subject: [PATCH 2/3] Update doc version numbers that were incorrectly advanced by increment-cargo-version.sh --- docs/src/developing/clients/jsonrpc-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/developing/clients/jsonrpc-api.md b/docs/src/developing/clients/jsonrpc-api.md index d60f1d7577e297..7a7fb4b4ce8a7e 100644 --- a/docs/src/developing/clients/jsonrpc-api.md +++ b/docs/src/developing/clients/jsonrpc-api.md @@ -215,7 +215,7 @@ JSON parsing for the following native and SPL programs: | Program | Account State | Instructions | | --- | --- | --- | -| Address Lookup | v1.15.0 | v1.15.0 | +| Address Lookup | v1.12.0 | v1.12.0 | | BPF Loader | n/a | stable | | BPF Upgradeable Loader | stable | stable | | Config | stable | | @@ -1949,7 +1949,7 @@ Returns all accounts owned by the provided program Pubkey - `offset: ` - offset into program account data to start comparison - `bytes: ` - data to match, as encoded string - `encoding: ` - encoding for filter `bytes` data, either "base58" or "base64". Data is limited in size to 128 or fewer decoded bytes. - **NEW: This field, and base64 support generally, is only available in solana-core v1.15.0 or newer. Please omit when querying nodes on earlier versions** + **NEW: This field, and base64 support generally, is only available in solana-core v1.11.2 or newer. Please omit when querying nodes on earlier versions** - `dataSize: ` - compares the program account data length with the provided data size From f0f7ba8cb9fde547bd81bb89717bed78cf468174 Mon Sep 17 00:00:00 2001 From: Will Hickey Date: Sat, 17 Sep 2022 08:11:54 -0500 Subject: [PATCH 3/3] Revert incorrect doc change based on review feedback --- docs/src/developing/clients/jsonrpc-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/developing/clients/jsonrpc-api.md b/docs/src/developing/clients/jsonrpc-api.md index 7a7fb4b4ce8a7e..e3d7f4a5a8546f 100644 --- a/docs/src/developing/clients/jsonrpc-api.md +++ b/docs/src/developing/clients/jsonrpc-api.md @@ -215,7 +215,7 @@ JSON parsing for the following native and SPL programs: | Program | Account State | Instructions | | --- | --- | --- | -| Address Lookup | v1.12.0 | v1.12.0 | +| Address Lookup | v1.15.0 | v1.15.0 | | BPF Loader | n/a | stable | | BPF Upgradeable Loader | stable | stable | | Config | stable | |