Skip to content

v3.3.0

Latest

Choose a tag to compare

@sqdshguy sqdshguy released this 25 Nov 16:04
· 12 commits to master since this release
v3.3.0
1e5e42d

What's Changed

  • Feature: Session.setCookies() restores an exported cookie jar into a session.
  • Feature: randomProfile() picks a realistic fingerprint: a browser family, one of its newest profiles, and an OS that family really ships on, instead of random pairs no real browser sends (#238).
  • Feature: per-request DNS resolve overrides. fetch now takes resolve directly, so pinning one request to an address no longer needs its own transport (#244).
  • Fix: session WebSockets now store cookies from the handshake response the way the emulated browser does. Chrome, Edge and Opera profiles keep cookies from 101, 401 and 407 responses; Firefox, Safari and OkHttp profiles keep them from any status (#257).
  • Fix: redirects with a non-ASCII Location header are followed, and the raw header is exposed as latin1, matching undici (#218).
  • Fix: cancelling or aborting a response body releases its connection right away, instead of holding it until the 300 s idle timeout (#237).
  • Fix: setCookies keeps cookie expiry exact to the millisecond, and getAllCookies reports SameSite=None correctly.
  • Update: wreq 0.16.5 and wreq-util 0.2.1, with proxy error causes and fixes to cookie storage and public-suffix handling.

Full Changelog: v3.2.0...v3.3.0