Skip to content

v0.7.0

Compare
Choose a tag to compare
@jeffutter jeffutter released this 10 Aug 20:29
· 41 commits to master since this release
v0.7.0
e824eec
  • Updates to the recent upstream release of elixir-grpc v0.5.0

Breaking Changes

  • Spawn supervisor now expects a Keyword list instead of a tuple.
    • Before:
       def children, do: [
       # ... other supervisors
         {GRPC.Server.Supervisor, {MyCoolEndPoint, @my_grpc_port}}
       ]
    • Now:
        def children, do: [
        # ... other supervisors
          {GRPC.Server.Supervisor, endpoint: MyEndpoint, port: @my_grpc_port, server_enabled: true}
        ]
  • server_enable config is no longer defined in the application config, you should pass is as an option when spawning the supervisor, like in the example above
  • adapter_opts now expects a keyword list instead of a map.
    • Before:
        [adapter_opts: %{http2_opts: %{keepalive: @keep_alive}}]
    • After:
        [adapter_opts: [http2_opts: %{keepalive: @keep_alive}]]