Skip to content

Comments

Bump hackney from 1.25.0 to 3.0.2#185

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/hex/hackney-3.0.2
Open

Bump hackney from 1.25.0 to 3.0.2#185
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/hex/hackney-3.0.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 15, 2026

Bumps hackney from 1.25.0 to 3.0.2.

Release notes

Sourced from hackney's releases.

3.0.2

Bug Fixes

  • Add default Content-Type: application/octet-stream header when sending a body without explicit Content-Type (#823). This restores 1.x behavior and follows RFC 7231 recommendations.

Dependencies

  • Bump certifi to 2.16.0 (#824)
Changelog

Sourced from hackney's changelog.

3.0.2 - 2026-02-02

Bug Fixes

  • Add default Content-Type: application/octet-stream header when sending a body without explicit Content-Type (#823). This restores 1.x behavior and follows RFC 7231 recommendations.

Dependencies

  • Bump certifi to 2.16.0 (#824)

3.0.1 - 2026-01-28

Bug Fixes

  • Fix dialyzer warning in follow_redirect by removing dead code branch that checked is_pid() on a value that was always binary
  • Store final redirect location in connection process state so it can be retrieved via hackney:location/1
  • Clean up request_ret() type spec to accurately reflect return values

3.0.0 - 2026-01-27

BREAKING CHANGES

This is a major release with breaking changes to the high-level API. See Migration Guide for detailed upgrade instructions.

Response Format Change

The high-level API now returns the response body directly in the tuple, consistent across all protocols (HTTP/1.1, HTTP/2, HTTP/3):

%% Before (2.x) - HTTP/1.1
{ok, 200, Headers, ConnPid} = hackney:get(URL),
{ok, Body} = hackney:body(ConnPid).
%% After (3.x) - All protocols
{ok, 200, Headers, Body} = hackney:get(URL).

Removed Functions

The following deprecated functions have been removed:

Function Replacement
hackney:body/1 Body returned directly in response tuple
hackney:body/2 Body returned directly in response tuple
hackney:stream_body/1 Use async mode with [async] or [{async, once}]
hackney:skip_body/1 Not needed - body always consumed

... (truncated)

Commits
  • 1b6f536 release: version 3.0.2
  • fdd65fe docs: add streaming request body examples to migration guide
  • 6c8046d release: version 3.0.1
  • 515745f fix: store final redirect location in connection process
  • bee5ae0 fix: resolve dialyzer warning in follow_redirect
  • 38d8baa Merge pull request #822 from benoitc/fix/consistent-response-format
  • 491faa3 fix(docs): use edoc quote syntax for inline code
  • b4436d3 docs: update version references to 3.0.0
  • 854d57a docs: add manual connection management documentation
  • 64412e6 release: version 3.0.0
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> 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)

Bumps [hackney](https://github.com/benoitc/hackney) from 1.25.0 to 3.0.2.
- [Release notes](https://github.com/benoitc/hackney/releases)
- [Changelog](https://github.com/benoitc/hackney/blob/master/NEWS.md)
- [Commits](benoitc/hackney@1.25.0...3.0.2)

---
updated-dependencies:
- dependency-name: hackney
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants