This repository has been archived by the owner on Feb 13, 2022. It is now read-only.
Releases: leocavalcante/siler
Releases · leocavalcante/siler
v1.7.9
GraphQL Annotations for Subscriptions
You can now use GraphQL subscriptions thought Annotations too.
Custom parser for Config
Config can now receive a Custom parser.
Nullable list option for GraphQL annotations
This patch adds the nullableList
option resolving #430
Bug fix
GraphQL Annotations
The richest feature in this release is probably GraphQL Annotations.
But there was a lot more, specially bug fixes in the GraphQL space, checkout the CHANGELOG for more.
- Breaking:
Result
module now adheres to Rust's naming and dropsid
,code
andjson
support.Success
is nowOk
Failure
is nowErr
- Breaking: you should now explicitly use arrays (or any other type) for subscription's root and context values
- Breaking: match doesn't return null anymore, you should provide an exhaust function
gRPC server, more functional constructs & hello Laminas
- Experimental support for gRPC servers
- Support middleware-like pipelines in Swoole with
Swoole\middleware
- Add
Swoole\redirect()
sugar - New
Siler\Env
API - Add
map
,lmap
,pipe
,conduit
,lconcat
,ljoin
,filter
andlfilter
functions - Typed array-gets:
array_get_str
,array_get_int
,array_get_float
andarray_get_bool
. - Switch from Zend to Laminas
- Add
Swoole\http2
to create HTTP/2 enabled servers
Fix it
- Fix string callable on route
- Fix trailing separator on
concat
- Add
lazy
constructor and call_user_func aliascall
GraphQL Subscriptions on Swoole, Psalm and PHP 7.4
- Drops PHP 7.2 support and adds PHP 7.4 support
- Statically-typed Psalm support
- GraphQL Subscriptions with Swoole's WebSocket
- Fix initial data on GraphQL subscriptions
- GraphQL Enum resolvers
- API to enable GraphQL debugging
- API to add custom GraphQL's Promise Executors
- CORS helper for SAPI and Swoole
- Type-safe read ints and bools from environment
- Named route params with Regex validation
- JSON encoding and decoding with opinionated defaults
- No extensions needed on development
- Better API for Maybe Monad
- Monad API for the Result object
- New File module
- Drops Db module
- Drops GraphQL type helpers
More and more stable
- Added sugar functions for Container
- Fixed GraphQL JSON header with UTF-8 charset