Skip to content

chore(deps): bump github.com/minio/minlz from 1.1.1 to 1.2.0#2149

Merged
alexeykiselev merged 2 commits into
masterfrom
dependabot/go_modules/github.com/minio/minlz-1.2.0
Jul 21, 2026
Merged

chore(deps): bump github.com/minio/minlz from 1.1.1 to 1.2.0#2149
alexeykiselev merged 2 commits into
masterfrom
dependabot/go_modules/github.com/minio/minlz-1.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 14, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/minio/minlz from 1.1.1 to 1.2.0.

Release notes

Sourced from github.com/minio/minlz's releases.

v1.2.0

feat: Search compressed data without decompression

Compression saves space, but it usually makes your data opaque: to find anything you first have to decompress the whole thing. MinLZ changes that. A MinLZ stream can carry a small per-block search index that lets mz search find a byte sequence while skipping every block that provably can't contain it — those blocks are never decompressed, and (with a sidecar) never even read from disk.

The result: you keep your data compressed and searchable.

One number to set the scene: finding a specific string in a 10 GB CockroachDB log (compressed to 578 MB) takes 0.14 s with mz search, reading about 133 MB. Decompressing that log and piping it to grep — the usual way to search compressed data — takes ~5 s and reads the whole file. zstd -dc | grep takes ~5 s, lz4 -dc | grep ~10 s. Scanning the raw 10 GB with rg takes ~8 s.

The search index is stored as skippable chunks: older MinLZ readers ignore them and the compressed payload is byte-for-byte unchanged, so adding search is always backward-compatible.

Search indexes can be built while compressing or after the fact as sidecar streams, allowing them to be used separately from the compressed data.


How it works (in 30 seconds)

Every block gets a tiny bloom-filter table: the byte-windows in the block are hashed and their bits set. To search, mz search hashes the same-length windows of your pattern and checks each block's table:

  • any window bit missing → the pattern is definitely not in that block → skip it (no decode);
  • all bits present → the block might match → decode and scan it.

Longer/rarer patterns produce more independent window checks, so blocks that don't contain them are rejected with near-certainty. Tables can live inline in the .mz, or in a sidecar .mzs file you build afterwards — handy for data you can't or don't want to re-compress.

This is why it matches with compression. Compressible data is very likely to produce search indexes that are also useful, meaning there is a reasonable reduction in the search table compared to the raw data.

For full details: SEARCH.md (usage & tuning) and SPEC_SEARCH.md (wire format).


When to use it — and when not

... (truncated)

Commits

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)

Bumps [github.com/minio/minlz](https://github.com/minio/minlz) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/minio/minlz/releases)
- [Commits](minio/minlz@v1.1.1...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/minio/minlz
  dependency-version: 1.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 14, 2026
@alexeykiselev
alexeykiselev merged commit 4876288 into master Jul 21, 2026
18 checks passed
@alexeykiselev
alexeykiselev deleted the dependabot/go_modules/github.com/minio/minlz-1.2.0 branch July 21, 2026 12:00
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 go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant