From 9311680f4c8b315b5d13696f2edc3ca6f4e19edc Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 7 Feb 2023 12:11:25 +0000 Subject: [PATCH 01/32] Hack around chrome autofill to handle filling on page load and look half-decent --- packages/bbui/src/FancyForm/FancyInput.svelte | 36 +++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/packages/bbui/src/FancyForm/FancyInput.svelte b/packages/bbui/src/FancyForm/FancyInput.svelte index 8735e2c30c..0c58b9b045 100644 --- a/packages/bbui/src/FancyForm/FancyInput.svelte +++ b/packages/bbui/src/FancyForm/FancyInput.svelte @@ -1,5 +1,5 @@ @@ -39,6 +63,7 @@ on:focus={() => (focused = true)} on:blur={() => (focused = false)} class:placeholder + bind:this={ref} /> {#if suffix && !placeholder}
{suffix}
@@ -74,4 +99,11 @@ line-height: 17px; font-family: var(--font-sans); } + input:-webkit-autofill { + border-radius: 2px; + -webkit-box-shadow: 0 0 0 100px var(--spectrum-global-color-gray-300) inset; + -webkit-text-fill-color: var(--spectrum-global-color-gray-900); + transition: -webkit-box-shadow 130ms 200ms, background-color 0s 86400s; + padding: 3px 8px 4px 8px; + } From a7ad1cb331d4dca74058a81783978e256426fe49 Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Tue, 7 Feb 2023 13:17:50 +0000 Subject: [PATCH 02/32] v2.3.2 --- lerna.json | 2 +- packages/backend-core/package.json | 4 ++-- packages/bbui/package.json | 4 ++-- packages/builder/package.json | 10 +++++----- packages/cli/package.json | 8 ++++---- packages/client/package.json | 8 ++++---- packages/frontend-core/package.json | 4 ++-- packages/sdk/package.json | 2 +- packages/server/package.json | 10 +++++----- packages/string-templates/package.json | 2 +- packages/types/package.json | 2 +- packages/worker/package.json | 8 ++++---- 12 files changed, 32 insertions(+), 32 deletions(-) diff --git a/lerna.json b/lerna.json index 3fe22da08c..71cec27fdc 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.3.1", + "version": "2.3.2", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index cff9c73b7b..cfe3d0d1e7 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.3.1", + "version": "2.3.2", "description": "Budibase backend core libraries used in server and worker", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -23,7 +23,7 @@ }, "dependencies": { "@budibase/nano": "10.1.1", - "@budibase/types": "^2.3.1", + "@budibase/types": "^2.3.2", "@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 237b55644f..9ab00e51db 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.3.1", + "version": "2.3.2", "license": "MPL-2.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", @@ -38,7 +38,7 @@ ], "dependencies": { "@adobe/spectrum-css-workflow-icons": "1.2.1", - "@budibase/string-templates": "^2.3.1", + "@budibase/string-templates": "^2.3.2", "@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 cd12d0aa0d..4471facbaa 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.3.1", + "version": "2.3.2", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,10 +58,10 @@ } }, "dependencies": { - "@budibase/bbui": "^2.3.1", - "@budibase/client": "^2.3.1", - "@budibase/frontend-core": "^2.3.1", - "@budibase/string-templates": "^2.3.1", + "@budibase/bbui": "^2.3.2", + "@budibase/client": "^2.3.2", + "@budibase/frontend-core": "^2.3.2", + "@budibase/string-templates": "^2.3.2", "@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 3b92bb81d9..7dd810bc54 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.3.1", + "version": "2.3.2", "description": "Budibase CLI, for developers, self hosting and migrations.", "main": "src/index.js", "bin": { @@ -26,9 +26,9 @@ "outputPath": "build" }, "dependencies": { - "@budibase/backend-core": "^2.3.1", - "@budibase/string-templates": "^2.3.1", - "@budibase/types": "^2.3.1", + "@budibase/backend-core": "^2.3.2", + "@budibase/string-templates": "^2.3.2", + "@budibase/types": "^2.3.2", "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 a72fe64ee6..51c6979d8e 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.3.1", + "version": "2.3.2", "license": "MPL-2.0", "module": "dist/budibase-client.js", "main": "dist/budibase-client.js", @@ -19,9 +19,9 @@ "dev:builder": "rollup -cw" }, "dependencies": { - "@budibase/bbui": "^2.3.1", - "@budibase/frontend-core": "^2.3.1", - "@budibase/string-templates": "^2.3.1", + "@budibase/bbui": "^2.3.2", + "@budibase/frontend-core": "^2.3.2", + "@budibase/string-templates": "^2.3.2", "@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 08203ec437..6a1b134212 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,12 +1,12 @@ { "name": "@budibase/frontend-core", - "version": "2.3.1", + "version": "2.3.2", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^2.3.1", + "@budibase/bbui": "^2.3.2", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 2f156edbd2..5a6dd6319c 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.3.1", + "version": "2.3.2", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index bd700549c7..3100ae4b4a 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.3.1", + "version": "2.3.2", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { @@ -43,11 +43,11 @@ "license": "GPL-3.0", "dependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@budibase/backend-core": "^2.3.1", - "@budibase/client": "^2.3.1", + "@budibase/backend-core": "^2.3.2", + "@budibase/client": "^2.3.2", "@budibase/pro": "2.3.1", - "@budibase/string-templates": "^2.3.1", - "@budibase/types": "^2.3.1", + "@budibase/string-templates": "^2.3.2", + "@budibase/types": "^2.3.2", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 41ed195273..b2e03bf2c0 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.3.1", + "version": "2.3.2", "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 12dd0da37b..17a34808c1 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.3.1", + "version": "2.3.2", "description": "Budibase types", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/worker/package.json b/packages/worker/package.json index 2f0071d018..0ad30c74c4 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.3.1", + "version": "2.3.2", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -36,10 +36,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^2.3.1", + "@budibase/backend-core": "^2.3.2", "@budibase/pro": "2.3.1", - "@budibase/string-templates": "^2.3.1", - "@budibase/types": "^2.3.1", + "@budibase/string-templates": "^2.3.2", + "@budibase/types": "^2.3.2", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 7b8b8ff492c407344826c586c37329e55cd9fd6d Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Tue, 7 Feb 2023 13:22:51 +0000 Subject: [PATCH 03/32] Update pro version to 2.3.2 --- packages/server/package.json | 2 +- packages/server/yarn.lock | 30 +++++++++++++++--------------- packages/worker/package.json | 2 +- packages/worker/yarn.lock | 30 +++++++++++++++--------------- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index 3100ae4b4a..e3024f8f34 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -45,7 +45,7 @@ "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "^2.3.2", "@budibase/client": "^2.3.2", - "@budibase/pro": "2.3.1", + "@budibase/pro": "2.3.2", "@budibase/string-templates": "^2.3.2", "@budibase/types": "^2.3.2", "@bull-board/api": "3.7.0", diff --git a/packages/server/yarn.lock b/packages/server/yarn.lock index f5adbc0f3a..2302c20c14 100644 --- a/packages/server/yarn.lock +++ b/packages/server/yarn.lock @@ -1273,13 +1273,13 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.1.tgz#9dc2effb3d62c4a2de5934a5ac712be1b402266a" - integrity sha512-IXwSPJ/6yTCJAocpgw2aZznb7T3YeYspL3DfriwCL67tHZRq3zkq/uYYCAs9uYQObBr7OMKPJPTFOuh2MJk12w== +"@budibase/backend-core@2.3.2": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.2.tgz#874b3977adc30153de1253eb2ebdd221f42265ed" + integrity sha512-1S+VDRx3d4dShY2GIMC+nXlxvH1vtT39HMpTNy4u01pnG4AolQgk4o3A9qG1H00gzsKPnprwIa1INX8Eu4QxEA== dependencies: "@budibase/nano" "10.1.1" - "@budibase/types" "^2.3.1" + "@budibase/types" "^2.3.2" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -1374,13 +1374,13 @@ qs "^6.11.0" tough-cookie "^4.1.2" -"@budibase/pro@2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.1.tgz#24d0bac89aee0270d92bab7bb7e2c987914ef902" - integrity sha512-vdpMAZbowrUEmdCxEvc7If0REK/9Q6KHPLJ6K99SYtS6STprYaAcO4Sa5GmmluHxuFnQjpYxF4R0CNS8C+C6xA== +"@budibase/pro@2.3.2": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.2.tgz#8f3cda4d3b264f222863530b0562d373b5b8b8e7" + integrity sha512-378ByUnujD1b/NjBrfl+mWmtSUv7JnQIj/spQwVCLsnnbB/Mr4sRVXzO3A3u5FPAqQFBN8MdbyGjPwWEUOTFLg== dependencies: - "@budibase/backend-core" "2.3.1" - "@budibase/types" "2.3.1" + "@budibase/backend-core" "2.3.2" + "@budibase/types" "2.3.2" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1406,10 +1406,10 @@ svelte-apexcharts "^1.0.2" svelte-flatpickr "^3.1.0" -"@budibase/types@2.3.1", "@budibase/types@^2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.1.tgz#5f8fb84f4273b920619a6308e956ca176ead4304" - integrity sha512-8+Qo7JPGnPv9FWx3AdOScWSElBsYcC7zZFFLeoqBy6y8a4UjtEEDIUZHpRf5gpcSUXuqbzAPbC+CpYJ6NVEvPw== +"@budibase/types@2.3.2", "@budibase/types@^2.3.2": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.2.tgz#878807c5f6a2b3bc6743773ddba56a48c427050f" + integrity sha512-2ORzFyk4lHDUH2XoktRKRAEH4M78xiE51QaCw0RcEwpUfE4IWhwngFCAiwsckCFVt7apiTgKWr8J6UGioG90Fw== "@bull-board/api@3.7.0": version "3.7.0" diff --git a/packages/worker/package.json b/packages/worker/package.json index 0ad30c74c4..85b853accd 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -37,7 +37,7 @@ "license": "GPL-3.0", "dependencies": { "@budibase/backend-core": "^2.3.2", - "@budibase/pro": "2.3.1", + "@budibase/pro": "2.3.2", "@budibase/string-templates": "^2.3.2", "@budibase/types": "^2.3.2", "@koa/router": "8.0.8", diff --git a/packages/worker/yarn.lock b/packages/worker/yarn.lock index 7599cd3e1b..08ae3420bc 100644 --- a/packages/worker/yarn.lock +++ b/packages/worker/yarn.lock @@ -470,13 +470,13 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.1.tgz#9dc2effb3d62c4a2de5934a5ac712be1b402266a" - integrity sha512-IXwSPJ/6yTCJAocpgw2aZznb7T3YeYspL3DfriwCL67tHZRq3zkq/uYYCAs9uYQObBr7OMKPJPTFOuh2MJk12w== +"@budibase/backend-core@2.3.2": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.2.tgz#874b3977adc30153de1253eb2ebdd221f42265ed" + integrity sha512-1S+VDRx3d4dShY2GIMC+nXlxvH1vtT39HMpTNy4u01pnG4AolQgk4o3A9qG1H00gzsKPnprwIa1INX8Eu4QxEA== dependencies: "@budibase/nano" "10.1.1" - "@budibase/types" "^2.3.1" + "@budibase/types" "^2.3.2" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -521,13 +521,13 @@ qs "^6.11.0" tough-cookie "^4.1.2" -"@budibase/pro@2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.1.tgz#24d0bac89aee0270d92bab7bb7e2c987914ef902" - integrity sha512-vdpMAZbowrUEmdCxEvc7If0REK/9Q6KHPLJ6K99SYtS6STprYaAcO4Sa5GmmluHxuFnQjpYxF4R0CNS8C+C6xA== +"@budibase/pro@2.3.2": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.2.tgz#8f3cda4d3b264f222863530b0562d373b5b8b8e7" + integrity sha512-378ByUnujD1b/NjBrfl+mWmtSUv7JnQIj/spQwVCLsnnbB/Mr4sRVXzO3A3u5FPAqQFBN8MdbyGjPwWEUOTFLg== dependencies: - "@budibase/backend-core" "2.3.1" - "@budibase/types" "2.3.1" + "@budibase/backend-core" "2.3.2" + "@budibase/types" "2.3.2" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -535,10 +535,10 @@ lru-cache "^7.14.1" node-fetch "^2.6.1" -"@budibase/types@2.3.1", "@budibase/types@^2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.1.tgz#5f8fb84f4273b920619a6308e956ca176ead4304" - integrity sha512-8+Qo7JPGnPv9FWx3AdOScWSElBsYcC7zZFFLeoqBy6y8a4UjtEEDIUZHpRf5gpcSUXuqbzAPbC+CpYJ6NVEvPw== +"@budibase/types@2.3.2", "@budibase/types@^2.3.2": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.2.tgz#878807c5f6a2b3bc6743773ddba56a48c427050f" + integrity sha512-2ORzFyk4lHDUH2XoktRKRAEH4M78xiE51QaCw0RcEwpUfE4IWhwngFCAiwsckCFVt7apiTgKWr8J6UGioG90Fw== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" From 238854aa0ee0e83296f67395bd541035f0f5c83d Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 7 Feb 2023 14:49:45 +0000 Subject: [PATCH 04/32] updating onboarding tour and fixing github CSP --- hosting/proxy/nginx.prod.conf | 2 +- packages/builder/src/components/portal/onboarding/tours.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosting/proxy/nginx.prod.conf b/hosting/proxy/nginx.prod.conf index fc2f51370b..21b337deae 100644 --- a/hosting/proxy/nginx.prod.conf +++ b/hosting/proxy/nginx.prod.conf @@ -55,7 +55,7 @@ http { set $csp_style "style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net https://fonts.googleapis.com https://rsms.me https://maxcdn.bootstrapcdn.com"; set $csp_object "object-src 'none'"; set $csp_base_uri "base-uri 'self'"; - set $csp_connect "connect-src 'self' https://*.budibase.net https://api-iam.intercom.io https://api-iam.intercom.io https://api-ping.intercom.io https://app.posthog.com wss://nexus-websocket-a.intercom.io wss://nexus-websocket-b.intercom.io https://nexus-websocket-a.intercom.io https://nexus-websocket-b.intercom.io https://uploads.intercomcdn.com https://uploads.intercomusercontent.com https://*.s3.amazonaws.com https://*.s3.us-east-2.amazonaws.com https://*.s3.us-east-1.amazonaws.com https://*.s3.us-west-1.amazonaws.com https://*.s3.us-west-2.amazonaws.com https://*.s3.af-south-1.amazonaws.com https://*.s3.ap-east-1.amazonaws.com https://*.s3.ap-southeast-3.amazonaws.com https://*.s3.ap-south-1.amazonaws.com https://*.s3.ap-northeast-3.amazonaws.com https://*.s3.ap-northeast-2.amazonaws.com https://*.s3.ap-southeast-1.amazonaws.com https://*.s3.ap-southeast-2.amazonaws.com https://*.s3.ap-northeast-1.amazonaws.com https://*.s3.ca-central-1.amazonaws.com https://*.s3.cn-north-1.amazonaws.com https://*.s3.cn-northwest-1.amazonaws.com https://*.s3.eu-central-1.amazonaws.com https://*.s3.eu-west-1.amazonaws.com https://*.s3.eu-west-2.amazonaws.com https://*.s3.eu-south-1.amazonaws.com https://*.s3.eu-west-3.amazonaws.com https://*.s3.eu-north-1.amazonaws.com https://*.s3.sa-east-1.amazonaws.com https://*.s3.me-south-1.amazonaws.com https://*.s3.us-gov-east-1.amazonaws.com https://*.s3.us-gov-west-1.amazonaws.com"; + set $csp_connect "connect-src 'self' https://*.budibase.net https://api-iam.intercom.io https://api-iam.intercom.io https://api-ping.intercom.io https://app.posthog.com wss://nexus-websocket-a.intercom.io wss://nexus-websocket-b.intercom.io https://nexus-websocket-a.intercom.io https://nexus-websocket-b.intercom.io https://uploads.intercomcdn.com https://uploads.intercomusercontent.com https://*.s3.amazonaws.com https://*.s3.us-east-2.amazonaws.com https://*.s3.us-east-1.amazonaws.com https://*.s3.us-west-1.amazonaws.com https://*.s3.us-west-2.amazonaws.com https://*.s3.af-south-1.amazonaws.com https://*.s3.ap-east-1.amazonaws.com https://*.s3.ap-southeast-3.amazonaws.com https://*.s3.ap-south-1.amazonaws.com https://*.s3.ap-northeast-3.amazonaws.com https://*.s3.ap-northeast-2.amazonaws.com https://*.s3.ap-southeast-1.amazonaws.com https://*.s3.ap-southeast-2.amazonaws.com https://*.s3.ap-northeast-1.amazonaws.com https://*.s3.ca-central-1.amazonaws.com https://*.s3.cn-north-1.amazonaws.com https://*.s3.cn-northwest-1.amazonaws.com https://*.s3.eu-central-1.amazonaws.com https://*.s3.eu-west-1.amazonaws.com https://*.s3.eu-west-2.amazonaws.com https://*.s3.eu-south-1.amazonaws.com https://*.s3.eu-west-3.amazonaws.com https://*.s3.eu-north-1.amazonaws.com https://*.s3.sa-east-1.amazonaws.com https://*.s3.me-south-1.amazonaws.com https://*.s3.us-gov-east-1.amazonaws.com https://*.s3.us-gov-west-1.amazonaws.com https://api.github.com"; set $csp_font "font-src 'self' data: https://cdn.jsdelivr.net https://fonts.gstatic.com https://rsms.me https://maxcdn.bootstrapcdn.com https://js.intercomcdn.com https://fonts.intercomcdn.com"; set $csp_frame "frame-src 'self' https:"; set $csp_img "img-src http: https: data: blob:"; diff --git a/packages/builder/src/components/portal/onboarding/tours.js b/packages/builder/src/components/portal/onboarding/tours.js index 8acd5bb8ce..d1485c4872 100644 --- a/packages/builder/src/components/portal/onboarding/tours.js +++ b/packages/builder/src/components/portal/onboarding/tours.js @@ -62,6 +62,7 @@ const getTours = () => { id: TOUR_STEP_KEYS.BUILDER_APP_PUBLISH, title: "Publish", layout: OnboardingPublish, + route: "/builder/app/:application/design", query: ".toprightnav #builder-app-publish-button", onLoad: () => { tourEvent(TOUR_STEP_KEYS.BUILDER_APP_PUBLISH) From 04916f5cdd56cf7fe009e3ab1cad823b17c5824a Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Tue, 7 Feb 2023 16:11:38 +0000 Subject: [PATCH 05/32] v2.3.3 --- lerna.json | 2 +- packages/backend-core/package.json | 4 ++-- packages/bbui/package.json | 4 ++-- packages/builder/package.json | 10 +++++----- packages/cli/package.json | 8 ++++---- packages/client/package.json | 8 ++++---- packages/frontend-core/package.json | 4 ++-- packages/sdk/package.json | 2 +- packages/server/package.json | 10 +++++----- packages/string-templates/package.json | 2 +- packages/types/package.json | 2 +- packages/worker/package.json | 8 ++++---- 12 files changed, 32 insertions(+), 32 deletions(-) diff --git a/lerna.json b/lerna.json index 71cec27fdc..a50e045c1f 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.3.2", + "version": "2.3.3", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index cfe3d0d1e7..7ca391492e 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.3.2", + "version": "2.3.3", "description": "Budibase backend core libraries used in server and worker", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -23,7 +23,7 @@ }, "dependencies": { "@budibase/nano": "10.1.1", - "@budibase/types": "^2.3.2", + "@budibase/types": "^2.3.3", "@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 9ab00e51db..37fe9b7f30 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.3.2", + "version": "2.3.3", "license": "MPL-2.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", @@ -38,7 +38,7 @@ ], "dependencies": { "@adobe/spectrum-css-workflow-icons": "1.2.1", - "@budibase/string-templates": "^2.3.2", + "@budibase/string-templates": "^2.3.3", "@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 4471facbaa..a2d807e08b 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.3.2", + "version": "2.3.3", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,10 +58,10 @@ } }, "dependencies": { - "@budibase/bbui": "^2.3.2", - "@budibase/client": "^2.3.2", - "@budibase/frontend-core": "^2.3.2", - "@budibase/string-templates": "^2.3.2", + "@budibase/bbui": "^2.3.3", + "@budibase/client": "^2.3.3", + "@budibase/frontend-core": "^2.3.3", + "@budibase/string-templates": "^2.3.3", "@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 7dd810bc54..350dfb8fc9 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.3.2", + "version": "2.3.3", "description": "Budibase CLI, for developers, self hosting and migrations.", "main": "src/index.js", "bin": { @@ -26,9 +26,9 @@ "outputPath": "build" }, "dependencies": { - "@budibase/backend-core": "^2.3.2", - "@budibase/string-templates": "^2.3.2", - "@budibase/types": "^2.3.2", + "@budibase/backend-core": "^2.3.3", + "@budibase/string-templates": "^2.3.3", + "@budibase/types": "^2.3.3", "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 51c6979d8e..83b8dec76f 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.3.2", + "version": "2.3.3", "license": "MPL-2.0", "module": "dist/budibase-client.js", "main": "dist/budibase-client.js", @@ -19,9 +19,9 @@ "dev:builder": "rollup -cw" }, "dependencies": { - "@budibase/bbui": "^2.3.2", - "@budibase/frontend-core": "^2.3.2", - "@budibase/string-templates": "^2.3.2", + "@budibase/bbui": "^2.3.3", + "@budibase/frontend-core": "^2.3.3", + "@budibase/string-templates": "^2.3.3", "@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 6a1b134212..362ff296be 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,12 +1,12 @@ { "name": "@budibase/frontend-core", - "version": "2.3.2", + "version": "2.3.3", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^2.3.2", + "@budibase/bbui": "^2.3.3", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 5a6dd6319c..7ce1526ae7 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.3.2", + "version": "2.3.3", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index e3024f8f34..b693ca4cbf 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.3.2", + "version": "2.3.3", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { @@ -43,11 +43,11 @@ "license": "GPL-3.0", "dependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@budibase/backend-core": "^2.3.2", - "@budibase/client": "^2.3.2", + "@budibase/backend-core": "^2.3.3", + "@budibase/client": "^2.3.3", "@budibase/pro": "2.3.2", - "@budibase/string-templates": "^2.3.2", - "@budibase/types": "^2.3.2", + "@budibase/string-templates": "^2.3.3", + "@budibase/types": "^2.3.3", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index b2e03bf2c0..51f7fa2cdf 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.3.2", + "version": "2.3.3", "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 17a34808c1..1417ae6243 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.3.2", + "version": "2.3.3", "description": "Budibase types", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/worker/package.json b/packages/worker/package.json index 85b853accd..abe6f0afef 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.3.2", + "version": "2.3.3", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -36,10 +36,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^2.3.2", + "@budibase/backend-core": "^2.3.3", "@budibase/pro": "2.3.2", - "@budibase/string-templates": "^2.3.2", - "@budibase/types": "^2.3.2", + "@budibase/string-templates": "^2.3.3", + "@budibase/types": "^2.3.3", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From cd12da3b85a6491ef475f299c0a5d9314fe32123 Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Tue, 7 Feb 2023 16:15:11 +0000 Subject: [PATCH 06/32] Update pro version to 2.3.3 --- packages/server/package.json | 2 +- packages/server/yarn.lock | 30 +++++++++++++++--------------- packages/worker/package.json | 2 +- packages/worker/yarn.lock | 30 +++++++++++++++--------------- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index b693ca4cbf..dd631157fb 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -45,7 +45,7 @@ "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "^2.3.3", "@budibase/client": "^2.3.3", - "@budibase/pro": "2.3.2", + "@budibase/pro": "2.3.3", "@budibase/string-templates": "^2.3.3", "@budibase/types": "^2.3.3", "@bull-board/api": "3.7.0", diff --git a/packages/server/yarn.lock b/packages/server/yarn.lock index 2302c20c14..6b89cd9d96 100644 --- a/packages/server/yarn.lock +++ b/packages/server/yarn.lock @@ -1273,13 +1273,13 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.3.2": - version "2.3.2" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.2.tgz#874b3977adc30153de1253eb2ebdd221f42265ed" - integrity sha512-1S+VDRx3d4dShY2GIMC+nXlxvH1vtT39HMpTNy4u01pnG4AolQgk4o3A9qG1H00gzsKPnprwIa1INX8Eu4QxEA== +"@budibase/backend-core@2.3.3": + version "2.3.3" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.3.tgz#bec25c4ed2cfde5813063f4e4dca2845d44c9a27" + integrity sha512-My10Lutfo2PXgsk8QOoC2Q2Coc3FYDDbS7RBOgg1okWGaqdv7+roPtlYgmhN8MqjXSY3Ey9ruhZyNzy//XoU+A== dependencies: "@budibase/nano" "10.1.1" - "@budibase/types" "^2.3.2" + "@budibase/types" "^2.3.3" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -1374,13 +1374,13 @@ qs "^6.11.0" tough-cookie "^4.1.2" -"@budibase/pro@2.3.2": - version "2.3.2" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.2.tgz#8f3cda4d3b264f222863530b0562d373b5b8b8e7" - integrity sha512-378ByUnujD1b/NjBrfl+mWmtSUv7JnQIj/spQwVCLsnnbB/Mr4sRVXzO3A3u5FPAqQFBN8MdbyGjPwWEUOTFLg== +"@budibase/pro@2.3.3": + version "2.3.3" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.3.tgz#50b5f8028aeef0fe87039ee22a6baa9da4dbd69e" + integrity sha512-z1n1z2HmgvybTvtRpaLbE2nUrMpECawm5+A1Z2dXkRHFNO43wesM25AQ6VS57+R+oL3JHEGW6hgDnkucoknCLw== dependencies: - "@budibase/backend-core" "2.3.2" - "@budibase/types" "2.3.2" + "@budibase/backend-core" "2.3.3" + "@budibase/types" "2.3.3" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1406,10 +1406,10 @@ svelte-apexcharts "^1.0.2" svelte-flatpickr "^3.1.0" -"@budibase/types@2.3.2", "@budibase/types@^2.3.2": - version "2.3.2" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.2.tgz#878807c5f6a2b3bc6743773ddba56a48c427050f" - integrity sha512-2ORzFyk4lHDUH2XoktRKRAEH4M78xiE51QaCw0RcEwpUfE4IWhwngFCAiwsckCFVt7apiTgKWr8J6UGioG90Fw== +"@budibase/types@2.3.3", "@budibase/types@^2.3.3": + version "2.3.3" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.3.tgz#495f803bbda8552e5042bb51ba9b76d846ff8e73" + integrity sha512-Hg9ONnEydeE1aNePDqWr7OCPyz03rUtBXSIhzTHGQWMtVsFRp9Vu+OK+80tZvBVQP4fmBFBe0GW699XFru495A== "@bull-board/api@3.7.0": version "3.7.0" diff --git a/packages/worker/package.json b/packages/worker/package.json index abe6f0afef..098823dfcc 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -37,7 +37,7 @@ "license": "GPL-3.0", "dependencies": { "@budibase/backend-core": "^2.3.3", - "@budibase/pro": "2.3.2", + "@budibase/pro": "2.3.3", "@budibase/string-templates": "^2.3.3", "@budibase/types": "^2.3.3", "@koa/router": "8.0.8", diff --git a/packages/worker/yarn.lock b/packages/worker/yarn.lock index 08ae3420bc..4077919468 100644 --- a/packages/worker/yarn.lock +++ b/packages/worker/yarn.lock @@ -470,13 +470,13 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.3.2": - version "2.3.2" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.2.tgz#874b3977adc30153de1253eb2ebdd221f42265ed" - integrity sha512-1S+VDRx3d4dShY2GIMC+nXlxvH1vtT39HMpTNy4u01pnG4AolQgk4o3A9qG1H00gzsKPnprwIa1INX8Eu4QxEA== +"@budibase/backend-core@2.3.3": + version "2.3.3" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.3.tgz#bec25c4ed2cfde5813063f4e4dca2845d44c9a27" + integrity sha512-My10Lutfo2PXgsk8QOoC2Q2Coc3FYDDbS7RBOgg1okWGaqdv7+roPtlYgmhN8MqjXSY3Ey9ruhZyNzy//XoU+A== dependencies: "@budibase/nano" "10.1.1" - "@budibase/types" "^2.3.2" + "@budibase/types" "^2.3.3" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -521,13 +521,13 @@ qs "^6.11.0" tough-cookie "^4.1.2" -"@budibase/pro@2.3.2": - version "2.3.2" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.2.tgz#8f3cda4d3b264f222863530b0562d373b5b8b8e7" - integrity sha512-378ByUnujD1b/NjBrfl+mWmtSUv7JnQIj/spQwVCLsnnbB/Mr4sRVXzO3A3u5FPAqQFBN8MdbyGjPwWEUOTFLg== +"@budibase/pro@2.3.3": + version "2.3.3" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.3.tgz#50b5f8028aeef0fe87039ee22a6baa9da4dbd69e" + integrity sha512-z1n1z2HmgvybTvtRpaLbE2nUrMpECawm5+A1Z2dXkRHFNO43wesM25AQ6VS57+R+oL3JHEGW6hgDnkucoknCLw== dependencies: - "@budibase/backend-core" "2.3.2" - "@budibase/types" "2.3.2" + "@budibase/backend-core" "2.3.3" + "@budibase/types" "2.3.3" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -535,10 +535,10 @@ lru-cache "^7.14.1" node-fetch "^2.6.1" -"@budibase/types@2.3.2", "@budibase/types@^2.3.2": - version "2.3.2" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.2.tgz#878807c5f6a2b3bc6743773ddba56a48c427050f" - integrity sha512-2ORzFyk4lHDUH2XoktRKRAEH4M78xiE51QaCw0RcEwpUfE4IWhwngFCAiwsckCFVt7apiTgKWr8J6UGioG90Fw== +"@budibase/types@2.3.3", "@budibase/types@^2.3.3": + version "2.3.3" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.3.tgz#495f803bbda8552e5042bb51ba9b76d846ff8e73" + integrity sha512-Hg9ONnEydeE1aNePDqWr7OCPyz03rUtBXSIhzTHGQWMtVsFRp9Vu+OK+80tZvBVQP4fmBFBe0GW699XFru495A== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" From 59b8aef844b180df880c582ab8a29c580b8cc36f Mon Sep 17 00:00:00 2001 From: andz-bb Date: Tue, 7 Feb 2023 17:44:23 +0000 Subject: [PATCH 07/32] stop chrome autofilling login when adding env var --- packages/bbui/src/Form/Core/TextField.svelte | 2 ++ packages/bbui/src/Form/Input.svelte | 2 ++ .../portal/environment/CreateEditVariableModal.svelte | 2 ++ 3 files changed, 6 insertions(+) diff --git a/packages/bbui/src/Form/Core/TextField.svelte b/packages/bbui/src/Form/Core/TextField.svelte index fe05ef2c64..acc2169a06 100644 --- a/packages/bbui/src/Form/Core/TextField.svelte +++ b/packages/bbui/src/Form/Core/TextField.svelte @@ -13,6 +13,7 @@ export let quiet = false export let align export let autofocus = false + export let autocomplete = null const dispatch = createEventDispatcher() @@ -103,6 +104,7 @@ class="spectrum-Textfield-input" style={align ? `text-align: ${align};` : ""} inputmode={type === "number" ? "decimal" : "text"} + {autocomplete} /> diff --git a/packages/bbui/src/Form/Input.svelte b/packages/bbui/src/Form/Input.svelte index f37cf55b63..d3cb13e731 100644 --- a/packages/bbui/src/Form/Input.svelte +++ b/packages/bbui/src/Form/Input.svelte @@ -14,6 +14,7 @@ export let updateOnChange = true export let quiet = false export let autofocus + export let autocomplete const dispatch = createEventDispatcher() const onChange = e => { @@ -33,6 +34,7 @@ {type} {quiet} {autofocus} + {autocomplete} on:change={onChange} on:click on:input diff --git a/packages/builder/src/components/portal/environment/CreateEditVariableModal.svelte b/packages/builder/src/components/portal/environment/CreateEditVariableModal.svelte index 602a054eaf..e41ec8f745 100644 --- a/packages/builder/src/components/portal/environment/CreateEditVariableModal.svelte +++ b/packages/builder/src/components/portal/environment/CreateEditVariableModal.svelte @@ -71,6 +71,7 @@ } }} value={productionValue} + autocomplete="new-password" />
@@ -83,6 +84,7 @@ disabled={useProductionValue} label="Value" value={useProductionValue ? productionValue : developmentValue} + autocomplete="new-password" />
From e54e6987a3ad64813e0868a7b38851f264d8b995 Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Tue, 7 Feb 2023 18:46:27 +0000 Subject: [PATCH 08/32] v2.3.4 --- lerna.json | 2 +- packages/backend-core/package.json | 4 ++-- packages/bbui/package.json | 4 ++-- packages/builder/package.json | 10 +++++----- packages/cli/package.json | 8 ++++---- packages/client/package.json | 8 ++++---- packages/frontend-core/package.json | 4 ++-- packages/sdk/package.json | 2 +- packages/server/package.json | 10 +++++----- packages/string-templates/package.json | 2 +- packages/types/package.json | 2 +- packages/worker/package.json | 8 ++++---- 12 files changed, 32 insertions(+), 32 deletions(-) diff --git a/lerna.json b/lerna.json index a50e045c1f..22f3ccdc6d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.3.3", + "version": "2.3.4", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 7ca391492e..4013e10178 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.3.3", + "version": "2.3.4", "description": "Budibase backend core libraries used in server and worker", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -23,7 +23,7 @@ }, "dependencies": { "@budibase/nano": "10.1.1", - "@budibase/types": "^2.3.3", + "@budibase/types": "^2.3.4", "@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 37fe9b7f30..b157cf4ddc 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.3.3", + "version": "2.3.4", "license": "MPL-2.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", @@ -38,7 +38,7 @@ ], "dependencies": { "@adobe/spectrum-css-workflow-icons": "1.2.1", - "@budibase/string-templates": "^2.3.3", + "@budibase/string-templates": "^2.3.4", "@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 a2d807e08b..14e3924614 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.3.3", + "version": "2.3.4", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,10 +58,10 @@ } }, "dependencies": { - "@budibase/bbui": "^2.3.3", - "@budibase/client": "^2.3.3", - "@budibase/frontend-core": "^2.3.3", - "@budibase/string-templates": "^2.3.3", + "@budibase/bbui": "^2.3.4", + "@budibase/client": "^2.3.4", + "@budibase/frontend-core": "^2.3.4", + "@budibase/string-templates": "^2.3.4", "@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 350dfb8fc9..1a17164bda 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.3.3", + "version": "2.3.4", "description": "Budibase CLI, for developers, self hosting and migrations.", "main": "src/index.js", "bin": { @@ -26,9 +26,9 @@ "outputPath": "build" }, "dependencies": { - "@budibase/backend-core": "^2.3.3", - "@budibase/string-templates": "^2.3.3", - "@budibase/types": "^2.3.3", + "@budibase/backend-core": "^2.3.4", + "@budibase/string-templates": "^2.3.4", + "@budibase/types": "^2.3.4", "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 83b8dec76f..c6e8819da7 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.3.3", + "version": "2.3.4", "license": "MPL-2.0", "module": "dist/budibase-client.js", "main": "dist/budibase-client.js", @@ -19,9 +19,9 @@ "dev:builder": "rollup -cw" }, "dependencies": { - "@budibase/bbui": "^2.3.3", - "@budibase/frontend-core": "^2.3.3", - "@budibase/string-templates": "^2.3.3", + "@budibase/bbui": "^2.3.4", + "@budibase/frontend-core": "^2.3.4", + "@budibase/string-templates": "^2.3.4", "@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 362ff296be..26c1be36de 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,12 +1,12 @@ { "name": "@budibase/frontend-core", - "version": "2.3.3", + "version": "2.3.4", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^2.3.3", + "@budibase/bbui": "^2.3.4", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 7ce1526ae7..41ab251cad 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.3.3", + "version": "2.3.4", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index dd631157fb..e2f7f4f0e2 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.3.3", + "version": "2.3.4", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { @@ -43,11 +43,11 @@ "license": "GPL-3.0", "dependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@budibase/backend-core": "^2.3.3", - "@budibase/client": "^2.3.3", + "@budibase/backend-core": "^2.3.4", + "@budibase/client": "^2.3.4", "@budibase/pro": "2.3.3", - "@budibase/string-templates": "^2.3.3", - "@budibase/types": "^2.3.3", + "@budibase/string-templates": "^2.3.4", + "@budibase/types": "^2.3.4", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 51f7fa2cdf..881b0ce791 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.3.3", + "version": "2.3.4", "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 1417ae6243..41bb985cf4 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.3.3", + "version": "2.3.4", "description": "Budibase types", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/worker/package.json b/packages/worker/package.json index 098823dfcc..680f59953f 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.3.3", + "version": "2.3.4", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -36,10 +36,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^2.3.3", + "@budibase/backend-core": "^2.3.4", "@budibase/pro": "2.3.3", - "@budibase/string-templates": "^2.3.3", - "@budibase/types": "^2.3.3", + "@budibase/string-templates": "^2.3.4", + "@budibase/types": "^2.3.4", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From d76c3407a32d0ebcc3bd55af84324fb827f92a81 Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Tue, 7 Feb 2023 18:50:22 +0000 Subject: [PATCH 09/32] Update pro version to 2.3.4 --- packages/server/package.json | 2 +- packages/server/yarn.lock | 30 +++++++++++++++--------------- packages/worker/package.json | 2 +- packages/worker/yarn.lock | 30 +++++++++++++++--------------- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index e2f7f4f0e2..0ca518c920 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -45,7 +45,7 @@ "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "^2.3.4", "@budibase/client": "^2.3.4", - "@budibase/pro": "2.3.3", + "@budibase/pro": "2.3.4", "@budibase/string-templates": "^2.3.4", "@budibase/types": "^2.3.4", "@bull-board/api": "3.7.0", diff --git a/packages/server/yarn.lock b/packages/server/yarn.lock index 6b89cd9d96..525a388ff1 100644 --- a/packages/server/yarn.lock +++ b/packages/server/yarn.lock @@ -1273,13 +1273,13 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.3.tgz#bec25c4ed2cfde5813063f4e4dca2845d44c9a27" - integrity sha512-My10Lutfo2PXgsk8QOoC2Q2Coc3FYDDbS7RBOgg1okWGaqdv7+roPtlYgmhN8MqjXSY3Ey9ruhZyNzy//XoU+A== +"@budibase/backend-core@2.3.4": + version "2.3.4" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.4.tgz#32a8e14d562c862e6ec6dff831ad5ee8bd85e8a9" + integrity sha512-nSU9tkiYpVidvaDDRBziDqEiOxuFynBrQTqDgVtm72GI2vSgbi1odUvh8x++K4YTVg96JCgGZg7oF4udwJzg1g== dependencies: "@budibase/nano" "10.1.1" - "@budibase/types" "^2.3.3" + "@budibase/types" "^2.3.4" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -1374,13 +1374,13 @@ qs "^6.11.0" tough-cookie "^4.1.2" -"@budibase/pro@2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.3.tgz#50b5f8028aeef0fe87039ee22a6baa9da4dbd69e" - integrity sha512-z1n1z2HmgvybTvtRpaLbE2nUrMpECawm5+A1Z2dXkRHFNO43wesM25AQ6VS57+R+oL3JHEGW6hgDnkucoknCLw== +"@budibase/pro@2.3.4": + version "2.3.4" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.4.tgz#c4b12f1b346cdea380116520ec7d44e90acaa514" + integrity sha512-fGQbnpSJHrkVchPDy0tyI/1+mqHn7wuUs44BDH5fi5F37ltSFwEYpBrtzNKGe63ypA6J3pfRbjJ8DsjOLhTKDg== dependencies: - "@budibase/backend-core" "2.3.3" - "@budibase/types" "2.3.3" + "@budibase/backend-core" "2.3.4" + "@budibase/types" "2.3.4" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1406,10 +1406,10 @@ svelte-apexcharts "^1.0.2" svelte-flatpickr "^3.1.0" -"@budibase/types@2.3.3", "@budibase/types@^2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.3.tgz#495f803bbda8552e5042bb51ba9b76d846ff8e73" - integrity sha512-Hg9ONnEydeE1aNePDqWr7OCPyz03rUtBXSIhzTHGQWMtVsFRp9Vu+OK+80tZvBVQP4fmBFBe0GW699XFru495A== +"@budibase/types@2.3.4", "@budibase/types@^2.3.4": + version "2.3.4" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.4.tgz#32b155d9456bae2b270d3f2d0df0f7f17bb3c850" + integrity sha512-UPEBX0xk/TOb8QAyc/HzCee0b3VWHFNTQ+LQmcOGvS9y7LKiZlsBullCz1cFTk7wpmLR6wysS/oMmwxUa5mMDA== "@bull-board/api@3.7.0": version "3.7.0" diff --git a/packages/worker/package.json b/packages/worker/package.json index 680f59953f..62f8435ae2 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -37,7 +37,7 @@ "license": "GPL-3.0", "dependencies": { "@budibase/backend-core": "^2.3.4", - "@budibase/pro": "2.3.3", + "@budibase/pro": "2.3.4", "@budibase/string-templates": "^2.3.4", "@budibase/types": "^2.3.4", "@koa/router": "8.0.8", diff --git a/packages/worker/yarn.lock b/packages/worker/yarn.lock index 4077919468..8e0a6ea25e 100644 --- a/packages/worker/yarn.lock +++ b/packages/worker/yarn.lock @@ -470,13 +470,13 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.3.tgz#bec25c4ed2cfde5813063f4e4dca2845d44c9a27" - integrity sha512-My10Lutfo2PXgsk8QOoC2Q2Coc3FYDDbS7RBOgg1okWGaqdv7+roPtlYgmhN8MqjXSY3Ey9ruhZyNzy//XoU+A== +"@budibase/backend-core@2.3.4": + version "2.3.4" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.3.4.tgz#32a8e14d562c862e6ec6dff831ad5ee8bd85e8a9" + integrity sha512-nSU9tkiYpVidvaDDRBziDqEiOxuFynBrQTqDgVtm72GI2vSgbi1odUvh8x++K4YTVg96JCgGZg7oF4udwJzg1g== dependencies: "@budibase/nano" "10.1.1" - "@budibase/types" "^2.3.3" + "@budibase/types" "^2.3.4" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -521,13 +521,13 @@ qs "^6.11.0" tough-cookie "^4.1.2" -"@budibase/pro@2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.3.tgz#50b5f8028aeef0fe87039ee22a6baa9da4dbd69e" - integrity sha512-z1n1z2HmgvybTvtRpaLbE2nUrMpECawm5+A1Z2dXkRHFNO43wesM25AQ6VS57+R+oL3JHEGW6hgDnkucoknCLw== +"@budibase/pro@2.3.4": + version "2.3.4" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.3.4.tgz#c4b12f1b346cdea380116520ec7d44e90acaa514" + integrity sha512-fGQbnpSJHrkVchPDy0tyI/1+mqHn7wuUs44BDH5fi5F37ltSFwEYpBrtzNKGe63ypA6J3pfRbjJ8DsjOLhTKDg== dependencies: - "@budibase/backend-core" "2.3.3" - "@budibase/types" "2.3.3" + "@budibase/backend-core" "2.3.4" + "@budibase/types" "2.3.4" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -535,10 +535,10 @@ lru-cache "^7.14.1" node-fetch "^2.6.1" -"@budibase/types@2.3.3", "@budibase/types@^2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.3.tgz#495f803bbda8552e5042bb51ba9b76d846ff8e73" - integrity sha512-Hg9ONnEydeE1aNePDqWr7OCPyz03rUtBXSIhzTHGQWMtVsFRp9Vu+OK+80tZvBVQP4fmBFBe0GW699XFru495A== +"@budibase/types@2.3.4", "@budibase/types@^2.3.4": + version "2.3.4" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.3.4.tgz#32b155d9456bae2b270d3f2d0df0f7f17bb3c850" + integrity sha512-UPEBX0xk/TOb8QAyc/HzCee0b3VWHFNTQ+LQmcOGvS9y7LKiZlsBullCz1cFTk7wpmLR6wysS/oMmwxUa5mMDA== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" From e2f52c8e1d46e86eed470c4f0b1d6cfeff7d9780 Mon Sep 17 00:00:00 2001 From: Gerard Burns Date: Mon, 6 Feb 2023 13:10:22 +0000 Subject: [PATCH 10/32] Fix Import Validations --- .../backend/TableNavigator/TableDataImport.svelte | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte b/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte index 7b47b0a73b..8d8418eb81 100644 --- a/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte +++ b/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte @@ -94,6 +94,11 @@ validateHash = newValidateHash } + + const handleChange = (name, e) => { + schema[name].type = e.detail + schema[name].constraints = FIELDS[e.detail.toUpperCase()].constraints + }
@@ -118,12 +123,12 @@
{#if rows.length > 0 && !error}
- {#each Object.values(schema) as column} + {#each Object.entries(schema) as [name, column]}
{column.name}