Releases: itnelo/reactphp-foundation
Releases · itnelo/reactphp-foundation
0.3.0
Added
Uri\MatcherInterfaceandArrayMatcherto map URI path from requests to the handler's actions (a simplified version ofUrlMatcherfrom symfony/routing)..dockerignoreto exclude unnecessary/insecure files from the image building context.- Test suite configuration for PHPUnit.
- "Tests" block and navigation links for README.md.
Changed
- Container configuration logic has moved from the application entrypoint to the
YamlConfiguratorshortcut. - Using HTTP health checks for HAProxy instance (instead of TCP).
Fixed
- Definition options from
_defaultsnode in theservices.ymlare now properly picked up by all services, not only ones defined in the same file (works if that node doesn't already exists in the target definition file; revisedYamlFileLoaderin theBridge\Symfonyscope). - Explicit UIDs and permissions for users within Dockerfiles (preventing potential access issues during CI checks and other workflows).
0.2.0
Added
- Shutdown service that gracefully terminates the event loop after corresponding signals are received (using
ext-pcntl). - Docker-compose configuration for local development.
- Docker stack configuration for Swarm mode, installation guide in README.md.
- HAProxy configuration to balance requests between multiple application replicas within docker network using built-in DNS service.
0.1.0
Added
- Entrypoint to build a DI container by service definitions, with
.envandparameters.ymlsupport. - Main
Applicationclass that starts the async socket server and the event loop. ServerInterfaceand theHandlerInterface, example handler implementation.- Non-blocking logger (based on wyrihaximus/react-psr-3-stdio).