Skip to content

Commit 138c1c5

Browse files
github-actions[bot]claude
authored andcommitted
Add changelog entry for v0.12.3
- Added starterpack play callback functionality - Fixed policy hashing canonical sorting - Fixed controller re-initialization issues - Fixed non-Cartridge chainId lookup support 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2ac6f76 commit 138c1c5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## [0.12.3] - 2026-02-03
4+
5+
### ✨ New Features
6+
- **@cartridge/controller**: Added starterpack play callback functionality, enabling developers to specify custom onPlay callbacks that execute when users click play buttons in starterpack flows. The keychain iframe now closes before calling the callback and falls back to existing close behavior when absent (#2362)
7+
8+
### 🐛 Bug Fixes
9+
- **@cartridge/controller**: Fixed policy hashing by ensuring canonical sorting of policies before hashing to prevent non-deterministic merkle root calculations. Contract entries are now sorted by address, methods by entrypoint, and message policies by scope_hash, resolving "session/not-registered" errors caused by inconsistent policy ordering (#2359)
10+
- **@cartridge/connector**: Fixed controller re-initialization issues by reusing existing controller instances from `window.starknet_controller` when `ControllerConnector` is instantiated multiple times. This prevents duplicate iframes and message channels that could break functionality during React re-renders (#2360)
11+
- **@cartridge/controller**: Fixed chainId lookup to support non-Cartridge chain configurations, improving compatibility with custom chain setups (#2361)
12+
313
## [0.12.2] - 2026-01-29
414

515
### ✨ New Features

0 commit comments

Comments
 (0)