Skip to content

Commit 167fc80

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/tests/integration/__fixtures__/next-app/next-15.2.4
2 parents 421ee16 + b724317 commit 167fc80

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+5128
-4926
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
timeout-minutes: 20
2020
strategy:
2121
matrix:
22-
os: [windows-latest]
22+
os: [windows-2025]
2323
# Pinning 20.x version as a temporary workaround due to this https://github.com/nodejs/node/issues/52884
24-
node-version: ['18.14.0', '20.12.2', '22']
24+
node-version: ['20.12.2', '22']
2525
fail-fast: false
2626
steps:
2727
# This improves Windows network performance. We need this since we open many ports in our tests.
@@ -79,7 +79,7 @@ jobs:
7979
strategy:
8080
matrix:
8181
os: [ubuntu-latest, macOS-latest]
82-
node-version: ['18.14.0', '22']
82+
node-version: ['20.12.2', '22']
8383
fail-fast: false
8484
steps:
8585
- name: Git checkout

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 18.14.0
22+
node-version: 20.12.2
2323
cache: npm
2424

2525
- name: Install dependencies

.github/workflows/integration-tests.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,13 @@ jobs:
1717
timeout-minutes: 40
1818
strategy:
1919
matrix:
20-
os: [ubuntu-latest, macOS-latest, windows-latest]
20+
os: [ubuntu-latest, macOS-latest, windows-2025]
2121
# Pinning 20.x version as a temporary workaround due to this https://github.com/nodejs/node/issues/52884
22-
node-version: ['18.17.0', '20.12.2', '22']
22+
node-version: ['20.12.2', '22']
2323
shard: ['1/4', '2/4', '3/4', '4/4']
2424

2525
exclude:
26-
- os: macOS-latest
27-
node-version: '18.17.0'
28-
- os: windows-latest
29-
node-version: '18.17.0'
30-
- os: windows-latest
26+
- os: windows-2025
3127
node-version: '22'
3228
fail-fast: false
3329
steps:
@@ -36,7 +32,7 @@ jobs:
3632
run: |
3733
netsh int ipv4 set dynamicport tcp start=1025 num=64511
3834
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters /v TcpTimedWaitDelay /t REG_DWORD /d 30 /f
39-
if: "${{ matrix.os == 'windows-latest' }}"
35+
if: "${{ matrix.os == 'windows-2025' }}"
4036

4137
- name: Git checkout
4238
uses: actions/checkout@v4
@@ -117,7 +113,7 @@ jobs:
117113
# Can be replaced with larger node 23 tests in the future.
118114
integration-win-node-23:
119115
name: Integration test windows latest node23 specific
120-
runs-on: windows-latest
116+
runs-on: windows-2025
121117
timeout-minutes: 40
122118
steps:
123119
# This improves Windows network performance, we need this since we open many ports in our tests
@@ -176,7 +172,7 @@ jobs:
176172
id: test-coverage-flags
177173
# For windows we have to use $env:
178174
run: |-
179-
os=windows-latest
175+
os=windows-2025
180176
node=$(node --version)
181177
echo "os=${os/-latest/}" >> $GITHUB_OUTPUT
182178
echo "os=${os/-latest/}" >> $env:GITHUB_OUTPUT
@@ -188,7 +184,7 @@ jobs:
188184
uses: actions/upload-artifact@v4
189185
if: always()
190186
with:
191-
name: npm-logs--windows-latest--23x
187+
name: npm-logs--windows-2025--23x
192188
path: |
193189
~/.npm/_logs/**/*
194190

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 18.14.0
22+
node-version: 20.12.2
2323
cache: npm
2424

2525
- name: Install dependencies

.github/workflows/pre-release-sha.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: actions/setup-node@v4
2424
with:
25-
node-version: '18.17.0'
25+
node-version: '20.12.2'
2626
cache: npm
2727
registry-url: 'https://registry.npmjs.org'
2828

.github/workflows/typecheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version: 18.14.0
21+
node-version: 20.12.2
2222
cache: npm
2323

2424
- name: Install dependencies

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
19-
os: [ubuntu-latest, macOS-latest, windows-latest]
20-
node-version: ['18.14.0', '22.x']
19+
os: [ubuntu-latest, macOS-latest, windows-2025]
20+
node-version: ['20.12.2', '22.x']
2121
exclude:
22-
- os: windows-latest
22+
- os: windows-2025
2323
node-version: '22.x'
2424
fail-fast: false
2525
steps:

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,58 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
99

1010

