8000 Release v1.1: · snarfed/lexrpc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v1.1:

Latest
Compare
Choose a tag to compare
@snarfed snarfed released this 14 Mar 04:41
· 14 commits to main since this release
6a9b945

Notable changes

  • Schema validation:
    • Validate subscription (event stream websocket) parameters and output message payloads in both Client and Server.
    • When truncate is set, recurse into refs and arrays to truncate their string properties as necessary too.
    • Allow digits in NSID name (last segment) (background).
  • Server: raise ValidationError on unknown parameters.
  • Client:
    • Include headers in websocket connections for event streams.
    • Add new auth constructor kwarg to support any requests auth instance, eg requests_oauth2client.DPoPToken.
  • server:
    • Redirect: Add headers kwarg.
  • flask_server:
    • Interpret second positional arg to ValueError and ValidationError, ie err.args[1], as a dict of additional HTTP headers to return with the HTTP 400 response.
0