Skip to content

win: drop support for windows 8#4624

Merged
bnoordhuis merged 1 commit intolibuv:v1.xfrom
bnoordhuis:drop-win8
Nov 28, 2024
Merged

win: drop support for windows 8#4624
bnoordhuis merged 1 commit intolibuv:v1.xfrom
bnoordhuis:drop-win8

Conversation

@bnoordhuis
Copy link
Copy Markdown
Member

Fixes: #3889


There's probably more that can be simplified now. Suggestions?

@bnoordhuis
Copy link
Copy Markdown
Member Author

I don't get why GetFileInformationByName is undefined... is that not a thing on Windows Server 2019/2022?

@vtjnash
Copy link
Copy Markdown
Member

vtjnash commented Nov 27, 2024

GetFileInformationByName was added last year

@bnoordhuis
Copy link
Copy Markdown
Member Author

Okay, so not safe to assume it's there, even on win10?

@vtjnash
Copy link
Copy Markdown
Member

vtjnash commented Nov 27, 2024

Right, officially it isn't even part of Windows 11 yet (https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getfileinformationbyname)

@huseyinacacak-janea
Copy link
Copy Markdown
Contributor

The GetFileInformationByName function was introduced to libuv as part of this PR. If I am not wrong, this API became available starting with Windows 11, version 24H2. Therefore, it’s not safe to assume that it will be present on all Windows 10 systems. Additionally, this API is available in Windows Server 2025 but not sure in Server 2019 and 2022.

@bnoordhuis
Copy link
Copy Markdown
Member Author

Okay, I dropped that change. Anything else that can be cut?

Copy link
Copy Markdown
Member

@saghul saghul left a comment

Choose a reason for hiding this comment

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

At a quick glance I don't see anything else.

@Streamlet
Copy link
Copy Markdown

Why drop support Win8?
Is there an API that provided by Win10 and MUST be used?

@saghul
Copy link
Copy Markdown
Member

saghul commented Dec 5, 2025

Read here: #3889

@Streamlet

This comment was marked as off-topic.

@libuv libuv locked as resolved and limited conversation to collaborators Dec 6, 2025
@libuv libuv deleted a comment from Streamlet Dec 6, 2025
@bnoordhuis
Copy link
Copy Markdown
Member Author

Locked, deleted an off-topic comment, and hid the other. Save diatribes for your personal blog.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop Windows 8.1 compatibility, on Jan 1, 2024

5 participants