]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
8 days agoMerge pull request #4635 from facebook/dependabot/github_actions/msys2/setup-msys2... dev
Yann Collet [Wed, 1 Apr 2026 22:07:14 +0000 (15:07 -0700)] 
Merge pull request #4635 from facebook/dependabot/github_actions/msys2/setup-msys2-2.31.0

Bump msys2/setup-msys2 from 2.30.0 to 2.31.0

8 days agoMerge pull request #4636 from facebook/dependabot/github_actions/github/codeql-action...
Yann Collet [Wed, 1 Apr 2026 22:06:22 +0000 (15:06 -0700)] 
Merge pull request #4636 from facebook/dependabot/github_actions/github/codeql-action-4.35.1

Bump github/codeql-action from 4.31.2 to 4.35.1

8 days agoMerge pull request #4634 from facebook/dependabot/github_actions/android-actions...
Yann Collet [Wed, 1 Apr 2026 22:05:28 +0000 (15:05 -0700)] 
Merge pull request #4634 from facebook/dependabot/github_actions/android-actions/setup-android-4.0.0

Bump android-actions/setup-android from 3.2.2 to 4.0.0

8 days agoMerge pull request #4633 from facebook/dependabot/github_actions/microsoft/setup...
Yann Collet [Wed, 1 Apr 2026 22:04:29 +0000 (15:04 -0700)] 
Merge pull request #4633 from facebook/dependabot/github_actions/microsoft/setup-msbuild-3.0.0

Bump microsoft/setup-msbuild from 2.0.0 to 3.0.0

9 days agoBump github/codeql-action from 4.31.2 to 4.35.1 4636/head
dependabot[bot] [Wed, 1 Apr 2026 05:50:47 +0000 (05:50 +0000)] 
Bump github/codeql-action from 4.31.2 to 4.35.1

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.2 to 4.35.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/0499de31b99561a6d14a36a5f662c2a54f91beee...c10b8064de6f491fea524254123dbe5e09572f13)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
9 days agoBump msys2/setup-msys2 from 2.30.0 to 2.31.0 4635/head
dependabot[bot] [Wed, 1 Apr 2026 05:50:38 +0000 (05:50 +0000)] 
Bump msys2/setup-msys2 from 2.30.0 to 2.31.0

Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/msys2/setup-msys2/releases)
- [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/msys2/setup-msys2/compare/4f806de0a5a7294ffabaff804b38a9b435a73bda...cafece8e6baf9247cf9b1bf95097b0b983cc558d)

---
updated-dependencies:
- dependency-name: msys2/setup-msys2
  dependency-version: 2.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
9 days agoBump android-actions/setup-android from 3.2.2 to 4.0.0 4634/head
dependabot[bot] [Wed, 1 Apr 2026 05:50:32 +0000 (05:50 +0000)] 
Bump android-actions/setup-android from 3.2.2 to 4.0.0

Bumps [android-actions/setup-android](https://github.com/android-actions/setup-android) from 3.2.2 to 4.0.0.
- [Release notes](https://github.com/android-actions/setup-android/releases)
- [Commits](https://github.com/android-actions/setup-android/compare/9fc6c4e9069bf8d3d10b2204b1fb8f6ef7065407...651bceb6f9ca583f16b8d75b62c36ded2ae6fc9c)

---
updated-dependencies:
- dependency-name: android-actions/setup-android
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
9 days agoBump microsoft/setup-msbuild from 2.0.0 to 3.0.0 4633/head
dependabot[bot] [Wed, 1 Apr 2026 05:50:27 +0000 (05:50 +0000)] 
Bump microsoft/setup-msbuild from 2.0.0 to 3.0.0

Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce...30375c66a4eea26614e0d39710365f22f8b0af57)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks agoMerge pull request #4626 from kevinjzhang/fix-high-memory-usage
kevinjzhang [Tue, 17 Mar 2026 23:16:04 +0000 (16:16 -0700)] 
Merge pull request #4626 from kevinjzhang/fix-high-memory-usage

Fix unintended high memory usage

3 weeks agoFix unintended high memory usage 4626/head
Kevin Zhang [Tue, 17 Mar 2026 20:08:14 +0000 (13:08 -0700)] 
Fix unintended high memory usage

3 weeks agoMerge pull request #4613 from nidu-ninja/null-deref-custom-calloc
Yann Collet [Mon, 16 Mar 2026 16:37:07 +0000 (09:37 -0700)] 
Merge pull request #4613 from nidu-ninja/null-deref-custom-calloc

Fix potential NULL pointer dereference in ZSTD_customCalloc when cust…

3 weeks agoMerge pull request #4606 from jlee303/update_manual
Yann Collet [Fri, 13 Mar 2026 17:37:36 +0000 (10:37 -0700)] 
Merge pull request #4606 from jlee303/update_manual

Update manual/error message

3 weeks agoMerge pull request #4619 from jlee303/display_option_c
Yann Collet [Fri, 13 Mar 2026 17:34:03 +0000 (10:34 -0700)] 
Merge pull request #4619 from jlee303/display_option_c

Promote -c flag

3 weeks agoMerge pull request #4620 from jlee303/defineable_cflags
Yann Collet [Fri, 13 Mar 2026 17:33:46 +0000 (10:33 -0700)] 
Merge pull request #4620 from jlee303/defineable_cflags

Make DISPLAY_LEVEL_DEFAULT configurable at compile time

3 weeks agoMerge pull request #4609 from Integral-Tech/memory-g-suffix
Yann Collet [Fri, 13 Mar 2026 17:33:24 +0000 (10:33 -0700)] 
Merge pull request #4609 from Integral-Tech/memory-g-suffix

Accept G, GB and GiB suffixes for options

4 weeks agofix display format 4619/head
Jennifer Lee [Thu, 12 Mar 2026 18:34:43 +0000 (11:34 -0700)] 
fix display format

4 weeks agorever -q
Jennifer Lee [Thu, 12 Mar 2026 18:32:48 +0000 (11:32 -0700)] 
rever -q

4 weeks agoUpdate #define format 4620/head
Jennifer Lee [Wed, 11 Mar 2026 15:29:06 +0000 (08:29 -0700)] 
Update #define format

4 weeks agoAdd tests for options with G, GB and GiB suffixes 4609/head
Integral [Fri, 6 Mar 2026 08:50:05 +0000 (16:50 +0800)] 
Add tests for options with G, GB and GiB suffixes

4 weeks agoinit commit
Jennifer Lee [Tue, 10 Mar 2026 00:17:13 +0000 (17:17 -0700)] 
init commit

4 weeks agoUpdate tests
Jennifer Lee [Mon, 9 Mar 2026 23:40:42 +0000 (16:40 -0700)] 
Update tests

4 weeks agoPromote flag
Jennifer Lee [Mon, 9 Mar 2026 23:30:41 +0000 (16:30 -0700)] 
Promote flag

4 weeks agoFix potential NULL pointer dereference in ZSTD_customCalloc when custom allocator... 4613/head
NiDU-NINJA [Sat, 7 Mar 2026 08:27:15 +0000 (08:27 +0000)] 
Fix potential NULL pointer dereference in ZSTD_customCalloc when custom allocator fails

4 weeks agoAccept G, GB and GiB suffixes for options
Integral [Fri, 6 Mar 2026 07:36:57 +0000 (15:36 +0800)] 
Accept G, GB and GiB suffixes for options

4 weeks agoRetry CI 4606/head
Jennifer Lee [Fri, 6 Mar 2026 17:47:03 +0000 (09:47 -0800)] 
Retry CI

5 weeks agoRemove LICENSE file in build/ dir
Nick Terrell [Thu, 5 Mar 2026 23:44:12 +0000 (18:44 -0500)] 
Remove LICENSE file in build/ dir

5 weeks agoUpdate programs/zstd.1.md
jlee303 [Thu, 5 Mar 2026 23:12:33 +0000 (15:12 -0800)] 
Update programs/zstd.1.md

Co-authored-by: Nick Terrell <nickrterrell@gmail.com>
5 weeks agoupdate man
Jennifer Lee [Wed, 4 Mar 2026 21:29:20 +0000 (13:29 -0800)] 
update man

5 weeks agoavoid potential RC on ctx->threadLimit, code review;
Sergey G. Brester (sebres) [Sun, 1 Mar 2026 20:00:18 +0000 (21:00 +0100)] 
avoid potential RC on ctx->threadLimit, code review;
closes gh-4547; replaces gh-4558

5 weeks agoMerge pull request #4598 from facebook/dependabot/github_actions/cygwin/cygwin-instal...
Yann Collet [Sun, 1 Mar 2026 08:39:29 +0000 (00:39 -0800)] 
Merge pull request #4598 from facebook/dependabot/github_actions/cygwin/cygwin-install-action-6.1

Bump cygwin/cygwin-install-action from 6.0 to 6.1

5 weeks agoMerge pull request #4597 from facebook/dependabot/github_actions/actions/upload-artif...
Yann Collet [Sun, 1 Mar 2026 08:38:57 +0000 (00:38 -0800)] 
Merge pull request #4597 from facebook/dependabot/github_actions/actions/upload-artifact-7.0.0

Bump actions/upload-artifact from 6.0.0 to 7.0.0

5 weeks agoBump cygwin/cygwin-install-action from 6.0 to 6.1 4598/head
dependabot[bot] [Sun, 1 Mar 2026 05:32:44 +0000 (05:32 +0000)] 
Bump cygwin/cygwin-install-action from 6.0 to 6.1

Bumps [cygwin/cygwin-install-action](https://github.com/cygwin/cygwin-install-action) from 6.0 to 6.1.
- [Release notes](https://github.com/cygwin/cygwin-install-action/releases)
- [Commits](https://github.com/cygwin/cygwin-install-action/compare/f2009323764960f80959895c7bc3bb30210afe4d...711d29f3da23c9f4a1798e369a6f01198c13b11a)

---
updated-dependencies:
- dependency-name: cygwin/cygwin-install-action
  dependency-version: '6.1'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
5 weeks agoBump actions/upload-artifact from 6.0.0 to 7.0.0 4597/head
dependabot[bot] [Sun, 1 Mar 2026 05:32:41 +0000 (05:32 +0000)] 
Bump actions/upload-artifact from 6.0.0 to 7.0.0

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
5 weeks agocorrect mmap error check
richardsonnick [Tue, 23 Dec 2025 21:40:02 +0000 (16:40 -0500)] 
correct mmap error check

Update mmap error validation to check for MAP_FAILED instead of NULL.
POSIX specifies that mmap returns MAP_FAILED (-1) on failure.

5 weeks agobitstream: fix `BIT_readBits` and `BIT_reloadDStream` prototypes
Alexander Moch [Thu, 1 Jan 2026 09:56:31 +0000 (10:56 +0100)] 
bitstream: fix `BIT_readBits` and `BIT_reloadDStream` prototypes

Align the declarations of BIT_readBits() and BIT_reloadDStream() in
bitstream.h with their FORCE_INLINE_TEMPLATE definitions.

The previous MEM_STATIC declarations caused an attribute mismatch
between the header and the definitions, which can lead to incorrect
compiler assumptions under certain toolchains and optimization levels.

Signed-off-by: Alexander Moch <mail@alexmoch.com>
5 weeks agoMake explicit ptrdiff_t to int casts in divsufsort.c to avoid compiler warnings.
Radek Zikmund [Fri, 16 Jan 2026 13:50:06 +0000 (14:50 +0100)] 
Make explicit ptrdiff_t to int casts in divsufsort.c to avoid compiler warnings.

5 weeks agofix: adjust LDM params in estimate functions to prevent SIGFPE (issue #4590)
Cody [Thu, 19 Feb 2026 18:36:12 +0000 (13:36 -0500)] 
fix: adjust LDM params in estimate functions to prevent SIGFPE (issue #4590)

5 weeks agoFix formatting of lz4 option in zstdcli.c
Briar Campbell [Fri, 6 Feb 2026 00:29:07 +0000 (18:29 -0600)] 
Fix formatting of lz4 option in zstdcli.c

5 weeks agoFix formatting of lz4 option in README
Briar Campbell [Fri, 6 Feb 2026 00:26:50 +0000 (18:26 -0600)] 
Fix formatting of lz4 option in README

2 months agoMerge pull request #4575 from Cyan4973/depend_monthly 4524/head
Yann Collet [Mon, 26 Jan 2026 18:03:13 +0000 (10:03 -0800)] 
Merge pull request #4575 from Cyan4973/depend_monthly

extend dependabot period to monthly

2 months agoextend dependabot period to monthly 4575/head
Yann Collet [Mon, 26 Jan 2026 17:01:27 +0000 (09:01 -0800)] 
extend dependabot period to monthly

2 months agoMerge pull request #4574 from facebook/dependabot/github_actions/actions/checkout...
Yann Collet [Mon, 26 Jan 2026 16:57:23 +0000 (08:57 -0800)] 
Merge pull request #4574 from facebook/dependabot/github_actions/actions/checkout-6.0.2

Bump actions/checkout from 6.0.1 to 6.0.2

2 months agoMerge pull request #4573 from facebook/dependabot/github_actions/actions/setup-java...
Yann Collet [Mon, 26 Jan 2026 16:56:49 +0000 (08:56 -0800)] 
Merge pull request #4573 from facebook/dependabot/github_actions/actions/setup-java-5.2.0

Bump actions/setup-java from 5.1.0 to 5.2.0

2 months agoBump actions/checkout from 6.0.1 to 6.0.2 4574/head
dependabot[bot] [Mon, 26 Jan 2026 05:51:10 +0000 (05:51 +0000)] 
Bump actions/checkout from 6.0.1 to 6.0.2

Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months agoBump actions/setup-java from 5.1.0 to 5.2.0 4573/head
dependabot[bot] [Mon, 26 Jan 2026 05:50:49 +0000 (05:50 +0000)] 
Bump actions/setup-java from 5.1.0 to 5.2.0

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/f2beeb24e141e01a676f977032f5a29d81c9e27e...be666c2fcd27ec809703dec50e508c2fdc7f6654)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: 5.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agoMerge pull request #4554 from facebook/no_legacy
Yann Collet [Fri, 19 Dec 2025 00:46:12 +0000 (16:46 -0800)] 
Merge pull request #4554 from facebook/no_legacy

Remove legacy support by default

3 months agoMerge pull request #4555 from facebook/fix4553
Yann Collet [Fri, 19 Dec 2025 00:30:23 +0000 (16:30 -0800)] 
Merge pull request #4555 from facebook/fix4553

Fix #4553

3 months agotest: fix versionsTest build for old zstd versions no_legacy 4554/head
Yann Collet [Thu, 18 Dec 2025 23:36:07 +0000 (15:36 -0800)] 
test: fix versionsTest build for old zstd versions

Summary:
Some old zstd versions (notably v0.6.x) have a bug in fileio.c where header includes check for `ZSTD_LEGACY_SUPPORT==1` but code usage checks for `ZSTD_LEGACY_SUPPORT>=1`. Using value 5 causes compilation failure because headers aren't included but the code tries to use legacy functions.

Changing to `ZSTD_LEGACY_SUPPORT=1` for old version builds fixes the compilation while still enabling legacy format support.

Test Plan:
Run `make versionsTest` or `python3 tests/test-zstd-versions.py` to verify all old versions compile and cross-version decompression works correctly.

3 months agoFix #4553 fix4553 4555/head
Yann Collet [Thu, 18 Dec 2025 23:52:11 +0000 (15:52 -0800)] 
Fix #4553

This is a bug in the streaming implementation of the v0.5 decoder.
The bug has always been there.
It requires an uncommon block configuration, which wasn't tested at the time.

v0.5 is deprecated now,
latest version to produce such format is v0.5.1 from February 2016.
It was superceded in April 2016.
So it's both short lived and very old.

Another PR will remove support of this format,
but it will still be possible to explicitely request this support on demand,
so better fix the issue.

3 months agotest: enable legacy support in version compatibility test
Yann Collet [Thu, 18 Dec 2025 21:50:56 +0000 (13:50 -0800)] 
test: enable legacy support in version compatibility test

Summary:
The version compatibility test needs to decode legacy frames (v0.5.x - v0.7.x) to verify cross-version interoperability. Since legacy support is now disabled by default (v1.6.0), head must be built with ZSTD_LEGACY_SUPPORT=5 for this test.

Test Plan:
Run `python3 tests/test-zstd-versions.py` to verify cross-version compatibility testing works correctly.

3 months agotest: update libzstd_builds.sh for disabled legacy default
Yann Collet [Thu, 18 Dec 2025 21:39:28 +0000 (13:39 -0800)] 
test: update libzstd_builds.sh for disabled legacy default

Summary:
Updates the library build tests to reflect that legacy format support is now disabled by default. Also adds a new test case to verify that legacy support can still be explicitly enabled via ZSTD_LEGACY_SUPPORT=5.

Test Plan:
Run `bash tests/libzstd_builds.sh` on a Linux environment.

3 months agobuild: set ZSTD_LEGACY_SUPPORT=0 in remaining build systems
Yann Collet [Thu, 18 Dec 2025 21:24:02 +0000 (13:24 -0800)] 
build: set ZSTD_LEGACY_SUPPORT=0 in remaining build systems

Summary:
Completes the transition to disabled legacy support by default across all build systems. This follows up on the previous Makefile and CMake changes to ensure consistent default behavior regardless of the build system used.

Updated build configurations: Meson, tests/Makefile, Visual Studio 2008/2010 projects, and BUCK.

Test Plan:
Verified changes compile correctly via `make lib-release`. Build system configurations have been updated consistently across all platforms.

3 months agodoc: legacy support is now disabled by default
Yann Collet [Thu, 18 Dec 2025 21:19:11 +0000 (13:19 -0800)] 
doc: legacy support is now disabled by default

3 months agoupdate dev version number to v1.6.0
Yann Collet [Thu, 18 Dec 2025 21:13:56 +0000 (13:13 -0800)] 
update dev version number to v1.6.0

to reflect the relatively big scope change by removing support of legacy formats.

3 months ago[cmake] disable legacy support by default
Yann Collet [Thu, 18 Dec 2025 21:11:37 +0000 (13:11 -0800)] 
[cmake] disable legacy support by default

can still be explicitly enabled

3 months agoMakefile: remove support of legacy formats by default
Yann Collet [Thu, 18 Dec 2025 20:59:14 +0000 (12:59 -0800)] 
Makefile: remove support of legacy formats by default

can still be changed manually by setting `ZSTD_LEGACY_SUPPORT` to a different value

3 months agoMerge pull request #4545 from facebook/cirrusci_bsd_fix
Yann Collet [Thu, 18 Dec 2025 17:53:59 +0000 (09:53 -0800)] 
Merge pull request #4545 from facebook/cirrusci_bsd_fix

[ci] update freebsd image

3 months agochanged to freebsd 15 cirrusci_bsd_fix 4545/head
Yann Collet [Thu, 18 Dec 2025 17:40:47 +0000 (09:40 -0800)] 
changed to freebsd 15

since the image 16 does not seem to work

3 months agoMerge pull request #4551 from facebook/dependabot/github_actions/actions/upload-artif...
Yann Collet [Thu, 18 Dec 2025 17:39:37 +0000 (09:39 -0800)] 
Merge pull request #4551 from facebook/dependabot/github_actions/actions/upload-artifact-6.0.0

Bump actions/upload-artifact from 5.0.0 to 6.0.0

3 months agoMerge pull request #4552 from facebook/dependabot/github_actions/actions/cache-5
Yann Collet [Tue, 16 Dec 2025 15:24:01 +0000 (07:24 -0800)] 
Merge pull request #4552 from facebook/dependabot/github_actions/actions/cache-5

Bump actions/cache from 4 to 5

3 months agoMerge pull request #4550 from facebook/dependabot/github_actions/msys2/setup-msys2...
Yann Collet [Mon, 15 Dec 2025 09:11:42 +0000 (01:11 -0800)] 
Merge pull request #4550 from facebook/dependabot/github_actions/msys2/setup-msys2-2.30.0

Bump msys2/setup-msys2 from 2.29.0 to 2.30.0

3 months agoBump actions/cache from 4 to 5 4552/head
dependabot[bot] [Mon, 15 Dec 2025 05:04:57 +0000 (05:04 +0000)] 
Bump actions/cache from 4 to 5

Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agoBump actions/upload-artifact from 5.0.0 to 6.0.0 4551/head
dependabot[bot] [Mon, 15 Dec 2025 05:04:53 +0000 (05:04 +0000)] 
Bump actions/upload-artifact from 5.0.0 to 6.0.0

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agoBump msys2/setup-msys2 from 2.29.0 to 2.30.0 4550/head
dependabot[bot] [Mon, 15 Dec 2025 05:04:44 +0000 (05:04 +0000)] 
Bump msys2/setup-msys2 from 2.29.0 to 2.30.0

Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.29.0 to 2.30.0.
- [Release notes](https://github.com/msys2/setup-msys2/releases)
- [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/msys2/setup-msys2/compare/fb197b72ce45fb24f17bf3f807a388985654d1f2...4f806de0a5a7294ffabaff804b38a9b435a73bda)

---
updated-dependencies:
- dependency-name: msys2/setup-msys2
  dependency-version: 2.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agoMerge pull request #4544 from facebook/dependabot/github_actions/actions/setup-java...
Yann Collet [Wed, 10 Dec 2025 09:25:33 +0000 (18:25 +0900)] 
Merge pull request #4544 from facebook/dependabot/github_actions/actions/setup-java-5.1.0

Bump actions/setup-java from 5.0.0 to 5.1.0

4 months ago[ci] update freebsd image
Yann Collet [Mon, 8 Dec 2025 23:30:24 +0000 (08:30 +0900)] 
[ci] update freebsd image

4 months agoBump actions/setup-java from 5.0.0 to 5.1.0 4544/head
dependabot[bot] [Mon, 8 Dec 2025 23:25:45 +0000 (23:25 +0000)] 
Bump actions/setup-java from 5.0.0 to 5.1.0

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/dded0888837ed1f317902acf8a20df0ad188d165...f2beeb24e141e01a676f977032f5a29d81c9e27e)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agoMerge pull request #4543 from facebook/dependabot/github_actions/actions/checkout...
Yann Collet [Mon, 8 Dec 2025 23:24:47 +0000 (08:24 +0900)] 
Merge pull request #4543 from facebook/dependabot/github_actions/actions/checkout-6.0.1

Bump actions/checkout from 6.0.0 to 6.0.1

4 months agoBump actions/checkout from 6.0.0 to 6.0.1 4543/head
dependabot[bot] [Mon, 8 Dec 2025 05:05:30 +0000 (05:05 +0000)] 
Bump actions/checkout from 6.0.0 to 6.0.1

Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v6...v6.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agoMerge pull request #4525 from Polaris-911/new-feature
Yann Collet [Tue, 2 Dec 2025 18:38:48 +0000 (10:38 -0800)] 
Merge pull request #4525 from Polaris-911/new-feature

Add RISC-V 64-bit architecture detection

4 months agoMerge pull request #4531 from lukaskollmer/lukas/fix-swift-build
Yann Collet [Tue, 2 Dec 2025 18:37:35 +0000 (10:37 -0800)] 
Merge pull request #4531 from lukaskollmer/lukas/fix-swift-build

modulemap: remove `config_macros`

4 months agoMerge pull request #4494 from LecrisUT/maint-cmake
Yann Collet [Mon, 1 Dec 2025 23:29:12 +0000 (15:29 -0800)] 
Merge pull request #4494 from LecrisUT/maint-cmake

Split lib target types in their own export groups

4 months agomodulemap: remove `config_macros` 4531/head
Lukas Kollmer [Tue, 25 Nov 2025 15:38:08 +0000 (16:38 +0100)] 
modulemap: remove `config_macros`

4 months agoMerge pull request #4529 from facebook/dependabot/github_actions/actions/checkout...
Yann Collet [Mon, 24 Nov 2025 11:01:17 +0000 (03:01 -0800)] 
Merge pull request #4529 from facebook/dependabot/github_actions/actions/checkout-6.0.0

Bump actions/checkout from 5.0.0 to 6.0.0

4 months agoBump actions/checkout from 5.0.0 to 6.0.0 4529/head
dependabot[bot] [Mon, 24 Nov 2025 05:05:06 +0000 (05:05 +0000)] 
Bump actions/checkout from 5.0.0 to 6.0.0

Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
5 months agoMerge pull request #4522 from facebook/dependabot/github_actions/github/codeql-action...
Yann Collet [Mon, 3 Nov 2025 14:51:17 +0000 (15:51 +0100)] 
Merge pull request #4522 from facebook/dependabot/github_actions/github/codeql-action-4.31.2

Bump github/codeql-action from 3.30.1 to 4.31.2

5 months agoAdd RISC-V 64-bit architecture detection 4525/head
黄尚诚10330306 [Mon, 3 Nov 2025 08:37:05 +0000 (16:37 +0800)] 
Add RISC-V 64-bit architecture detection

5 months agoBump github/codeql-action from 3.30.1 to 4.31.2 4522/head
dependabot[bot] [Mon, 3 Nov 2025 05:08:56 +0000 (05:08 +0000)] 
Bump github/codeql-action from 3.30.1 to 4.31.2

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.1 to 4.31.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/f1f6e5f6af878fb37288ce1c627459e94dbf7d01...0499de31b99561a6d14a36a5f662c2a54f91beee)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
5 months agoMerge pull request #4519 from facebook/dependabot/github_actions/actions/upload-artif...
Yann Collet [Mon, 27 Oct 2025 14:15:00 +0000 (06:15 -0800)] 
Merge pull request #4519 from facebook/dependabot/github_actions/actions/upload-artifact-5

Bump actions/upload-artifact from 4 to 5

5 months agoBump actions/upload-artifact from 4 to 5 4519/head
dependabot[bot] [Mon, 27 Oct 2025 05:18:47 +0000 (05:18 +0000)] 
Bump actions/upload-artifact from 4 to 5

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
5 months agoMerge pull request #4491 from facebook/cmake_root
Yann Collet [Sun, 26 Oct 2025 21:40:00 +0000 (13:40 -0800)] 
Merge pull request #4491 from facebook/cmake_root

[cmake] propose a root wrapper

5 months agoMerge pull request #4517 from Cyan4973/asyncio_revisit
Yann Collet [Sun, 26 Oct 2025 21:39:25 +0000 (13:39 -0800)] 
Merge pull request #4517 from Cyan4973/asyncio_revisit

Remove asyncio from the compression path

5 months agosyncio interface only enabled when compression is enabled 4517/head
Yann Collet [Sun, 26 Oct 2025 16:48:45 +0000 (09:48 -0700)] 
syncio interface only enabled when compression is enabled

5 months agochanged name to syncIO for clarity
Yann Collet [Sat, 25 Oct 2025 18:23:16 +0000 (11:23 -0700)] 
changed name to syncIO for clarity

5 months agominor: use init/destroy pair naming convention
Yann Collet [Sat, 25 Oct 2025 18:11:48 +0000 (11:11 -0700)] 
minor: use init/destroy pair naming convention

5 months agoremoved asyncio completely for compression path
Yann Collet [Sat, 25 Oct 2025 18:02:51 +0000 (11:02 -0700)] 
removed asyncio completely for compression path

this does not provide speed benefits,
since most of the leverage happens internally within the library,
and can even become detrimental in certain scenario, due to complex and wasteful memory management.
At a minimum, it makes the logic simpler, easier to debug, at essentially the same performance.

5 months agodisable asyncio during compression
Yann Collet [Sat, 25 Oct 2025 07:50:55 +0000 (00:50 -0700)] 
disable asyncio during compression

it's not helpful for performance, and can in some times be detrimental.
the synchronous mode is also much easier to follow and debug.

5 months agoMerge pull request #4515 from cclauss/patch-1
Yann Collet [Thu, 23 Oct 2025 16:57:19 +0000 (08:57 -0800)] 
Merge pull request #4515 from cclauss/patch-1

Fix undefined names in automated_benchmarking.py

5 months agoFix undefined names in automated_benchmarking.py 4515/head
Christian Clauss [Thu, 23 Oct 2025 04:08:36 +0000 (06:08 +0200)] 
Fix undefined names in automated_benchmarking.py

Fix variable name typos in automated_benchmarking.py

% `ruff check`
```
Error: tests/automated_benchmarking.py:237:21: F821 Undefined name `baseline_label`
Error: tests/automated_benchmarking.py:250:21: F821 Undefined name `baseline_label`
Error: tests/automated_benchmarking.py:318:55: F821 Undefined name `frequenc`
Error: Process completed with exit code 1.
```
% [`ruff rule F821`](https://docs.astral.sh/ruff/rules/undefined-name)

5 months agoMerge pull request #4516 from Cyan4973/mingw_calloc_order
Yann Collet [Thu, 23 Oct 2025 15:57:40 +0000 (07:57 -0800)] 
Merge pull request #4516 from Cyan4973/mingw_calloc_order

minor: fix mingw warnings: calloc argument order

5 months agominor: fix mingw warnings: calloc argument order 4516/head
Yann Collet [Thu, 23 Oct 2025 14:01:01 +0000 (07:01 -0700)] 
minor: fix mingw warnings: calloc argument order

5 months agoMerge pull request #4509 from arpadpanyik-arm/revert_branch_opt
Yann Collet [Sat, 18 Oct 2025 17:10:55 +0000 (10:10 -0700)] 
Merge pull request #4509 from arpadpanyik-arm/revert_branch_opt

AArch64: Revert previous branch optimization

6 months agoAArch64: Remove 32-bit code from ZSTD_decodeSequence 4509/head
Arpad Panyik [Wed, 8 Oct 2025 18:59:24 +0000 (18:59 +0000)] 
AArch64: Remove 32-bit code from ZSTD_decodeSequence

Remove the 32-bit code paths from the AArch64 only sections of
ZSTD_decodeSequence.

6 months agoAArch64: Revert previous branch optimization
Arpad Panyik [Wed, 8 Oct 2025 18:58:45 +0000 (18:58 +0000)] 
AArch64: Revert previous branch optimization

Revert a branch optimization that was based on an incorrect
assumption in the AArch64 part of ZSTD_decodeSequence. In extreme
cases the existing implementation could lead to data corruption.

Insert an UNLIKELY hint to guide the compilers toward generating more
efficient machine code.

6 months agoMerge pull request #4504 from rzikm/asm-conditional
Yann Collet [Tue, 7 Oct 2025 06:39:28 +0000 (23:39 -0700)] 
Merge pull request #4504 from rzikm/asm-conditional

Make ASM language conditional at CMake configure time

6 months agoEnable ASM language during CMake configure time only when needed 4504/head
Radek Zikmund [Thu, 2 Oct 2025 12:40:11 +0000 (14:40 +0200)] 
Enable ASM language during CMake configure time only when needed

6 months agoMerge pull request #4502 from zijianli1234/dev
Yann Collet [Tue, 30 Sep 2025 19:35:40 +0000 (12:35 -0700)] 
Merge pull request #4502 from zijianli1234/dev

- Modify the GCC version used for CI testing of the RISCV architecture

6 months ago- Modify the GCC version used for CI testing of the RISCV architecture 4502/head
ZijianLi [Fri, 26 Sep 2025 06:26:52 +0000 (14:26 +0800)] 
- Modify the GCC version used for CI testing of the RISCV architecture
- Fix a bug in the ZSTD_row_getRVVMask function
- Improve some performance for ZSTD_copy16()

6 months ago[cmake] add minimal build test cmake_root 4491/head
Yann Collet [Thu, 25 Sep 2025 04:55:31 +0000 (21:55 -0700)] 
[cmake] add minimal build test

for CMakeLists.txt at root

6 months ago[cmake] root wrapper
Yann Collet [Sun, 21 Sep 2025 05:49:20 +0000 (22:49 -0700)] 
[cmake] root wrapper

allow the existence of a `CMakeLists.txt` file at root,
for easier integration with other projects expecting this file at root.

Existing integration point, within `build/cmake/`, still works as expected.