palantir / conjure-rust-runtime

Rust implementation of the Conjure runtime
10 stars 7 forks source link

Update hyper requirement from 0.14 to 1.0 #169

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 1 year ago

Updates the requirements on hyper to permit the latest version.

Release notes

Sourced from hyper's releases.

v1.0.0

Features

  • client: allow !Send IO with HTTP/1 client (#3371) (cf87eda8, closes #3363)
  • error:
  • ext:
    • make ReasonPhrase::from_static a const fn (d4a61e3d)
    • remove ReasonPhrase::from_bytes_unchecked() method (4021c57b)
  • lib:
  • rt: rename to Http2ClientConnExec and Http2ServerConnExec (52b27faa)
  • server: default http1 header_read_timeout to 30 seconds (8bf26d1e)
  • upgrade: introduce tracing as an optional unstable feature (#3326) (da3fc76c, closes #3319)

Bug Fixes

Breaking Changes

  • Upgrade to http 1.0.

(899e92a5)

  • (From previous RCs) ExecutorClient is renamed to Http2ClientConnExec, and Http2ConnExec is renamed to Http2ServerConnExec.

(52b27faa)

  • If you use client HTTP/1 upgrades, you must call Connection::with_upgrades() to still work the same. (cf87eda8)
  • HTTP/2 server builder now has a default max concurrent streams. This is a behavior change. Consider setting your own maximum. (dd638b5b)
  • Do not build any logic depending on the exact types of an Error::source(). They are only for debugging. (502a6450)

... (truncated)

Changelog

Sourced from hyper's changelog.

v1.0.0 (2023-11-15)

Bug Fixes

Features

  • client: allow !Send IO with HTTP/1 client (#3371) (cf87eda8, closes #3363)
  • error:
  • ext:
    • make ReasonPhrase::from_static a const fn (d4a61e3d)
    • remove ReasonPhrase::from_bytes_unchecked() method (4021c57b)
  • lib:
  • rt: rename to Http2ClientConnExec and Http2ServerConnExec (52b27faa)
  • server: default http1 header_read_timeout to 30 seconds (8bf26d1e)
  • upgrade: introduce tracing as an optional unstable feature (#3326) (da3fc76c, closes #3319)

Breaking Changes

  • Upgrade to http 1.0.

(899e92a5)

  • (From previous RCs) ExecutorClient is renamed to Http2ClientConnExec, and Http2ConnExec is renamed to Http2ServerConnExec.

(52b27faa)

  • If you use client HTTP/1 upgrades, you must call Connection::with_upgrades() to still work the same. (cf87eda8)
  • HTTP/2 server builder now has a default max concurrent streams. This is a behavior change. Consider setting your own maximum. (dd638b5b)

... (truncated)

Commits
  • 6f76f20 v1.0.0
  • 899e92a feat(lib): update to http 1.0
  • 6fd696e test(upgrade): fix compilation in Upgrade tests without features (#3403)
  • c22fc07 docs(body): add example to body::Incoming (#3383)
  • 52b27fa feat(rt): rename to Http2ClientConnExec and Http2ServerConnExec
  • 8bf26d1 feat(server): default http1 header_read_timeout to 30 seconds
  • f3308c0 feat(lib): missing Timer will warn or panic
  • 837c277 docs(contributing.md): add a comment to make good use of rust-analyzer (#3388)
  • 5571711 docs(client): add example links (#3385)
  • 776e8de docs(server): add conn::http1::Builder example (#3390)
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
changelog-app[bot] commented 1 year ago

Generate changelog in changelog-dir>`changelog/@unreleased`</changelog-dir

What do the change types mean? - `feature`: A new feature of the service. - `improvement`: An incremental improvement in the functionality or operation of the service. - `fix`: Remedies the incorrect behaviour of a component of the service in a backwards-compatible way. - `break`: Has the potential to break consumers of this service's API, inclusive of both Palantir services and external consumers of the service's API (e.g. customer-written software or integrations). - `deprecation`: Advertises the intention to remove service functionality without any change to the operation of the service itself. - `manualTask`: Requires the possibility of manual intervention (running a script, eyeballing configuration, performing database surgery, ...) at the time of upgrade for it to succeed. - `migration`: A fully automatic upgrade migration task with no engineer input required. _Note: only one type should be chosen._
How are new versions calculated? - ❗The `break` and `manual task` changelog types will result in a major release! - 🐛 The `fix` changelog type will result in a minor release in most cases, and a patch release version for patch branches. This behaviour is configurable in autorelease. - ✨ All others will result in a minor version release.

Type

- [ ] Feature - [ ] Improvement - [ ] Fix - [ ] Break - [ ] Deprecation - [ ] Manual task - [ ] Migration

Description

Update hyper requirement from 0.14 to 1.0 **Check the box to generate changelog(s)** - [ ] Generate changelog entry
dependabot[bot] commented 11 months ago

Superseded by #175.