Skip to content
Closed
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
25 changes: 25 additions & 0 deletions sdk-libs/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,28 @@
- **`PhotonIndexer::new` takes 1 parameter instead of 2** (`url`).

- **`LightClient::add_indexer` takes 1 parameter instead of 2** (`url`).

## [0.22.0] - 2026-02-17

### Fixed

- Fixed mint validation to apply to all token accounts, not just compressible ones. (#2251)
- Enforced canonical bump in ATA verification. (#2249)

### Changed

- Refactored `AccountInterface` to use photon v2 types and simplified `ColdContext`. (#2274)

## [0.21.0] - 2026-02-10

### Changed

- Replaced photon-api client with [progenitor](https://github.com/oxidecomputer/progenitor)-generated client. (#2219)

### Fixed

- Fixed tree infos v2 helpers. (#2244)

### Added

- Added compressed mint support via photon API. (#2198)
Comment on lines +42 to +54
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash

# Check git tags for both packages
echo "=== Git tags for client and photon-api ==="
git tag -l --format='%(refname:short) %(creatordate:short)' | grep -E 'light-client-v0\.21\.0|photon-api-v0\.55\.0'

echo ""
echo "=== Checking for light-client-v0.21.0 specifically ==="
git tag -l | grep -E 'light-client-v0\.21'

echo ""
echo "=== Checking for photon-api-v0.55.0 specifically ==="
git tag -l | grep -E 'photon-api-v0\.55'

Repository: Lightprotocol/light-protocol

Length of output: 224


🏁 Script executed:

#!/bin/bash

# Find the CHANGELOG files
echo "=== Finding CHANGELOG files ==="
find . -name "CHANGELOG*" -type f | head -20

echo ""
echo "=== Content of sdk-libs/client/CHANGELOG.md around lines 42-54 ==="
if [ -f sdk-libs/client/CHANGELOG.md ]; then
  sed -n '30,60p' sdk-libs/client/CHANGELOG.md
else
  echo "File not found"
fi

echo ""
echo "=== Content of sdk-libs/photon-api/CHANGELOG.md around v0.55.0 ==="
if [ -f sdk-libs/photon-api/CHANGELOG.md ]; then
  grep -n "0.55.0" sdk-libs/photon-api/CHANGELOG.md | head -5
  # Get the lines around the version
  line_num=$(grep -n "0.55.0" sdk-libs/photon-api/CHANGELOG.md | head -1 | cut -d: -f1)
  if [ -n "$line_num" ]; then
    start_line=$((line_num - 2))
    end_line=$((line_num + 20))
    sed -n "${start_line},${end_line}p" sdk-libs/photon-api/CHANGELOG.md
  fi
else
  echo "File not found"
fi

Repository: Lightprotocol/light-protocol

Length of output: 1895


Fix the chronological ordering of PRs across client and photon-api changelogs.

PRs #2219 and #2198 appear in sdk-libs/client/CHANGELOG.md under [0.21.0] (2026-02-10) and again in sdk-libs/photon-api/CHANGELOG.md under [0.55.0] (2026-02-17). This is backwards: the client claims to have added "compressed mint support via photon API" on 2026-02-10, but the API itself didn't add that feature until 2026-02-17. Similarly, the client replaced the photon-api client on 2026-02-10, but photon-api replaced its own implementation on 2026-02-17.

Either the CHANGELOG dates are incorrect, or the PR assignments are wrong. Verify that the dates correspond to actual release points and that PR associations reflect when they were actually merged for each package.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@sdk-libs/client/CHANGELOG.md` around lines 42 - 54, The client changelog
([0.21.0]) incorrectly lists PRs `#2219` and `#2198` that belong to the photon-api
release ([0.55.0]); verify the actual merge/release dates for PRs `#2219` and
`#2198` in git history and then correct the changelogs so each PR appears under
the package and release that actually merged it—either move the "Added
compressed mint support via photon API" and the "Replaced photon-api client with
progenitor" lines out of sdk-libs/client/CHANGELOG.md [0.21.0] into
sdk-libs/photon-api/CHANGELOG.md [0.55.0], or update the release dates/PR
associations so the timestamps and PR numbers align with the true merge/release
events for those PRs.

12 changes: 12 additions & 0 deletions sdk-libs/photon-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,15 @@
### Added

- **`external/photon` git submodule.** The Photon OpenAPI spec (`external/photon/src/openapi/specs/api.yaml`) is now pulled in as a submodule. Client types are pre-generated by [progenitor](https://github.com/oxidecomputer/progenitor) and checked in as `src/codegen.rs`. To regenerate after spec changes: `cargo build -p photon-api --features generate`. Generation deps (progenitor, regress, etc.) are behind the optional `generate` feature so they don't affect normal builds or CI.

## [0.55.0] - 2026-02-17

### Changed

- Refactored `AccountInterface` to use photon v2 types and simplified `ColdContext`. (#2274)
- Replaced hand-written photon-api client with [progenitor](https://github.com/oxidecomputer/progenitor)-generated client. (#2219)
- Removed v1 compatibility in mint action layout. (#2226)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Move "Removed v1 compatibility" to a ### Removed section.

Removed is the designated section for now-removed features per Keep a Changelog convention. Leaving it under ### Changed misrepresents the nature of the change to anyone scanning the changelog.

📝 Proposed fix
 ### Changed
 
 - Refactored `AccountInterface` to use photon v2 types and simplified `ColdContext`. (`#2274`)
 - Replaced hand-written photon-api client with [progenitor](https://github.com/oxidecomputer/progenitor)-generated client. (`#2219`)
-- Removed v1 compatibility in mint action layout. (`#2226`)
 
 ### Added
 
 - Added compressed mint support via photon API. (`#2198`)
+
+### Removed
+
+- Removed v1 compatibility in mint action layout. (`#2226`)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@sdk-libs/photon-api/CHANGELOG.md` at line 30, Move the entry "Removed v1
compatibility in mint action layout. (`#2226`)" out of the "### Changed" section
and place it under a new or existing "### Removed" section in CHANGELOG.md so it
follows the Keep a Changelog convention; locate the exact line containing that
sentence and cut/paste it into the "Removed" heading (create the heading if
missing) ensuring formatting/ordering matches other changelog entries.


### Added

- Added compressed mint support via photon API. (#2198)