Skip to content

Commit 313600b

Browse files
authored
chore: release v1.17.0 (#123)
Bump the version to v1.17.0 in package.json, the README examples, and the setup-ref / setupRef defaults in the GitLab and Azure templates. Changes since v1.16.1: - feat: support disabling Vite+'s Node.js management with node-manager: false (#115) - fix: retry sfw vp install when sfw misreports vp as not found on Windows (#120) - chore(deps): update vite-plus to v0.2.8 (#119) - ci: re-run bundle rebuild when Renovate pushes to a labeled PR (#122) - chore: align Renovate release age for the whole vite-plus group (#121) After merge, tag the merge commit as v1.17.0 and push the tag.
1 parent 030b265 commit 313600b

5 files changed

Lines changed: 43 additions & 43 deletions

File tree

README.md

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ GitHub Action, GitLab CI/CD remote template, and Azure Pipelines step template t
1818
Reference this action with an exact release tag, or a commit SHA:
1919

2020
```yaml
21-
- uses: voidzero-dev/setup-vp@v1.16.1
21+
- uses: voidzero-dev/setup-vp@v1.17.0
2222
```
2323
2424
Releases are listed on the [tags page](https://github.com/voidzero-dev/setup-vp/tags). [Renovate](https://docs.renovatebot.com/) and Dependabot can keep a pinned tag up to date.
@@ -33,15 +33,15 @@ Releases are listed on the [tags page](https://github.com/voidzero-dev/setup-vp/
3333
```yaml
3434
steps:
3535
- uses: actions/checkout@v6
36-
- uses: voidzero-dev/setup-vp@v1.16.1
36+
- uses: voidzero-dev/setup-vp@v1.17.0
3737
```
3838

3939
### With Node.js Version
4040

4141
```yaml
4242
steps:
4343
- uses: actions/checkout@v6
44-
- uses: voidzero-dev/setup-vp@v1.16.1
44+
- uses: voidzero-dev/setup-vp@v1.17.0
4545
with:
4646
node-version: "lts"
4747
```
@@ -51,7 +51,7 @@ steps:
5151
```yaml
5252
steps:
5353
- uses: actions/checkout@v6
54-
- uses: voidzero-dev/setup-vp@v1.16.1
54+
- uses: voidzero-dev/setup-vp@v1.17.0
5555
with:
5656
node-version-file: ".node-version"
5757
```
@@ -68,7 +68,7 @@ steps:
6868
- uses: actions/setup-node@v5
6969
with:
7070
node-version: 24
71-
- uses: voidzero-dev/setup-vp@v1.16.1
71+
- uses: voidzero-dev/setup-vp@v1.17.0
7272
with:
7373
node-manager: false
7474
```
@@ -78,7 +78,7 @@ steps:
7878
```yaml
7979
steps:
8080
- uses: actions/checkout@v6
81-
- uses: voidzero-dev/setup-vp@v1.16.1
81+
- uses: voidzero-dev/setup-vp@v1.17.0
8282
with:
8383
working-directory: web
8484
node-version-file: ".nvmrc"
@@ -91,7 +91,7 @@ steps:
9191
```yaml
9292
steps:
9393
- uses: actions/checkout@v6
94-
- uses: voidzero-dev/setup-vp@v1.16.1
94+
- uses: voidzero-dev/setup-vp@v1.17.0
9595
with:
9696
node-version: "lts"
9797
cache: true
@@ -103,7 +103,7 @@ steps:
103103
```yaml
104104
steps:
105105
- uses: actions/checkout@v6
106-
- uses: voidzero-dev/setup-vp@v1.16.1
106+
- uses: voidzero-dev/setup-vp@v1.17.0
107107
with:
108108
version: "1.2.3"
109109
node-version: "lts"
@@ -127,7 +127,7 @@ to `latest` only when nothing pins a resolvable version. So a project that pins
127127
```yaml
128128
steps:
129129
- uses: actions/checkout@v6
130-
- uses: voidzero-dev/setup-vp@v1.16.1
130+
- uses: voidzero-dev/setup-vp@v1.17.0
131131
with:
132132
cache: true
133133
```
@@ -140,7 +140,7 @@ worth watching for, since it means the pinned version was not applied:
140140
```yaml
141141
steps:
142142
- uses: actions/checkout@v6
143-
- uses: voidzero-dev/setup-vp@v1.16.1
143+
- uses: voidzero-dev/setup-vp@v1.17.0
144144
with:
145145
version-file: package.json
146146
cache: true
@@ -200,7 +200,7 @@ action warns and falls back to `latest`. (Auto-detection instead resolves a
200200
```yaml
201201
steps:
202202
- uses: actions/checkout@v6
203-
- uses: voidzero-dev/setup-vp@v1.16.1
203+
- uses: voidzero-dev/setup-vp@v1.17.0
204204
with:
205205
node-version: "lts"
206206
cache: true
@@ -225,7 +225,7 @@ minimal:
225225
226226
steps:
227227
- uses: actions/checkout@v6
228-
- uses: voidzero-dev/setup-vp@v1.16.1
228+
- uses: voidzero-dev/setup-vp@v1.17.0
229229
with:
230230
node-version: "lts"
231231
env:
@@ -242,7 +242,7 @@ read the repo `.npmrc` per its own config resolution):
242242
```yaml
243243
steps:
244244
- uses: actions/checkout@v6
245-
- uses: voidzero-dev/setup-vp@v1.16.1
245+
- uses: voidzero-dev/setup-vp@v1.17.0
246246
with:
247247
node-version: "lts"
248248
registry-url: "https://npm.pkg.github.com"
@@ -260,7 +260,7 @@ Set `sfw: true` to wrap `vp install` with [Socket Firewall Free](https://docs.so
260260
```yaml
261261
steps:
262262
- uses: actions/checkout@v6
263-
- uses: voidzero-dev/setup-vp@v1.16.1
263+
- uses: voidzero-dev/setup-vp@v1.17.0
264264
with:
265265
sfw: true
266266
run-install: true
@@ -281,7 +281,7 @@ steps:
281281
- uses: socketdev/action@<sha>
282282
with:
283283
mode: firewall-free
284-
- uses: voidzero-dev/setup-vp@v1.16.1
284+
- uses: voidzero-dev/setup-vp@v1.17.0
285285
with:
286286
sfw: true
287287
run-install: true
@@ -305,7 +305,7 @@ jobs:
305305
steps:
306306
- run: apk add --no-cache bash curl gcompat libstdc++
307307
- uses: actions/checkout@v6
308-
- uses: voidzero-dev/setup-vp@v1.16.1
308+
- uses: voidzero-dev/setup-vp@v1.17.0
309309
```
310310

311311
### Matrix Testing with Multiple Node.js Versions
@@ -319,7 +319,7 @@ jobs:
319319
runs-on: ubuntu-latest
320320
steps:
321321
- uses: actions/checkout@v6
322-
- uses: voidzero-dev/setup-vp@v1.16.1
322+
- uses: voidzero-dev/setup-vp@v1.17.0
323323
with:
324324
node-version: ${{ matrix.node-version }}
325325
cache: true
@@ -386,9 +386,9 @@ Use an exact release tag in the `include:remote` URL, and pin `setup-ref` to the
386386

387387
```yaml
388388
include:
389-
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.16.1/gitlab/setup-vp.yml"
389+
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.17.0/gitlab/setup-vp.yml"
390390
inputs:
391-
setup-ref: "v1.16.1"
391+
setup-ref: "v1.17.0"
392392
393393
test:
394394
extends: .setup-vp
@@ -401,9 +401,9 @@ test:
401401

402402
```yaml
403403
include:
404-
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.16.1/gitlab/setup-vp.yml"
404+
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.17.0/gitlab/setup-vp.yml"
405405
inputs:
406-
setup-ref: "v1.16.1"
406+
setup-ref: "v1.17.0"
407407
version: "latest"
408408
working-directory: "web"
409409
run-install: "true"
@@ -421,14 +421,14 @@ GitLab replaces array keywords such as `before_script` when a job uses `extends`
421421

422422
```yaml
423423
include:
424-
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.16.1/gitlab/setup-vp.yml"
424+
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.17.0/gitlab/setup-vp.yml"
425425
426426
test:
427427
image: node:24
428428
variables:
429429
SETUP_VP_VERSION: "latest"
430430
SETUP_VP_RUN_INSTALL: "true"
431-
SETUP_VP_SETUP_REF: "v1.16.1"
431+
SETUP_VP_SETUP_REF: "v1.17.0"
432432
before_script:
433433
- !reference [.setup-vp-bootstrap, before_script]
434434
- npm config set //registry.example.com/:_authToken "$NODE_AUTH_TOKEN"
@@ -443,9 +443,9 @@ Use the same pattern when the project has `default:before_script`; put the share
443443

444444
```yaml
445445
include:
446-
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.16.1/gitlab/setup-vp.yml"
446+
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.17.0/gitlab/setup-vp.yml"
447447
inputs:
448-
setup-ref: "v1.16.1"
448+
setup-ref: "v1.17.0"
449449
run-install: |
450450
- cwd: ./packages/app
451451
args: ['--frozen-lockfile']
@@ -462,9 +462,9 @@ test:
462462

463463
```yaml
464464
include:
465-
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.16.1/gitlab/setup-vp.yml"
465+
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.17.0/gitlab/setup-vp.yml"
466466
inputs:
467-
setup-ref: "v1.16.1"
467+
setup-ref: "v1.17.0"
468468
sfw: true
469469
run-install: "true"
470470
@@ -481,9 +481,9 @@ Pass `NODE_AUTH_TOKEN` as a GitLab CI/CD variable and set `registry-url` when th
481481

482482
```yaml
483483
include:
484-
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.16.1/gitlab/setup-vp.yml"
484+
- remote: "https://raw.githubusercontent.com/voidzero-dev/setup-vp/v1.17.0/gitlab/setup-vp.yml"
485485
inputs:
486-
setup-ref: "v1.16.1"
486+
setup-ref: "v1.17.0"
487487
registry-url: "https://npm.pkg.github.com"
488488
scope: "@myorg"
489489
@@ -507,11 +507,11 @@ test:
507507
| `node-manager` | String input: `"false"` keeps the runner image's Node.js (skips shims and runs `vp env off`); `"true"` force-enables the managed Node.js; empty lets the installer decide (enabled on CI) | |
508508
| `registry-url` | Optional registry URL to write to a temporary `.npmrc` | |
509509
| `scope` | Optional scope for authenticating against scoped registries | |
510-
| `setup-ref` | setup-vp ref used to download the GitLab bootstrap and compiled runtime. Always set it to the same tag as the remote URL; the default is the latest release when the template was published | `v1.16.1` |
510+
| `setup-ref` | setup-vp ref used to download the GitLab bootstrap and compiled runtime. Always set it to the same tag as the remote URL; the default is the latest release when the template was published | `v1.17.0` |
511511

512512
### GitLab Notes
513513

514-
- Use an exact release tag such as `v1.16.1` in the remote URL. Do not use `main` (mutable) or `v1` (frozen at v1.15.0, no longer updated).
514+
- Use an exact release tag such as `v1.17.0` in the remote URL. Do not use `main` (mutable) or `v1` (frozen at v1.15.0, no longer updated).
515515
- Always pin `setup-ref` to the same tag or commit SHA as the remote URL, so the compiled runtime matches the included template.
516516
- Quote GitLab string inputs such as `run-install: "false"`; unquoted booleans are rejected by GitLab before the setup runtime can parse them.
517517
- GitLab 17.9+ users can add `integrity` to pin the remote file hash.
@@ -537,7 +537,7 @@ resources:
537537
type: github
538538
endpoint: github
539539
name: voidzero-dev/setup-vp
540-
ref: refs/tags/v1.16.1
540+
ref: refs/tags/v1.17.0
541541
542542
pool:
543543
vmImage: ubuntu-latest
@@ -547,7 +547,7 @@ steps:
547547
548548
- template: azure/setup-vp.yml@setupVp
549549
parameters:
550-
setupRef: v1.16.1
550+
setupRef: v1.17.0
551551
nodeVersion: 24.x
552552
cache: true
553553
runInstall: true
@@ -567,7 +567,7 @@ Pin `ref` and `setupRef` to the same exact tag or commit SHA. Do not use the `v1
567567
| `sfw` | `false` | Wrap `vp install` with Socket Firewall Free. |
568568
| `registryUrl` | | Optional registry URL for a temporary `.npmrc`. |
569569
| `scope` | | Optional npm registry scope. |
570-
| `setupRef` | `v1.16.1` | Ref used to download bootstrap scripts and `dist/azure/index.mjs`. Always set it to the same tag as `ref`; the default is the latest release when the template was published. |
570+
| `setupRef` | `v1.17.0` | Ref used to download bootstrap scripts and `dist/azure/index.mjs`. Always set it to the same tag as `ref`; the default is the latest release when the template was published. |
571571
| `nodeVersion` | `24.x` | Passed to `UseNode@1`; an empty string skips Node setup. |
572572
| `nodeManager` | | Control Vite+'s Node.js manager: `false` keeps the agent's Node.js (e.g. from `UseNode@1`); `true` force-enables the managed one; empty lets the installer decide. |
573573
| `cache` | `false` | Enable Azure `Cache@2` around the package-manager cache directory. |
@@ -606,7 +606,7 @@ jobs:
606606
steps:
607607
- uses: actions/checkout@v6
608608
609-
- uses: voidzero-dev/setup-vp@v1.16.1
609+
- uses: voidzero-dev/setup-vp@v1.17.0
610610
with:
611611
node-version: "lts"
612612
cache: true
@@ -650,7 +650,7 @@ vp install
650650

651651
### Releasing
652652

653-
Releases are published as git tags; there is no npm package, but the `package.json` version tracks the latest release. Consumers pin an exact version tag such as `voidzero-dev/setup-vp@v1.16.1` or a commit SHA. The `v1` major tag is frozen at v1.15.0 and is never moved (an org-level ruleset rejects tag force-pushes).
653+
Releases are published as git tags; there is no npm package, but the `package.json` version tracks the latest release. Consumers pin an exact version tag such as `voidzero-dev/setup-vp@v1.17.0` or a commit SHA. The `v1` major tag is frozen at v1.15.0 and is never moved (an org-level ruleset rejects tag force-pushes).
654654

655655
To cut a release:
656656

@@ -667,8 +667,8 @@ To cut a release:
667667
3. Create the new annotated version tag and push it. For example:
668668

669669
```bash
670-
git tag -a v1.16.1 -m "v1.16.1"
671-
git push origin v1.16.1
670+
git tag -a v1.17.0 -m "v1.17.0"
671+
git push origin v1.17.0
672672
```
673673

674674
## Feedback

azure/setup-vp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ parameters:
1919
default: ""
2020
- name: setupRef
2121
type: string
22-
default: v1.16.1
22+
default: v1.17.0
2323
- name: nodeVersion
2424
type: string
2525
default: 24.x

gitlab/setup-vp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
default: ""
2525
setup-ref:
2626
description: "setup-vp ref used to download the GitLab bootstrap and compiled runtime. Pin this to the same tag or commit as the remote template; the default is the latest release when this template was published."
27-
default: "v1.16.1"
27+
default: "v1.17.0"
2828
---
2929
.setup-vp-bootstrap:
3030
before_script:
@@ -52,7 +52,7 @@ spec:
5252
export SETUP_VP_NODE_MANAGER="${SETUP_VP_NODE_MANAGER:-}"
5353
export SETUP_VP_REGISTRY_URL="${SETUP_VP_REGISTRY_URL:-}"
5454
export SETUP_VP_SCOPE="${SETUP_VP_SCOPE:-}"
55-
export SETUP_VP_SETUP_REF="${SETUP_VP_SETUP_REF:-v1.16.1}"
55+
export SETUP_VP_SETUP_REF="${SETUP_VP_SETUP_REF:-v1.17.0}"
5656
5757
setup_vp_bootstrap_tmp="$(mktemp "${TMPDIR:-/tmp}/setup-vp-gitlab-bootstrap.XXXXXX")"
5858
setup_vp_env_tmp="$(mktemp "${TMPDIR:-/tmp}/setup-vp-gitlab-env.XXXXXX")"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-vp",
3-
"version": "1.16.1",
3+
"version": "1.17.0",
44
"private": true,
55
"type": "module",
66
"scripts": {

src/azure/template.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe("azure/setup-vp.yml", () => {
2222
expect(byName.sfw).toMatchObject({ type: "boolean", default: false });
2323
expect(byName.registryUrl).toMatchObject({ type: "string", default: "" });
2424
expect(byName.scope).toMatchObject({ type: "string", default: "" });
25-
expect(byName.setupRef).toMatchObject({ type: "string", default: "v1.16.1" });
25+
expect(byName.setupRef).toMatchObject({ type: "string", default: "v1.17.0" });
2626
expect(byName.nodeVersion).toMatchObject({ type: "string", default: "24.x" });
2727
expect(byName.nodeManager).toMatchObject({ type: "string", default: "" });
2828
expect(byName.cache).toMatchObject({ type: "boolean", default: false });

0 commit comments

Comments
 (0)