Skip to content

Commit 2900ae9

Browse files
committed
Remove ASGI/WSGI support
Delete py_asgi and py_wsgi modules (C, Erlang, tests). Update documentation with migration guide showing py:call alternatives.
1 parent 7d95a38 commit 2900ae9

23 files changed

Lines changed: 93 additions & 4705 deletions

CHANGELOG.md

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

3+
## 2.4.0 (2026-03-29)
4+
5+
### Removed
6+
7+
- **ASGI/WSGI Support** - The `py_asgi` and `py_wsgi` modules have been removed
8+
- `py_asgi:run/4,5` - ASGI application runner
9+
- `py_wsgi:run/3,4` - WSGI application runner
10+
- For web framework integration, use `py:call` with event loop contexts or the Channel API
11+
- See [Migration Guide](docs/migration.md#asgiwsgi-modules-removed) for alternatives
12+
313
## 2.3.0 (2026-03-29)
414

515
### Added
@@ -45,7 +55,7 @@
4555
- Python `ByteChannel` class with sync/async iteration
4656
- Ideal for HTTP bodies, file streaming, binary protocols
4757

48-
- **PyBuffer API** - Zero-copy buffer for WSGI input streams
58+
- **PyBuffer API** - Zero-copy buffer for streaming input
4959
- `py_buffer:new/0,1` - Create buffers with optional max size
5060
- `py_buffer:write/2` - Write data to buffer
5161
- Python `PyBuffer` class with file-like interface (`read`, `readline`, `readlines`)

c_src/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ endif()
5050
# Performance build option (for maximum optimization)
5151
option(PERF_BUILD "Enable aggressive performance optimizations (-O3, LTO, native arch)" OFF)
5252

53-
# ASGI profiling option (for internal timing analysis)
54-
option(ASGI_PROFILING "Enable ASGI internal profiling" OFF)
55-
if(ASGI_PROFILING)
56-
message(STATUS "ASGI profiling enabled - timing instrumentation active")
57-
add_definitions(-DASGI_PROFILING)
58-
endif()
59-
6053
# Sanitizer options for debugging race conditions and memory issues
6154
option(ENABLE_ASAN "Enable AddressSanitizer" OFF)
6255
option(ENABLE_TSAN "Enable ThreadSanitizer" OFF)

0 commit comments

Comments
 (0)