Skip to content

Commit da65230

Browse files
committed
docs: update CLAUDE.md with v1.0.0 release info and correct API names
1 parent b938b78 commit da65230

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

CLAUDE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
66

77
This is Phoenix.SessionProcess, an Elixir library that creates a process for each user session in Phoenix applications. All user requests go through their dedicated session process, providing session isolation and state management.
88

9+
**Current Version**: 1.0.0 (stable release published on hex.pm)
10+
**Repository**: https://github.com/gsmlg-dev/phoenix_session_process
11+
**Hex Package**: https://hex.pm/packages/phoenix_session_process
12+
913
## Key Commands
1014

1115
### Development Commands
@@ -94,7 +98,7 @@ The library is organized into several logical groups:
9498
- Provides the `:process` and `:reducer` macros with built-in Redux Store infrastructure
9599

96100
**Basic Functions**:
97-
- `start/1-3` - Start session process
101+
- `start_session/1-2` - Start session process (v1.0.0 API)
98102
- `call/2-3` - Synchronous call to session
99103
- `cast/2` - Asynchronous cast to session
100104
- `terminate/1` - Stop session
@@ -264,7 +268,7 @@ The library is organized into several logical groups:
264268
### Process Management Flow
265269

266270
1. Session ID generation via the SessionId plug
267-
2. Process creation through `Phoenix.SessionProcess.start/1-3`
271+
2. Process creation through `Phoenix.SessionProcess.start_session/1-2`
268272
3. Validation checks (session ID format, session limits)
269273
4. Processes are registered in `Phoenix.SessionProcess.Registry` with two entries:
270274
- `{session_id, pid}` for session lookup

0 commit comments

Comments
 (0)