11+
## [22.1.3](https://github.com/netlify/cli/compare/v22.1.2...v22.1.3) (2025-06-06)
12+
13+
14+
### Bug Fixes
15+
16+
* **deps:** upgrade deps to resolve 4 security alerts ([#7328](https://github.com/netlify/cli/issues/7328)) ([2991b9f](https://github.com/netlify/cli/commit/2991b9fb1e7c57ad47e2ecb38aee486ca1f69f44))
17+
18+
## [22.1.2](https://github.com/netlify/cli/compare/v22.1.1...v22.1.2) (2025-06-05)
19+
20+
21+
### Bug Fixes
22+
23+
* **deps:** update netlify packages (major) ([b6fecd9](https://github.com/netlify/cli/commit/b6fecd943ee163c0a531293a8f7bf7e224385abd))
24+
25+
## [22.1.1](https://github.com/netlify/cli/compare/v22.1.0...v22.1.1) (2025-06-05)
26+
27+
28+
### Bug Fixes
29+
30+
* tell users to re-run `netlify dev` after interrupting dev to init project ([5c53698](https://github.com/netlify/cli/commit/5c536987dfd0f06e5796b736fd438c6b00a2da16))
31+
32+
## [22.1.0](https://github.com/netlify/cli/compare/v22.0.0...v22.1.0) (2025-06-05)
33+
34+
35+
### Features
36+
37+
* Add `db init` and `db status` commands ([#7115](https://github.com/netlify/cli/issues/7115)) ([dc0152f](https://github.com/netlify/cli/commit/dc0152f8f68a5f3fc0aa0de66547016426be0b7e))
38+
39+
## [22.0.0](https://github.com/netlify/cli/compare/v21.6.0...v22.0.0) (2025-06-05)
40+
41+
42+
### ⚠ BREAKING CHANGES
43+
44+
* drop support for node 18.x and 19.x ([#7332](https://github.com/netlify/cli/issues/7332))
45+
46+
### Features
47+
48+
* drop support for node 18.x and 19.x ([#7332](https://github.com/netlify/cli/issues/7332)) ([e230a54](https://github.com/netlify/cli/commit/e230a5455841f3b5be0dc6754bf4e9eadbb4fcb5))
49+
50+
51+
### Bug Fixes
52+
53+
* pnpx context awareness + e2e tests ([#7324](https://github.com/netlify/cli/issues/7324)) ([8bb3fd2](https://github.com/netlify/cli/commit/8bb3fd21dbf49bd3e9269956940f1a2675af5b2e))
54+
* update netlify build and netlify config ([#7333](https://github.com/netlify/cli/issues/7333)) ([cf394a5](https://github.com/netlify/cli/commit/cf394a5c5202275fb5e934c4d7fbe36f7edf98fb))
55+
56+
## [21.6.0](https://github.com/netlify/cli/compare/v21.5.2...v21.6.0) (2025-06-03)
57+
58+
59+
### Features
60+
61+
* pass mutated config environment variables to functions during local development ([#7325](https://github.com/netlify/cli/issues/7325)) ([17cb26b](https://github.com/netlify/cli/commit/17cb26b4f4fe0ef983dc390e818e29ed1b8d080b))
62+
1163
## [21.5.2](https://github.com/netlify/cli/compare/v21.5.1...v21.5.2) (2025-06-02)
1264

1365

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ See the [CLI command line reference](https://cli.netlify.com/commands/) to get s
4848

4949
## Installation
5050

51-
Netlify CLI requires [Node.js](https://nodejs.org) version 18.14.0 or above. To install, run the following command from any
52-
directory in your terminal:
51+
Netlify CLI requires [Node.js](https://nodejs.org) version 20.12.2 or above. To install, run the following command from
52+
any directory in your terminal:
5353

5454
```bash
5555
npm install netlify-cli -g
@@ -87,7 +87,6 @@ netlify [command] help
8787
To learn how to log in to Netlify and start deploying projects, visit the
8888
[documentation on Netlify](https://docs.netlify.com/cli/get-started/).
8989

90-
9190
## Commands
9291

9392
For a full command reference visit [cli.netlify.com](https://cli.netlify.com/).

docs/commands/db.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
title: Netlify CLI db command
3+
description: Provision a production ready Postgres database with a single command
4+
sidebar:
5+
label: db
6+
---
7+
8+
# `db`
9+
10+
11+
<!-- AUTO-GENERATED-CONTENT:START (GENERATE_COMMANDS_DOCS) -->
12+
Provision a production ready Postgres database with a single command
13+
14+
**Usage**
15+
16+
```bash
17+
netlify db
18+
```
19+
20+
**Flags**
21+
22+
- `filter` (*string*) - For monorepos, specify the name of the application to run the command in
23+
- `debug` (*boolean*) - Print debugging information
24+
- `auth` (*string*) - Netlify auth token - can be used to run this command without logging in
25+
26+
| Subcommand | description |
27+
|:--------------------------- |:-----|
28+
| [`init`](/commands/db#init) | Initialize a new database for the current site |
29+
| [`status`](/commands/db#status) | Check the status of the database |
30+
31+
32+
**Examples**
33+
34+
```bash
35+
netlify db status
36+
netlify db init
37+
netlify db init --help
38+
```
39+
40+
---
41+
## `init`
42+
43+
Initialize a new database for the current site
44+
45+
**Usage**
46+
47+
```bash
48+
netlify init
49+
```
50+
51+
**Flags**
52+
53+
- `assume-no` (*boolean*) - Non-interactive setup. Does not initialize any third-party tools/boilerplate. Ideal for CI environments or AI tools.
54+
- `boilerplate` (*drizzle*) - Type of boilerplate to add to your project.
55+
- `filter` (*string*) - For monorepos, specify the name of the application to run the command in
56+
- `overwrite` (*boolean*) - Overwrites existing files that would be created when setting up boilerplate
57+
- `debug` (*boolean*) - Print debugging information
58+
- `auth` (*string*) - Netlify auth token - can be used to run this command without logging in
59+
- `no-boilerplate` (*boolean*) - Don't add any boilerplate to your project.
60+
61+
**Examples**
62+
63+
```bash
64+
netlify db init --assume-no
65+
netlify db init --boilerplate=drizzle --overwrite
66+
```
67+
68+
---
69+
## `status`
70+
71+
Check the status of the database
72+
73+
**Usage**
74+
75+
```bash
76+
netlify status
77+
```
78+
79+
**Flags**
80+
81+
- `debug` (*boolean*) - Print debugging information
82+
- `auth` (*string*) - Netlify auth token - can be used to run this command without logging in
83+
84+
---
85+
86+
<!-- AUTO-GENERATED-CONTENT:END -->

0 commit comments

Comments
 (0)