Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

Releases: leocavalcante/siler

v1.7.9

27 Jan 19:41
Compare
Choose a tag to compare

Remove the dependency on the $_SERVER['QUERY_STRING'] which is not always the same as the request uri.

GraphQL Annotations for Subscriptions

07 Oct 01:27
Compare
Choose a tag to compare

You can now use GraphQL subscriptions thought Annotations too.

Custom parser for Config

02 Oct 21:42
Compare
Choose a tag to compare

Config can now receive a Custom parser.

Nullable list option for GraphQL annotations

28 Sep 23:39
Compare
Choose a tag to compare

This patch adds the nullableList option resolving #430

Bug fix

31 Jul 16:46
Compare
Choose a tag to compare

Fix route with URL encoded query strings reported at #354

GraphQL Annotations

13 Jul 23:21
Compare
Choose a tag to compare

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 drops id, code and json support.
    • Success is now Ok
    • Failure is now Err
  • 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

05 Mar 14:48
Compare
Choose a tag to compare
  • 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 and lfilter functions
  • Typed array-gets: array_get_str, array_get_int, array_get_float and array_get_bool.
  • Switch from Zend to Laminas
  • Add Swoole\http2 to create HTTP/2 enabled servers

Fix it

11 Dec 13:35
a153d82
Compare
Choose a tag to compare
  • Fix string callable on route
  • Fix trailing separator on concat
  • Add lazy constructor and call_user_func alias call

GraphQL Subscriptions on Swoole, Psalm and PHP 7.4

30 Nov 14:50
Compare
Choose a tag to compare
  • 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

09 Aug 15:31
Compare
Choose a tag to compare
  • Added sugar functions for Container
  • Fixed GraphQL JSON header with UTF-8 charset