This repository has been archived by the owner on Feb 13, 2022. It is now read-only.
Releases: leocavalcante/siler
Releases · leocavalcante/siler
Bug fix
- Swoole behavior was affected by
Route\DID_MATCH
.
Better routing
- Routes stop propagation by default.
- Grouped routes like
resource
andfiles
are now lazy-loaded.
Introducing:
Route\did_match(): bool
Less is more
- Dropped Ratchet in favor of Swoole's websocket.
- Dropped Jwt in favor of Firebase's JWT.
- Added Result module.
- Updated Twig namespace declarations.
- Added Redis module.
Better Swoole API
Now it's returning the Servers for both HTTP and WebSocket instead of Closures and not starting them internally.
Swoole powered
- Better Swoole API following the example and the documentation
- Database module for PDO and MongoDB
- Mail module for SwiftMailer
PSR-7, PSR-15, Middlewares & Pipelines
PSR-15 support wrapping Zend's Diactoros and Stratigility.
Dependencies follow up
All dependencies updated to its latest stable version.
The major difference:
- No
SapiEmitter
on Diactoros - New GraphQL
executeQuery
API
More routing options
Suggestions from @Sinevia applied, there are two more aways to route.
The any
function matches any HTTP method
and the class_name
function that works like Controller in other frameworks.
Also, thanks again to @IvanDelsinne for feedback on this follow up.
Fix Response\json bug
This is the release after #106 was closed.
It is alive!
Almost one year later, I think Siler is ready to rock on stable production-grade projects.