Skip to content

v0.11.0-beta

Pre-release
Pre-release

Choose a tag to compare

@rodrigoslayertech rodrigoslayertech released this 02 Apr 20:55
· 856 commits to main since this release
421488b

Focus: Fiber Scheduler (Deferred Responses) + Streaming Decoder + Project API v2 + CLI improvements

πŸ†• MINOR version

Changes

ACI β€” Abstract Common Interface

  • Tests: Specification constructor refactored β€” request parameter made optional (null|Closure), mutually exclusive with requests, with InvalidArgumentException validation

API β€” Application Programming Interface

  • Project API v2 refactor: {folder_name}.project.php boot file convention, centralized interface index files (WPI.projects.php, CLI.projects.php), removed projects/@.php default config, Modes enum moved to API\Endpoints\Server\Modes
  • ProjectCommand v2 refactor: bidirectional argument order, removed set subcommand, multi-instance lifecycle support (locateAll()), resolve() with user-friendly tips, index-based discover(), rewritten help() with examples

CLI β€” Command Line Interface

  • CLI Commands Middleware system (CLI/Commands/Middleware) with VersionFooterMiddleware
  • SetupCommand v2: wrapper script instead of symlink, --uninstall option, --capabilities option (CAP_NET_BIND_SERVICE)
  • HelpCommand refactor: error message via Alert component, 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: started and stopped callbacks
  • HTTPS Server CLI project: SSL/TLS support (TLSv1.2 + TLSv1.3), privilege drop via configure(user: 'www-data')
  • BOOTGLY_PROJECT validation 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: Refactor HTTP Server CLI with enhanced response handling and add new sequential upload tests

β€’ πŸ†• 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


Implementations

πŸ“ Documentation:

β€’ πŸ“ Updated README.md


πŸ–Ό Highlights