Skip to content

v0.7.0

Latest

Choose a tag to compare

@aisk aisk released this 09 Aug 08:32
· 19 commits to master since this release

What's Changed

Highlights

  • Add support for buffer-protocol objects when writing binary values by @vallsv in #356
  • Use ijson to stream-parse Apache JSON requests by @aisk in #358
  • Add SASL client transport support for asyncio by @aisk in #364
  • Support HTTP keep-alive connections in THttpClient by @aisk in #387
  • Expose source line numbers on generated types by @aisk in #322
  • Expose parsed namespaces through __thrift_namespaces__ by @aisk in #370
  • Support path-like objects in thriftpy2.load() by @aisk in #362
  • Make TPayload hashable with a value-based hash by @aisk in #368

Bug Fixes

  • Fix greedy .thrift replacement and fragile rstrip() usage in p_include by @FrankPortman in #351
  • Fix SASL client transport read and negotiation bugs by @aisk in #360
  • Add a SASL client transport factory and fix method naming by @aisk in #365
  • Fix argument mapping for out-of-order field IDs by @aisk in #369
  • Fix flaky async HTTP server shutdown by @aisk in #372
  • Fix port collisions and a server leak in asyncio SSL tests by @aisk in #373
  • Fix source-line test fixture paths by @aisk in #374

Typing

  • Improve public type annotations and type protocol and transport contracts by @aisk in #375 and #376
  • Add basedpyright type checking and reduce its initial baseline by @aisk in #377 and #378
  • Fix basedpyright and other type errors across the codebase by @aisk in #382, #383, #384, and #385
  • Fix Apache JSON type errors by @aisk in #386

Internal Improvements

  • Remove the dependency on six by @aisk in #349
  • Use destructuring for readability in PLY grammar rules by @aisk in #350
  • Add Windows ARM64 support in CI by @Harishmcw in #354
  • Decouple TAsyncServer from TServer by @aisk in #359
  • Remove obsolete Python compatibility headers by @aisk in #361
  • Remove a dead assignment of the _read_struct_begin return value by @aisk in #363
  • Replace parser thread-local state with an explicit ParseContext by @aisk in #371
  • Remove the obsolete .codacy.yml configuration by @aisk in #366

Breaking Changes

  • Remove deprecated Tornado support by @aisk in #388

New Contributors