Skip to content
New issue

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

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

Already on GitHub? # to your account

Version 1.0 #3319

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Version 1.0 #3319

wants to merge 7 commits into from

Conversation

tomchristie
Copy link
Member

@tomchristie tomchristie commented Sep 26, 2024

Branch for Version 1.0, so that we can incrementally merge ongoing changes and figure out at what point we want to cut a release.

  • Add release notes.
    • Why choose HTTPX.
      • Sync + async support.
      • HTTP/1.1 + HTTP/2 support.
      • Command line client.
      • Strict typing.
      • Timeouts by default.
      • Usage as WSGI/ASGI test client.
      • Well defined transport API.
      • Low-level API.
      • Roadmap for future improvements.
    • Document version changes.
    • Sponsorship callout. (Related... I need to conduct an end-of-month appraisal)
  • Increment version.
  • Merge changes.
    • Improved SSL configuration API.
    • Error when conflicting transport options passed.
    • Reduced dependency footprint.
    • Added NetworkOptions.
    • Deprecation for proxies escalated into removal.
    • Deprecation for app escalated into removal.
    • Removed undocumented raw_url interface.
    • Removed undocumented unnamed 4-tuple timeout.

Possible roadmap items...

  • Response timeouts.
  • Response max size.
  • Added routing.
  • Stricter typing for auth, proxy & timeout.
  • Stricter typing for default_encoding.
  • Stricter typing for params, headers & cookies.
  • Stricter typing for content, data, files.

...

  • Expose urlparse & friends.
  • Add URLLib3Transport.
  • Add AIOHttpTransport.
  • Built-in WebSocket support.
  • HTTP/3 support.

@karpetrosyan
Copy link
Member

Add URLLib3Transport.

I have updated the urllib3 transport from the gist, and it seems ready to use as well as a good example of how transport can be implemented.

I've also worked a bit on AiohttpTransport, and hopefully, we'll see it soon. We could emphasize the possibility of using httpx as a Sans-IO library, capable of working with HTTP streams.

@tomchristie tomchristie added the 1.0 proposal Pull requests proposing 1.0 API changes label Sep 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
1.0 proposal Pull requests proposing 1.0 API changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants