Skip to content

Commit

Permalink
Release v0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Jul 18, 2024
1 parent 9bb1470 commit 8431d07
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# CHANGELOG

## v0.5.3 (2024-07-18)

* [`Req.Test`]: Fix using shared mode

* [`encode_body`]: Add `:form_multipart` option

* [`put_aws_sigv4`]: Try detecting the service

* [`run_finch`]: Fix setting `:finch` option

## v0.5.2 (2024-07-08)

* [`put_aws_sigv4`]: Fix bug when using custom headers
Expand Down
15 changes: 4 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ And here is how they can be used:
Mix.install([
{:req, "~> 0.5.0"},
{:req_easyhtml, "~> 0.1.0"},
{:req_s3, "~> 0.1.0"},
{:req_hex, "~> 0.1.0"},
{:req_s3, "~> 0.2.0"},
{:req_hex, "~> 0.2.0"},
{:req_github_oauth, "~> 0.1.0"}
])

Expand All @@ -181,15 +181,8 @@ Req.get!(req, url: "https://elixir-lang.org").body[".entry-summary h5"]
# Elixir is a dynamic, functional language for building scalable and maintainable applications.
# </h5>]

Req.get!(req, url: "s3://ossci-datasets").body
#=>
# [
# "mnist/",
# "mnist/t10k-images-idx3-ubyte.gz",
# "mnist/t10k-labels-idx1-ubyte.gz",
# "mnist/train-images-idx3-ubyte.gz",
# "mnist/train-labels-idx1-ubyte.gz"
# ]
Req.get!(req, url: "s3://ossci-datasets/mnist/t10k-images-idx3-ubyte.gz").body
#=> <<0, 0, 8, 3, ...>>

Req.get!(req, url: "https://repo.hex.pm/tarballs/req-0.1.0.tar").body["metadata.config"]["links"]
#=> %{"GitHub" => "https://github.com/wojtekmach/req"}
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Req.MixProject do
use Mix.Project

@version "0.5.2"
@version "0.5.3"
@source_url "https://github.com/wojtekmach/req"

def project do
Expand Down

0 comments on commit 8431d07

Please sign in to comment.