Skip to content

Releases: 0x676e67/wreq-python

v0.10.2

27 Mar 17:10

Choose a tag to compare

What's Changed

  • fix(response): ensure response remains cached when valid by @0x676e67 in #544
  • feat(client): implement graceful shutdown for Client by @0x676e67 in #543

Full Changelog: v0.10.1...v0.10.2

v0.10.1

27 Mar 03:58

Choose a tag to compare

What's Changed

  • docs: migrate to Zensical for documentation by @0x676e67 in #540
  • docs(ws): expose local_addr in response docs by @0x676e67 in #542
  • build(deps): streamline dependency management by @0x676e67 in #541

Full Changelog: v0.10.0...v0.10.1

v0.10.0

26 Mar 17:19

Choose a tag to compare

What's Changed

  • build(deps): wheel drops support for versions prior to 3.11 by @0x676e67 in #271
  • Prepare for v3 by @0x676e67 in #275
  • feat(cookie): retrieve all cookies from the cookie jar by @0x676e67 in #276
  • feat(request): optional per-request decompression setting by @0x676e67 in #277
  • feat(client): support TCP socket SO_REUSEADDR option by @0x676e67 in #278
  • refactor(response): simplify status code API by @0x676e67 in #279
  • feat(exception): add TLS and WebSocket exception types and handling by @0x676e67 in #280
  • docs(python): update pyi documentation by @0x676e67 in #281
  • refactor(typing): simplify Python class __str__ magic method impls by @0x676e67 in #284
  • build(deps): compile optional memory allocator by @0x676e67 in #285
  • refactor(blocking): move blocking API to python.blocking and unify type names by @0x676e67 in #288
  • docs(python): update tcp socket documentation by @0x676e67 in #289
  • perf(client): inline hot-path request methods for reduced call overhead by @0x676e67 in #290
  • perf(async): release Python GIL during async operations by @0x676e67 in #291
  • feat(tls): support private key and X509 cert as client certificate by @0x676e67 in #293
  • feat(tls): expose flexible cert store binding by @0x676e67 in #294
  • docs(python): rename .pyi stubs to .py for wider type checker support by @0x676e67 in #295
  • feat(tls): add TLS keylog support via KeyLogPolicy by @0x676e67 in #296
  • chore(tls): remove duplicate TLS version bindings by @0x676e67 in #298
  • perf(header): zero-copy creation of header values by @0x676e67 in #302
  • feat(header): preserve HTTP/1 case and header order by @0x676e67 in #303
  • refactor(request): remove string proxy support by @0x676e67 in #310
  • docs(python): simplify documentation parameter types by @0x676e67 in #311
  • chore(client): remove unimplemented no_keepalive option by @0x676e67 in #312
  • feat(response): return local address used for the request by @0x676e67 in #313
  • docs(python): remove unused import by @0x676e67 in #315
  • feat(ws): WebSocket support for recv() timeout by @0x676e67 in #316
  • refactor(ws): drop iterator impl by @0x676e67 in #317
  • feat(response): reuse buffered response body by @0x676e67 in #318
  • refactor(buffer): restructure buffer protocol by @0x676e67 in #319
  • perf(stream): channel-based iteration, drop locks by @0x676e67 in #320
  • refactor(header): streamline HeaderMap iterators by @0x676e67 in #321
  • feat(response): allow accessing redirect history in response by @0x676e67 in #322
  • perf(pyclass): eliminate borrow checker overhead by @0x676e67 in #323
  • refactor(response): remove encoding readonly property by @0x676e67 in #324
  • docs(python): fix response history API docs by @0x676e67 in #326
  • refactor(response): peer_certificate as read-only property by @0x676e67 in #327
  • feat(multipart): allow setting headers and stream upload length by @0x676e67 in #329
  • feat(ws): allow message batching to reduce buffer flushes by @0x676e67 in #331
  • docs(python): fix cookie initialization API docs by @0x676e67 in #333
  • docs(python): improve documentation for client and request parameters by @0x676e67 in #334
  • perf(ws): eliminate borrow checker overhead by @0x676e67 in #335
  • revert(client): remove http2_max_retry_count option by @0x676e67 in #336
  • docs(python): fix multiple Python LSP API warnings by @0x676e67 in #337
  • chore(deps): update pyo3 to 0.26 by @0x676e67 in #338
  • docs(python): fix response content_length API docs by @0x676e67 in #339
  • build(deps): bump wreq version to 6.0.0-rc.14 by @0x676e67 in #340
  • feat(resp): allow reuse in free-threaded mode by @0x676e67 in #343
  • fix(rt): prevent GIL from stalling background Rust future tasks by @0x676e67 in #346
  • feat(resp): add raise_for_status() for error handling by @0x676e67 in #347
  • feat(client): Add HTTP/TLS binding API by @0x676e67 in #350
  • feat(client): add verify_hostname option binding by @0x676e67 in #351
  • docs(python): improve documentation for HTTP/2 configuration enums by @0x676e67 in #353
  • docs(http2): align Python enum member names with PascalCase convention by @0x676e67 in #354
  • docs(python): rename SettingOrder to SettingsOrder by @LanceaKing in #356
  • feat(emulation): add Chrome(138–140), Firefox(140,142), Safari26 by @0x676e67 in #358
  • docs(python): fix some LSP hints by @0x676e67 in #360
  • feat(emulation): Add safari ios/ipad 26 emulation by @0x676e67 in #361
  • refactor: replace PyO3 downcast with cast by @0x676e67 in #362
  • perf: cache hot PyString calls using pyo3::intern! macro by @0x676e67 in #365
  • build(deps): bump actions/setup-python from 5 to 6 by @dependabot[bot] in #371
  • build(deps): bump astral-sh/setup-uv from 5 to 6 by @dependabot[bot] in #370
  • build(deps): bump actions/attest-build-provenance from 1 to 3 by @dependabot[bot] in #369
  • build(deps): bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #368
  • build(deps): bump actions/checkout from 3 to 5 by @dependabot[bot] in #367
  • ci: add build for free-threaded Python wheel by @0x676e67 in #372
  • ci: fix windows aarch64 build by @0x676e67 in #375
  • ci: prebuild Android wheels by @0x676e67 in #376
  • build: Add abi3-py313 dependency to features by @0x676e67 in #378
  • build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #380
  • build(deps): bump astral-sh/setup-uv from 6 to 7 by @dependabot[bot] in #381
  • docs(python): improve type hints by @0x676e67 in #383
  • perf(rt): optimize async runtime scheduling by @0x676e67 in #387
  • feat(request): support dict type in form data by @0x676e67 in #391
  • perf(json): zero-copy string deserialization by @0x676e67 in #392
  • refactor(core): reduce dependency on futures by @0x676e67 in #393
  • chore(deps): update pyo3 to 0.27 by @0x676e67 in #394
  • feat(emulation): Add chrome141 emulation by @0x676e67 in #396
  • feat(request): support dict type in query data by @0x676e67 in #399
  • feat(request): support form/json type in body data by @0x676e67 in #400
  • chore(body): fmt code by @0x676e67 in #401
  • build(deps): bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #402
  • build(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #403
  • chore(module): use flat module structure by @0x676e67 in #406
  • feat(client): adapt overriding domain n...
Read more

v3.0.0-rc22

24 Feb 10:36

Choose a tag to compare

What's Changed

  • refactor(response): merge text and text_with_charset into a single method by @0x676e67 in #524

Full Changelog: v3.0.0-rc21...v3.0.0-rc22

v3.0.0-rc21

18 Feb 16:06

Choose a tag to compare

What's Changed

  • docs: add documentation site by @0x676e67 in #498
  • build(deps): bump actions/checkout from 4 to 6 by @dependabot[bot] in #499
  • build(deps): bump actions/setup-python from 5 to 6 by @dependabot[bot] in #500
  • build(deps): update indexmap dependency to version 2.13.0 by @0x676e67 in #503
  • chore(deps): update pyo3 to 0.28 by @0x676e67 in #506
  • docs(response): clarify close() method behavior and recommend context managers by @0x676e67 in #507
  • chore: update docs module by @0x676e67 in #508
  • docs: fix api docs by @0x676e67 in #509
  • refactor(request): simplify multipart body extraction by @0x676e67 in #510
  • perf(rt): use native async for context management by @0x676e67 in #511
  • perf(stream): refactor Streamer for compatibility with frozen async state by @0x676e67 in #513
  • feat: Add sync shortcut request method by @0x676e67 in #514
  • feat(emulation): update emulation device enums from wreq-util rc.10 by @steppaovo in #516
  • refactor(ws): simplify Message creation by @0x676e67 in #517
  • chore: Update wreq-util features in Cargo.toml by @0x676e67 in #521

New Contributors

Full Changelog: v3.0.0-rc20...v3.0.0-rc21

v3.0.0-rc20

17 Jan 12:35

Choose a tag to compare

What's Changed

  • build: mutually exclusive jemalloc/mimalloc allocator features by @0x676e67 in #478
  • feat(client): expose client cookie jar access by @serozhenka in #477
  • feat(cookie): consolidate cookie methods into a unified add() by @0x676e67 in #479
  • docs(cookie): fix compression parameter type in cookie constructor by @0x676e67 in #480
  • refactor(response): refactor TlsInfo extension wrapper by @0x676e67 in #481
  • docs(client): update client configuration parameters by @0x676e67 in #482
  • perf(identity): optimize mTLS identity creation performance by @0x676e67 in #485
  • chore(cookie): simplify getter methods by removing inline attributes by @0x676e67 in #484
  • perf(config): Avoid unnecessary configurations by @0x676e67 in #488
  • test(cookie): improve cookie update tests by @0x676e67 in #487
  • feat(request): allow setting compressed and uncompressed cookies by @0x676e67 in #491
  • perf(response): reduce response initialization overhead by @0x676e67 in #494
  • feat(http): implement rich comparison for StatusCode with integers by @0x676e67 in #490
  • build(deps): bump wreq version to 6.0.0-rc.27 by @0x676e67 in #496
  • feat(cookie): remove deprecated cookie add APIs by @0x676e67 in #492
  • feat(runtime): add async task cancellation support by @0x676e67 in #495
  • build: fix compiled wheels being unusable by @0x676e67 in #497

New Contributors

Full Changelog: v3.0.0-rc17...v3.0.0-rc20

v3.0.0-rc17

31 Dec 09:05

Choose a tag to compare

What's Changed

  • build(deps): bump wreq version to 6.0.0-rc.26 by @0x676e67 in #474
  • feat(emulation): update emulation device enums by @0x676e67 in #475

Full Changelog: v3.0.0-rc16...v3.0.0-rc17

v3.0.0-rc16

22 Dec 07:47

Choose a tag to compare

What's Changed

  • feat(client): enforce proper usage of custom cookie provider by @0x676e67 in #463
  • feat(error): add ProxyConnectionError for proxy connection errors by @0x676e67 in #464
  • feat(response): introduce trailers support by @0x676e67 in #467

Full Changelog: v3.0.0-rc15...v3.0.0-rc16

v3.0.0-rc15

16 Dec 07:37

Choose a tag to compare

What's Changed

  • refactor(rt): migrate async runtime to pyo3-async-runtimes by @0x676e67 in #428
  • chore(request): streamline request responsibility modules by @0x676e67 in #430
  • chore(bench): improve benchmark tests by @0x676e67 in #433
  • feat(request): auto-convert multiple types in query/form parameters by @0x676e67 in #434
  • chore(parser): refactor legacy parameter extraction by @0x676e67 in #435
  • feat(client/request): add dual-stack local IP address binding by @0x676e67 in #436
  • refactor(dns): remove unused exception types by @0x676e67 in #437
  • feat(resp): implement __str__ for response class by @0x676e67 in #439
  • perf(stream): prevent GIL blocking tokio workers by @0x676e67 in #444
  • feat(redirect): refactor redirect policy with callback support by @0x676e67 in #440
  • feat(exception): remove unused URLParseError exception types by @0x676e67 in #447
  • feat(cookie): add optional cookie jar compression strategy by @0x676e67 in #448
  • feat(proxy): move to proxy module and support unix sockets by @0x676e67 in #449
  • feat(request): allow per-request cookie provider by @0x676e67 in #450
  • chore: simplify type extraction by @0x676e67 in #451
  • feat(proxy): implement str for Proxy class by @0x676e67 in #452
  • docs(python): update document prompt by @xiaoweigege in #453
  • refactor(client): replace numeric duration values with datetime.timedelta by @0x676e67 in #454
  • perf(client): improve request send performance by @0x676e67 in #455
  • chore(header): simplify header extraction by @0x676e67 in #456
  • build(deps): bump actions/download-artifact from 6 to 7 by @dependabot[bot] in #458
  • build(deps): bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #457
  • perf(client): improve client create performance by @0x676e67 in #459
  • docs(python): use T | None instead of Optional[T] for type hints by @0x676e67 in #460

New Contributors

Full Changelog: v3.0.0-rc14...v3.0.0-rc15

v3.0.0-rc14

02 Dec 15:35

Choose a tag to compare

What's Changed

  • build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #423
  • fix(client): handle multi-value default headers without overriding requests by @0x676e67 in #425
  • perf(response): fix async API blocking the runtime by @0x676e67 in #427

Full Changelog: v3.0.0-rc13...v3.0.0-rc14