Skip to content

Commit c57cd2e

Browse files
nodejs-github-botlukekarrys
authored andcommitted
feat: update gyp-next to v0.21.0
1 parent 86d65c7 commit c57cd2e

File tree

6 files changed

+40
-8
lines changed

6 files changed

+40
-8
lines changed

gyp/.github/workflows/node-gyp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
repository: nodejs/node-gyp
3737
path: node-gyp
38-
- uses: actions/setup-node@v5
38+
- uses: actions/setup-node@v6
3939
with:
4040
node-version: "lts/*"
4141
- uses: actions/setup-python@v6

gyp/.github/workflows/release-please.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Build a binary wheel and a source tarball
2929
run: pipx run build
3030
- name: Store the distribution packages
31-
uses: actions/upload-artifact@v4
31+
uses: actions/upload-artifact@v5
3232
with:
3333
name: python-package-distributions
3434
path: dist/
@@ -48,7 +48,7 @@ jobs:
4848
id-token: write # IMPORTANT: mandatory for trusted publishing
4949
steps:
5050
- name: Download all the dists
51-
uses: actions/download-artifact@v5
51+
uses: actions/download-artifact@v6
5252
with:
5353
name: python-package-distributions
5454
path: dist/
@@ -68,12 +68,12 @@ jobs:
6868
id-token: write # IMPORTANT: mandatory for sigstore
6969
steps:
7070
- name: Download all the dists
71-
uses: actions/download-artifact@v5
71+
uses: actions/download-artifact@v6
7272
with:
7373
name: python-package-distributions
7474
path: dist/
7575
- name: Sign the dists with Sigstore
76-
uses: sigstore/gh-action-sigstore-python@v3.0.1
76+
uses: sigstore/gh-action-sigstore-python@v3.1.0
7777
with:
7878
inputs: >-
7979
./dist/*.tar.gz

gyp/.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.20.5"
2+
".": "0.21.0"
33
}

gyp/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.21.0](https://github.com/nodejs/gyp-next/compare/v0.20.5...v0.21.0) (2025-11-04)
4+
5+
6+
### Features
7+
8+
* add support for Visual Studio 2026 ([#319](https://github.com/nodejs/gyp-next/issues/319)) ([cb13bbc](https://github.com/nodejs/gyp-next/commit/cb13bbc4ab7a7d86b51221b39ebee4281e1d3e19))
9+
310
## [0.20.5](https://github.com/nodejs/gyp-next/compare/v0.20.4...v0.20.5) (2025-10-13)
411

512

gyp/pylib/gyp/MSVSVersion.py

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,18 @@ def _CreateVersion(name, path, sdk_based=False):
270270
if path:
271271
path = os.path.normpath(path)
272272
versions = {
273+
"2026": VisualStudioVersion(
274+
"2026",
275+
"Visual Studio 2026",
276+
solution_version="12.00",
277+
project_version="18.0",
278+
flat_sln=False,
279+
uses_vcxproj=True,
280+
path=path,
281+
sdk_based=sdk_based,
282+
default_toolset="v145",
283+
compatible_sdks=["v8.1", "v10.0"],
284+
),
273285
"2022": VisualStudioVersion(
274286
"2022",
275287
"Visual Studio 2022",
@@ -462,6 +474,7 @@ def _DetectVisualStudioVersions(versions_to_check, force_express):
462474
"15.0": "2017",
463475
"16.0": "2019",
464476
"17.0": "2022",
477+
"18.0": "2026",
465478
}
466479
versions = []
467480
for version in versions_to_check:
@@ -537,7 +550,18 @@ def SelectVisualStudioVersion(version="auto", allow_fallback=True):
537550
if version == "auto":
538551
version = os.environ.get("GYP_MSVS_VERSION", "auto")
539552
version_map = {
540-
"auto": ("17.0", "16.0", "15.0", "14.0", "12.0", "10.0", "9.0", "8.0", "11.0"),
553+
"auto": (
554+
"18.0",
555+
"17.0",
556+
"16.0",
557+
"15.0",
558+
"14.0",
559+
"12.0",
560+
"10.0",
561+
"9.0",
562+
"8.0",
563+
"11.0",
564+
),
541565
"2005": ("8.0",),
542566
"2005e": ("8.0",),
543567
"2008": ("9.0",),
@@ -552,6 +576,7 @@ def SelectVisualStudioVersion(version="auto", allow_fallback=True):
552576
"2017": ("15.0",),
553577
"2019": ("16.0",),
554578
"2022": ("17.0",),
579+
"2026": ("18.0",),
555580
}
556581
if override_path := os.environ.get("GYP_MSVS_OVERRIDE_PATH"):
557582
msvs_version = os.environ.get("GYP_MSVS_VERSION")

gyp/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "gyp-next"
7-
version = "0.20.5"
7+
version = "0.21.0"
88
authors = [
99
{ name="Node.js contributors", email="[email protected]" },
1010
]

0 commit comments

Comments
 (0)