Skip to content

v2.2:

Latest

Choose a tag to compare

@snarfed snarfed released this 30 Jun 04:40
c7c4163

Notable changes

  • Schema validation:
    • Fix crash (KeyError) when validating a blob value inside an open union; now raises ValidationError for invalid blob refs.
  • client:
    • For websocket event streams, close the websocket connection when a non-ConnectionClosed exception is raised.
    • Use the lexicon method's input.encoding as the Content-Type request header.
    • Client.__init__: new requests_session kwarg, an optional :class:requests.Session to use for HTTP requests.
  • server:
    • Server.call: unknown parameters not in the lexicon are now silently ignored instead of raising ValidationError. Background.
  • flask_server:
    • Close websocket connections with reason 1011 for unknown/not implemented endpoint NSIDs.
  • Update bundled lexicons: