Skip to content

Commit 82685c5

Browse files
committed
Bump version to 1.7.0
- Add shared router architecture for event loops - Add isolated event loops with ErlangEventLoop(isolated=True)
1 parent 9150564 commit 82685c5

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

CHANGELOG.md

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

3+
## 1.7.0 (2026-02-23)
4+
5+
### Added
6+
7+
- **Shared Router Architecture for Event Loops**
8+
- Single `py_event_router` process handles all event loops (both shared and isolated)
9+
- Timer and FD messages include loop identity for correct dispatch
10+
- Eliminates need for per-loop router processes
11+
- Handle-based Python C API using PyCapsule for loop references
12+
13+
- **Isolated Event Loops** - Create isolated event loops with `ErlangEventLoop(isolated=True)`
14+
- Default (`isolated=False`): uses the shared global loop managed by Erlang
15+
- Isolated (`isolated=True`): creates a dedicated loop with its own pending queue
16+
- Full asyncio support (timers, FD operations) for both modes
17+
- Useful for multi-threaded Python applications where each thread needs its own loop
18+
- See `docs/asyncio.md` for usage and architecture details
19+
320
## 1.6.1 (2026-02-22)
421

522
### Fixed
@@ -18,12 +35,6 @@
1835

1936
### Added
2037

21-
- **Isolated Event Loops** - Create isolated event loops with `ErlangEventLoop(isolated=True)`
22-
- Each isolated loop has its own pending queue
23-
- Full asyncio support (timers, FD operations) via shared router
24-
- Useful for multi-threaded Python applications
25-
- See `docs/asyncio.md` for usage and architecture details
26-
2738
- **Python Logging Integration** - Forward Python's `logging` module to Erlang's `logger`
2839
- `py:configure_logging/0,1` - Setup Python logging to forward to Erlang
2940
- `erlang.ErlangHandler` - Python logging handler that sends to Erlang

src/erlang_python.app.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{application, erlang_python, [
22
{description, "Execute Python applications from Erlang using dirty NIFs"},
3-
{vsn, "1.6.1"},
3+
{vsn, "1.7.0"},
44
{registered, [py_pool]},
55
{mod, {erlang_python_app, []}},
66
{applications, [

0 commit comments

Comments
 (0)