Skip to content

Bump Snappier from 1.0.0 to 1.3.1#6

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/SeleniumWebdriver/Snappier-1.3.1
Open

Bump Snappier from 1.0.0 to 1.3.1#6
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/SeleniumWebdriver/Snappier-1.3.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 8, 2026

Updated Snappier from 1.0.0 to 1.3.1.

Release notes

Sourced from Snappier's releases.

1.3.1

What's Changed

Full Changelog: brantburnett/Snappier@release/1.3.0...release/1.3.1

1.3.0

What's Changed

Full Changelog: brantburnett/Snappier@release/1.3.0-beta.1...release/1.3.0

1.3.0-beta.2

What's Changed

Full Changelog: brantburnett/Snappier@release/1.3.0-beta.1...release/1.3.0-beta.2

1.3.0-beta.1

Breaking Changes

  • Dropped support for .NET 6

Key Changes

Other Changes

Full Changelog: brantburnett/Snappier@release/1.2.0...release/1.3.0-beta.1

1.2.0

Major Changes

  • Support for block compression and decompression using ReadOnlySequence<byte> as the source and IBufferWriter<byte> as the destination
  • Snappy.TryCompress and Snappy.TryDecompress overloads that return false instead of throwing an exception if the output buffer is too small
  • SnappyStream compression now recognizes blocks that compress poorly and encodes them as uncompressed data
  • Temporary buffers returned to the ArrayPool are now cleared with zeroes before they are returned to protect any sensitive data being compressed or decompressed. This adds some overhead but benchmarks showed it wasn't very significant and it's worthwhile for better security.
  • General performance improvements
  • Improved documentation

What's Changed

Full Changelog: brantburnett/Snappier@release/1.1.6...release/1.2.0

1.2.0-beta0001

Major Changes

  • Support for block compression and decompression using ReadOnlySequence<byte> as the source and IBufferWriter<byte> as the destination
  • Snappy.TryCompress and Snappy.TryDecompress overloads that return false instead of throwing an exception if the output buffer is too small
  • SnappyStream compression now recognizes blocks that compress poorly and encodes them as uncompressed data
  • Temporary buffers returned to the ArrayPool are now cleared with zeroes before they are returned to protect any sensitive data being compressed or decompressed. This adds some overhead but benchmarks showed it wasn't very significant and it's worthwhile for better security.
  • General performance improvements
  • Improved documentation

What's Changed

Full Changelog: brantburnett/Snappier@release/1.1.6...release/1.2.0

1.1.6

What's Changed

Full Changelog: brantburnett/Snappier@release/1.1.5...release/1.1.6

1.1.5

What's Changed

New Contributors

Full Changelog: brantburnett/Snappier@release/1.1.4...release/1.1.5

1.1.4

This release primarily includes performance improvements around stream decompression in .NET 8, but does show some minor decompression improvements on other runtimes (except .NET 4.8 which is not a priority). Also includes a bug fix for a stream decompression corner case.

What's Changed

Decompression Benchmarks

BenchmarkDotNet v0.13.10, Windows 11 (10.0.22621.3007/22H2/2022Update/SunValley2)
12th Gen Intel Core i7-1270P, 1 CPU, 16 logical and 12 physical cores
.NET SDK 8.0.101

Method Runtime Build PGO Mean Error StdDev Ratio RatioSD Rank
BlockDecompress .NET Framework 4.8 Previous N 14.55 us 0.089 us 0.079 us 1.00 0.00 1
BlockDecompress .NET Framework 4.8 Default N 15.78 us 0.189 us 0.158 us 1.08 0.01 2
BlockDecompress .NET 6.0 Previous N 12.99 us 0.151 us 0.134 us 1.00 0.00 2
BlockDecompress .NET 6.0 Default N 12.75 us 0.181 us 0.170 us 0.98 0.02 1
BlockDecompress .NET 8.0 Previous N 10.57 us 0.208 us 0.214 us 1.00 0.00 2
BlockDecompress .NET 8.0 Default N 10.30 us 0.163 us 0.152 us 0.97 0.02 1
BlockDecompress .NET 8.0 Previous Y 10.51 us 0.198 us 0.194 us 1.00 0.00 2
BlockDecompress .NET 8.0 Default Y 10.15 us 0.173 us 0.162 us 0.97 0.02 1
Method Runtime Build PGO Mean Error StdDev Ratio RatioSD Rank
StreamDecompress .NET Framework 4.8 Previous N 337.3 us 6.35 us 5.94 us 1.00 0.00 1
StreamDecompress .NET Framework 4.8 Default N 332.4 us 5.09 us 4.51 us 0.99 0.02 1
StreamDecompress .NET 6.0 Previous N 164.9 us 2.57 us 2.40 us 1.00 0.00 2
StreamDecompress .NET 6.0 Default N 161.2 us 3.21 us 3.29 us 0.98 0.02 1
StreamDecompress .NET 8.0 Previous N 194.4 us 2.16 us 2.02 us 1.00 0.00 2
StreamDecompress .NET 8.0 Default N 189.6 us 2.59 us 2.42 us 0.98 0.02 1
StreamDecompress .NET 8.0 Previous Y 201.7 us 4.01 us 4.45 us 1.00 0.00 2
StreamDecompress .NET 8.0 Default Y 176.6 us 3.49 us 3.43 us 0.87 0.03 1

Full Changelog: brantburnett/Snappier@release/1.1.3...release/1.1.4

1.1.3

What's Changed

Full Changelog: brantburnett/Snappier@release/1.1.2...release/1.1.3

1.1.2

What's Changed

New Contributors

Full Changelog: brantburnett/Snappier@release/1.1.1...release/1.1.2

1.1.1

This release includes some fixes to logic that could have caused unsafe memory access in cases where GC rearranges memory if they occurred at the precise moment when an out-of-range reference was on the stack. These moments are very short-lived and should be impossible to create intentionally, but they still represent a security risk.

What's Changed

Full Changelog: brantburnett/Snappier@release/1.1.0...release/1.1.1

1.1.0

Breaking Changes

This release no longer includes explicit support for the unsupported runtimes .NET Core 3.0/3.1 or .NET 5.0. These runtimes are now supported via the .NET Standard 2.0 target. While they should still function, it is untested and the lack of hardware intrinsic support will most likely result in degraded performance compared to 1.0.

What's Changed

  • All use of GC pinning and fixed buffers has been replaced with byte references and System.Runtime.CompilerServices.Unsafe. This should have less impact on garbage collection performance, especially on systems with continuous Snappy load.
  • Reduced heap allocations
  • Ported some performance improvements from the reference implementation that were added since the original port
  • Lots more performance tweaks

Performance

This release sees a consistent improvement in both compression and decompression performance across all supported frameworks on my Core i7-10850H CPU, especially on decompression. On .NET 6, the time was reduced by 18% when compressing 64KB of HTML and 52% when decompressing. In some cases, the decompression time is reduced by as much as 66%.

ChartGo
ChartGo (1)

Changelog

Commits viewable in compare view.

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

---
updated-dependencies:
- dependency-name: Snappier
  dependency-version: 1.3.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants