diff --git a/lerna.json b/lerna.json index c46d1c496d..2ef1df9a1f 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.4.40", + "version": "2.4.41", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 18c8c9aa65..5a1fa4c83c 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.4.40", + "version": "2.4.41", "description": "Budibase backend core libraries used in server and worker", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -24,7 +24,7 @@ "dependencies": { "@budibase/nano": "10.1.2", "@budibase/pouchdb-replication-stream": "1.2.10", - "@budibase/types": "^2.4.40", + "@budibase/types": "^2.4.41", "@shopify/jest-koa-mocks": "5.0.1", "@techpass/passport-openidconnect": "0.3.2", "aws-cloudfront-sign": "2.2.0", diff --git a/packages/bbui/package.json b/packages/bbui/package.json index 3e2068c811..71ab358bbf 100644 --- a/packages/bbui/package.json +++ b/packages/bbui/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/bbui", "description": "A UI solution used in the different Budibase projects.", - "version": "2.4.40", + "version": "2.4.41", "license": "MPL-2.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", @@ -38,8 +38,8 @@ ], "dependencies": { "@adobe/spectrum-css-workflow-icons": "1.2.1", - "@budibase/shared-core": "^2.4.40", - "@budibase/string-templates": "^2.4.40", + "@budibase/shared-core": "^2.4.41", + "@budibase/string-templates": "^2.4.41", "@spectrum-css/accordion": "3.0.24", "@spectrum-css/actionbutton": "1.0.1", "@spectrum-css/actiongroup": "1.0.1", diff --git a/packages/builder/package.json b/packages/builder/package.json index b30dae3c48..74420ec679 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.4.40", + "version": "2.4.41", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "^2.4.40", - "@budibase/client": "^2.4.40", - "@budibase/frontend-core": "^2.4.40", - "@budibase/shared-core": "^2.4.40", - "@budibase/string-templates": "^2.4.40", + "@budibase/bbui": "^2.4.41", + "@budibase/client": "^2.4.41", + "@budibase/frontend-core": "^2.4.41", + "@budibase/shared-core": "^2.4.41", + "@budibase/string-templates": "^2.4.41", "@fortawesome/fontawesome-svg-core": "^6.2.1", "@fortawesome/free-brands-svg-icons": "^6.2.1", "@fortawesome/free-solid-svg-icons": "^6.2.1", diff --git a/packages/cli/package.json b/packages/cli/package.json index 0c9d74b53d..0bdccdcf89 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.4.40", + "version": "2.4.41", "description": "Budibase CLI, for developers, self hosting and migrations.", "main": "dist/index.js", "bin": { @@ -29,9 +29,9 @@ "outputPath": "build" }, "dependencies": { - "@budibase/backend-core": "^2.4.40", - "@budibase/string-templates": "^2.4.40", - "@budibase/types": "^2.4.40", + "@budibase/backend-core": "^2.4.41", + "@budibase/string-templates": "^2.4.41", + "@budibase/types": "^2.4.41", "axios": "0.21.2", "chalk": "4.1.0", "cli-progress": "3.11.2", diff --git a/packages/client/package.json b/packages/client/package.json index f5f13ef4f1..a3b82b0931 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.4.40", + "version": "2.4.41", "license": "MPL-2.0", "module": "dist/budibase-client.js", "main": "dist/budibase-client.js", @@ -19,11 +19,11 @@ "dev:builder": "rollup -cw" }, "dependencies": { - "@budibase/bbui": "^2.4.40", - "@budibase/frontend-core": "^2.4.40", - "@budibase/shared-core": "^2.4.40", - "@budibase/string-templates": "^2.4.40", - "@budibase/types": "^2.4.40", + "@budibase/bbui": "^2.4.41", + "@budibase/frontend-core": "^2.4.41", + "@budibase/shared-core": "^2.4.41", + "@budibase/string-templates": "^2.4.41", + "@budibase/types": "^2.4.41", "@spectrum-css/button": "^3.0.3", "@spectrum-css/card": "^3.0.3", "@spectrum-css/divider": "^1.0.3", diff --git a/packages/frontend-core/package.json b/packages/frontend-core/package.json index 6f5783c239..e4ce0bbd0c 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,13 +1,13 @@ { "name": "@budibase/frontend-core", - "version": "2.4.40", + "version": "2.4.41", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^2.4.40", - "@budibase/shared-core": "^2.4.40", + "@budibase/bbui": "^2.4.41", + "@budibase/shared-core": "^2.4.41", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 3d922974ac..64be4c725c 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.4.40", + "version": "2.4.41", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index 050d042bd6..1dd9a4e295 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.4.40", + "version": "2.4.41", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { @@ -44,12 +44,12 @@ "license": "GPL-3.0", "dependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@budibase/backend-core": "^2.4.40", - "@budibase/client": "^2.4.40", + "@budibase/backend-core": "^2.4.41", + "@budibase/client": "^2.4.41", "@budibase/pro": "2.4.40", - "@budibase/shared-core": "^2.4.40", - "@budibase/string-templates": "^2.4.40", - "@budibase/types": "^2.4.40", + "@budibase/shared-core": "^2.4.41", + "@budibase/string-templates": "^2.4.41", + "@budibase/types": "^2.4.41", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/server/src/api/controllers/row/index.ts b/packages/server/src/api/controllers/row/index.ts index 348d441c78..349c4e72e7 100644 --- a/packages/server/src/api/controllers/row/index.ts +++ b/packages/server/src/api/controllers/row/index.ts @@ -133,10 +133,15 @@ export async function search(ctx: any) { export async function validate(ctx: Ctx) { const tableId = getTableId(ctx) - ctx.body = await utils.validate({ - row: ctx.request.body, - tableId, - }) + // external tables are hard to validate currently + if (isExternalTable(tableId)) { + ctx.body = { valid: true } + } else { + ctx.body = await utils.validate({ + row: ctx.request.body, + tableId, + }) + } } export async function fetchEnrichedRow(ctx: any) { diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index e8df9745a3..56ffacfa2f 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/shared-core", - "version": "2.4.40", + "version": "2.4.41", "description": "Shared data utils", "main": "dist/cjs/src/index.js", "types": "dist/mjs/src/index.d.ts", @@ -20,7 +20,7 @@ "dev:builder": "yarn prebuild && concurrently \"tsc -p tsconfig.build.json --watch\" \"tsc -p tsconfig-cjs.build.json --watch\"" }, "dependencies": { - "@budibase/types": "^2.4.40" + "@budibase/types": "^2.4.41" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index d84dc3d13e..06a52e8be6 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.4.40", + "version": "2.4.41", "description": "Handlebars wrapper for Budibase templating.", "main": "src/index.cjs", "module": "dist/bundle.mjs", diff --git a/packages/types/package.json b/packages/types/package.json index ebcb090817..bba3281944 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.4.40", + "version": "2.4.41", "description": "Budibase types", "main": "dist/cjs/index.js", "types": "dist/mjs/index.d.ts", diff --git a/packages/worker/package.json b/packages/worker/package.json index 455dee2ace..7759015679 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.4.40", + "version": "2.4.41", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -36,10 +36,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^2.4.40", + "@budibase/backend-core": "^2.4.41", "@budibase/pro": "2.4.40", - "@budibase/string-templates": "^2.4.40", - "@budibase/types": "^2.4.40", + "@budibase/string-templates": "^2.4.41", + "@budibase/types": "^2.4.41", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2",