Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔖 Release 3.1.2 #37

Merged
merged 1 commit into from
Oct 16, 2023
Merged

🔖 Release 3.1.2 #37

merged 1 commit into from
Oct 16, 2023

Conversation

Ousret
Copy link
Member

@Ousret Ousret commented Oct 16, 2023

3.1.2 (2023-10-16)

Fixed

  • Static type checker not accepting list[str] in values for argument data.

Misc

  • Changed the documentation theme by furo.

Added

  • IPv6 support in the NO_PROXY environment variable or in the proxies (key no_proxy) argument.
    Patch taken from idle upstream PR Add ipv6 support to should_bypass_proxies psf/requests#5953

  • Preemptively register a website to be HTTP/3 capable prior to the first TLS over TCP handshake.
    You can do so by doing like:

    from niquests import Session
    
    s = Session()
    s.quic_cache_layer.add_domain("cloudflare.com")
  • Passed data will be converted to form-data if headers have a Content-Type header and is set to multipart/form-data.
    Otherwise, by default, it is still urlencoded. If you specified a boundary, it will be used, otherwise, a random one will
    be generated.

**Fixed**
- Static type checker not accepting **list\[str\]** in values for argument **data**.

**Misc**
- Changed the documentation theme by **furo**.

**Added**
- IPv6 support in the `NO_PROXY` environment variable or in the **proxies** (key no_proxy) argument.
  Patch taken from idle upstream PR psf#5953
- Preemptively register a website to be HTTP/3 capable prior to the first TLS over TCP handshake.
  You can do so by doing like:

  ```python
  from niquests import Session

  s = Session()
  s.quic_cache_layer.add_domain("cloudflare.com")
  ```
- Passed **data** will be converted to form-data if headers have a Content-Type header and is set to `multipart/form-data`.
  Otherwise, by default, it is still urlencoded. If you specified a boundary, it will be used, otherwise, a random one will
  be generated.
@Ousret Ousret merged commit 5cb7c7b into main Oct 16, 2023
28 checks passed
@Ousret Ousret deleted the release-3.1.2 branch October 16, 2023 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant