Skip to content

Remove async HMAC operations.#327

Merged
JimBobSquarePants merged 1 commit into
mainfrom
js/remove-async-hmac
Jun 10, 2023
Merged

Remove async HMAC operations.#327
JimBobSquarePants merged 1 commit into
mainfrom
js/remove-async-hmac

Conversation

@JimBobSquarePants

Copy link
Copy Markdown
Member

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following matches the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

Removing the extremely performance harming async HMAC generation utilities from both ImageSharpMiddlewareOptions and RequestAuthorizationUtilities

See umbraco/Umbraco-CMS#14364 for more information.

cc @nikolajlauridsen @bergmania @ronaldbarendse

@codecov

codecov Bot commented Jun 10, 2023

Copy link
Copy Markdown

Codecov Report

Merging #327 (58ffdf5) into main (6071b4e) will increase coverage by 0%.
The diff coverage is 77%.

@@         Coverage Diff         @@
##           main   #327   +/-   ##
===================================
  Coverage    85%    85%           
===================================
  Files        83     82    -1     
  Lines      2371   2336   -35     
  Branches    347    347           
===================================
- Hits       2026   2000   -26     
+ Misses      242    233    -9     
  Partials    103    103           
Flag Coverage Δ
unittests 85% <77%> (+<1%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...harp.Web/Middleware/ImageSharpMiddlewareOptions.cs 93% <60%> (ø)
.../ImageSharp.Web/Middleware/ImageSharpMiddleware.cs 83% <100%> (ø)
...rc/ImageSharp.Web/RequestAuthorizationUtilities.cs 84% <100%> (-3%) ⬇️

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@JimBobSquarePants JimBobSquarePants merged commit 93d73f0 into main Jun 10, 2023
@JimBobSquarePants JimBobSquarePants deleted the js/remove-async-hmac branch June 10, 2023 09:01
renovate Bot referenced this pull request in orso-co/Orso.Arpa.Api Dec 8, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[SixLabors.ImageSharp.Web](https://togithub.com/SixLabors/ImageSharp.Web)
| `3.0.1` -> `3.1.0` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/SixLabors.ImageSharp.Web/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/SixLabors.ImageSharp.Web/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/SixLabors.ImageSharp.Web/3.0.1/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/SixLabors.ImageSharp.Web/3.0.1/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>SixLabors/ImageSharp.Web (SixLabors.ImageSharp.Web)</summary>

###
[`v3.1.0`](https://togithub.com/SixLabors/ImageSharp.Web/releases/tag/v3.1.0)

#### What's Changed

- Remove async HMAC operations. by
[@&#8203;JimBobSquarePants](https://togithub.com/JimBobSquarePants) in
[https://github.com/SixLabors/ImageSharp.Web/pull/327](https://togithub.com/SixLabors/ImageSharp.Web/pull/327)
- Use HMAC one-shot methods instead of instances by
[@&#8203;jevgenigeurtsen](https://togithub.com/jevgenigeurtsen) in
[https://github.com/SixLabors/ImageSharp.Web/pull/330](https://togithub.com/SixLabors/ImageSharp.Web/pull/330)
- Bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/SixLabors/ImageSharp.Web/pull/336](https://togithub.com/SixLabors/ImageSharp.Web/pull/336)
- 3.1 release compatibility by
[@&#8203;mdupras](https://togithub.com/mdupras) in
[https://github.com/SixLabors/ImageSharp.Web/pull/341](https://togithub.com/SixLabors/ImageSharp.Web/pull/341)
- Update Imagesharp by
[@&#8203;JimBobSquarePants](https://togithub.com/JimBobSquarePants) in
[https://github.com/SixLabors/ImageSharp.Web/pull/345](https://togithub.com/SixLabors/ImageSharp.Web/pull/345)

#### New Contributors

- [@&#8203;jevgenigeurtsen](https://togithub.com/jevgenigeurtsen) made
their first contribution in
[https://github.com/SixLabors/ImageSharp.Web/pull/330](https://togithub.com/SixLabors/ImageSharp.Web/pull/330)

**Full Changelog**:
SixLabors/ImageSharp.Web@v3.0.1...v3.1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm every weekday,every
weekend,before 5am every weekday" in timezone Europe/Berlin, Automerge -
At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/orso-co/Orso.Arpa.Api).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate Bot referenced this pull request in orso-co/Orso.Arpa.Api Dec 9, 2023
…845)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[SixLabors.ImageSharp.Web.Providers.Azure](https://togithub.com/SixLabors/ImageSharp.Web)
| `3.0.1` -> `3.1.0` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/SixLabors.ImageSharp.Web.Providers.Azure/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/SixLabors.ImageSharp.Web.Providers.Azure/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/SixLabors.ImageSharp.Web.Providers.Azure/3.0.1/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/SixLabors.ImageSharp.Web.Providers.Azure/3.0.1/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>SixLabors/ImageSharp.Web
(SixLabors.ImageSharp.Web.Providers.Azure)</summary>

###
[`v3.1.0`](https://togithub.com/SixLabors/ImageSharp.Web/releases/tag/v3.1.0)

#### What's Changed

- Remove async HMAC operations. by
[@&#8203;JimBobSquarePants](https://togithub.com/JimBobSquarePants) in
[https://github.com/SixLabors/ImageSharp.Web/pull/327](https://togithub.com/SixLabors/ImageSharp.Web/pull/327)
- Use HMAC one-shot methods instead of instances by
[@&#8203;jevgenigeurtsen](https://togithub.com/jevgenigeurtsen) in
[https://github.com/SixLabors/ImageSharp.Web/pull/330](https://togithub.com/SixLabors/ImageSharp.Web/pull/330)
- Bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/SixLabors/ImageSharp.Web/pull/336](https://togithub.com/SixLabors/ImageSharp.Web/pull/336)
- 3.1 release compatibility by
[@&#8203;mdupras](https://togithub.com/mdupras) in
[https://github.com/SixLabors/ImageSharp.Web/pull/341](https://togithub.com/SixLabors/ImageSharp.Web/pull/341)
- Update Imagesharp by
[@&#8203;JimBobSquarePants](https://togithub.com/JimBobSquarePants) in
[https://github.com/SixLabors/ImageSharp.Web/pull/345](https://togithub.com/SixLabors/ImageSharp.Web/pull/345)

#### New Contributors

- [@&#8203;jevgenigeurtsen](https://togithub.com/jevgenigeurtsen) made
their first contribution in
[https://github.com/SixLabors/ImageSharp.Web/pull/330](https://togithub.com/SixLabors/ImageSharp.Web/pull/330)

**Full Changelog**:
SixLabors/ImageSharp.Web@v3.0.1...v3.1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm every weekday,every
weekend,before 5am every weekday" in timezone Europe/Berlin, Automerge -
At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/orso-co/Orso.Arpa.Api).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants