Skip to content

Commit 254489a

Browse files
authored
Merge branch 'main' into fix/pass-env-and-cwd-to-integration-build-context-dev
2 parents dbd2472 + 447f98f commit 254489a

File tree

13 files changed

+112
-46
lines changed

13 files changed

+112
-46
lines changed

.release-please-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"packages/build-info": "7.15.1",
3-
"packages/build": "29.55.2",
3+
"packages/build": "29.55.3",
44
"packages/edge-bundler": "12.2.3",
55
"packages/cache-utils": "5.1.6",
66
"packages/config": "20.19.0",
77
"packages/framework-info": "9.8.13",
8-
"packages/functions-utils": "5.2.91",
8+
"packages/functions-utils": "5.2.92",
99
"packages/git-utils": "5.1.1",
1010
"packages/headers-parser": "7.1.4",
1111
"packages/js-client": "13.1.21",
@@ -14,5 +14,5 @@
1414
"packages/run-utils": "5.1.1",
1515
"packages/opentelemetry-sdk-setup": "1.1.3",
1616
"packages/opentelemetry-utils": "1.2.1",
17-
"packages/zip-it-and-ship-it": "9.40.2"
17+
"packages/zip-it-and-ship-it": "9.41.0"
1818
}

package-lock.json

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/build/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@
105105
* dependencies
106106
* @netlify/config bumped from ^20.8.0 to ^20.8.1
107107

108+
## [29.55.3](https://github.com/netlify/build/compare/build-v29.55.2...build-v29.55.3) (2024-10-21)
109+
110+
111+
### Dependencies
112+
113+
* The following workspace dependencies were updated
114+
* dependencies
115+
* @netlify/functions-utils bumped from ^5.2.91 to ^5.2.92
116+
* @netlify/zip-it-and-ship-it bumped from 9.40.2 to 9.41.0
117+
108118
## [29.55.2](https://github.com/netlify/build/compare/build-v29.55.1...build-v29.55.2) (2024-10-11)
109119

110120

packages/build/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netlify/build",
3-
"version": "29.55.2",
3+
"version": "29.55.3",
44
"description": "Netlify build module",
55
"type": "module",
66
"exports": "./lib/index.js",
@@ -73,12 +73,12 @@
7373
"@netlify/config": "^20.19.0",
7474
"@netlify/edge-bundler": "12.2.3",
7575
"@netlify/framework-info": "^9.8.13",
76-
"@netlify/functions-utils": "^5.2.91",
76+
"@netlify/functions-utils": "^5.2.92",
7777
"@netlify/git-utils": "^5.1.1",
7878
"@netlify/opentelemetry-utils": "^1.2.1",
7979
"@netlify/plugins-list": "^6.80.0",
8080
"@netlify/run-utils": "^5.1.1",
81-
"@netlify/zip-it-and-ship-it": "9.40.2",
81+
"@netlify/zip-it-and-ship-it": "9.41.0",
8282
"@sindresorhus/slugify": "^2.0.0",
8383
"ansi-escapes": "^6.0.0",
8484
"chalk": "^5.0.0",

packages/functions-utils/CHANGELOG.md

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

3+
## [5.2.92](https://github.com/netlify/build/compare/functions-utils-v5.2.91...functions-utils-v5.2.92) (2024-10-21)
4+
5+
6+
### Dependencies
7+
8+
* The following workspace dependencies were updated
9+
* dependencies
10+
* @netlify/zip-it-and-ship-it bumped from 9.40.2 to 9.41.0
11+
312
## [5.2.91](https://github.com/netlify/build/compare/functions-utils-v5.2.90...functions-utils-v5.2.91) (2024-10-11)
413

514

packages/functions-utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netlify/functions-utils",
3-
"version": "5.2.91",
3+
"version": "5.2.92",
44
"description": "Utility for adding Functions files in Netlify Build",
55
"type": "module",
66
"exports": "./lib/main.js",
@@ -50,7 +50,7 @@
5050
},
5151
"license": "MIT",
5252
"dependencies": {
53-
"@netlify/zip-it-and-ship-it": "9.40.2",
53+
"@netlify/zip-it-and-ship-it": "9.41.0",
5454
"cpy": "^9.0.0",
5555
"path-exists": "^5.0.0"
5656
},

