Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 17 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -200,27 +200,27 @@ light-hash-set = { version = "4.0.0", path = "program-libs/hash-set" }
light-indexed-merkle-tree = { version = "5.0.0", path = "program-libs/indexed-merkle-tree" }
light-concurrent-merkle-tree = { version = "5.0.0", path = "program-libs/concurrent-merkle-tree" }
light-sparse-merkle-tree = { version = "0.3.0", path = "sparse-merkle-tree" }
light-client = { path = "sdk-libs/client", version = "0.22.0" }
light-event = { path = "sdk-libs/event", version = "0.22.0" }
light-client = { path = "sdk-libs/client", version = "0.23.0" }
light-event = { path = "sdk-libs/event", version = "0.23.0" }
light-hasher = { path = "program-libs/hasher", version = "5.0.0", default-features = false }
light-macros = { path = "program-libs/macros", version = "2.2.0" }
light-merkle-tree-reference = { path = "program-tests/merkle-tree", version = "4.0.0" }
light-heap = { path = "program-libs/heap", version = "2.0.0" }
light-prover-client = { path = "prover/client", version = "8.0.0" }
light-account = { path = "sdk-libs/account", version = "0.22.0", default-features = false }
light-account-pinocchio = { path = "sdk-libs/account-pinocchio", version = "0.22.0", default-features = false }
light-sdk = { path = "sdk-libs/sdk", version = "0.22.0" }
light-sdk-pinocchio = { path = "sdk-libs/sdk-pinocchio", version = "0.22.0" }
light-sdk-macros = { path = "sdk-libs/macros", version = "0.22.0" }
light-sdk-types = { path = "sdk-libs/sdk-types", version = "0.22.0", default-features = false }
light-account = { path = "sdk-libs/account", version = "0.23.0", default-features = false }
light-account-pinocchio = { path = "sdk-libs/account-pinocchio", version = "0.23.0", default-features = false }
light-sdk = { path = "sdk-libs/sdk", version = "0.23.0" }
light-sdk-pinocchio = { path = "sdk-libs/sdk-pinocchio", version = "0.23.0" }
light-sdk-macros = { path = "sdk-libs/macros", version = "0.23.0" }
light-sdk-types = { path = "sdk-libs/sdk-types", version = "0.23.0", default-features = false }
light-compressed-account = { path = "program-libs/compressed-account", version = "0.11.0", default-features = false }
light-compressible = { path = "program-libs/compressible", version = "0.6.0", default-features = false }
light-token-interface = { path = "program-libs/token-interface", version = "0.5.0" }
light-account-checks = { path = "program-libs/account-checks", version = "0.8.0", default-features = false }
light-verifier = { path = "program-libs/verifier", version = "10.0.0" }
light-zero-copy = { path = "program-libs/zero-copy", version = "0.6.0", default-features = false }
light-zero-copy-derive = { path = "program-libs/zero-copy-derive", version = "0.6.0" }
photon-api = { path = "sdk-libs/photon-api", version = "0.55.0" }
photon-api = { path = "sdk-libs/photon-api", version = "0.56.0" }
forester-utils = { path = "forester-utils", version = "2.0.0" }
account-compression = { path = "programs/account-compression", version = "2.0.0", features = [
"cpi",
Expand All @@ -229,11 +229,11 @@ account-compression = { path = "programs/account-compression", version = "2.0.0"
light-compressed-token = { path = "programs/compressed-token/program", version = "2.0.0", features = [
"cpi",
] }
light-token-types = { path = "sdk-libs/token-types", version = "0.22.0" }
light-token = { path = "sdk-libs/token-sdk", version = "0.22.1" }
light-token-pinocchio = { path = "sdk-libs/token-pinocchio", version = "0.22.0" }
light-compressed-token-sdk = { path = "sdk-libs/compressed-token-sdk", version = "0.22.0" }
light-token-client = { path = "sdk-libs/token-client", version = "0.22.0" }
light-token-types = { path = "sdk-libs/token-types", version = "0.23.0" }
light-token = { path = "sdk-libs/token-sdk", version = "0.23.0" }
light-token-pinocchio = { path = "sdk-libs/token-pinocchio", version = "0.23.0" }
light-compressed-token-sdk = { path = "sdk-libs/compressed-token-sdk", version = "0.23.0" }
light-token-client = { path = "sdk-libs/token-client", version = "0.23.0" }
light-system-program-anchor = { path = "anchor-programs/system", version = "2.0.0", features = [
"cpi",
] }
Expand All @@ -244,9 +244,9 @@ light-registry = { path = "programs/registry", version = "2.0.0", features = [
create-address-test-program = { path = "program-tests/create-address-test-program", version = "1.0.0", features = [
"cpi",
] }
light-program-test = { path = "sdk-libs/program-test", version = "0.22.0" }
light-instruction-decoder = { path = "sdk-libs/instruction-decoder", version = "0.22.0" }
light-instruction-decoder-derive = { path = "sdk-libs/instruction-decoder-derive", version = "0.3.0" }
light-program-test = { path = "sdk-libs/program-test", version = "0.23.0" }
light-instruction-decoder = { path = "sdk-libs/instruction-decoder", version = "0.23.0" }
light-instruction-decoder-derive = { path = "sdk-libs/instruction-decoder-derive", version = "0.4.0" }
light-batched-merkle-tree = { path = "program-libs/batched-merkle-tree", version = "0.11.0" }
light-merkle-tree-metadata = { path = "program-libs/merkle-tree-metadata", version = "0.11.0" }
aligned-sized = { path = "program-libs/aligned-sized", version = "1.1.0" }
Expand Down
61 changes: 61 additions & 0 deletions scripts/sdk-libs-changed-since-tag.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#!/usr/bin/env bash
# Lists sdk-libs crates that have changed since their last git tag.
# For crates with no tag yet, they are always listed.
#
# Usage: ./scripts/sdk-libs-changed-since-tag.sh

set -euo pipefail

REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
SDK_LIBS_DIR="$REPO_ROOT/sdk-libs"

echo "Checking sdk-libs crates for changes since last tag..."
echo ""

changed=()
no_tag=()

for dir in "$SDK_LIBS_DIR"/*/; do
[[ -f "$dir/Cargo.toml" ]] || continue

crate_dir="sdk-libs/$(basename "$dir")"
pkg_name=$(grep -m1 '^name' "$dir/Cargo.toml" | sed 's/name = "//;s/"//')
pkg_version=$(grep -m1 '^version' "$dir/Cargo.toml" | sed 's/version = "//;s/"//')

# Find the latest tag for this package (pattern: <pkg-name>-v*)
last_tag=$(git -C "$REPO_ROOT" tag --sort=-version:refname \
| grep -E "^${pkg_name}-v" \
| head -1 || true)

if [[ -z "$last_tag" ]]; then
no_tag+=("$pkg_name ($pkg_version) — no tag found")
continue
fi

# Count commits that touched this crate's directory since the last tag
changes=$(git -C "$REPO_ROOT" log --oneline "${last_tag}..HEAD" -- "$crate_dir" | wc -l | tr -d ' ')

if [[ "$changes" -gt 0 ]]; then
changed+=("$pkg_name ($pkg_version, last tag: $last_tag, $changes commit(s) since)")
fi
done

if [[ ${#changed[@]} -gt 0 ]]; then
echo "Changed since last tag:"
for entry in "${changed[@]}"; do
echo " $entry"
done
echo ""
fi

if [[ ${#no_tag[@]} -gt 0 ]]; then
echo "No tag found (never released):"
for entry in "${no_tag[@]}"; do
echo " $entry"
done
echo ""
fi

if [[ ${#changed[@]} -eq 0 && ${#no_tag[@]} -eq 0 ]]; then
echo "All sdk-libs crates are up to date with their tags."
fi
2 changes: 1 addition & 1 deletion sdk-libs/account-pinocchio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-account-pinocchio"
version = "0.22.0"
version = "0.23.0"
description = "Light Protocol account types with pinocchio AccountInfo specializations"
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/account/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-account"
version = "0.22.0"
version = "0.23.0"
description = "Light Protocol account types with Solana AccountInfo specializations"
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-client"
version = "0.22.0"
version = "0.23.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/lightprotocol/light-protocol"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/compressed-token-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-compressed-token-sdk"
version = "0.22.0"
version = "0.23.0"
edition = { workspace = true }
description = "Low-level SDK for compressed token operations on Light Protocol"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/event/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-event"
version = "0.22.0"
version = "0.23.0"
description = "Event types and utilities for Light Protocol"
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/instruction-decoder-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-instruction-decoder-derive"
version = "0.3.0"
version = "0.4.0"
description = "Derive macros for InstructionDecoder implementations in Light Protocol"
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/instruction-decoder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-instruction-decoder"
version = "0.22.0"
version = "0.23.0"
description = "Instruction decoder library for litsvm tests."
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-sdk-macros"
version = "0.22.0"
version = "0.23.0"
description = "Macros for Programs using the Light SDK for ZK Compression "
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/photon-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "photon-api"
version = "0.55.0"
version = "0.56.0"
description = "Solana indexer for general compression"
license = "Apache-2.0"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/program-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-program-test"
version = "0.22.0"
version = "0.23.0"
description = "A fast local test environment for Solana programs using compressed accounts and tokens."
license = "MIT"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/sdk-pinocchio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-sdk-pinocchio"
version = "0.22.0"
version = "0.23.0"
description = "Rust SDK for ZK Compression on Solana with Pinocchio features"
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/sdk-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-sdk-types"
version = "0.22.0"
version = "0.23.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/lightprotocol/light-protocol"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-sdk"
version = "0.22.0"
version = "0.23.0"
description = "Rust SDK for ZK Compression on Solana"
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk-libs/token-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light-token-client"
version = "0.22.0"
version = "0.23.0"
description = "Client library for Light Tokens"
repository = "https://github.com/Lightprotocol/light-protocol"
license = "Apache-2.0"
Expand Down
Loading