@vercel/build-utils 14.18.0 → 14.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/DEV_MANIFEST.md +1 -1
- package/dist/index.js +2 -2
- package/dist/schedules.d.ts +16 -24
- package/dist/schedules.js +20 -134
- package/dist/types.d.ts +17 -29
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @vercel/build-utils
|
|
2
2
|
|
|
3
|
+
## 14.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e041037: Add an optional `service` to function-target `schedules`, naming the service that owns `function`. `function` is then the path within that service. `vercel dev` does not run service-hosted schedule targets yet.
|
|
8
|
+
|
|
9
|
+
## 14.19.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- e58b37a: Breaking (beta): the nested `expression`/`target` `schedules` format is no longer supported in `vercel.json` or Build Output. `schedules` entries use `schedule` plus exactly one of `path`, `function`, `topic`, or `entrypoint`, with optional `name`, `timezone`, and `jitter`. When `name` is omitted, it defaults to a hash of the target and cron expression, matching the name the API derives. `vercel build` leaves unnamed schedules unnamed in `config.json`, except entrypoint schedules, which keep the derived name their function dispatches on.
|
|
14
|
+
|
|
15
|
+
`Schedule` now has the flat shape. Removed exports: `parseScheduleDefinition`, `formatBuildOutputSchedule`, `FlatBuildOutputSchedule`, `ScheduleExpression`, and `ScheduleTarget` from `@vercel/build-utils`; `FlatScheduleDefinition`, `LegacyScheduleDefinition`, and `ScheduleDefinition` from `@vercel/config`; and `VercelConfigFlatSchedule` from `@vercel/client`.
|
|
16
|
+
|
|
3
17
|
## 14.18.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/DEV_MANIFEST.md
CHANGED
|
@@ -24,7 +24,7 @@ production consumer scoping where applicable.
|
|
|
24
24
|
## Functions and invocation
|
|
25
25
|
|
|
26
26
|
Every `DevFunction` has a deployment `outputPath` with no leading slash or
|
|
27
|
-
`.func` suffix. It is the identity referenced by a Schedule's `
|
|
27
|
+
`.func` suffix. It is the identity referenced by a Schedule's `function`,
|
|
28
28
|
not necessarily the source filename or the public URL. `sourceFile` optionally
|
|
29
29
|
identifies the original source for source-backed functions.
|
|
30
30
|
|