diff --git a/.changeset/fuzzy-javy-runner.md b/.changeset/fuzzy-javy-runner.md new file mode 100644 index 00000000000..ae382b3a989 --- /dev/null +++ b/.changeset/fuzzy-javy-runner.md @@ -0,0 +1,5 @@ +--- +'@shopify/app': patch +--- + +Update Shopify Functions Javy, Javy plugin, and function-runner binaries. diff --git a/packages/app/src/cli/services/function/binaries.test.ts b/packages/app/src/cli/services/function/binaries.test.ts index d6d4ffd0eac..9cbdc96ac8c 100644 --- a/packages/app/src/cli/services/function/binaries.test.ts +++ b/packages/app/src/cli/services/function/binaries.test.ts @@ -229,9 +229,9 @@ describe('javy', () => { describe('javy-plugin', () => { test('properties are set correctly', () => { - expect(javyPlugin.name).toBe('shopify_functions_javy_v3') + expect(javyPlugin.name).toBe('shopify_functions_javy_v4') expect(javyPlugin.version).match(/^\d+$/) - expect(javyPlugin.path).toMatch(/(\/|\\)shopify_functions_javy_v3.wasm$/) + expect(javyPlugin.path).toMatch(/(\/|\\)shopify_functions_javy_v4.wasm$/) }) test('downloadUrl returns the correct URL', () => { diff --git a/packages/app/src/cli/services/function/binaries.ts b/packages/app/src/cli/services/function/binaries.ts index 6fa944a35a3..e5906d4610a 100644 --- a/packages/app/src/cli/services/function/binaries.ts +++ b/packages/app/src/cli/services/function/binaries.ts @@ -11,13 +11,13 @@ import fs from 'node:fs' import * as gzip from 'node:zlib' import {fileURLToPath} from 'node:url' -export const PREFERRED_FUNCTION_RUNNER_VERSION = '9.1.2' +export const PREFERRED_FUNCTION_RUNNER_VERSION = '9.2.0' // Javy dependencies. -export const PREFERRED_JAVY_VERSION = '7.0.1' +export const PREFERRED_JAVY_VERSION = '9.0.0' // The Javy plugin version should match the plugin version used in the // function-runner version specified above. -export const PREFERRED_JAVY_PLUGIN_VERSION = '3' +export const PREFERRED_JAVY_PLUGIN_VERSION = '4' const BINARYEN_VERSION = '123.0.0'