Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Bump base64 from 0.13.0 to 0.21.0 in /src/agent #2870

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 20, 2023

Bumps base64 from 0.13.0 to 0.21.0.

Changelog

Sourced from base64's changelog.

0.21.0

Migration

Functions

< 0.20 function 0.21 equivalent
encode() engine::general_purpose::STANDARD.encode() or prelude::BASE64_STANDARD.encode()
encode_config() engine.encode()
encode_config_buf() engine.encode_string()
encode_config_slice() engine.encode_slice()
decode() engine::general_purpose::STANDARD.decode() or prelude::BASE64_STANDARD.decode()
decode_config() engine.decode()
decode_config_buf() engine.decode_vec()
decode_config_slice() engine.decode_slice()

The short-lived 0.20 functions were the 0.13 functions with config replaced with engine.

Padding

If applicable, use the preset engines engine::STANDARD, engine::STANDARD_NO_PAD, engine::URL_SAFE, or engine::URL_SAFE_NO_PAD. The NO_PAD ones require that padding is absent when decoding, and the others require that canonical padding is present .

If you need the < 0.20 behavior that did not care about padding, or want to recreate < 0.20.0's predefined Configs precisely, see the following table.

0.13.1 Config 0.20.0+ alphabet encode_padding decode_padding_mode
STANDARD STANDARD true Indifferent
STANDARD_NO_PAD STANDARD false Indifferent
URL_SAFE URL_SAFE true Indifferent
URL_SAFE_NO_PAD URL_SAFE false Indifferent

0.21.0-rc.1

  • Restore the ability to decode into a slice of precisely the correct length with Engine.decode_slice_unchecked.
  • Add Engine as a pub use in prelude.

0.21.0-beta.2

Breaking changes

  • Re-exports of preconfigured engines in engine are removed in favor of base64::prelude::... that are better suited to those who wish to use the entire path to a name.

0.21.0-beta.1

Breaking changes

... (truncated)

Commits
  • d7fb31c v0.21.0
  • 8350376 Merge pull request #207 from marshallpierce/mp/api-rework
  • 726f784 v0.21.0-rc.1
  • b29ab01 Add Engine in prelude
  • 64bbcc0 Remove no longer needed test helpers
  • 0f981bd Add decode_slice_unchecked to restore ability to decode into a precisely size...
  • a51e822 v0.21.0-beta.2
  • 936569a Move re-exports from engine to prelude
  • 53e1091 Fix release notes typo
  • b03eb5a v0.21.0-beta.1
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 20, 2023
@codecov-commenter
Copy link

codecov-commenter commented Feb 20, 2023

Codecov Report

Merging #2870 (03aed8b) into main (58447f7) will decrease coverage by 3.35%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2870      +/-   ##
==========================================
- Coverage   34.34%   30.99%   -3.35%     
==========================================
  Files         297      133     -164     
  Lines       36250    14363   -21887     
==========================================
- Hits        12450     4452    -7998     
+ Misses      23800     9911   -13889     

see 164 files with indirect coverage changes

@dependabot dependabot bot force-pushed the dependabot/cargo/src/agent/base64-0.21.0 branch 2 times, most recently from 275d406 to 9743df9 Compare February 21, 2023 14:14
@dependabot dependabot bot force-pushed the dependabot/cargo/src/agent/base64-0.21.0 branch 3 times, most recently from f8f735d to 60eafd3 Compare March 10, 2023 17:22
@dependabot dependabot bot force-pushed the dependabot/cargo/src/agent/base64-0.21.0 branch 5 times, most recently from e865ef3 to 8c79efc Compare March 26, 2023 21:54
@dependabot dependabot bot force-pushed the dependabot/cargo/src/agent/base64-0.21.0 branch 10 times, most recently from 006d4ff to f348d32 Compare April 5, 2023 23:00
@dependabot dependabot bot force-pushed the dependabot/cargo/src/agent/base64-0.21.0 branch 6 times, most recently from e4e38b3 to 6387713 Compare April 12, 2023 00:29
@Porges
Copy link
Member

Porges commented Aug 8, 2023

@dependabot recreate

Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.13.0 to 0.21.0.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases)
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](marshallpierce/rust-base64@v0.13.0...v0.21.0)

---
updated-dependencies:
- dependency-name: base64
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/src/agent/base64-0.21.0 branch from 6387713 to 03aed8b Compare August 9, 2023 00:00
@Porges Porges enabled auto-merge (squash) August 9, 2023 00:12
@Porges Porges merged commit 9c0a344 into main Aug 9, 2023
24 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/src/agent/base64-0.21.0 branch August 9, 2023 00:28
@AdamL-Microsoft AdamL-Microsoft mentioned this pull request Aug 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants