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

feat: Support httpx 0.28 #1172

Merged
merged 4 commits into from
Dec 24, 2024
Merged

feat: Support httpx 0.28 #1172

merged 4 commits into from
Dec 24, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
httpx (changelog) >=0.20.0,<0.28.0 -> >=0.20.0,<0.29.0 age adoption passing confidence
httpx (changelog) >= 0.20.0, < 0.28.0 -> >=0.20.0, <0.29.0 age adoption passing confidence

Release Notes

encode/httpx (httpx)

v0.28.1

Compare Source

  • Fix SSL case where verify=False together with client side certificates.

v0.28.0

Compare Source

The 0.28 release includes a limited set of deprecations.

Deprecations:

We are working towards a simplified SSL configuration API.

For users of the standard verify=True or verify=False cases, or verify=<ssl_context> case this should require no changes. The following cases have been deprecated...

  • The verify argument as a string argument is now deprecated and will raise warnings.
  • The cert argument is now deprecated and will raise warnings.

Our revised SSL documentation covers how to implement the same behaviour with a more constrained API.

The following changes are also included:

  • The deprecated proxies argument has now been removed.
  • The deprecated app argument has now been removed.
  • JSON request bodies use a compact representation. (#​3363)
  • Review URL percent escape sets, based on WHATWG spec. (#​3371, #​3373)
  • Ensure certifi and httpcore are only imported if required. (#​3377)
  • Treat socks5h as a valid proxy scheme. (#​3178)
  • Cleanup Request() method signature in line with client.request() and httpx.request(). (#​3378)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update dependency httpx to v0.28.0 chore(deps): update dependency httpx to v0.28.1 Dec 6, 2024
@renovate renovate bot force-pushed the renovate/httpx-0.x branch from ebe8d26 to 77dc3c1 Compare December 9, 2024 17:46
@dbanty dbanty changed the title chore(deps): update dependency httpx to v0.28.1 feat: Support httpx 0.28 Dec 9, 2024
@renovate renovate bot force-pushed the renovate/httpx-0.x branch from 77dc3c1 to c7a859c Compare December 9, 2024 17:58
@renovate renovate bot force-pushed the renovate/httpx-0.x branch 3 times, most recently from 305584f to 822ba40 Compare December 24, 2024 21:52
@renovate renovate bot force-pushed the renovate/httpx-0.x branch from 822ba40 to 144a596 Compare December 24, 2024 22:03
dbanty
dbanty previously approved these changes Dec 24, 2024
@dbanty dbanty enabled auto-merge December 24, 2024 22:03
@dbanty dbanty disabled auto-merge December 24, 2024 22:04
Copy link
Contributor Author

renovate bot commented Dec 24, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@dbanty dbanty enabled auto-merge December 24, 2024 22:05
@dbanty dbanty added this pull request to the merge queue Dec 24, 2024
Merged via the queue into main with commit 46b7523 Dec 24, 2024
22 checks passed
@dbanty dbanty deleted the renovate/httpx-0.x branch December 24, 2024 22:12
@knope-bot knope-bot bot mentioned this pull request Dec 24, 2024
github-merge-queue bot pushed a commit that referenced this pull request Dec 24, 2024
> [!IMPORTANT]
> Merging this pull request will create this release

## Breaking Changes

### Delete fewer files with `--overwrite`

`--overwrite` will no longer delete the entire output directory before
regenerating. Instead, it will only delete
specific, known directories within that directory. Right now, that is
only the generated `models` and `api` directories.

Other generated files, like `README.md`, will be overwritten. Extra
files and directories outside of those listed above
will be left untouched, so you can any extra modules or files around
while still updating `pyproject.toml` automatically.

Closes #1105.

## Features

- Support httpx 0.28 (#1172)

### Add `generate_all_tags` config option

You can now, optionally, generate **duplicate** endpoint
functions/modules using _every_ tag for an endpoint,
not just the first one, by setting `generate_all_tags: true` in your
configuration file.

## Fixes

- Support Typer 0.14 and 0.15 (#1173)

### Fix minimum `attrs` version

The minimum `attrs` dependency version was incorrectly set to 21.3.0.
This has been corrected to 22.2.0, the minimum
supported version since `openapi-python-client` 0.19.1.

Closes #1084, thanks @astralblue!

### Fix compatibility with Pydantic 2.10+

#1176 by @Viicos

Set `defer_build` to models that we know will fail to build, and call
`model_rebuild`
in the `__init__.py` file.

Co-authored-by: knope-bot[bot] <152252888+knope-bot[bot]@users.noreply.github.com>
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