Skip to content

thirdparty.zstd: upgrade to 1.5.8 #24597

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

Merged
merged 7 commits into from
May 29, 2025

Conversation

kbkpbot
Copy link
Contributor

@kbkpbot kbkpbot commented May 28, 2025

require by issue #24595

Copy link

Connected to Huly®: V_0.6-22960

@jorgeluismireles
Copy link

I think your title has a typo 1.5.8 as the version is 1.5.7

@kbkpbot
Copy link
Contributor Author

kbkpbot commented May 29, 2025

I think your title has a typo 1.5.8 as the version is 1.5.7

This is from github current code :

/*------   Version   ------*/
#define ZSTD_VERSION_MAJOR    1
#define ZSTD_VERSION_MINOR    5
#define ZSTD_VERSION_RELEASE  8
#define ZSTD_VERSION_NUMBER  (ZSTD_VERSION_MAJOR *100*100 + ZSTD_VERSION_MINOR *100 + ZSTD_VERSION_RELEASE)

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman merged commit af8ecda into vlang:master May 29, 2025
64 checks passed
@lcheylus
Copy link
Contributor

lcheylus commented May 29, 2025

@kbkpbot Thanks for your work.

But why do you use current zstd sources from GH instead of the latest official release (version 1.5.7) as requested in my issue ? => https://github.com/facebook/zstd/releases/tag/v1.5.7

With your commit/upgrade, we don't know the commit used to generate "amalgamate" zstd.c file.

For thirdparty, it's better to use release/tag for update => simpler to follow and with current sources from GH, there may be regressions and bugs.

@kbkpbot
Copy link
Contributor Author

kbkpbot commented May 30, 2025

@kbkpbot Thanks for your work.

But why do you use current zstd sources from GH instead of the latest official release (version 1.5.7) as requested in my issue ? => https://github.com/facebook/zstd/releases/tag/v1.5.7

With your commit/upgrade, we don't know the commit used to generate "amalgamate" zstd.c file.

For thirdparty, it's better to use release/tag for update => simpler to follow and with current sources from GH, there may be regressions and bugs.

I agree with you, and I will submit a new PR for v1.5.7.
BTW, maintain a third party lib in v is not easy, and we should find out some method/tools make it become easier.
I suggest we only modify the configuration, not the code in them. As we find some bugs in them, it is better to submit issues in upstream. Frequently back-port just make things worse.

@kbkpbot kbkpbot deleted the upgrade-thirdparty-zstd branch May 30, 2025 00:25
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.

4 participants