Siler Versions Save

⚡ Flat-files and plain-old PHP functions rockin'on as a set of general purpose high-level abstractions.

v1.7.9

3 years ago

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

v1.7.8

3 years ago

You can now use GraphQL subscriptions thought Annotations too.

v1.7.7

3 years ago

Config can now receive a Custom parser.

v1.7.6

3 years ago

This patch adds the nullableList option resolving #430

v1.7.4

3 years ago

Fix route with URL encoded query strings reported at #354

v1.7.3

3 years ago

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

v1.7.2

4 years ago
  • 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

v1.7.1

4 years ago
  • Fix string callable on route
  • Fix trailing separator on concat
  • Add lazy constructor and call_user_func alias call

v1.7.0

4 years ago
  • 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

v1.6.0

4 years ago
  • Added sugar functions for Container
  • Fixed GraphQL JSON header with UTF-8 charset