Bot releases are visible (Hide)
Full Changelog: https://github.com/mamantoha/crest/compare/v1.4.0...v1.4.1
Published by mamantoha 3 months ago
HTTP::Client
by @mamantoha in #224
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.13...v1.4.0
Published by mamantoha 7 months ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.12...v1.3.13
Published by mamantoha about 1 year ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.11...v1.3.12
Published by mamantoha over 1 year ago
Response#content_length
to be Int64 by @mamantoha in https://github.com/mamantoha/crest/pull/212
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.10...v1.3.11
Published by mamantoha over 1 year ago
Response#content_length
by @mamantoha in https://github.com/mamantoha/crest/pull/211
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.9...v1.3.10
Published by mamantoha over 1 year ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.8...v1.3.9
Published by mamantoha over 1 year ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.7...v1.3.8
Published by mamantoha almost 2 years ago
closed?
method to Crest::Request
Published by mamantoha about 2 years ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.5...v1.3.6
Published by mamantoha about 2 years ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.4...v1.3.5
Published by mamantoha about 2 years ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.3...v1.3.4
Published by mamantoha about 2 years ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.2...v1.3.3
Published by mamantoha about 2 years ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.1...v1.3.2
Published by mamantoha over 2 years ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.3.0...v1.3.1
Published by mamantoha over 2 years ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.2.1...v1.3.0
Published by mamantoha over 2 years ago
Crest::Requests
by @mamantoha in https://github.com/mamantoha/crest/pull/172
tsl
parameter in redirectsHTTP::Client#tsl
only for https requestsFull Changelog: https://github.com/mamantoha/crest/compare/v1.2.0...v1.2.1
Published by mamantoha over 2 years ago
(breaking-change) #decode
method extracted from Crest::ParamsEncoder
to Crest::ParamsDecoder
by @mamantoha in https://github.com/mamantoha/crest/pull/170
query = "size=small&topping[1]=bacon&topping[2]=onion"
Crest::ParamsDecoder.decode(query)
# => {"size" => "small", "topping" => ["bacon", "onion"]}
Add Crest::EnumeratedFlatParamsEncoder
by @mamantoha in https://github.com/mamantoha/crest/pull/170
response = Crest.post(
"http://httpbin.org/post",
{"size" => "small", "topping" => ["bacon", "onion"]},
params_encoder: Crest::EnumeratedFlatParamsEncoder
)
# => curl -X POST http://httpbin.org/post -d 'size=small&topping[1]=bacon&topping[2]=onion' -H 'Content-Type: application/x-www-form-urlencoded'
Expose timeout options by @mamantoha in https://github.com/mamantoha/crest/pull/171
Full Changelog: https://github.com/mamantoha/crest/compare/v1.1.0...v1.2.0
Published by mamantoha over 2 years ago
Tested with Crystal 1.3.0
Accept Float32
and Float64
as params value by @mamantoha in https://github.com/mamantoha/crest/pull/166
Add read_timeout
support by @kates in https://github.com/mamantoha/crest/pull/169
Add custom params encoders by @mamantoha in https://github.com/mamantoha/crest/pull/167
(thanks @cyangle for the idea in https://github.com/mamantoha/crest/pull/162)
It is now possible to use a custom params encoder. For example Crest::NestedParamsEncoder
:
response = Crest.post(
"http://httpbin.org/post",
{"size" => "small", "topping" => ["bacon", "onion"]},
params_encoder: Crest::NestedParamsEncoder
)
# => curl -X POST http://httpbin.org/post -d 'size=small&topping=bacon&topping=onion' -H 'Content-Type: application/x-www-form-urlencoded'
By defaulf Crest::FlatParamsEncoder
is used:
response = Crest.post(
"http://httpbin.org/post",
{"size" => "small", "topping" => ["bacon", "onion"]}
)
# => curl -X POST http://httpbin.org/post -d 'size=small&topping[]=bacon&topping[]=onion' -H 'Content-Type: application/x-www-form-urlencoded'
Full Changelog: https://github.com/mamantoha/crest/compare/v1.0.1...v1.1.0
Published by mamantoha almost 3 years ago
Full Changelog: https://github.com/mamantoha/crest/compare/v1.0.0...v1.0.1