Skip to content

v1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 May 00:30

1.2.0 (2026-05-27)

Features

  • add connection_init_payload for GraphQL subscriptions (8334cff), closes #217
  • add GraphQL codec layer (988f6ab), closes #236
  • add GraphQLSession type alias for native session types (3dc58ba)
  • add HttpxTransport (e994d50)
  • add optional pydantic support for encoding and decoding (be20413)
  • add retry mechanism for transport errors (31198e3)
  • add transport abstraction (e572ae1)
  • allow disabling validation (50870b7), closes #238
  • auto-detect transport (7bee013)
  • client: add TTL logic for expiring schemas (578ab3f)
  • custom JSON serialization support (273a8fc), closes #232
  • extend test server with authentication, add population to city model (35b6d95)
  • session and client ownership model with lazy initialization (c246e54)
  • support for custom subscription transport (ccf578b)
  • support optional transport dependencies and lazy loading (99ef56f)
  • support websockets as an alternative subscription transport (376fb4c)

Bug Fixes

  • correct Python version check in aiohttp transport (c0348b5)
  • correctly pass aiohttp session to subscription transport when using non-aiohttp transport (534ba2d)
  • ensure ws_connect uses correct websocket protocol (c969226)
  • resolve deadlock in subscriptions by increasing aiohttp connection limit (3aef468)
  • resolve transport-specific issues and improve environment compatibility (c53e340)
  • tests: import async generator for strawberry server (f347bc0)
  • update transport installation instructions to reference httpx instead of websockets (0c726ad)

Performance Improvements

  • codec: cache get_type_hints during decoding (284db4c)
  • codec: unbound type hints cache to avoid eviction thrash (d565b87)
  • error: optimize GraphQLError.load performance (a6f04e1)

Documentation

  • add "Data Models" section, update transport abd setup instructions (f50dd06)
  • add authentication recipes (51e22c8)
  • add changelog and update release notes (7d65b89)
  • add comprehensive local development and testing guide (f1bb30c)
  • add errors and exceptions guide (d5bf31a)
  • add production guide (35b2756)
  • add scenario-based example scripts for common use cases (b7b46a6)
  • clarify transport options and installation instructions (abe567b)
  • correct WebsocketSubscriptionTransport name (5963faf)
  • fix usage example in transport documentation (01f671c)
  • improve documentation and update examples (1b85f02)
  • rebuild documentation site with Shibuya theme and modern Sphinx stack (7870abf)
  • refresh contributing guide and document release process (398ec33)
  • remove duplicate retry mechanism entry from changelog (434295c)
  • suppress SyntaxWarning from css_html_js_minify and update docs build environment (c48a229)
  • update Sphinx theme options with custom labels for TOC and search (f911e77)
  • use release-please generated CHANGELOG.md in Sphinx docs (ee80ea8)