Skip to content

v0.8.0

Latest

Choose a tag to compare

@ghostdogpr ghostdogpr released this 11 Nov 04:59
· 21 commits to main since this release
7a9e5d4

Release Notes

This release fixes a hang in the ZIO client backend: a client-streaming call never returned if it ended before its request stream did (e.g. the server replied early, the channel was shut down or the call was interrupted).

It also fixes how names are converted to snake case: acronyms and upper-case names are no longer split letter by letter (HTTPError now becomes HTTP_ERROR instead of H_T_T_P_ERROR, userID becomes user_id instead of user_i_d). This is a breaking change for such names, even though the binary wire format is unchanged:

  • JSON keys change at runtime (e.g. userID is now userId).
  • Proto names change in rendered files and gRPC reflection.
  • File names change for services and dependencies with an acronym in their name.
  • Dependency imports now use the snake-case file name that renderToFile writes (common_types.proto instead of CommonTypes.proto).

Use rename on a field or enum member to keep its old name.

What's Changed

  • Stop splitting acronyms and upper-case names letter by letter by @ghostdogpr in #189
  • Import dependencies from the file they are written to by @ghostdogpr in #190
  • Fix client-streaming hang when the call ends before its request stream by @ghostdogpr in #194