Skip to content

Commit 2463f0d

Browse files
committed
chore(release): v2.25.0
1 parent 9a66f52 commit 2463f0d

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to `@portel/photon-core` will be documented here.
44

55
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version numbers follow [Semantic Versioning 2.0](https://semver.org/).
66

7+
## [2.25.0] - 2026-04-24
8+
9+
### Added
10+
11+
- New imperative primitives on the `Photon` base class: `this.sample()` for MCP sampling, `this.confirm()` for yes/no prompts, and `this.elicit()` for structured input requests. Complements the existing async-generator `yield`-based elicitation flow and lets plain async methods request input without switching to a generator. Available on all loaded photons via capability injection.
12+
13+
### Fixed
14+
15+
- `this.schedule.cancel()` now fires the registered unschedule hook so the in-memory cron registration is evicted from the daemon when the backing task file is unlinked. Prior behavior left ghost timers firing forever against a deleted task record.
16+
- Unschedule-hook failures now surface to the caller instead of being silently swallowed. Cancel operations that fail to evict are visible so the caller can react.
17+
- `detectCapabilities()` now recognizes typed-access patterns with function-type parens like `((this as any).foo)()`. Prior regex missed this shape and skipped capability injection for affected photons.
18+
719
## [2.24.0] — 2026-04-21
820

921
### Added
@@ -31,4 +43,5 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); ver
3143

3244
See git log; CHANGELOG seeded from v2.24.0 forward. Earlier releases are tagged in git history.
3345

46+
[2.25.0]: https://github.com/portel-dev/photon-core/compare/v2.24.0...v2.25.0
3447
[2.24.0]: https://github.com/portel-dev/photon-core/compare/v2.23.0...v2.24.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@portel/photon-core",
3-
"version": "2.24.0",
3+
"version": "2.25.0",
44
"description": "Core library for parsing, loading, and managing .photon.ts files - runtime-agnostic foundation for building custom Photon runtimes",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)