Skip to content

Releases: itnelo/reactphp-foundation

0.3.0

17 Aug 17:46
0.3.0
8eae670

Choose a tag to compare

Added

  • Uri\MatcherInterface and ArrayMatcher to map URI path from requests to the handler's actions (a simplified version of UrlMatcher from symfony/routing).
  • .dockerignore to 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 YamlConfigurator shortcut.
  • Using HTTP health checks for HAProxy instance (instead of TCP).

Fixed

  • Definition options from _defaults node in the services.yml are 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; revised YamlFileLoader in the Bridge\Symfony scope).
  • Explicit UIDs and permissions for users within Dockerfiles (preventing potential access issues during CI checks and other workflows).

0.2.0

20 Jul 12:42
0.2.0
dd4a1fe

Choose a tag to compare

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

22 Jun 08:27
0.1.0
67ea599

Choose a tag to compare

Added

  • Entrypoint to build a DI container by service definitions, with .env and parameters.yml support.
  • Main Application class that starts the async socket server and the event loop.
  • ServerInterface and the HandlerInterface, example handler implementation.
  • Non-blocking logger (based on wyrihaximus/react-psr-3-stdio).