Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: seanmonstar/reqwest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.11.27
Choose a base ref
...
head repository: seanmonstar/reqwest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.12.0
Choose a head ref
  • 8 commits
  • 34 files changed
  • 8 contributors

Commits on Mar 20, 2024

  1. feat: hyper v1 upgrade (#2059)

    This is a big and breaking change. A lot of the internals were worked
    on. But the breakage shouldn't be that visible to public API.
    
    The main differences are:
    
    - Publicly exposes `http` v1, instead of v0.2.
    - Integration with `hyper::Body` has changed.
    
    Co-authored-by: =?UTF-8?q?Lo=C3=AFs=20Postula?= <lois@postu.la>
    Co-authored-by: Jakub Wieczorek <jakub@grafbase.com>
    3 people committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    eb94f26 View commit details
    Browse the repository at this point in the history
  2. feat: Add http2 cargo feature (#2162)

    Technically a breaking change, since disabling default options will mean HTTP/2 is no longer enabled, and in 0.11.x, it was.
    yujincheng08 authored and seanmonstar committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    fee78ec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    18f2bb8 View commit details
    Browse the repository at this point in the history
  4. crate: hide internal features (#2026)

    In `Cargo.toml`, hide all optional dependencies as features
    
    Currently, reqwest publishes all optional dependencies as features - which is usually not what is intended. Instead, the features should be explicitly declared, whereas optional features are enabled with the new `dep:*` syntax.
    
    Note that I also had to fix a few conditional compilations which used optional crates rather than features as conditionals.
    
    Also, note the use of the `...?/...` syntax instead of `.../...` -- as this both enabled an optional crate AND adds a feature to it.  Now, it uses the `"dep:...", "...?/..."` syntax to prevent exposing crate name.
    
    Technically, this is *breaking change*, since people may have enabled some of these features accidentally. That's why we're including it in 0.12.
    nyurik authored and seanmonstar committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    886cd81 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a29c7f9 View commit details
    Browse the repository at this point in the history
  6. Support conversion to http::Response

    shouya authored and seanmonstar committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    d1022b3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6c6170b View commit details
    Browse the repository at this point in the history
  8. v0.12.0

    seanmonstar committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    92aa28c View commit details
    Browse the repository at this point in the history
Loading