Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zstd: Add Frame header encoding and stripping #908

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

klauspost
Copy link
Owner

@klauspost klauspost commented Jan 3, 2024

Allows to remove the frame header from input and adds a function that encodes current frame header values.

New API:

// DecodeAndStrip will decode the header from the beginning of the stream
// and on success return the remaining bytes.
// This will decode the frame header and the first block header if enough bytes are provided.
// It is recommended to provide at least HeaderMaxSize bytes.
// If the frame header cannot be read an error will be returned.
// If there isn't enough input, io.ErrUnexpectedEOF is returned.
// The FirstBlock.OK will indicate if enough information was available to decode the first block header.
func (h *Header) DecodeAndStrip(in []byte) (remain []byte, err error)

// AppendTo will append the encoded header to the dst slice.
// There is no error checking performed on the header values.
func (h *Header) AppendTo(dst []byte) ([]byte, error) 

Allows to remove the frame header from input and adds a function that encodes current frame header values.
@klauspost klauspost merged commit 85452d2 into master Jan 3, 2024
18 checks passed
@klauspost klauspost deleted the add-zstd-header-stripping branch January 3, 2024 15:39
bogdandrutu referenced this pull request in open-telemetry/opentelemetry-collector Jan 30, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/klauspost/compress](https://github.com/klauspost/compress)
| `v1.17.4` -> `v1.17.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fklauspost%2fcompress/v1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fklauspost%2fcompress/v1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fklauspost%2fcompress/v1.17.4/v1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fklauspost%2fcompress/v1.17.4/v1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

###
[`v1.17.5`](https://github.com/klauspost/compress/releases/tag/v1.17.5)

[Compare
Source](https://github.com/klauspost/compress/compare/v1.17.4...v1.17.5)

#### What's Changed

- flate: Fix reset with dictionary on custom window encodes by
[@&#8203;klauspost](https://github.com/klauspost) in
[https://github.com/klauspost/compress/pull/912](https://github.com/klauspost/compress/pull/912)
- zstd: Limit better/best default window to 8MB by
[@&#8203;klauspost](https://github.com/klauspost) in
[https://github.com/klauspost/compress/pull/913](https://github.com/klauspost/compress/pull/913)
- zstd: Shorter and faster asm for decSymbol.newState by
[@&#8203;greatroar](https://github.com/greatroar) in
[https://github.com/klauspost/compress/pull/896](https://github.com/klauspost/compress/pull/896)
- zstd: Add Frame header encoding and stripping by
[@&#8203;klauspost](https://github.com/klauspost) in
[https://github.com/klauspost/compress/pull/908](https://github.com/klauspost/compress/pull/908)
- zstd: Tweak noasm FSE decoder by
[@&#8203;greatroar](https://github.com/greatroar) in
[https://github.com/klauspost/compress/pull/910](https://github.com/klauspost/compress/pull/910)
- s2: Fix callbacks for skippable blocks and disallow 0xfe (Padding) for
custom use by [@&#8203;Jille](https://github.com/Jille) in
[https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)
- s2: Fix incorrect length encoded by writer.AddSkippableBlock by
[@&#8203;Jille](https://github.com/Jille) in
[https://github.com/klauspost/compress/pull/917](https://github.com/klauspost/compress/pull/917)
- s2: Fix up AddSkippableBlock more by
[@&#8203;klauspost](https://github.com/klauspost) in
[https://github.com/klauspost/compress/pull/919](https://github.com/klauspost/compress/pull/919)
- s2: Document and test how to peek the stream for skippable blocks by
[@&#8203;Jille](https://github.com/Jille) in
[https://github.com/klauspost/compress/pull/918](https://github.com/klauspost/compress/pull/918)
- internal/race,s2: add some race instrumentation by
[@&#8203;egonelbre](https://github.com/egonelbre) in
[https://github.com/klauspost/compress/pull/903](https://github.com/klauspost/compress/pull/903)
- build(deps): bump the github-actions group with 4 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/klauspost/compress/pull/900](https://github.com/klauspost/compress/pull/900)
- CI: Hash pin sensitive actions and configure Dependabot to
automatically update them by
[@&#8203;diogoteles08](https://github.com/diogoteles08) in
[https://github.com/klauspost/compress/pull/899](https://github.com/klauspost/compress/pull/899)
- Update generator and executable go.mod by
[@&#8203;klauspost](https://github.com/klauspost) in
[https://github.com/klauspost/compress/pull/904](https://github.com/klauspost/compress/pull/904)
- Update README.md by [@&#8203;pelenium](https://github.com/pelenium)
in
[https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
- build(deps): bump the github-actions group with 1 update by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/klauspost/compress/pull/906](https://github.com/klauspost/compress/pull/906)

#### New Contributors

- [@&#8203;pelenium](https://github.com/pelenium) made their first
contribution in
[https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
- [@&#8203;Jille](https://github.com/Jille) made their first
contribution in
[https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)

**Full Changelog**:
klauspost/compress@v1.17.4...v1.17.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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/open-telemetry/opentelemetry-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
kodiakhq bot referenced this pull request in cloudquery/filetypes Feb 1, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/klauspost/compress](https://github.com/klauspost/compress) | indirect | patch | `v1.17.4` -> `v1.17.5` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

### [`v1.17.5`](https://github.com/klauspost/compress/releases/tag/v1.17.5)

[Compare Source](https://github.com/klauspost/compress/compare/v1.17.4...v1.17.5)

#### What's Changed

-   flate: Fix reset with dictionary on custom window encodes by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/912](https://github.com/klauspost/compress/pull/912)
-   zstd: Limit better/best default window to 8MB by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/913](https://github.com/klauspost/compress/pull/913)
-   zstd: Shorter and faster asm for decSymbol.newState by [@&#8203;greatroar](https://github.com/greatroar) in [https://github.com/klauspost/compress/pull/896](https://github.com/klauspost/compress/pull/896)
-   zstd: Add Frame header encoding and stripping by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/908](https://github.com/klauspost/compress/pull/908)
-   zstd: Tweak noasm FSE decoder by [@&#8203;greatroar](https://github.com/greatroar) in [https://github.com/klauspost/compress/pull/910](https://github.com/klauspost/compress/pull/910)
-   s2: Fix callbacks for skippable blocks and disallow 0xfe (Padding) for custom use by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)
-   s2: Fix incorrect length encoded by writer.AddSkippableBlock by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/917](https://github.com/klauspost/compress/pull/917)
-   s2: Fix up AddSkippableBlock more by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/919](https://github.com/klauspost/compress/pull/919)
-   s2: Document and test how to peek the stream for skippable blocks by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/918](https://github.com/klauspost/compress/pull/918)
-   internal/race,s2: add some race instrumentation by [@&#8203;egonelbre](https://github.com/egonelbre) in [https://github.com/klauspost/compress/pull/903](https://github.com/klauspost/compress/pull/903)
-   build(deps): bump the github-actions group with 4 updates by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/klauspost/compress/pull/900](https://github.com/klauspost/compress/pull/900)
-   CI: Hash pin sensitive actions and configure Dependabot to automatically update them by [@&#8203;diogoteles08](https://github.com/diogoteles08) in [https://github.com/klauspost/compress/pull/899](https://github.com/klauspost/compress/pull/899)
-   Update generator and executable go.mod by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/904](https://github.com/klauspost/compress/pull/904)
-   Update README.md by [@&#8203;pelenium](https://github.com/pelenium) in [https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
-   build(deps): bump the github-actions group with 1 update by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/klauspost/compress/pull/906](https://github.com/klauspost/compress/pull/906)

#### New Contributors

-   [@&#8203;pelenium](https://github.com/pelenium) made their first contribution in [https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
-   [@&#8203;Jille](https://github.com/Jille) made their first contribution in [https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)

**Full Changelog**: klauspost/compress@v1.17.4...v1.17.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
kodiakhq bot referenced this pull request in cloudquery/codegen Feb 1, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/klauspost/compress](https://github.com/klauspost/compress) | indirect | patch | `v1.17.4` -> `v1.17.5` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

### [`v1.17.5`](https://github.com/klauspost/compress/releases/tag/v1.17.5)

[Compare Source](https://github.com/klauspost/compress/compare/v1.17.4...v1.17.5)

#### What's Changed

-   flate: Fix reset with dictionary on custom window encodes by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/912](https://github.com/klauspost/compress/pull/912)
-   zstd: Limit better/best default window to 8MB by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/913](https://github.com/klauspost/compress/pull/913)
-   zstd: Shorter and faster asm for decSymbol.newState by [@&#8203;greatroar](https://github.com/greatroar) in [https://github.com/klauspost/compress/pull/896](https://github.com/klauspost/compress/pull/896)
-   zstd: Add Frame header encoding and stripping by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/908](https://github.com/klauspost/compress/pull/908)
-   zstd: Tweak noasm FSE decoder by [@&#8203;greatroar](https://github.com/greatroar) in [https://github.com/klauspost/compress/pull/910](https://github.com/klauspost/compress/pull/910)
-   s2: Fix callbacks for skippable blocks and disallow 0xfe (Padding) for custom use by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)
-   s2: Fix incorrect length encoded by writer.AddSkippableBlock by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/917](https://github.com/klauspost/compress/pull/917)
-   s2: Fix up AddSkippableBlock more by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/919](https://github.com/klauspost/compress/pull/919)
-   s2: Document and test how to peek the stream for skippable blocks by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/918](https://github.com/klauspost/compress/pull/918)
-   internal/race,s2: add some race instrumentation by [@&#8203;egonelbre](https://github.com/egonelbre) in [https://github.com/klauspost/compress/pull/903](https://github.com/klauspost/compress/pull/903)
-   build(deps): bump the github-actions group with 4 updates by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/klauspost/compress/pull/900](https://github.com/klauspost/compress/pull/900)
-   CI: Hash pin sensitive actions and configure Dependabot to automatically update them by [@&#8203;diogoteles08](https://github.com/diogoteles08) in [https://github.com/klauspost/compress/pull/899](https://github.com/klauspost/compress/pull/899)
-   Update generator and executable go.mod by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/904](https://github.com/klauspost/compress/pull/904)
-   Update README.md by [@&#8203;pelenium](https://github.com/pelenium) in [https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
-   build(deps): bump the github-actions group with 1 update by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/klauspost/compress/pull/906](https://github.com/klauspost/compress/pull/906)

#### New Contributors

-   [@&#8203;pelenium](https://github.com/pelenium) made their first contribution in [https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
-   [@&#8203;Jille](https://github.com/Jille) made their first contribution in [https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)

**Full Changelog**: klauspost/compress@v1.17.4...v1.17.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
kodiakhq bot referenced this pull request in cloudquery/plugin-sdk Feb 1, 2024
)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/klauspost/compress](https://github.com/klauspost/compress) | indirect | patch | `v1.17.4` -> `v1.17.5` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

### [`v1.17.5`](https://github.com/klauspost/compress/releases/tag/v1.17.5)

[Compare Source](https://github.com/klauspost/compress/compare/v1.17.4...v1.17.5)

#### What's Changed

-   flate: Fix reset with dictionary on custom window encodes by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/912](https://github.com/klauspost/compress/pull/912)
-   zstd: Limit better/best default window to 8MB by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/913](https://github.com/klauspost/compress/pull/913)
-   zstd: Shorter and faster asm for decSymbol.newState by [@&#8203;greatroar](https://github.com/greatroar) in [https://github.com/klauspost/compress/pull/896](https://github.com/klauspost/compress/pull/896)
-   zstd: Add Frame header encoding and stripping by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/908](https://github.com/klauspost/compress/pull/908)
-   zstd: Tweak noasm FSE decoder by [@&#8203;greatroar](https://github.com/greatroar) in [https://github.com/klauspost/compress/pull/910](https://github.com/klauspost/compress/pull/910)
-   s2: Fix callbacks for skippable blocks and disallow 0xfe (Padding) for custom use by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)
-   s2: Fix incorrect length encoded by writer.AddSkippableBlock by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/917](https://github.com/klauspost/compress/pull/917)
-   s2: Fix up AddSkippableBlock more by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/919](https://github.com/klauspost/compress/pull/919)
-   s2: Document and test how to peek the stream for skippable blocks by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/918](https://github.com/klauspost/compress/pull/918)
-   internal/race,s2: add some race instrumentation by [@&#8203;egonelbre](https://github.com/egonelbre) in [https://github.com/klauspost/compress/pull/903](https://github.com/klauspost/compress/pull/903)
-   build(deps): bump the github-actions group with 4 updates by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/klauspost/compress/pull/900](https://github.com/klauspost/compress/pull/900)
-   CI: Hash pin sensitive actions and configure Dependabot to automatically update them by [@&#8203;diogoteles08](https://github.com/diogoteles08) in [https://github.com/klauspost/compress/pull/899](https://github.com/klauspost/compress/pull/899)
-   Update generator and executable go.mod by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/904](https://github.com/klauspost/compress/pull/904)
-   Update README.md by [@&#8203;pelenium](https://github.com/pelenium) in [https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
-   build(deps): bump the github-actions group with 1 update by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/klauspost/compress/pull/906](https://github.com/klauspost/compress/pull/906)

#### New Contributors

-   [@&#8203;pelenium](https://github.com/pelenium) made their first contribution in [https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
-   [@&#8203;Jille](https://github.com/Jille) made their first contribution in [https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)

**Full Changelog**: klauspost/compress@v1.17.4...v1.17.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
kodiakhq bot referenced this pull request in cloudquery/plugin-pb-go Feb 1, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/klauspost/compress](https://github.com/klauspost/compress) | indirect | patch | `v1.17.4` -> `v1.17.5` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

### [`v1.17.5`](https://github.com/klauspost/compress/releases/tag/v1.17.5)

[Compare Source](https://github.com/klauspost/compress/compare/v1.17.4...v1.17.5)

#### What's Changed

-   flate: Fix reset with dictionary on custom window encodes by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/912](https://github.com/klauspost/compress/pull/912)
-   zstd: Limit better/best default window to 8MB by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/913](https://github.com/klauspost/compress/pull/913)
-   zstd: Shorter and faster asm for decSymbol.newState by [@&#8203;greatroar](https://github.com/greatroar) in [https://github.com/klauspost/compress/pull/896](https://github.com/klauspost/compress/pull/896)
-   zstd: Add Frame header encoding and stripping by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/908](https://github.com/klauspost/compress/pull/908)
-   zstd: Tweak noasm FSE decoder by [@&#8203;greatroar](https://github.com/greatroar) in [https://github.com/klauspost/compress/pull/910](https://github.com/klauspost/compress/pull/910)
-   s2: Fix callbacks for skippable blocks and disallow 0xfe (Padding) for custom use by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)
-   s2: Fix incorrect length encoded by writer.AddSkippableBlock by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/917](https://github.com/klauspost/compress/pull/917)
-   s2: Fix up AddSkippableBlock more by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/919](https://github.com/klauspost/compress/pull/919)
-   s2: Document and test how to peek the stream for skippable blocks by [@&#8203;Jille](https://github.com/Jille) in [https://github.com/klauspost/compress/pull/918](https://github.com/klauspost/compress/pull/918)
-   internal/race,s2: add some race instrumentation by [@&#8203;egonelbre](https://github.com/egonelbre) in [https://github.com/klauspost/compress/pull/903](https://github.com/klauspost/compress/pull/903)
-   build(deps): bump the github-actions group with 4 updates by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/klauspost/compress/pull/900](https://github.com/klauspost/compress/pull/900)
-   CI: Hash pin sensitive actions and configure Dependabot to automatically update them by [@&#8203;diogoteles08](https://github.com/diogoteles08) in [https://github.com/klauspost/compress/pull/899](https://github.com/klauspost/compress/pull/899)
-   Update generator and executable go.mod by [@&#8203;klauspost](https://github.com/klauspost) in [https://github.com/klauspost/compress/pull/904](https://github.com/klauspost/compress/pull/904)
-   Update README.md by [@&#8203;pelenium](https://github.com/pelenium) in [https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
-   build(deps): bump the github-actions group with 1 update by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/klauspost/compress/pull/906](https://github.com/klauspost/compress/pull/906)

#### New Contributors

-   [@&#8203;pelenium](https://github.com/pelenium) made their first contribution in [https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
-   [@&#8203;Jille](https://github.com/Jille) made their first contribution in [https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)

**Full Changelog**: klauspost/compress@v1.17.4...v1.17.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
mx-psi referenced this pull request in open-telemetry/opentelemetry-collector-contrib Feb 5, 2024
…0855)

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

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/klauspost/compress](https://github.com/klauspost/compress)
| `v1.17.4` -> `v1.17.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fklauspost%2fcompress/v1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fklauspost%2fcompress/v1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fklauspost%2fcompress/v1.17.4/v1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fklauspost%2fcompress/v1.17.4/v1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

###
[`v1.17.5`](https://github.com/klauspost/compress/releases/tag/v1.17.5)

[Compare
Source](https://github.com/klauspost/compress/compare/v1.17.4...v1.17.5)

#### What's Changed

- flate: Fix reset with dictionary on custom window encodes by
[@&#8203;klauspost](https://github.com/klauspost) in
[https://github.com/klauspost/compress/pull/912](https://github.com/klauspost/compress/pull/912)
- zstd: Limit better/best default window to 8MB by
[@&#8203;klauspost](https://github.com/klauspost) in
[https://github.com/klauspost/compress/pull/913](https://github.com/klauspost/compress/pull/913)
- zstd: Shorter and faster asm for decSymbol.newState by
[@&#8203;greatroar](https://github.com/greatroar) in
[https://github.com/klauspost/compress/pull/896](https://github.com/klauspost/compress/pull/896)
- zstd: Add Frame header encoding and stripping by
[@&#8203;klauspost](https://github.com/klauspost) in
[https://github.com/klauspost/compress/pull/908](https://github.com/klauspost/compress/pull/908)
- zstd: Tweak noasm FSE decoder by
[@&#8203;greatroar](https://github.com/greatroar) in
[https://github.com/klauspost/compress/pull/910](https://github.com/klauspost/compress/pull/910)
- s2: Fix callbacks for skippable blocks and disallow 0xfe (Padding) for
custom use by [@&#8203;Jille](https://github.com/Jille) in
[https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)
- s2: Fix incorrect length encoded by writer.AddSkippableBlock by
[@&#8203;Jille](https://github.com/Jille) in
[https://github.com/klauspost/compress/pull/917](https://github.com/klauspost/compress/pull/917)
- s2: Fix up AddSkippableBlock more by
[@&#8203;klauspost](https://github.com/klauspost) in
[https://github.com/klauspost/compress/pull/919](https://github.com/klauspost/compress/pull/919)
- s2: Document and test how to peek the stream for skippable blocks by
[@&#8203;Jille](https://github.com/Jille) in
[https://github.com/klauspost/compress/pull/918](https://github.com/klauspost/compress/pull/918)
- internal/race,s2: add some race instrumentation by
[@&#8203;egonelbre](https://github.com/egonelbre) in
[https://github.com/klauspost/compress/pull/903](https://github.com/klauspost/compress/pull/903)
- build(deps): bump the github-actions group with 4 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/klauspost/compress/pull/900](https://github.com/klauspost/compress/pull/900)
- CI: Hash pin sensitive actions and configure Dependabot to
automatically update them by
[@&#8203;diogoteles08](https://github.com/diogoteles08) in
[https://github.com/klauspost/compress/pull/899](https://github.com/klauspost/compress/pull/899)
- Update generator and executable go.mod by
[@&#8203;klauspost](https://github.com/klauspost) in
[https://github.com/klauspost/compress/pull/904](https://github.com/klauspost/compress/pull/904)
- Update README.md by [@&#8203;pelenium](https://github.com/pelenium)
in
[https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
- build(deps): bump the github-actions group with 1 update by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/klauspost/compress/pull/906](https://github.com/klauspost/compress/pull/906)

#### New Contributors

- [@&#8203;pelenium](https://github.com/pelenium) made their first
contribution in
[https://github.com/klauspost/compress/pull/905](https://github.com/klauspost/compress/pull/905)
- [@&#8203;Jille](https://github.com/Jille) made their first
contribution in
[https://github.com/klauspost/compress/pull/916](https://github.com/klauspost/compress/pull/916)

**Full Changelog**:
klauspost/compress@v1.17.4...v1.17.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

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

Successfully merging this pull request may close these issues.

1 participant