You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dfx-json-schema.json
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -475,6 +475,7 @@
475
475
"optimize": {
476
476
"title": "Optimize Canister Wasm",
477
477
"description": "Invoke wasm level optimizations after building the canister. Optimization level can be set to \"cycles\" to optimize for cycle usage, \"size\" to optimize for binary size, or any of \"O4, O3, O2, O1, O0, Oz, Os\". Disabled by default. If this option is specified, the `shrink` option will be ignored.",
478
+
"default": null,
478
479
"anyOf": [
479
480
{
480
481
"$ref": "#/definitions/WasmOptLevel"
@@ -497,6 +498,7 @@
497
498
"pullable": {
498
499
"title": "Pullable",
499
500
"description": "Defines required properties so that this canister is ready for `dfx deps pull` by other projects.",
501
+
"default": null,
500
502
"anyOf": [
501
503
{
502
504
"$ref": "#/definitions/Pullable"
@@ -509,6 +511,7 @@
509
511
"remote": {
510
512
"title": "Remote Configuration",
511
513
"description": "Used to mark the canister as 'remote' on certain networks.",
"description": "Defines the tech stack used to build this canister.",
543
+
"default": null,
540
544
"anyOf": [
541
545
{
542
546
"$ref": "#/definitions/TechStack"
@@ -668,6 +672,7 @@
668
672
"nodes": {
669
673
"title": "Available Nodes",
670
674
"description": "Addresses of nodes to connect to (in case discovery from seeds is not possible/sufficient).",
675
+
"default": null,
671
676
"type": [
672
677
"array",
673
678
"null"
@@ -947,6 +952,7 @@
947
952
"compute_allocation": {
948
953
"title": "Compute Allocation",
949
954
"description": "Must be a number between 0 and 100, inclusively. It indicates how much compute power should be guaranteed to this canister, expressed as a percentage of the maximum compute power that a single canister can allocate.",
955
+
"default": null,
950
956
"anyOf": [
951
957
{
952
958
"$ref": "#/definitions/PossiblyStr_for_uint64"
@@ -959,6 +965,7 @@
959
965
"freezing_threshold": {
960
966
"title": "Freezing Threshold",
961
967
"description": "Freezing threshould of the canister, measured in seconds. Valid inputs are numbers (seconds) or strings parsable by humantime (e.g. \"15days 2min 2s\").",
968
+
"default": null,
962
969
"type": [
963
970
"string",
964
971
"null"
@@ -967,6 +974,7 @@
967
974
"log_visibility": {
968
975
"title": "Log Visibility",
969
976
"description": "Specifies who is allowed to read the canister's logs.\n\nCan be \"public\", \"controllers\" or \"allowed_viewers\" with a list of principals.",
977
+
"default": null,
970
978
"anyOf": [
971
979
{
972
980
"$ref": "#/definitions/CanisterLogVisibility"
@@ -979,6 +987,7 @@
979
987
"memory_allocation": {
980
988
"title": "Memory Allocation",
981
989
"description": "Maximum memory (in bytes) this canister is allowed to occupy. Can be specified as an integer, or as an SI unit string (e.g. \"4KB\", \"2 MiB\")",
990
+
"default": null,
982
991
"anyOf": [
983
992
{
984
993
"$ref": "#/definitions/Byte"
@@ -991,6 +1000,7 @@
991
1000
"reserved_cycles_limit": {
992
1001
"title": "Reserved Cycles Limit",
993
1002
"description": "Specifies the upper limit of the canister's reserved cycles balance.\n\nReserved cycles are cycles that the system sets aside for future use by the canister. If a subnet's storage exceeds 450 GiB, then every time a canister allocates new storage bytes, the system sets aside some amount of cycles from the main balance of the canister. These reserved cycles will be used to cover future payments for the newly allocated bytes. The reserved cycles are not transferable and the amount of reserved cycles depends on how full the subnet is.\n\nA setting of 0 means that the canister will trap if it tries to allocate new storage while the subnet's memory usage exceeds 450 GiB.",
1003
+
"default": null,
994
1004
"type": [
995
1005
"integer",
996
1006
"null"
@@ -1001,6 +1011,7 @@
1001
1011
"wasm_memory_limit": {
1002
1012
"title": "Wasm Memory Limit",
1003
1013
"description": "Specifies a soft limit (in bytes) on the Wasm memory usage of the canister.\n\nUpdate calls, timers, heartbeats, installs, and post-upgrades fail if the Wasm memory usage exceeds this limit. The main purpose of this setting is to protect against the case when the canister reaches the hard 4GiB limit.\n\nMust be a number of bytes between 0 and 2^48 (i.e. 256 TiB), inclusive. Can be specified as an integer, or as an SI unit string (e.g. \"4KB\", \"2 MiB\")",
* Precondition: Make sure `dfx deploy --playground` works with a project created by `dfx new`. This makes sure that the asset canister wasm is properly allowlisted in the playground backend.
121
+
117
122
### Update the GitHub release
118
123
119
124
- Unset the "Pre-release" flag
120
125
- Set the "Latest" flag
121
126
122
127
### Merge PRs
123
128
124
-
Merge all 4 PRs created in the previous stage:
129
+
Merge all 3 PRs created in the previous stage that have not been merged yet:
0 commit comments