Changelog
*Sourced from [rest-client's changelog](https://github.com/rest-client/rest-client/blob/master/history.md).*
> # 2.1.0
>
> - Add a dependency on http-accept for parsing Content-Type charset headers.
> This works around a bad memory leak introduced in MRI Ruby 2.4.0 and fixed in
> Ruby 2.4.2. ([#615](https://github-redirect.dependabot.com/rest-client/rest-client/issues/615))
> - Use mime/types/columnar from mime-types 2.6.1+, which is leaner in memory
> usage than the older storage model of mime-types. ([#393](https://github-redirect.dependabot.com/rest-client/rest-client/issues/393))
> - Add `:log` option to individual requests. This allows users to set a log on a
> per-request / per-resource basis instead of the kludgy global log. ([#538](https://github-redirect.dependabot.com/rest-client/rest-client/issues/538))
> - Log request duration by tracking request start and end times. Make
> `log_response` a method on the Response object, and ensure the `size` method
> works on RawResponse objects. ([#126](https://github-redirect.dependabot.com/rest-client/rest-client/issues/126))
> - `# => 200 OK | text/html 1270 bytes, 0.08s`
> - Also add a new `:stream_log_percent` parameter, which is applicable only
> when `:raw_response => true` is set. This causes progress logs to be
> emitted only on every N% (default 10%) of the total download size rather
> than on every chunk.
> - Drop custom handling of compression and use built-in Net::HTTP support for
> supported Content-Encodings like gzip and deflate. Don't set any explicit
> `Accept-Encoding` header, rely instead on Net::HTTP defaults. ([#597](https://github-redirect.dependabot.com/rest-client/rest-client/issues/597))
> - Note: this changes behavior for compressed responses when using
> `:raw_response => true`. Previously the raw response would not have been
> uncompressed by rest-client, but now Net::HTTP will uncompress it.
> - The previous fix to avoid having Netrc username/password override an
> Authorization header was case-sensitive and incomplete. Fix this by
> respecting existing Authorization headers, regardless of letter case. ([#550](https://github-redirect.dependabot.com/rest-client/rest-client/issues/550))
> - Handle ParamsArray payloads. Previously, rest-client would silently drop a
> ParamsArray passed as the payload. Instead, automatically use
> Payload::Multipart if the ParamsArray contains a file handle, or use
> Payload::UrlEncoded if it doesn't. ([#508](https://github-redirect.dependabot.com/rest-client/rest-client/issues/508))
> - Gracefully handle Payload objects (Payload::Base or subclasses) that are
> passed as a payload argument. Previously, `Payload.generate` would wrap a
> Payload object in Payload::Streamed, creating a pointlessly nested payload.
> Also add a `closed?` method to Payload objects, and don't error in
> `short_inspect` if `size` returns nil. ([#603](https://github-redirect.dependabot.com/rest-client/rest-client/issues/603))
> - Test with an image in the public domain to avoid licensing complexity. ([#607](https://github-redirect.dependabot.com/rest-client/rest-client/issues/607))
>
> # 2.0.2
>
> - Suppress the header override warning introduced in 2.0.1 if the value is the
> same. There's no conflict if the value is unchanged. ([#578](https://github-redirect.dependabot.com/rest-client/rest-client/issues/578))
>
> # 2.0.1
>
> - Warn if auto-generated headers from the payload, such as Content-Type,
> override headers set by the user. This is usually not what the user wants to
> happen, and can be surprising. ([#554](https://github-redirect.dependabot.com/rest-client/rest-client/issues/554))
> - Drop the old check for weak default TLS ciphers, and use the built-in Ruby
> defaults. Ruby versions from Oct. 2014 onward use sane defaults, so this is
> no longer needed. ([#573](https://github-redirect.dependabot.com/rest-client/rest-client/issues/573))
> ... (truncated)
Commits
- [`cf3e5a1`](https://github.com/rest-client/rest-client/commit/cf3e5a115bcdb8f3344aeac0e45b44d67fac1a42) Version 2.1.0
- [`223f6ea`](https://github.com/rest-client/rest-client/commit/223f6ead5eae942fb21214e6429b257e389b7d34) Import history notes for latest 1.6.x releases.
- [`3a54b05`](https://github.com/rest-client/rest-client/commit/3a54b05d114a06550d8f3908f78542fc0257e9ed) Add docs and change log for :stream_log_percent.
- [`f18ca59`](https://github.com/rest-client/rest-client/commit/f18ca5999ac187489b536e31aab2773c215cd9aa) Rename multipart tmpfile basename for consistency.
- [`801f18d`](https://github.com/rest-client/rest-client/commit/801f18de8e2723de2d574b259fd8d04e2c176d90) Merge pull request [#505](https://github-redirect.dependabot.com/rest-client/rest-client/issues/505) from servel333/patch-1
- [`68727f1`](https://github.com/rest-client/rest-client/commit/68727f139c00940c6d5d8223b52f60e63f77a95e) Merge pull request [#716](https://github-redirect.dependabot.com/rest-client/rest-client/issues/716) from rest-client/ab-test-cleanup
- [`746913e`](https://github.com/rest-client/rest-client/commit/746913e2a645f10af6f3fde7b58449cfd40f8130) Only test a few versions on macOS.
- [`1c264c0`](https://github.com/rest-client/rest-client/commit/1c264c09745e361381aa1be0d5f5670cdfcad766) Fix config for recent rubocop.
- [`56d096d`](https://github.com/rest-client/rest-client/commit/56d096d2495a17a8d3e2806c567a3fec07adb283) Use bundler 1.x in tests.
- [`e6e241f`](https://github.com/rest-client/rest-client/commit/e6e241fc19f6f9a347694a09543e614cf6de08b3) Fix integration tests: don't use EV DigiCert root.
- Additional commits viewable in [compare view](https://github.com/rest-client/rest-client/compare/v1.6.7...v2.1.0)
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/cchandler/certificate_authority/network/alerts).
Bumps rest-client from 1.6.7 to 2.1.0.
Changelog
*Sourced from [rest-client's changelog](https://github.com/rest-client/rest-client/blob/master/history.md).* > # 2.1.0 > > - Add a dependency on http-accept for parsing Content-Type charset headers. > This works around a bad memory leak introduced in MRI Ruby 2.4.0 and fixed in > Ruby 2.4.2. ([#615](https://github-redirect.dependabot.com/rest-client/rest-client/issues/615)) > - Use mime/types/columnar from mime-types 2.6.1+, which is leaner in memory > usage than the older storage model of mime-types. ([#393](https://github-redirect.dependabot.com/rest-client/rest-client/issues/393)) > - Add `:log` option to individual requests. This allows users to set a log on a > per-request / per-resource basis instead of the kludgy global log. ([#538](https://github-redirect.dependabot.com/rest-client/rest-client/issues/538)) > - Log request duration by tracking request start and end times. Make > `log_response` a method on the Response object, and ensure the `size` method > works on RawResponse objects. ([#126](https://github-redirect.dependabot.com/rest-client/rest-client/issues/126)) > - `# => 200 OK | text/html 1270 bytes, 0.08s` > - Also add a new `:stream_log_percent` parameter, which is applicable only > when `:raw_response => true` is set. This causes progress logs to be > emitted only on every N% (default 10%) of the total download size rather > than on every chunk. > - Drop custom handling of compression and use built-in Net::HTTP support for > supported Content-Encodings like gzip and deflate. Don't set any explicit > `Accept-Encoding` header, rely instead on Net::HTTP defaults. ([#597](https://github-redirect.dependabot.com/rest-client/rest-client/issues/597)) > - Note: this changes behavior for compressed responses when using > `:raw_response => true`. Previously the raw response would not have been > uncompressed by rest-client, but now Net::HTTP will uncompress it. > - The previous fix to avoid having Netrc username/password override an > Authorization header was case-sensitive and incomplete. Fix this by > respecting existing Authorization headers, regardless of letter case. ([#550](https://github-redirect.dependabot.com/rest-client/rest-client/issues/550)) > - Handle ParamsArray payloads. Previously, rest-client would silently drop a > ParamsArray passed as the payload. Instead, automatically use > Payload::Multipart if the ParamsArray contains a file handle, or use > Payload::UrlEncoded if it doesn't. ([#508](https://github-redirect.dependabot.com/rest-client/rest-client/issues/508)) > - Gracefully handle Payload objects (Payload::Base or subclasses) that are > passed as a payload argument. Previously, `Payload.generate` would wrap a > Payload object in Payload::Streamed, creating a pointlessly nested payload. > Also add a `closed?` method to Payload objects, and don't error in > `short_inspect` if `size` returns nil. ([#603](https://github-redirect.dependabot.com/rest-client/rest-client/issues/603)) > - Test with an image in the public domain to avoid licensing complexity. ([#607](https://github-redirect.dependabot.com/rest-client/rest-client/issues/607)) > > # 2.0.2 > > - Suppress the header override warning introduced in 2.0.1 if the value is the > same. There's no conflict if the value is unchanged. ([#578](https://github-redirect.dependabot.com/rest-client/rest-client/issues/578)) > > # 2.0.1 > > - Warn if auto-generated headers from the payload, such as Content-Type, > override headers set by the user. This is usually not what the user wants to > happen, and can be surprising. ([#554](https://github-redirect.dependabot.com/rest-client/rest-client/issues/554)) > - Drop the old check for weak default TLS ciphers, and use the built-in Ruby > defaults. Ruby versions from Oct. 2014 onward use sane defaults, so this is > no longer needed. ([#573](https://github-redirect.dependabot.com/rest-client/rest-client/issues/573)) > ... (truncated)Commits
- [`cf3e5a1`](https://github.com/rest-client/rest-client/commit/cf3e5a115bcdb8f3344aeac0e45b44d67fac1a42) Version 2.1.0 - [`223f6ea`](https://github.com/rest-client/rest-client/commit/223f6ead5eae942fb21214e6429b257e389b7d34) Import history notes for latest 1.6.x releases. - [`3a54b05`](https://github.com/rest-client/rest-client/commit/3a54b05d114a06550d8f3908f78542fc0257e9ed) Add docs and change log for :stream_log_percent. - [`f18ca59`](https://github.com/rest-client/rest-client/commit/f18ca5999ac187489b536e31aab2773c215cd9aa) Rename multipart tmpfile basename for consistency. - [`801f18d`](https://github.com/rest-client/rest-client/commit/801f18de8e2723de2d574b259fd8d04e2c176d90) Merge pull request [#505](https://github-redirect.dependabot.com/rest-client/rest-client/issues/505) from servel333/patch-1 - [`68727f1`](https://github.com/rest-client/rest-client/commit/68727f139c00940c6d5d8223b52f60e63f77a95e) Merge pull request [#716](https://github-redirect.dependabot.com/rest-client/rest-client/issues/716) from rest-client/ab-test-cleanup - [`746913e`](https://github.com/rest-client/rest-client/commit/746913e2a645f10af6f3fde7b58449cfd40f8130) Only test a few versions on macOS. - [`1c264c0`](https://github.com/rest-client/rest-client/commit/1c264c09745e361381aa1be0d5f5670cdfcad766) Fix config for recent rubocop. - [`56d096d`](https://github.com/rest-client/rest-client/commit/56d096d2495a17a8d3e2806c567a3fec07adb283) Use bundler 1.x in tests. - [`e6e241f`](https://github.com/rest-client/rest-client/commit/e6e241fc19f6f9a347694a09543e614cf6de08b3) Fix integration tests: don't use EV DigiCert root. - Additional commits viewable in [compare view](https://github.com/rest-client/rest-client/compare/v1.6.7...v2.1.0)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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/cchandler/certificate_authority/network/alerts).