packages/zip-it-and-ship-it/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
77

88
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
99

10+
## [9.41.0](https://github.com/netlify/build/compare/zip-it-and-ship-it-v9.40.2...zip-it-and-ship-it-v9.41.0) (2024-10-21)
11+
12+
13+
### Features
14+
15+
* add `bootstrapVersion` field to manifest ([#5890](https://github.com/netlify/build/issues/5890)) ([46de664](https://github.com/netlify/build/commit/46de664d2815c430f7d1b45c8bd92d42a5cc4502))
16+
1017
## [9.40.2](https://github.com/netlify/build/compare/zip-it-and-ship-it-v9.40.1...zip-it-and-ship-it-v9.40.2) (2024-10-11)
1118

1219

packages/zip-it-and-ship-it/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netlify/zip-it-and-ship-it",
3-
"version": "9.40.2",
3+
"version": "9.41.0",
44
"description": "Zip it and ship it",
55
"main": "./dist/main.js",
66
"type": "module",

packages/zip-it-and-ship-it/src/manifest.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ import type { ExtendedRoute, Route } from './utils/routes.js'
99

1010
interface ManifestFunction {
1111
buildData?: Record<string, unknown>
12+
bundler?: string
13+
displayName?: string
14+
excludedRoutes?: Route[]
15+
generator?: string
1216
invocationMode?: InvocationMode
1317
mainFile: string
1418
name: string
1519
path: string
20+
priority?: number
1621
routes?: ExtendedRoute[]
17-
excludedRoutes?: Route[]
1822
runtime: string
1923
runtimeVersion?: string
2024
schedule?: string
21-
displayName?: string
22-
bundler?: string
23-
generator?: string
2425
timeout?: number
25-
priority?: number
2626
trafficRules?: TrafficRules
2727
}
2828

@@ -51,6 +51,7 @@ export const createManifest = async ({ functions, path }: { functions: FunctionR
5151
}
5252

5353
const formatFunctionForManifest = ({
54+
bootstrapVersion,
5455
bundler,
5556
displayName,
5657
excludedRoutes,
@@ -74,7 +75,7 @@ const formatFunctionForManifest = ({
7475
generator,
7576
timeout,
7677
invocationMode,
77-
buildData: { runtimeAPIVersion },
78+
buildData: { bootstrapVersion, runtimeAPIVersion },
7879
mainFile,
7980
name,
8081
priority,

packages/zip-it-and-ship-it/src/runtimes/node/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const zipFunction: ZipFunction = async function ({
110110
createPluginsModulesPathAliases(srcFiles, pluginsModulesPath, aliases, finalBasePath)
111111

112112
const generator = mergedConfig?.generator || getInternalValue(isInternal)
113-
const zipPath = await zipNodeJs({
113+
const zipResult = await zipNodeJs({
114114
aliases,
115115
archiveFormat,
116116
basePath: finalBasePath,
@@ -152,11 +152,12 @@ const zipFunction: ZipFunction = async function ({
152152
const trafficRules = mergedConfig?.rateLimit ? getTrafficRulesConfig(mergedConfig.rateLimit) : undefined
153153

154154
return {
155+
bootstrapVersion: zipResult.bootstrapVersion,
155156
bundler: bundlerName,
156157
bundlerWarnings,
157158
config: mergedConfig,
158159
displayName: mergedConfig?.name,
159-
entryFilename: zipPath.entryFilename,
160+
entryFilename: zipResult.entryFilename,
160161
generator,
161162
timeout: mergedConfig?.timeout,
162163
inputs,
@@ -165,7 +166,7 @@ const zipFunction: ZipFunction = async function ({
165166
invocationMode,
166167
outputModuleFormat,
167168
nativeNodeModules,
168-
path: zipPath.path,
169+
path: zipResult.path,
169170
priority,
170171
trafficRules,
171172
runtimeVersion:

0 commit comments

Comments
 (0)