diff --git a/apps/versions.json b/apps/versions.json index 529ade83d..b0dbe6825 100644 --- a/apps/versions.json +++ b/apps/versions.json @@ -1,6 +1,6 @@ { - "host_api": 42, - "oldest_host_api": 41, + "host_api": 43, + "oldest_host_api": 43, "package_format": "zx", "module_api": 2, "apps": { @@ -9,7 +9,7 @@ "version": "2.1.64", "sequence": 61, "bundled": true, - "host_api": 42, + "host_api": 43, "release": "2.1.63" }, "habits": { @@ -17,8 +17,8 @@ "version": "1.3.17", "sequence": 40, "bundled": true, - "host_api": 42, - "oldest_host_api": 41, + "host_api": 43, + "oldest_host_api": 43, "release": "2.1.63" }, "practices": { @@ -26,8 +26,8 @@ "version": "1.6.11", "sequence": 40, "bundled": true, - "host_api": 41, - "oldest_host_api": 41, + "host_api": 43, + "oldest_host_api": 43, "release": "2.1.63" }, "lists": { @@ -35,7 +35,7 @@ "version": "1.1.30", "sequence": 38, "bundled": true, - "host_api": 41, + "host_api": 43, "release": "2.1.63" }, "diary": { @@ -43,7 +43,7 @@ "version": "1.3.27", "sequence": 44, "bundled": true, - "host_api": 41, + "host_api": 43, "release": "2.1.63" }, "lumi": { @@ -51,7 +51,7 @@ "version": "1.5.29", "sequence": 47, "bundled": true, - "host_api": 42, + "host_api": 43, "release": "2.1.63" }, "leaderboard": { @@ -59,9 +59,9 @@ "version": "1.0.31", "sequence": 32, "bundled": true, - "host_api": 41, + "host_api": 43, "release": "2.1.63", - "oldest_host_api": 41 + "oldest_host_api": 43 } }, "node_apps": { @@ -70,14 +70,14 @@ "title": "Library", "version": "1.0.5", "sequence": 6, - "host_api": 41 + "host_api": 43 }, "radio": { "id": "inbe.radio", "title": "Radio", "version": "1.0.4", "sequence": 5, - "host_api": 41 + "host_api": 43 } } } diff --git a/docs/apps.md b/docs/apps.md index 52a6af00b..7344209e3 100644 --- a/docs/apps.md +++ b/docs/apps.md @@ -529,9 +529,9 @@ declares the oldest host interface it needs (`host_api` in its ledger entry), and the host runs packages from `oldest_host_api` to its own `host_api`. A host loads only programs in its own Ziran program format, so a toolchain whose format changed is a new interface too: `oldest_host_api` and every package's -`host_api` rise above the last released host. Host 41 (2.1.61) is the -first with format 59; released apps up to 2.1.60 (host 40) cannot load -packages built since, and are not offered them. +`host_api` rise above the last released host. Host 43 is the first with +format 62; released apps up to 2.1.62 (host 42) cannot load packages built +since, and are not offered them. A format bump publishes in this order, because a host only finds what the node already serves for its interface and `make package-compat-test` needs diff --git a/src/apps/host_api.zi b/src/apps/host_api.zi index 2d1a93903..b1e63c8ca 100644 --- a/src/apps/host_api.zi +++ b/src/apps/host_api.zi @@ -1,5 +1,5 @@ // Generated from apps/versions.json. This host runs packages built for host // interfaces from the oldest to the current one; module interfaces must match. -PackageHostAPI :: 42 -PackageHostAPIOldest :: 41 +PackageHostAPI :: 43 +PackageHostAPIOldest :: 43 PackageModuleAPI :: 2 diff --git a/src/apps/versions.zi b/src/apps/versions.zi index 23a9a8537..1ebb7dfaf 100644 --- a/src/apps/versions.zi +++ b/src/apps/versions.zi @@ -20,8 +20,8 @@ PackageBundledSequence :: (index: s32) -> s32 { // them; an older one gives way to the bundled copy. PackageHostAPIOldestFor :: (index: s32) -> s32 { if index < 0 || index >= 7 { - return 41 + return 43 } - oldest: [7]s32 = .[41, 41, 41, 41, 41, 41, 41] + oldest: [7]s32 = .[43, 43, 43, 43, 43, 43, 43] return oldest[index] } diff --git a/tests/node_app_snapshot_test.py b/tests/node_app_snapshot_test.py index ebce550d0..38506a845 100644 --- a/tests/node_app_snapshot_test.py +++ b/tests/node_app_snapshot_test.py @@ -104,7 +104,7 @@ Main :: () -> s32 { arcade_art = json.loads(arcade_assets['assets/apps/catalog.json'])['art']['sha256'] + '.zx' (fixture / 'embedded-releases.json').write_bytes(root_assets['assets/apps/bundled/releases.json']) release = dict(app_id='inbe.fixture', sequence=2, version='2.0.0', runtime='kryon-app-v1', - host_api=41, module_api=2, data_schema=0, key_id='other', dependencies=[], + host_api=43, module_api=2, data_schema=0, key_id='other', dependencies=[], artifacts=[dict(variant='module', sha256=hashlib.sha256(packed_root.read_bytes()).hexdigest(), size=packed_root.stat().st_size)]) release['signature'] = key.sign(signing_message(release)).hex()