diff --git a/.github/workflows/ci-go-test.yml b/.github/workflows/ci-go-test.yml index a47143897..b200f1b28 100644 --- a/.github/workflows/ci-go-test.yml +++ b/.github/workflows/ci-go-test.yml @@ -52,7 +52,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.24.4 + go-version: 1.24.5 cache-dependency-path: "${{ matrix.dir }}/go.sum" - name: Run Unit Tests run: | diff --git a/.github/workflows/ci-runtime-build.yml b/.github/workflows/ci-runtime-build.yml index cf4f77a96..29e9e8ee5 100644 --- a/.github/workflows/ci-runtime-build.yml +++ b/.github/workflows/ci-runtime-build.yml @@ -33,7 +33,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.24.4 + go-version: 1.24.5 cache-dependency-path: runtime/go.sum - name: Build Runtime working-directory: runtime diff --git a/.github/workflows/ci-runtime-integration-tests.yml b/.github/workflows/ci-runtime-integration-tests.yml index 4dbb2b40e..5654348bd 100644 --- a/.github/workflows/ci-runtime-integration-tests.yml +++ b/.github/workflows/ci-runtime-integration-tests.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.24.4 + go-version: 1.24.5 cache-dependency-path: runtime/go.sum - name: Setup Node uses: actions/setup-node@v4 diff --git a/.github/workflows/ci-sdk-go-build.yml b/.github/workflows/ci-sdk-go-build.yml index 0c8164dff..05959704e 100644 --- a/.github/workflows/ci-sdk-go-build.yml +++ b/.github/workflows/ci-sdk-go-build.yml @@ -58,7 +58,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.24.4 + go-version: 1.24.5 cache-dependency-path: ./sdk/go/go.sum - name: Build Program run: go build . @@ -79,11 +79,11 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.24.4 + go-version: 1.24.5 cache-dependency-path: "${{ matrix.dir }}/go.sum" - name: Setup TinyGo uses: acifani/setup-tinygo@v2 with: - tinygo-version: 0.36.0 + tinygo-version: 0.38.0 - name: Build Program run: ./build.sh diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6ba983d5c..e5f72a32f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -67,7 +67,7 @@ jobs: if: matrix.language == 'go' uses: actions/setup-go@v5 with: - go-version: 1.24.4 + go-version: 1.24.5 cache-dependency-path: runtime/go.sum # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/release-runtime.yaml b/.github/workflows/release-runtime.yaml index 0ed0771c0..a1c2b7fc1 100644 --- a/.github/workflows/release-runtime.yaml +++ b/.github/workflows/release-runtime.yaml @@ -32,7 +32,7 @@ jobs: run: npm run build - uses: actions/setup-go@v5 with: - go-version: 1.24.4 + go-version: 1.24.5 cache-dependency-path: runtime/go.sum - uses: goreleaser/goreleaser-action@v6 with: diff --git a/.github/workflows/release-sdk-go.yaml b/.github/workflows/release-sdk-go.yaml index 7b6285a3f..4ba42a77e 100644 --- a/.github/workflows/release-sdk-go.yaml +++ b/.github/workflows/release-sdk-go.yaml @@ -26,7 +26,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.24.4 + go-version: 1.24.5 cache-dependency-path: ./sdk/go/go.sum - name: Prepare Release working-directory: sdk/go diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 6ec9fbf3c..328aa55e8 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -14,25 +14,25 @@ plugins: # Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) runtimes: enabled: - - go@1.24.0 - - node@22.16.0 - - python@3.10.8 + - go@1.24.5 + - node@22.17.0 + - python@3.13.3 # This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) lint: enabled: - taplo@0.9.3 - - trivy@0.63.0 - - renovate@41.10.0 + - trivy@0.64.1 + - renovate@41.27.0 - actionlint@1.7.7 - - checkov@3.2.446 + - checkov@3.2.447 - git-diff-check - gofmt@1.20.4 - - golangci-lint2@2.1.6 + - golangci-lint2@2.2.1 - hadolint@2.12.1-beta - markdownlint@0.45.0 - osv-scanner@2.0.3 - - prettier@3.6.1: + - prettier@3.6.2: packages: - assemblyscript-prettier@3.0.1 - shellcheck@0.10.0 diff --git a/go.work b/go.work index fc50ec44a..05490c6ea 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.24.4 +go 1.24.5 use ( ./lib/manifest @@ -18,10 +18,10 @@ use ( ./sdk/go/examples/mysql ./sdk/go/examples/neo4j ./sdk/go/examples/postgresql + ./sdk/go/examples/secrets ./sdk/go/examples/simple ./sdk/go/examples/textgeneration ./sdk/go/examples/time ./sdk/go/examples/vectors - ./sdk/go/examples/secrets ./sdk/go/templates/default ) diff --git a/lib/manifest/go.mod b/lib/manifest/go.mod index 520af203c..5c4447c5a 100644 --- a/lib/manifest/go.mod +++ b/lib/manifest/go.mod @@ -2,7 +2,7 @@ module github.com/hypermodeinc/modus/lib/manifest go 1.23.1 -toolchain go1.24.4 +toolchain go1.23.11 require ( github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 @@ -13,5 +13,5 @@ require ( require ( github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.1 // indirect - golang.org/x/text v0.24.0 // indirect + golang.org/x/text v0.26.0 // indirect ) diff --git a/lib/manifest/go.sum b/lib/manifest/go.sum index 3f9a83336..c23fc7a33 100644 --- a/lib/manifest/go.sum +++ b/lib/manifest/go.sum @@ -11,5 +11,5 @@ github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JT github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4= github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= -golang.org/x/text v0.24.0 h1:dd5Bzh4yt5KYA8f9CJHCP4FB4D51c2c6JvN37xJJkJ0= -golang.org/x/text v0.24.0/go.mod h1:L8rBsPeo2pSS+xqN0d5u2ikmjtmoJbDBT1b7nHvFCdU= +golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M= +golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA= diff --git a/lib/metadata/go.mod b/lib/metadata/go.mod index 08fb8dd07..f14d699de 100644 --- a/lib/metadata/go.mod +++ b/lib/metadata/go.mod @@ -2,7 +2,7 @@ module github.com/hypermodeinc/modus/lib/metadata go 1.23.1 -toolchain go1.24.4 +toolchain go1.23.11 require ( github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0 diff --git a/lib/wasmextractor/go.mod b/lib/wasmextractor/go.mod index 1e9918da7..d71555a59 100644 --- a/lib/wasmextractor/go.mod +++ b/lib/wasmextractor/go.mod @@ -2,4 +2,4 @@ module github.com/hypermodeinc/modus/lib/wasmextractor go 1.23.1 -toolchain go1.24.4 +toolchain go1.23.11 diff --git a/runtime/go.mod b/runtime/go.mod index 6ff588d64..16d990978 100644 --- a/runtime/go.mod +++ b/runtime/go.mod @@ -1,6 +1,6 @@ module github.com/hypermodeinc/modus/runtime -go 1.24.4 +go 1.24.5 // trunk-ignore-all(osv-scanner/GHSA-9w9f-6mg8-jp7w): not affected by bleve vulnerability diff --git a/runtime/languages/golang/testdata/go.mod b/runtime/languages/golang/testdata/go.mod index ff0071612..5df64454b 100644 --- a/runtime/languages/golang/testdata/go.mod +++ b/runtime/languages/golang/testdata/go.mod @@ -2,7 +2,7 @@ module testdata go 1.23.1 -toolchain go1.24.4 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/agents/go.mod b/sdk/go/examples/agents/go.mod index b8baa576b..86fef96ae 100644 --- a/sdk/go/examples/agents/go.mod +++ b/sdk/go/examples/agents/go.mod @@ -2,7 +2,7 @@ module agents-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/anthropic-functions/go.mod b/sdk/go/examples/anthropic-functions/go.mod index f59c6acdb..a83ff2787 100644 --- a/sdk/go/examples/anthropic-functions/go.mod +++ b/sdk/go/examples/anthropic-functions/go.mod @@ -2,7 +2,7 @@ module anthropic-functions-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/auth/go.mod b/sdk/go/examples/auth/go.mod index 0128e7565..06b89114b 100644 --- a/sdk/go/examples/auth/go.mod +++ b/sdk/go/examples/auth/go.mod @@ -2,7 +2,7 @@ module auth-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/classification/go.mod b/sdk/go/examples/classification/go.mod index 71909c366..ebe1890b0 100644 --- a/sdk/go/examples/classification/go.mod +++ b/sdk/go/examples/classification/go.mod @@ -2,7 +2,7 @@ module classification-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/dgraph/go.mod b/sdk/go/examples/dgraph/go.mod index db6536ea1..659815b87 100644 --- a/sdk/go/examples/dgraph/go.mod +++ b/sdk/go/examples/dgraph/go.mod @@ -2,7 +2,7 @@ module dgraph-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/embedding/go.mod b/sdk/go/examples/embedding/go.mod index 8cc440148..6a9c800d9 100644 --- a/sdk/go/examples/embedding/go.mod +++ b/sdk/go/examples/embedding/go.mod @@ -2,7 +2,7 @@ module embedding-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/graphql/go.mod b/sdk/go/examples/graphql/go.mod index 1b82c1cb9..f2e566290 100644 --- a/sdk/go/examples/graphql/go.mod +++ b/sdk/go/examples/graphql/go.mod @@ -2,7 +2,7 @@ module graphql-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/http/go.mod b/sdk/go/examples/http/go.mod index 9d4d14d14..7058f5e9a 100644 --- a/sdk/go/examples/http/go.mod +++ b/sdk/go/examples/http/go.mod @@ -2,7 +2,7 @@ module http-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/mysql/go.mod b/sdk/go/examples/mysql/go.mod index 3c25ae9e7..7f1d9532b 100644 --- a/sdk/go/examples/mysql/go.mod +++ b/sdk/go/examples/mysql/go.mod @@ -2,7 +2,7 @@ module mysql-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/neo4j/go.mod b/sdk/go/examples/neo4j/go.mod index d94fa4f80..cde916dd8 100644 --- a/sdk/go/examples/neo4j/go.mod +++ b/sdk/go/examples/neo4j/go.mod @@ -2,7 +2,7 @@ module neo4j-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/postgresql/go.mod b/sdk/go/examples/postgresql/go.mod index a0abad6e9..a35f5cf7e 100644 --- a/sdk/go/examples/postgresql/go.mod +++ b/sdk/go/examples/postgresql/go.mod @@ -2,7 +2,7 @@ module postgresql-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/secrets/go.mod b/sdk/go/examples/secrets/go.mod index 43c75bb33..78ca7fd36 100644 --- a/sdk/go/examples/secrets/go.mod +++ b/sdk/go/examples/secrets/go.mod @@ -2,7 +2,7 @@ module secrets-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/simple/go.mod b/sdk/go/examples/simple/go.mod index a2db0b3c5..4799d0a0f 100644 --- a/sdk/go/examples/simple/go.mod +++ b/sdk/go/examples/simple/go.mod @@ -2,7 +2,7 @@ module simple-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/textgeneration/go.mod b/sdk/go/examples/textgeneration/go.mod index 3f1829268..51ba1fc26 100644 --- a/sdk/go/examples/textgeneration/go.mod +++ b/sdk/go/examples/textgeneration/go.mod @@ -2,7 +2,7 @@ module text-generation-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require ( github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/time/go.mod b/sdk/go/examples/time/go.mod index 650789c9a..fe88733e3 100644 --- a/sdk/go/examples/time/go.mod +++ b/sdk/go/examples/time/go.mod @@ -2,7 +2,7 @@ module time-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/examples/vectors/go.mod b/sdk/go/examples/vectors/go.mod index a93e71888..130b10395 100644 --- a/sdk/go/examples/vectors/go.mod +++ b/sdk/go/examples/vectors/go.mod @@ -2,7 +2,7 @@ module vectors-example go 1.23.1 -toolchain go1.23.10 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0 diff --git a/sdk/go/go.mod b/sdk/go/go.mod index 1801b3753..3c2747994 100644 --- a/sdk/go/go.mod +++ b/sdk/go/go.mod @@ -2,7 +2,7 @@ module github.com/hypermodeinc/modus/sdk/go go 1.23.1 -toolchain go1.24.4 +toolchain go1.23.11 require ( github.com/hypermodeinc/modus/lib/manifest v0.17.2 @@ -24,11 +24,11 @@ require ( github.com/google/go-cmp v0.7.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect + github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect github.com/tidwall/jsonc v0.3.2 // indirect github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.1 // indirect golang.org/x/sync v0.15.0 // indirect golang.org/x/sys v0.33.0 // indirect - golang.org/x/text v0.24.0 // indirect + golang.org/x/text v0.26.0 // indirect ) diff --git a/sdk/go/go.sum b/sdk/go/go.sum index dc012617b..8827107e4 100644 --- a/sdk/go/go.sum +++ b/sdk/go/go.sum @@ -17,8 +17,7 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/rs/xid v1.6.0 h1:fV591PaemRlL6JfRxGDEPl69wICngIQ3shQtzfy2gxU= github.com/rs/xid v1.6.0/go.mod h1:7XoLgs4eV+QndskICGsho+ADou8ySMSjJKDIan90Nz0= -github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 h1:PKK9DyHxif4LZo+uQSgXNqs0jj5+xZwwfKHgph2lxBw= -github.com/santhosh-tekuri/jsonschema/v6 v6.0.1/go.mod h1:JXeL+ps8p7/KNMjDQk3TCwPpBy0wYklyWTfbkIzdIFU= +github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 h1:KRzFb2m7YtdldCEkzs6KqmJw4nqEVZGK7IN2kJkjTuQ= github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= @@ -41,7 +40,6 @@ golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw= golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= -golang.org/x/text v0.24.0 h1:dd5Bzh4yt5KYA8f9CJHCP4FB4D51c2c6JvN37xJJkJ0= -golang.org/x/text v0.24.0/go.mod h1:L8rBsPeo2pSS+xqN0d5u2ikmjtmoJbDBT1b7nHvFCdU= +golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M= golang.org/x/tools v0.34.0 h1:qIpSLOxeCYGg9TrcJokLBG4KFA6d795g0xkBkiESGlo= golang.org/x/tools v0.34.0/go.mod h1:pAP9OwEaY1CAW3HOmg3hLZC5Z0CCmzjAF2UQMSqNARg= diff --git a/sdk/go/templates/default/go.mod b/sdk/go/templates/default/go.mod index bde6a7134..b9b12c5a3 100644 --- a/sdk/go/templates/default/go.mod +++ b/sdk/go/templates/default/go.mod @@ -2,7 +2,7 @@ module my-modus-app go 1.23.1 -toolchain go1.24.4 +toolchain go1.23.11 require github.com/hypermodeinc/modus/sdk/go v0.18.0