|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -## [Unreleased] |
| 3 | +All notable changes to this package will be documented in this file. |
| 4 | + |
| 5 | +## 2026-02-17 |
| 6 | + |
| 7 | +### Features |
| 8 | + |
| 9 | +- `AccountInterface` uses photon v2 types, `ColdContext` simplified. (#2274) |
| 10 | + |
| 11 | +### Fixes |
| 12 | + |
| 13 | +- `validate_mint()` validates mint for all token accounts, not just compressible. (#2251) |
| 14 | +- Enforces canonical bump in ATA verification. (#2249) |
| 15 | + |
| 16 | +## 2026-02-10 |
4 | 17 |
|
5 | 18 | ### Breaking Changes |
6 | 19 |
|
7 | | -- **Removed `api_key` field from `LightClientConfig`.** The API key is now part of the `photon_url`: |
8 | | - ```rust |
9 | | - // Before |
10 | | - LightClientConfig::new( |
11 | | - "https://api.devnet.solana.com".to_string(), |
12 | | - Some("https://photon.helius.com".to_string()), |
13 | | - Some("YOUR_KEY".to_string()), |
14 | | - ) |
| 20 | +- `LightClientConfig::new()` takes 2 parameters instead of 3. The API key is now part of `photon_url`. |
| 21 | + Before: `LightClientConfig::new(url, photon_url, Some(api_key))` |
| 22 | + After: `LightClientConfig::new(url, Some("https://photon.helius.com?api-key=YOUR_KEY"))` |
| 23 | + Migration: embed the API key as a query parameter in the photon URL. (#2219) |
| 24 | + |
| 25 | +- `LightClientConfig::devnet()` takes 1 parameter instead of 2. (#2219) |
| 26 | + |
| 27 | +- `PhotonIndexer::new()` takes 1 parameter instead of 2. (#2219) |
15 | 28 |
|
16 | | - // After |
17 | | - LightClientConfig::new( |
18 | | - "https://api.devnet.solana.com".to_string(), |
19 | | - Some("https://photon.helius.com?api-key=YOUR_KEY".to_string()), |
20 | | - ) |
21 | | - ``` |
| 29 | +- `LightClient::add_indexer()` takes 1 parameter instead of 2. (#2219) |
22 | 30 |
|
23 | | -- **`LightClientConfig::new` takes 2 parameters instead of 3** (`url`, `photon_url`). |
| 31 | +### Features |
24 | 32 |
|
25 | | -- **`LightClientConfig::devnet` takes 1 parameter instead of 2** (`photon_url`). |
| 33 | +- `compressed_mint` photon API support. (#2198) |
26 | 34 |
|
27 | | -- **`PhotonIndexer::new` takes 1 parameter instead of 2** (`url`). |
| 35 | +### Fixes |
28 | 36 |
|
29 | | -- **`LightClient::add_indexer` takes 1 parameter instead of 2** (`url`). |
| 37 | +- Tree infos v2 helpers fixed. (#2244) |
0 commit comments