Siler v1.7.3 Release Notes

Release Date: 2020-07-13 // almost 4 years ago
    • GraphQL uploads & custom directives!
    • GraphQL annotations!
    • GraphiQL
    • Enums
    • PHPUnit v9
    • GraphQL v14
    • Introducing Klass module with Klass\unqualified_name
    • Introducing Obj module with Obj\patch
    • Introducing FromArray, ToArray and Patch
    • Introducing IO module with println, csv_to_array and fetch
    • ๐Ÿ›  Fix #276 - GraphQL WebSocket client sub-protocol
    • ๐Ÿ›  Fix #289 - GraphQL Context on subscriptions (thanks @lemonbrain-mk)
    • Siler\array_get_arr type-safe array getter for arrays
    • Str\starts_with, Str\ends_with and Str\contains
    • Str\snake_case and Str\camel_case case converters
    • Str\mb_ucfirst and Str\mb_lcfirst (thanks @enricodias & @williamokano)
    • Prelude\Dispatcher an Event Dispatcher implementing PSR-14 interfaces
    • ๐Ÿ’ฅ 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