npm package diff
Package: @forge/manifest
Versions: 8.9.0-next.9 - 8.9.0-next.10
Modified: package/out/schema/basic-manifest-schema.json
Index: package/out/schema/basic-manifest-schema.json
===================================================================
--- package/out/schema/basic-manifest-schema.json
+++ package/out/schema/basic-manifest-schema.json
@@ -44,8 +44,13 @@
"enum": [
"x86_64",
"arm64"
]
+ },
+ "memoryMB": {
+ "description": "The default amount of memory available to all functions at runtime. Increasing the function memory also increases its CPU allocation. You can configure memory between 128 MB and 512 MB in 1-MB increments. The default value is 512 MB.",
+ "title": "memoryMB",
+ "type": "number"
}
},
"title": "runtime",
"type": "object",
Modified: package/out/schema/manifest-schema.json
Large diffs are not rendered by default.
Modified: package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/manifest",
- "version": "8.9.0-next.9",
+ "version": "8.9.0-next.10",
"description": "Definitions and validations of the Forge manifest",
"main": "out/index.js",
"scripts": {
"build": "yarn run compile",
Modified: package/CHANGELOG.md
Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,6 +1,12 @@
# @forge/manifest
+## 8.9.0-next.10
+
+### Patch Changes
+
+- b51be39: allow app developer to specify function memory allocation
+
## 8.9.0-next.9
### Patch Changes
Modified: package/out/schema/basic-manifest.d.ts
Index: package/out/schema/basic-manifest.d.ts
===================================================================
--- package/out/schema/basic-manifest.d.ts
+++ package/out/schema/basic-manifest.d.ts
@@ -25,8 +25,12 @@
* Lambda architecture, its value can be either 'x86_64' or 'arm64'. Default value is 'x86_64'.
*/
export type Architecture = 'x86_64' | 'arm64';
/**
+ * The default amount of memory available to all functions at runtime. Increasing the function memory also increases its CPU allocation. You can configure memory between 128 MB and 512 MB in 1-MB increments. The default value is 512 MB.
+ */
+export type MemoryMB = number;
+/**
* This property is deprecated.
*/
export type RequiredProduct = 'confluence' | 'jira' | 'compass';
/**
@@ -210,8 +214,9 @@
export interface Runtime {
snapshots?: Snapshots;
name: Name;
architecture?: Architecture;
+ memoryMB?: MemoryMB;
}
/**
* Options related to paid app licensing
*/
Modified: package/out/schema/manifest.d.ts
Large diffs are not rendered by default.