v0.11.0-beta
Pre-release
Pre-release
·
856 commits
to main
since this release
Focus: Fiber Scheduler (Deferred Responses) + Streaming Decoder + Project API v2 + CLI improvements
π MINOR version
Changes
ACI β Abstract Common Interface
- Tests:
Specificationconstructor refactored βrequestparameter made optional (null|Closure), mutually exclusive withrequests, withInvalidArgumentExceptionvalidation
API β Application Programming Interface
- Project API v2 refactor:
{folder_name}.project.phpboot file convention, centralized interface index files (WPI.projects.php,CLI.projects.php), removedprojects/@.phpdefault config,Modesenum moved toAPI\Endpoints\Server\Modes - ProjectCommand v2 refactor: bidirectional argument order, removed
setsubcommand, multi-instance lifecycle support (locateAll()),resolve()with user-friendly tips, index-baseddiscover(), rewrittenhelp()with examples
CLI β Command Line Interface
- CLI Commands Middleware system (
CLI/Commands/Middleware) withVersionFooterMiddleware - SetupCommand v2: wrapper script instead of symlink,
--uninstalloption,--capabilitiesoption (CAP_NET_BIND_SERVICE) - HelpCommand refactor: error message via
Alertcomponent, version footer extracted to middleware
WPI β Web Programming Interface
- Deferred Response system (Fiber-based async):
Response::defer(),Response::wait(),Response::bind()β enables non-blocking async work in the HTTP Server CLI - Request Body streaming decoder (multipart/form-data β disk):
$Request->Body->streaming,$Request->download()β writes files directly to disk during upload - HTTP Server CLI
on()lifecycle hooks:startedandstoppedcallbacks - HTTPS Server CLI project: SSL/TLS support (TLSv1.2 + TLSv1.3), privilege drop via
configure(user: 'www-data') BOOTGLY_PROJECTvalidation guards in Response
Bootgly
- Projects renamed from interface convention to folder-name convention (
HTTP_Server_CLI.project.php, etc.) - New SAPI handler examples: scheduled, download, middlewares
- New
PLAN.mdβ Fiber Scheduler PoC planning document
Commits
Features
π Introduce new features:
β’ π API Projects v2, ACI Fiber Scheduler, WPI Streaming Decoder, CLI improvements
β’ π WPI: Add benchmark and agent scripts, update .gitignore, and refactor script configurations
β’ π WPI: Enhance HTTP Server CLI with multi-request support and add sequential response tests
Fixes
π Fix a bug:
β’ π Add .gitkeep file to Example project directory