From fd5743a9da5bb8fca7a31a4b6c0ebd4a0218eab9 Mon Sep 17 00:00:00 2001 From: Dean Date: Wed, 1 Mar 2023 12:11:51 +0000 Subject: [PATCH 01/26] Fix to clear empty lastName string when accepting an invite to budibase --- packages/builder/src/stores/portal/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/stores/portal/users.js b/packages/builder/src/stores/portal/users.js index 1510207604..0f6636fbdc 100644 --- a/packages/builder/src/stores/portal/users.js +++ b/packages/builder/src/stores/portal/users.js @@ -34,7 +34,7 @@ export function createUsersStore() { inviteCode, password, firstName, - lastName, + lastName: !lastName?.trim() ? undefined : lastName, }) } From b12830626298b46b4ff5dac79eac6993dbdcba2c Mon Sep 17 00:00:00 2001 From: adrinr Date: Wed, 19 Apr 2023 16:47:48 +0100 Subject: [PATCH 02/26] Increase writethrough cache timeout --- packages/backend-core/src/cache/writethrough.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/backend-core/src/cache/writethrough.ts b/packages/backend-core/src/cache/writethrough.ts index a3b1ecc08d..e64c116663 100644 --- a/packages/backend-core/src/cache/writethrough.ts +++ b/packages/backend-core/src/cache/writethrough.ts @@ -47,7 +47,7 @@ async function put( type: LockType.TRY_ONCE, name: LockName.PERSIST_WRITETHROUGH, resource: key, - ttl: 1000, + ttl: 15000, }, async () => { const writeDb = async (toWrite: any) => { @@ -71,6 +71,7 @@ async function put( } } ) + if (!lockResponse.executed) { logWarn(`Ignoring redlock conflict in write-through cache`) } From 5c292bbecdbdb0d759151125a6471c1956d2150a Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Thu, 20 Apr 2023 08:51:41 +0000 Subject: [PATCH 03/26] v2.5.5 --- lerna.json | 2 +- packages/backend-core/package.json | 4 ++-- packages/bbui/package.json | 6 +++--- packages/builder/package.json | 12 ++++++------ packages/cli/package.json | 8 ++++---- packages/client/package.json | 12 ++++++------ packages/frontend-core/package.json | 6 +++--- packages/sdk/package.json | 2 +- packages/server/package.json | 12 ++++++------ packages/shared-core/package.json | 4 ++-- packages/string-templates/package.json | 2 +- packages/types/package.json | 2 +- packages/worker/package.json | 8 ++++---- 13 files changed, 40 insertions(+), 40 deletions(-) diff --git a/lerna.json b/lerna.json index 19903a71a0..00ecba3818 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.4", + "version": "2.5.5", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 7ccd1ab87c..59fa51b0d8 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.5.4", + "version": "2.5.5", "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.5.4", + "@budibase/types": "^2.5.5", "@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 e8db77cd38..94fc1b88fe 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.5.4", + "version": "2.5.5", "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.5.4", - "@budibase/string-templates": "^2.5.4", + "@budibase/shared-core": "^2.5.5", + "@budibase/string-templates": "^2.5.5", "@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 622f38cd4d..f8c342ceb0 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.4", + "version": "2.5.5", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "^2.5.4", - "@budibase/client": "^2.5.4", - "@budibase/frontend-core": "^2.5.4", - "@budibase/shared-core": "^2.5.4", - "@budibase/string-templates": "^2.5.4", + "@budibase/bbui": "^2.5.5", + "@budibase/client": "^2.5.5", + "@budibase/frontend-core": "^2.5.5", + "@budibase/shared-core": "^2.5.5", + "@budibase/string-templates": "^2.5.5", "@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 0f9d6af51b..a1d28a6498 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.4", + "version": "2.5.5", "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.5.4", - "@budibase/string-templates": "^2.5.4", - "@budibase/types": "^2.5.4", + "@budibase/backend-core": "^2.5.5", + "@budibase/string-templates": "^2.5.5", + "@budibase/types": "^2.5.5", "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 3f0edbf7c7..b34dd39cd1 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.4", + "version": "2.5.5", "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.5.4", - "@budibase/frontend-core": "^2.5.4", - "@budibase/shared-core": "^2.5.4", - "@budibase/string-templates": "^2.5.4", - "@budibase/types": "^2.5.4", + "@budibase/bbui": "^2.5.5", + "@budibase/frontend-core": "^2.5.5", + "@budibase/shared-core": "^2.5.5", + "@budibase/string-templates": "^2.5.5", + "@budibase/types": "^2.5.5", "@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 96bbb02e80..cd08d03463 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,13 +1,13 @@ { "name": "@budibase/frontend-core", - "version": "2.5.4", + "version": "2.5.5", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^2.5.4", - "@budibase/shared-core": "^2.5.4", + "@budibase/bbui": "^2.5.5", + "@budibase/shared-core": "^2.5.5", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index c564c8f8b1..bb66f0aaa7 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.4", + "version": "2.5.5", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index 8d7c733616..8d480c4c69 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.5.4", + "version": "2.5.5", "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.5.4", - "@budibase/client": "^2.5.4", + "@budibase/backend-core": "^2.5.5", + "@budibase/client": "^2.5.5", "@budibase/pro": "2.5.4", - "@budibase/shared-core": "^2.5.4", - "@budibase/string-templates": "^2.5.4", - "@budibase/types": "^2.5.4", + "@budibase/shared-core": "^2.5.5", + "@budibase/string-templates": "^2.5.5", + "@budibase/types": "^2.5.5", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index dba357b7b0..3694d98fc8 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/shared-core", - "version": "2.5.4", + "version": "2.5.5", "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.5.4" + "@budibase/types": "^2.5.5" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index ed72db5200..b2aaadb78f 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.5.4", + "version": "2.5.5", "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 3b7b501882..8848ba6b9d 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.4", + "version": "2.5.5", "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 a31969aa86..705b948aad 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.5.4", + "version": "2.5.5", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -36,10 +36,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^2.5.4", + "@budibase/backend-core": "^2.5.5", "@budibase/pro": "2.5.4", - "@budibase/string-templates": "^2.5.4", - "@budibase/types": "^2.5.4", + "@budibase/string-templates": "^2.5.5", + "@budibase/types": "^2.5.5", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From d21f8435d63e9a90b3adcf4c5c84fda842ddbcb7 Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Thu, 20 Apr 2023 08:55:19 +0000 Subject: [PATCH 04/26] Update pro version to 2.5.5 --- 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 8d480c4c69..df8d6ebfd3 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -46,7 +46,7 @@ "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "^2.5.5", "@budibase/client": "^2.5.5", - "@budibase/pro": "2.5.4", + "@budibase/pro": "2.5.5", "@budibase/shared-core": "^2.5.5", "@budibase/string-templates": "^2.5.5", "@budibase/types": "^2.5.5", diff --git a/packages/server/yarn.lock b/packages/server/yarn.lock index da0aa05fc6..41b372f51e 100644 --- a/packages/server/yarn.lock +++ b/packages/server/yarn.lock @@ -1290,14 +1290,14 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.4.tgz#0aa0b064181d548b86b8a38b0fe0d70009fec44e" - integrity sha512-YlywtDtEUp5kqPp09D81l8p9YR3xewbDZ5cPINpZ8LVfpS29NRTvIgVqcq5lDTYmXPAE78zJF8wdjT7dZsbNTw== +"@budibase/backend-core@2.5.5": + version "2.5.5" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.5.tgz#d1ae36564de447674a157790b1e8ebff5f42748c" + integrity sha512-mGQSK6wc4M6+KVpfsbcfijjOJaWreGnd0muLFrUYsogliglWDXeCTfdEXFMkhCyKEe+3TWeVkxVKzss6zSG+Mw== dependencies: "@budibase/nano" "10.1.2" "@budibase/pouchdb-replication-stream" "1.2.10" - "@budibase/types" "^2.5.4" + "@budibase/types" "^2.5.5" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -1429,14 +1429,14 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.4.tgz#9368117a41b276ec97d3994e3ec67d9f2570a5bc" - integrity sha512-xPNVlRFTcjpWn+oZCvrfgDd9SoslkUgJsS2Bnff+qDoWcTFz30KoOyZPAkSwXxX3Y8FmZRO9csl0AZa9TsUs7A== +"@budibase/pro@2.5.5": + version "2.5.5" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.5.tgz#8aa44b99baa8763d85f0ba3db92a178259dcf13e" + integrity sha512-dOUWWZGbFIumTfCQPmNSaTqlkLD6O/SK6H7IYY8FP67eMrLRZUanO3l0XgbjDiOdFIS1Hw5vvjHmunP0hQdLyw== dependencies: - "@budibase/backend-core" "2.5.4" + "@budibase/backend-core" "2.5.5" "@budibase/string-templates" "2.3.20" - "@budibase/types" "2.5.4" + "@budibase/types" "2.5.5" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1475,10 +1475,10 @@ lodash "^4.17.20" vm2 "^3.9.4" -"@budibase/types@2.5.4", "@budibase/types@^2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.4.tgz#6a06e5f81beee05df3c5cab6eca693206b3b3084" - integrity sha512-cqqZaA9ZNNV6YawDpd3NMAN7/f3wwy5/bLtjiH6RhurQuZV7tUYnu0VQSUfWz/l7r5XgAsNCPOpiCvdDneSSKQ== +"@budibase/types@2.5.5", "@budibase/types@^2.5.5": + version "2.5.5" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.5.tgz#aca40d7e160e400b9a814fbaa7ad04d10dcf9672" + integrity sha512-caKRxeCfnXzMFCc2lfDhKREl4VsDqnAnT55339NHQFTpDrTFboY0bG6h6osNan5CQCafNCLtS32bz597frGT9A== "@bull-board/api@3.7.0": version "3.7.0" diff --git a/packages/worker/package.json b/packages/worker/package.json index 705b948aad..d39fcb96ae 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -37,7 +37,7 @@ "license": "GPL-3.0", "dependencies": { "@budibase/backend-core": "^2.5.5", - "@budibase/pro": "2.5.4", + "@budibase/pro": "2.5.5", "@budibase/string-templates": "^2.5.5", "@budibase/types": "^2.5.5", "@koa/router": "8.0.8", diff --git a/packages/worker/yarn.lock b/packages/worker/yarn.lock index cd6d83ec15..6c38f01998 100644 --- a/packages/worker/yarn.lock +++ b/packages/worker/yarn.lock @@ -475,14 +475,14 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.4.tgz#0aa0b064181d548b86b8a38b0fe0d70009fec44e" - integrity sha512-YlywtDtEUp5kqPp09D81l8p9YR3xewbDZ5cPINpZ8LVfpS29NRTvIgVqcq5lDTYmXPAE78zJF8wdjT7dZsbNTw== +"@budibase/backend-core@2.5.5": + version "2.5.5" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.5.tgz#d1ae36564de447674a157790b1e8ebff5f42748c" + integrity sha512-mGQSK6wc4M6+KVpfsbcfijjOJaWreGnd0muLFrUYsogliglWDXeCTfdEXFMkhCyKEe+3TWeVkxVKzss6zSG+Mw== dependencies: "@budibase/nano" "10.1.2" "@budibase/pouchdb-replication-stream" "1.2.10" - "@budibase/types" "^2.5.4" + "@budibase/types" "^2.5.5" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -564,14 +564,14 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.4.tgz#9368117a41b276ec97d3994e3ec67d9f2570a5bc" - integrity sha512-xPNVlRFTcjpWn+oZCvrfgDd9SoslkUgJsS2Bnff+qDoWcTFz30KoOyZPAkSwXxX3Y8FmZRO9csl0AZa9TsUs7A== +"@budibase/pro@2.5.5": + version "2.5.5" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.5.tgz#8aa44b99baa8763d85f0ba3db92a178259dcf13e" + integrity sha512-dOUWWZGbFIumTfCQPmNSaTqlkLD6O/SK6H7IYY8FP67eMrLRZUanO3l0XgbjDiOdFIS1Hw5vvjHmunP0hQdLyw== dependencies: - "@budibase/backend-core" "2.5.4" + "@budibase/backend-core" "2.5.5" "@budibase/string-templates" "2.3.20" - "@budibase/types" "2.5.4" + "@budibase/types" "2.5.5" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -592,10 +592,10 @@ lodash "^4.17.20" vm2 "^3.9.4" -"@budibase/types@2.5.4", "@budibase/types@^2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.4.tgz#6a06e5f81beee05df3c5cab6eca693206b3b3084" - integrity sha512-cqqZaA9ZNNV6YawDpd3NMAN7/f3wwy5/bLtjiH6RhurQuZV7tUYnu0VQSUfWz/l7r5XgAsNCPOpiCvdDneSSKQ== +"@budibase/types@2.5.5", "@budibase/types@^2.5.5": + version "2.5.5" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.5.tgz#aca40d7e160e400b9a814fbaa7ad04d10dcf9672" + integrity sha512-caKRxeCfnXzMFCc2lfDhKREl4VsDqnAnT55339NHQFTpDrTFboY0bG6h6osNan5CQCafNCLtS32bz597frGT9A== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" From 145c0834bb9ead7c5c5dc26b0662a9bb8ff72853 Mon Sep 17 00:00:00 2001 From: Michael Drury Date: Thu, 20 Apr 2023 15:21:50 +0100 Subject: [PATCH 05/26] Fix for #10358 - making sure that client-side we don't check the content type for CSV, check if it might be JSON, if not assume we can try it as a CSV - this is a fix for an issue which occurs on Windows, in Firefox. (#10359) --- .../backend/TableNavigator/utils.js | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/packages/builder/src/components/backend/TableNavigator/utils.js b/packages/builder/src/components/backend/TableNavigator/utils.js index 658f037912..b7e46042be 100644 --- a/packages/builder/src/components/backend/TableNavigator/utils.js +++ b/packages/builder/src/components/backend/TableNavigator/utils.js @@ -42,16 +42,7 @@ export const parseFile = e => { reader.addEventListener("load", function (e) { const fileData = e.target.result - - if (file.type === "text/csv") { - API.csvToJson(fileData) - .then(rows => { - resolveRows(rows) - }) - .catch(() => { - reject("can't convert csv to json") - }) - } else if (file.type === "application/json") { + if (file.type?.includes("json")) { const parsedFileData = JSON.parse(fileData) if (Array.isArray(parsedFileData)) { @@ -62,7 +53,13 @@ export const parseFile = e => { reject("invalid json format") } } else { - reject("invalid file type") + API.csvToJson(fileData) + .then(rows => { + resolveRows(rows) + }) + .catch(() => { + reject("cannot parse csv") + }) } }) From 5a9c7d83b1864434035daf4e3a568507e685c0c8 Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Thu, 20 Apr 2023 14:30:34 +0000 Subject: [PATCH 06/26] v2.5.6 --- lerna.json | 2 +- packages/backend-core/package.json | 4 ++-- packages/bbui/package.json | 6 +++--- packages/builder/package.json | 12 ++++++------ packages/cli/package.json | 8 ++++---- packages/client/package.json | 12 ++++++------ packages/frontend-core/package.json | 6 +++--- packages/sdk/package.json | 2 +- packages/server/package.json | 12 ++++++------ packages/shared-core/package.json | 4 ++-- packages/string-templates/package.json | 2 +- packages/types/package.json | 2 +- packages/worker/package.json | 8 ++++---- 13 files changed, 40 insertions(+), 40 deletions(-) diff --git a/lerna.json b/lerna.json index 00ecba3818..a2c820416b 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.5", + "version": "2.5.6", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 59fa51b0d8..33e2865c70 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.5.5", + "version": "2.5.6", "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.5.5", + "@budibase/types": "^2.5.6", "@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 94fc1b88fe..1c807d89e0 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.5.5", + "version": "2.5.6", "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.5.5", - "@budibase/string-templates": "^2.5.5", + "@budibase/shared-core": "^2.5.6", + "@budibase/string-templates": "^2.5.6", "@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 f8c342ceb0..97a61878ac 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.5", + "version": "2.5.6", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "^2.5.5", - "@budibase/client": "^2.5.5", - "@budibase/frontend-core": "^2.5.5", - "@budibase/shared-core": "^2.5.5", - "@budibase/string-templates": "^2.5.5", + "@budibase/bbui": "^2.5.6", + "@budibase/client": "^2.5.6", + "@budibase/frontend-core": "^2.5.6", + "@budibase/shared-core": "^2.5.6", + "@budibase/string-templates": "^2.5.6", "@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 a1d28a6498..9017456266 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.5", + "version": "2.5.6", "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.5.5", - "@budibase/string-templates": "^2.5.5", - "@budibase/types": "^2.5.5", + "@budibase/backend-core": "^2.5.6", + "@budibase/string-templates": "^2.5.6", + "@budibase/types": "^2.5.6", "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 b34dd39cd1..c27aee9889 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.5", + "version": "2.5.6", "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.5.5", - "@budibase/frontend-core": "^2.5.5", - "@budibase/shared-core": "^2.5.5", - "@budibase/string-templates": "^2.5.5", - "@budibase/types": "^2.5.5", + "@budibase/bbui": "^2.5.6", + "@budibase/frontend-core": "^2.5.6", + "@budibase/shared-core": "^2.5.6", + "@budibase/string-templates": "^2.5.6", + "@budibase/types": "^2.5.6", "@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 cd08d03463..40eaf6b25e 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,13 +1,13 @@ { "name": "@budibase/frontend-core", - "version": "2.5.5", + "version": "2.5.6", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^2.5.5", - "@budibase/shared-core": "^2.5.5", + "@budibase/bbui": "^2.5.6", + "@budibase/shared-core": "^2.5.6", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index bb66f0aaa7..e335bcd39b 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.5", + "version": "2.5.6", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index df8d6ebfd3..bc138fc884 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.5.5", + "version": "2.5.6", "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.5.5", - "@budibase/client": "^2.5.5", + "@budibase/backend-core": "^2.5.6", + "@budibase/client": "^2.5.6", "@budibase/pro": "2.5.5", - "@budibase/shared-core": "^2.5.5", - "@budibase/string-templates": "^2.5.5", - "@budibase/types": "^2.5.5", + "@budibase/shared-core": "^2.5.6", + "@budibase/string-templates": "^2.5.6", + "@budibase/types": "^2.5.6", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index 3694d98fc8..9356dbc8d3 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/shared-core", - "version": "2.5.5", + "version": "2.5.6", "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.5.5" + "@budibase/types": "^2.5.6" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index b2aaadb78f..fa3941f158 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.5.5", + "version": "2.5.6", "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 8848ba6b9d..316f471001 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.5", + "version": "2.5.6", "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 d39fcb96ae..3426eafbd2 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.5.5", + "version": "2.5.6", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -36,10 +36,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^2.5.5", + "@budibase/backend-core": "^2.5.6", "@budibase/pro": "2.5.5", - "@budibase/string-templates": "^2.5.5", - "@budibase/types": "^2.5.5", + "@budibase/string-templates": "^2.5.6", + "@budibase/types": "^2.5.6", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From cb0f321261a831ff8519e490721329338b4e726c Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Thu, 20 Apr 2023 14:33:28 +0000 Subject: [PATCH 07/26] Update pro version to 2.5.6 --- 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 bc138fc884..1478976700 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -46,7 +46,7 @@ "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "^2.5.6", "@budibase/client": "^2.5.6", - "@budibase/pro": "2.5.5", + "@budibase/pro": "2.5.6", "@budibase/shared-core": "^2.5.6", "@budibase/string-templates": "^2.5.6", "@budibase/types": "^2.5.6", diff --git a/packages/server/yarn.lock b/packages/server/yarn.lock index 41b372f51e..2ef140b136 100644 --- a/packages/server/yarn.lock +++ b/packages/server/yarn.lock @@ -1290,14 +1290,14 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.5.tgz#d1ae36564de447674a157790b1e8ebff5f42748c" - integrity sha512-mGQSK6wc4M6+KVpfsbcfijjOJaWreGnd0muLFrUYsogliglWDXeCTfdEXFMkhCyKEe+3TWeVkxVKzss6zSG+Mw== +"@budibase/backend-core@2.5.6": + version "2.5.6" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.6.tgz#c9dc047eac01088b9bd47abe1392080a2a041cfd" + integrity sha512-XwNhe7e+hzP/ejByXSKfOXbtxnfK7wThNhkSNMRQJ0NC78QdJyjRNTezDCW0TA+ILueNhG2zF5KW0Eazq1YWxA== dependencies: "@budibase/nano" "10.1.2" "@budibase/pouchdb-replication-stream" "1.2.10" - "@budibase/types" "^2.5.5" + "@budibase/types" "^2.5.6" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -1429,14 +1429,14 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.5.tgz#8aa44b99baa8763d85f0ba3db92a178259dcf13e" - integrity sha512-dOUWWZGbFIumTfCQPmNSaTqlkLD6O/SK6H7IYY8FP67eMrLRZUanO3l0XgbjDiOdFIS1Hw5vvjHmunP0hQdLyw== +"@budibase/pro@2.5.6": + version "2.5.6" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6.tgz#6f7311b67c2f4928f0885e91694310abcf8786b0" + integrity sha512-VTBcmazP5Bi2LukCnzZKmtDrw0zwa7TViB0oJKPKp6QIJP74VT+wSyLOk9OPqwtlAHAPeBfkE+mBdvF5vvj7TA== dependencies: - "@budibase/backend-core" "2.5.5" + "@budibase/backend-core" "2.5.6" "@budibase/string-templates" "2.3.20" - "@budibase/types" "2.5.5" + "@budibase/types" "2.5.6" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1475,10 +1475,10 @@ lodash "^4.17.20" vm2 "^3.9.4" -"@budibase/types@2.5.5", "@budibase/types@^2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.5.tgz#aca40d7e160e400b9a814fbaa7ad04d10dcf9672" - integrity sha512-caKRxeCfnXzMFCc2lfDhKREl4VsDqnAnT55339NHQFTpDrTFboY0bG6h6osNan5CQCafNCLtS32bz597frGT9A== +"@budibase/types@2.5.6", "@budibase/types@^2.5.6": + version "2.5.6" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.6.tgz#b52566ebe54de5b515b4fc6eabfd6f279202fce1" + integrity sha512-WQVCcYJhj0hexi7BsayOgwpOC3AaMsA7azD4PjpifzaK0Ez+U2NzAT7oEZM9TL8aG8p4BvnTaAxP/Q9KRTdeRA== "@bull-board/api@3.7.0": version "3.7.0" diff --git a/packages/worker/package.json b/packages/worker/package.json index 3426eafbd2..3a7a27d883 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -37,7 +37,7 @@ "license": "GPL-3.0", "dependencies": { "@budibase/backend-core": "^2.5.6", - "@budibase/pro": "2.5.5", + "@budibase/pro": "2.5.6", "@budibase/string-templates": "^2.5.6", "@budibase/types": "^2.5.6", "@koa/router": "8.0.8", diff --git a/packages/worker/yarn.lock b/packages/worker/yarn.lock index 6c38f01998..fd40e06293 100644 --- a/packages/worker/yarn.lock +++ b/packages/worker/yarn.lock @@ -475,14 +475,14 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.5.tgz#d1ae36564de447674a157790b1e8ebff5f42748c" - integrity sha512-mGQSK6wc4M6+KVpfsbcfijjOJaWreGnd0muLFrUYsogliglWDXeCTfdEXFMkhCyKEe+3TWeVkxVKzss6zSG+Mw== +"@budibase/backend-core@2.5.6": + version "2.5.6" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.6.tgz#c9dc047eac01088b9bd47abe1392080a2a041cfd" + integrity sha512-XwNhe7e+hzP/ejByXSKfOXbtxnfK7wThNhkSNMRQJ0NC78QdJyjRNTezDCW0TA+ILueNhG2zF5KW0Eazq1YWxA== dependencies: "@budibase/nano" "10.1.2" "@budibase/pouchdb-replication-stream" "1.2.10" - "@budibase/types" "^2.5.5" + "@budibase/types" "^2.5.6" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -564,14 +564,14 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.5.tgz#8aa44b99baa8763d85f0ba3db92a178259dcf13e" - integrity sha512-dOUWWZGbFIumTfCQPmNSaTqlkLD6O/SK6H7IYY8FP67eMrLRZUanO3l0XgbjDiOdFIS1Hw5vvjHmunP0hQdLyw== +"@budibase/pro@2.5.6": + version "2.5.6" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6.tgz#6f7311b67c2f4928f0885e91694310abcf8786b0" + integrity sha512-VTBcmazP5Bi2LukCnzZKmtDrw0zwa7TViB0oJKPKp6QIJP74VT+wSyLOk9OPqwtlAHAPeBfkE+mBdvF5vvj7TA== dependencies: - "@budibase/backend-core" "2.5.5" + "@budibase/backend-core" "2.5.6" "@budibase/string-templates" "2.3.20" - "@budibase/types" "2.5.5" + "@budibase/types" "2.5.6" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -592,10 +592,10 @@ lodash "^4.17.20" vm2 "^3.9.4" -"@budibase/types@2.5.5", "@budibase/types@^2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.5.tgz#aca40d7e160e400b9a814fbaa7ad04d10dcf9672" - integrity sha512-caKRxeCfnXzMFCc2lfDhKREl4VsDqnAnT55339NHQFTpDrTFboY0bG6h6osNan5CQCafNCLtS32bz597frGT9A== +"@budibase/types@2.5.6", "@budibase/types@^2.5.6": + version "2.5.6" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.6.tgz#b52566ebe54de5b515b4fc6eabfd6f279202fce1" + integrity sha512-WQVCcYJhj0hexi7BsayOgwpOC3AaMsA7azD4PjpifzaK0Ez+U2NzAT7oEZM9TL8aG8p4BvnTaAxP/Q9KRTdeRA== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" From b75caa03a6f01f89a914d399cfe1306e8fb9e29f Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Fri, 21 Apr 2023 17:25:55 +0100 Subject: [PATCH 08/26] updating production timeouts --- hosting/proxy/nginx.prod.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosting/proxy/nginx.prod.conf b/hosting/proxy/nginx.prod.conf index 8954106feb..dce1a71918 100644 --- a/hosting/proxy/nginx.prod.conf +++ b/hosting/proxy/nginx.prod.conf @@ -222,9 +222,9 @@ http { rewrite ^/files/signed/(.*)$ /$1 break; } - client_header_timeout 60; - client_body_timeout 60; - keepalive_timeout 60; + client_header_timeout 120; + client_body_timeout 120; + keepalive_timeout 120; # gzip gzip on; From 93f7bd54d80dd8cd4e395a930bac2173741c076c Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Fri, 21 Apr 2023 17:29:12 +0000 Subject: [PATCH 09/26] v2.5.7 --- lerna.json | 2 +- packages/backend-core/package.json | 4 ++-- packages/bbui/package.json | 6 +++--- packages/builder/package.json | 12 ++++++------ packages/cli/package.json | 8 ++++---- packages/client/package.json | 12 ++++++------ packages/frontend-core/package.json | 6 +++--- packages/sdk/package.json | 2 +- packages/server/package.json | 12 ++++++------ packages/shared-core/package.json | 4 ++-- packages/string-templates/package.json | 2 +- packages/types/package.json | 2 +- packages/worker/package.json | 8 ++++---- 13 files changed, 40 insertions(+), 40 deletions(-) diff --git a/lerna.json b/lerna.json index a2c820416b..b9751a60cc 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.6", + "version": "2.5.7", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 33e2865c70..519a237914 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.5.6", + "version": "2.5.7", "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.5.6", + "@budibase/types": "^2.5.7", "@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 1c807d89e0..3634bcb844 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.5.6", + "version": "2.5.7", "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.5.6", - "@budibase/string-templates": "^2.5.6", + "@budibase/shared-core": "^2.5.7", + "@budibase/string-templates": "^2.5.7", "@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 97a61878ac..3c37ebcf34 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.6", + "version": "2.5.7", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "^2.5.6", - "@budibase/client": "^2.5.6", - "@budibase/frontend-core": "^2.5.6", - "@budibase/shared-core": "^2.5.6", - "@budibase/string-templates": "^2.5.6", + "@budibase/bbui": "^2.5.7", + "@budibase/client": "^2.5.7", + "@budibase/frontend-core": "^2.5.7", + "@budibase/shared-core": "^2.5.7", + "@budibase/string-templates": "^2.5.7", "@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 9017456266..49d81ee9b8 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.6", + "version": "2.5.7", "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.5.6", - "@budibase/string-templates": "^2.5.6", - "@budibase/types": "^2.5.6", + "@budibase/backend-core": "^2.5.7", + "@budibase/string-templates": "^2.5.7", + "@budibase/types": "^2.5.7", "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 c27aee9889..8a1247ee02 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.6", + "version": "2.5.7", "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.5.6", - "@budibase/frontend-core": "^2.5.6", - "@budibase/shared-core": "^2.5.6", - "@budibase/string-templates": "^2.5.6", - "@budibase/types": "^2.5.6", + "@budibase/bbui": "^2.5.7", + "@budibase/frontend-core": "^2.5.7", + "@budibase/shared-core": "^2.5.7", + "@budibase/string-templates": "^2.5.7", + "@budibase/types": "^2.5.7", "@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 40eaf6b25e..427e0a9733 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,13 +1,13 @@ { "name": "@budibase/frontend-core", - "version": "2.5.6", + "version": "2.5.7", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^2.5.6", - "@budibase/shared-core": "^2.5.6", + "@budibase/bbui": "^2.5.7", + "@budibase/shared-core": "^2.5.7", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index e335bcd39b..daedad00df 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.6", + "version": "2.5.7", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index 1478976700..5e51e91068 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.5.6", + "version": "2.5.7", "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.5.6", - "@budibase/client": "^2.5.6", + "@budibase/backend-core": "^2.5.7", + "@budibase/client": "^2.5.7", "@budibase/pro": "2.5.6", - "@budibase/shared-core": "^2.5.6", - "@budibase/string-templates": "^2.5.6", - "@budibase/types": "^2.5.6", + "@budibase/shared-core": "^2.5.7", + "@budibase/string-templates": "^2.5.7", + "@budibase/types": "^2.5.7", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index 9356dbc8d3..e92306ddec 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/shared-core", - "version": "2.5.6", + "version": "2.5.7", "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.5.6" + "@budibase/types": "^2.5.7" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index fa3941f158..df3c0de5c3 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.5.6", + "version": "2.5.7", "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 316f471001..0bf0c8f58f 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.6", + "version": "2.5.7", "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 3a7a27d883..f800c38035 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.5.6", + "version": "2.5.7", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -36,10 +36,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^2.5.6", + "@budibase/backend-core": "^2.5.7", "@budibase/pro": "2.5.6", - "@budibase/string-templates": "^2.5.6", - "@budibase/types": "^2.5.6", + "@budibase/string-templates": "^2.5.7", + "@budibase/types": "^2.5.7", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 9aa6e1e44d4b614ac1e1300a7fd678872c2f93bb Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Fri, 21 Apr 2023 17:32:17 +0000 Subject: [PATCH 10/26] Update pro version to 2.5.7 --- 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 5e51e91068..770d6748da 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -46,7 +46,7 @@ "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "^2.5.7", "@budibase/client": "^2.5.7", - "@budibase/pro": "2.5.6", + "@budibase/pro": "2.5.7", "@budibase/shared-core": "^2.5.7", "@budibase/string-templates": "^2.5.7", "@budibase/types": "^2.5.7", diff --git a/packages/server/yarn.lock b/packages/server/yarn.lock index 2ef140b136..f27070b38d 100644 --- a/packages/server/yarn.lock +++ b/packages/server/yarn.lock @@ -1290,14 +1290,14 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.5.6": - version "2.5.6" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.6.tgz#c9dc047eac01088b9bd47abe1392080a2a041cfd" - integrity sha512-XwNhe7e+hzP/ejByXSKfOXbtxnfK7wThNhkSNMRQJ0NC78QdJyjRNTezDCW0TA+ILueNhG2zF5KW0Eazq1YWxA== +"@budibase/backend-core@2.5.7": + version "2.5.7" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.7.tgz#df392b2a10b827576265ea541b1a56c56a286d3e" + integrity sha512-GaqW5rkFAjiOnOtY8bof8eVtK/5N9gmN/AhgWvNpzSDy+1vq3U9pQGfKGp/iSJjkvL8woayf8NCyJfFWdxdAIA== dependencies: "@budibase/nano" "10.1.2" "@budibase/pouchdb-replication-stream" "1.2.10" - "@budibase/types" "^2.5.6" + "@budibase/types" "^2.5.7" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -1429,14 +1429,14 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.6": - version "2.5.6" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6.tgz#6f7311b67c2f4928f0885e91694310abcf8786b0" - integrity sha512-VTBcmazP5Bi2LukCnzZKmtDrw0zwa7TViB0oJKPKp6QIJP74VT+wSyLOk9OPqwtlAHAPeBfkE+mBdvF5vvj7TA== +"@budibase/pro@2.5.7": + version "2.5.7" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.7.tgz#5033d2648da2ec9d4d442171a2b201857a6ad955" + integrity sha512-XNcva7Jq0S2KmOGvDMceg31qs/3AgLhNZZfA86ziTeLOBTF4G1JwkCRw+cn63ApM7AhY+rgAWW4ZkRDPMz5VWQ== dependencies: - "@budibase/backend-core" "2.5.6" + "@budibase/backend-core" "2.5.7" "@budibase/string-templates" "2.3.20" - "@budibase/types" "2.5.6" + "@budibase/types" "2.5.7" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1475,10 +1475,10 @@ lodash "^4.17.20" vm2 "^3.9.4" -"@budibase/types@2.5.6", "@budibase/types@^2.5.6": - version "2.5.6" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.6.tgz#b52566ebe54de5b515b4fc6eabfd6f279202fce1" - integrity sha512-WQVCcYJhj0hexi7BsayOgwpOC3AaMsA7azD4PjpifzaK0Ez+U2NzAT7oEZM9TL8aG8p4BvnTaAxP/Q9KRTdeRA== +"@budibase/types@2.5.7", "@budibase/types@^2.5.7": + version "2.5.7" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.7.tgz#5879fbaa3781a0ff51df502de9ce04cbfcee6ec5" + integrity sha512-AMvHJD7ARM0X/ZFS1g+Zk6jqw/SQLeYuPWeJ3AVI6MyKM5P65FgfHmrgk81Cn2ExXmtbHky/N63qnOAhR6Hyqg== "@bull-board/api@3.7.0": version "3.7.0" diff --git a/packages/worker/package.json b/packages/worker/package.json index f800c38035..d04c8d82a3 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -37,7 +37,7 @@ "license": "GPL-3.0", "dependencies": { "@budibase/backend-core": "^2.5.7", - "@budibase/pro": "2.5.6", + "@budibase/pro": "2.5.7", "@budibase/string-templates": "^2.5.7", "@budibase/types": "^2.5.7", "@koa/router": "8.0.8", diff --git a/packages/worker/yarn.lock b/packages/worker/yarn.lock index fd40e06293..317b95646e 100644 --- a/packages/worker/yarn.lock +++ b/packages/worker/yarn.lock @@ -475,14 +475,14 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.5.6": - version "2.5.6" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.6.tgz#c9dc047eac01088b9bd47abe1392080a2a041cfd" - integrity sha512-XwNhe7e+hzP/ejByXSKfOXbtxnfK7wThNhkSNMRQJ0NC78QdJyjRNTezDCW0TA+ILueNhG2zF5KW0Eazq1YWxA== +"@budibase/backend-core@2.5.7": + version "2.5.7" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.7.tgz#df392b2a10b827576265ea541b1a56c56a286d3e" + integrity sha512-GaqW5rkFAjiOnOtY8bof8eVtK/5N9gmN/AhgWvNpzSDy+1vq3U9pQGfKGp/iSJjkvL8woayf8NCyJfFWdxdAIA== dependencies: "@budibase/nano" "10.1.2" "@budibase/pouchdb-replication-stream" "1.2.10" - "@budibase/types" "^2.5.6" + "@budibase/types" "^2.5.7" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -564,14 +564,14 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.6": - version "2.5.6" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6.tgz#6f7311b67c2f4928f0885e91694310abcf8786b0" - integrity sha512-VTBcmazP5Bi2LukCnzZKmtDrw0zwa7TViB0oJKPKp6QIJP74VT+wSyLOk9OPqwtlAHAPeBfkE+mBdvF5vvj7TA== +"@budibase/pro@2.5.7": + version "2.5.7" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.7.tgz#5033d2648da2ec9d4d442171a2b201857a6ad955" + integrity sha512-XNcva7Jq0S2KmOGvDMceg31qs/3AgLhNZZfA86ziTeLOBTF4G1JwkCRw+cn63ApM7AhY+rgAWW4ZkRDPMz5VWQ== dependencies: - "@budibase/backend-core" "2.5.6" + "@budibase/backend-core" "2.5.7" "@budibase/string-templates" "2.3.20" - "@budibase/types" "2.5.6" + "@budibase/types" "2.5.7" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -592,10 +592,10 @@ lodash "^4.17.20" vm2 "^3.9.4" -"@budibase/types@2.5.6", "@budibase/types@^2.5.6": - version "2.5.6" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.6.tgz#b52566ebe54de5b515b4fc6eabfd6f279202fce1" - integrity sha512-WQVCcYJhj0hexi7BsayOgwpOC3AaMsA7azD4PjpifzaK0Ez+U2NzAT7oEZM9TL8aG8p4BvnTaAxP/Q9KRTdeRA== +"@budibase/types@2.5.7", "@budibase/types@^2.5.7": + version "2.5.7" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.7.tgz#5879fbaa3781a0ff51df502de9ce04cbfcee6ec5" + integrity sha512-AMvHJD7ARM0X/ZFS1g+Zk6jqw/SQLeYuPWeJ3AVI6MyKM5P65FgfHmrgk81Cn2ExXmtbHky/N63qnOAhR6Hyqg== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" From 2f2084a426f0219eb65718714798d96f946cbd71 Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Mon, 24 Apr 2023 08:47:42 +0000 Subject: [PATCH 11/26] v2.5.8 --- lerna.json | 2 +- packages/backend-core/package.json | 4 ++-- packages/bbui/package.json | 6 +++--- packages/builder/package.json | 12 ++++++------ packages/cli/package.json | 8 ++++---- packages/client/package.json | 12 ++++++------ packages/frontend-core/package.json | 6 +++--- packages/sdk/package.json | 2 +- packages/server/package.json | 12 ++++++------ packages/shared-core/package.json | 4 ++-- packages/string-templates/package.json | 2 +- packages/types/package.json | 2 +- packages/worker/package.json | 8 ++++---- 13 files changed, 40 insertions(+), 40 deletions(-) diff --git a/lerna.json b/lerna.json index b9751a60cc..b142e44eaf 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.7", + "version": "2.5.8", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 519a237914..9aae900b3a 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.5.7", + "version": "2.5.8", "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.5.7", + "@budibase/types": "^2.5.8", "@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 3634bcb844..f27dbd36f8 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.5.7", + "version": "2.5.8", "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.5.7", - "@budibase/string-templates": "^2.5.7", + "@budibase/shared-core": "^2.5.8", + "@budibase/string-templates": "^2.5.8", "@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 3c37ebcf34..5dc9a8ada3 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.7", + "version": "2.5.8", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "^2.5.7", - "@budibase/client": "^2.5.7", - "@budibase/frontend-core": "^2.5.7", - "@budibase/shared-core": "^2.5.7", - "@budibase/string-templates": "^2.5.7", + "@budibase/bbui": "^2.5.8", + "@budibase/client": "^2.5.8", + "@budibase/frontend-core": "^2.5.8", + "@budibase/shared-core": "^2.5.8", + "@budibase/string-templates": "^2.5.8", "@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 49d81ee9b8..686bce341e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.7", + "version": "2.5.8", "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.5.7", - "@budibase/string-templates": "^2.5.7", - "@budibase/types": "^2.5.7", + "@budibase/backend-core": "^2.5.8", + "@budibase/string-templates": "^2.5.8", + "@budibase/types": "^2.5.8", "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 8a1247ee02..5f5cd9db23 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.7", + "version": "2.5.8", "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.5.7", - "@budibase/frontend-core": "^2.5.7", - "@budibase/shared-core": "^2.5.7", - "@budibase/string-templates": "^2.5.7", - "@budibase/types": "^2.5.7", + "@budibase/bbui": "^2.5.8", + "@budibase/frontend-core": "^2.5.8", + "@budibase/shared-core": "^2.5.8", + "@budibase/string-templates": "^2.5.8", + "@budibase/types": "^2.5.8", "@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 427e0a9733..126216e44b 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,13 +1,13 @@ { "name": "@budibase/frontend-core", - "version": "2.5.7", + "version": "2.5.8", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^2.5.7", - "@budibase/shared-core": "^2.5.7", + "@budibase/bbui": "^2.5.8", + "@budibase/shared-core": "^2.5.8", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index daedad00df..5ae5b2aa3e 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.7", + "version": "2.5.8", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index 770d6748da..9d02b6e0fd 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.5.7", + "version": "2.5.8", "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.5.7", - "@budibase/client": "^2.5.7", + "@budibase/backend-core": "^2.5.8", + "@budibase/client": "^2.5.8", "@budibase/pro": "2.5.7", - "@budibase/shared-core": "^2.5.7", - "@budibase/string-templates": "^2.5.7", - "@budibase/types": "^2.5.7", + "@budibase/shared-core": "^2.5.8", + "@budibase/string-templates": "^2.5.8", + "@budibase/types": "^2.5.8", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index e92306ddec..261d0b1794 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/shared-core", - "version": "2.5.7", + "version": "2.5.8", "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.5.7" + "@budibase/types": "^2.5.8" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index df3c0de5c3..fec938d306 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.5.7", + "version": "2.5.8", "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 0bf0c8f58f..d6dd143ae2 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.7", + "version": "2.5.8", "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 d04c8d82a3..915d4de941 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.5.7", + "version": "2.5.8", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -36,10 +36,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^2.5.7", + "@budibase/backend-core": "^2.5.8", "@budibase/pro": "2.5.7", - "@budibase/string-templates": "^2.5.7", - "@budibase/types": "^2.5.7", + "@budibase/string-templates": "^2.5.8", + "@budibase/types": "^2.5.8", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 9eef7acdb3016af76fbd88e6044afabc6d92eee7 Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Mon, 24 Apr 2023 08:50:28 +0000 Subject: [PATCH 12/26] Update pro version to 2.5.8 --- 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 9d02b6e0fd..b32bb6c628 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -46,7 +46,7 @@ "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "^2.5.8", "@budibase/client": "^2.5.8", - "@budibase/pro": "2.5.7", + "@budibase/pro": "2.5.8", "@budibase/shared-core": "^2.5.8", "@budibase/string-templates": "^2.5.8", "@budibase/types": "^2.5.8", diff --git a/packages/server/yarn.lock b/packages/server/yarn.lock index f27070b38d..0e9637194b 100644 --- a/packages/server/yarn.lock +++ b/packages/server/yarn.lock @@ -1290,14 +1290,14 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.5.7": - version "2.5.7" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.7.tgz#df392b2a10b827576265ea541b1a56c56a286d3e" - integrity sha512-GaqW5rkFAjiOnOtY8bof8eVtK/5N9gmN/AhgWvNpzSDy+1vq3U9pQGfKGp/iSJjkvL8woayf8NCyJfFWdxdAIA== +"@budibase/backend-core@2.5.8": + version "2.5.8" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.8.tgz#9976577fe7c0311333170910fdb2f1391f982e37" + integrity sha512-gHUXTRLg0MfdL7aEL8WiHtr1vSmpuEGt9iB/TgtEYbZOLCYkbLhWW9O51OqH82czLV+U5JOCyl+lg0r5mJxmVQ== dependencies: "@budibase/nano" "10.1.2" "@budibase/pouchdb-replication-stream" "1.2.10" - "@budibase/types" "^2.5.7" + "@budibase/types" "^2.5.8" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -1429,14 +1429,14 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.7": - version "2.5.7" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.7.tgz#5033d2648da2ec9d4d442171a2b201857a6ad955" - integrity sha512-XNcva7Jq0S2KmOGvDMceg31qs/3AgLhNZZfA86ziTeLOBTF4G1JwkCRw+cn63ApM7AhY+rgAWW4ZkRDPMz5VWQ== +"@budibase/pro@2.5.8": + version "2.5.8" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.8.tgz#8d89339155726d6f55f94d291d62fc0772dd46b0" + integrity sha512-B0YKL+F0hCVqjxI4k2dTfbpy7SYD5Swtzn7s/77EulVEJTiADx5LNZQ4/lqmzz/ll6uC4/ofZT3hF0bF6jN8bQ== dependencies: - "@budibase/backend-core" "2.5.7" + "@budibase/backend-core" "2.5.8" "@budibase/string-templates" "2.3.20" - "@budibase/types" "2.5.7" + "@budibase/types" "2.5.8" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1475,10 +1475,10 @@ lodash "^4.17.20" vm2 "^3.9.4" -"@budibase/types@2.5.7", "@budibase/types@^2.5.7": - version "2.5.7" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.7.tgz#5879fbaa3781a0ff51df502de9ce04cbfcee6ec5" - integrity sha512-AMvHJD7ARM0X/ZFS1g+Zk6jqw/SQLeYuPWeJ3AVI6MyKM5P65FgfHmrgk81Cn2ExXmtbHky/N63qnOAhR6Hyqg== +"@budibase/types@2.5.8", "@budibase/types@^2.5.8": + version "2.5.8" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.8.tgz#52842682e8fe4d8f103e97b98f381ca42a3e35c9" + integrity sha512-8IqeXHNiwGomu7N7nKXXiTdxneS8OHaCJ1r4z0boMRJEJiYXismhhMsxrwq95MFCtm+igj/ogBFWssop1/rXOw== "@bull-board/api@3.7.0": version "3.7.0" diff --git a/packages/worker/package.json b/packages/worker/package.json index 915d4de941..3829dba7cd 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -37,7 +37,7 @@ "license": "GPL-3.0", "dependencies": { "@budibase/backend-core": "^2.5.8", - "@budibase/pro": "2.5.7", + "@budibase/pro": "2.5.8", "@budibase/string-templates": "^2.5.8", "@budibase/types": "^2.5.8", "@koa/router": "8.0.8", diff --git a/packages/worker/yarn.lock b/packages/worker/yarn.lock index 317b95646e..0861e25f33 100644 --- a/packages/worker/yarn.lock +++ b/packages/worker/yarn.lock @@ -475,14 +475,14 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.5.7": - version "2.5.7" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.7.tgz#df392b2a10b827576265ea541b1a56c56a286d3e" - integrity sha512-GaqW5rkFAjiOnOtY8bof8eVtK/5N9gmN/AhgWvNpzSDy+1vq3U9pQGfKGp/iSJjkvL8woayf8NCyJfFWdxdAIA== +"@budibase/backend-core@2.5.8": + version "2.5.8" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.8.tgz#9976577fe7c0311333170910fdb2f1391f982e37" + integrity sha512-gHUXTRLg0MfdL7aEL8WiHtr1vSmpuEGt9iB/TgtEYbZOLCYkbLhWW9O51OqH82czLV+U5JOCyl+lg0r5mJxmVQ== dependencies: "@budibase/nano" "10.1.2" "@budibase/pouchdb-replication-stream" "1.2.10" - "@budibase/types" "^2.5.7" + "@budibase/types" "^2.5.8" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -564,14 +564,14 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.7": - version "2.5.7" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.7.tgz#5033d2648da2ec9d4d442171a2b201857a6ad955" - integrity sha512-XNcva7Jq0S2KmOGvDMceg31qs/3AgLhNZZfA86ziTeLOBTF4G1JwkCRw+cn63ApM7AhY+rgAWW4ZkRDPMz5VWQ== +"@budibase/pro@2.5.8": + version "2.5.8" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.8.tgz#8d89339155726d6f55f94d291d62fc0772dd46b0" + integrity sha512-B0YKL+F0hCVqjxI4k2dTfbpy7SYD5Swtzn7s/77EulVEJTiADx5LNZQ4/lqmzz/ll6uC4/ofZT3hF0bF6jN8bQ== dependencies: - "@budibase/backend-core" "2.5.7" + "@budibase/backend-core" "2.5.8" "@budibase/string-templates" "2.3.20" - "@budibase/types" "2.5.7" + "@budibase/types" "2.5.8" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -592,10 +592,10 @@ lodash "^4.17.20" vm2 "^3.9.4" -"@budibase/types@2.5.7", "@budibase/types@^2.5.7": - version "2.5.7" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.7.tgz#5879fbaa3781a0ff51df502de9ce04cbfcee6ec5" - integrity sha512-AMvHJD7ARM0X/ZFS1g+Zk6jqw/SQLeYuPWeJ3AVI6MyKM5P65FgfHmrgk81Cn2ExXmtbHky/N63qnOAhR6Hyqg== +"@budibase/types@2.5.8", "@budibase/types@^2.5.8": + version "2.5.8" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.8.tgz#52842682e8fe4d8f103e97b98f381ca42a3e35c9" + integrity sha512-8IqeXHNiwGomu7N7nKXXiTdxneS8OHaCJ1r4z0boMRJEJiYXismhhMsxrwq95MFCtm+igj/ogBFWssop1/rXOw== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" From 608a38489fdc90b91507621f7a986978cef39793 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 25 Apr 2023 12:34:50 +0100 Subject: [PATCH 13/26] Export undefineds as empty values in csv, instead of empty strings --- packages/server/src/api/controllers/row/internal.ts | 5 ++++- packages/server/src/api/controllers/row/utils.ts | 4 ++-- packages/server/src/api/controllers/view/exporters.ts | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/server/src/api/controllers/row/internal.ts b/packages/server/src/api/controllers/row/internal.ts index a0bebc2490..cc1450060c 100644 --- a/packages/server/src/api/controllers/row/internal.ts +++ b/packages/server/src/api/controllers/row/internal.ts @@ -37,7 +37,7 @@ import { Table, } from "@budibase/types" -const { cleanExportRows } = require("./utils") +import { cleanExportRows } from "./utils" const CALCULATION_TYPES = { SUM: "sum", @@ -391,6 +391,9 @@ export async function exportRows(ctx: UserCtx) { const table = await db.get(ctx.params.tableId) const rowIds = ctx.request.body.rows let format = ctx.query.format + if (typeof format !== "string") { + ctx.throw(400, "Format parameter is not valid") + } const { columns, query } = ctx.request.body let result diff --git a/packages/server/src/api/controllers/row/utils.ts b/packages/server/src/api/controllers/row/utils.ts index e96a4fe6ee..a7c467ea61 100644 --- a/packages/server/src/api/controllers/row/utils.ts +++ b/packages/server/src/api/controllers/row/utils.ts @@ -137,8 +137,8 @@ export function cleanExportRows( delete schema[column] }) - // Intended to avoid 'undefined' in export if (format === Format.CSV) { + // Intended to append empty values in export const schemaKeys = Object.keys(schema) for (let key of schemaKeys) { if (columns?.length && columns.indexOf(key) > 0) { @@ -146,7 +146,7 @@ export function cleanExportRows( } for (let row of cleanRows) { if (row[key] == null) { - row[key] = "" + row[key] = undefined } } } diff --git a/packages/server/src/api/controllers/view/exporters.ts b/packages/server/src/api/controllers/view/exporters.ts index 4d927bca27..ec0aca95a9 100644 --- a/packages/server/src/api/controllers/view/exporters.ts +++ b/packages/server/src/api/controllers/view/exporters.ts @@ -10,7 +10,9 @@ export function csv(headers: string[], rows: Row[]) { val = typeof val === "object" && !(val instanceof Date) ? `"${JSON.stringify(val).replace(/"/g, "'")}"` - : `"${val}"` + : val !== undefined + ? `"${val}"` + : "" return val.trim() }) .join(",")}` From 8742fb39d31a8a9d193cb07e05abf1c65af24f97 Mon Sep 17 00:00:00 2001 From: melohagan <101575380+melohagan@users.noreply.github.com> Date: Fri, 28 Apr 2023 17:17:32 +0100 Subject: [PATCH 14/26] is empty lucene query with OR fix (#10451) * empty lucene query with OR fix * Fix unit test --- packages/backend-core/src/db/lucene.ts | 2 +- packages/server/src/api/routes/tests/internalSearch.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend-core/src/db/lucene.ts b/packages/backend-core/src/db/lucene.ts index 71ce4ba9ac..fcfaecf2b4 100644 --- a/packages/backend-core/src/db/lucene.ts +++ b/packages/backend-core/src/db/lucene.ts @@ -417,7 +417,7 @@ export class QueryBuilder { }) } if (this.query.empty) { - build(this.query.empty, (key: string) => `!${key}:["" TO *]`) + build(this.query.empty, (key: string) => `(*:* -${key}:["" TO *])`) } if (this.query.notEmpty) { build(this.query.notEmpty, (key: string) => `${key}:["" TO *]`) diff --git a/packages/server/src/api/routes/tests/internalSearch.spec.js b/packages/server/src/api/routes/tests/internalSearch.spec.js index 6ad333b87a..8d57d2ee1c 100644 --- a/packages/server/src/api/routes/tests/internalSearch.spec.js +++ b/packages/server/src/api/routes/tests/internalSearch.spec.js @@ -105,7 +105,7 @@ describe("internal search", () => { "column": "", }, }, PARAMS) - checkLucene(response, `*:* AND !column:["" TO *]`, PARAMS) + checkLucene(response, `*:* AND (*:* -column:["" TO *])`, PARAMS) }) it("test notEmpty query", async () => { From 9e62b6dc4b99111c88a4d6cffb323db1e44efa4f Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Fri, 28 Apr 2023 16:26:24 +0000 Subject: [PATCH 15/26] v2.5.9 --- lerna.json | 2 +- packages/backend-core/package.json | 4 ++-- packages/bbui/package.json | 6 +++--- packages/builder/package.json | 12 ++++++------ packages/cli/package.json | 8 ++++---- packages/client/package.json | 12 ++++++------ packages/frontend-core/package.json | 6 +++--- packages/sdk/package.json | 2 +- packages/server/package.json | 12 ++++++------ packages/shared-core/package.json | 4 ++-- packages/string-templates/package.json | 2 +- packages/types/package.json | 2 +- packages/worker/package.json | 8 ++++---- 13 files changed, 40 insertions(+), 40 deletions(-) diff --git a/lerna.json b/lerna.json index b142e44eaf..8890ee0c27 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.8", + "version": "2.5.9", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 9aae900b3a..5ac75f9181 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.5.8", + "version": "2.5.9", "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.5.8", + "@budibase/types": "^2.5.9", "@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 f27dbd36f8..4a78361d9f 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.5.8", + "version": "2.5.9", "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.5.8", - "@budibase/string-templates": "^2.5.8", + "@budibase/shared-core": "^2.5.9", + "@budibase/string-templates": "^2.5.9", "@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 5dc9a8ada3..fb8ba64aee 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.8", + "version": "2.5.9", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "^2.5.8", - "@budibase/client": "^2.5.8", - "@budibase/frontend-core": "^2.5.8", - "@budibase/shared-core": "^2.5.8", - "@budibase/string-templates": "^2.5.8", + "@budibase/bbui": "^2.5.9", + "@budibase/client": "^2.5.9", + "@budibase/frontend-core": "^2.5.9", + "@budibase/shared-core": "^2.5.9", + "@budibase/string-templates": "^2.5.9", "@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 686bce341e..790783a66e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.8", + "version": "2.5.9", "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.5.8", - "@budibase/string-templates": "^2.5.8", - "@budibase/types": "^2.5.8", + "@budibase/backend-core": "^2.5.9", + "@budibase/string-templates": "^2.5.9", + "@budibase/types": "^2.5.9", "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 5f5cd9db23..faaf16138a 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.8", + "version": "2.5.9", "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.5.8", - "@budibase/frontend-core": "^2.5.8", - "@budibase/shared-core": "^2.5.8", - "@budibase/string-templates": "^2.5.8", - "@budibase/types": "^2.5.8", + "@budibase/bbui": "^2.5.9", + "@budibase/frontend-core": "^2.5.9", + "@budibase/shared-core": "^2.5.9", + "@budibase/string-templates": "^2.5.9", + "@budibase/types": "^2.5.9", "@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 126216e44b..18576ffe4d 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,13 +1,13 @@ { "name": "@budibase/frontend-core", - "version": "2.5.8", + "version": "2.5.9", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^2.5.8", - "@budibase/shared-core": "^2.5.8", + "@budibase/bbui": "^2.5.9", + "@budibase/shared-core": "^2.5.9", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 5ae5b2aa3e..75a6bc5235 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.8", + "version": "2.5.9", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index b32bb6c628..86374b5dfe 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.5.8", + "version": "2.5.9", "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.5.8", - "@budibase/client": "^2.5.8", + "@budibase/backend-core": "^2.5.9", + "@budibase/client": "^2.5.9", "@budibase/pro": "2.5.8", - "@budibase/shared-core": "^2.5.8", - "@budibase/string-templates": "^2.5.8", - "@budibase/types": "^2.5.8", + "@budibase/shared-core": "^2.5.9", + "@budibase/string-templates": "^2.5.9", + "@budibase/types": "^2.5.9", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index 261d0b1794..332d8b6f60 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/shared-core", - "version": "2.5.8", + "version": "2.5.9", "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.5.8" + "@budibase/types": "^2.5.9" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index fec938d306..cbeb84785a 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.5.8", + "version": "2.5.9", "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 d6dd143ae2..73561d2236 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.8", + "version": "2.5.9", "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 3829dba7cd..0a8af76128 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.5.8", + "version": "2.5.9", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -36,10 +36,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^2.5.8", + "@budibase/backend-core": "^2.5.9", "@budibase/pro": "2.5.8", - "@budibase/string-templates": "^2.5.8", - "@budibase/types": "^2.5.8", + "@budibase/string-templates": "^2.5.9", + "@budibase/types": "^2.5.9", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 778da79a5740c6a2f7cd2e8bce6087d539f54d2d Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Fri, 28 Apr 2023 16:29:24 +0000 Subject: [PATCH 16/26] Update pro version to 2.5.9 --- 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 86374b5dfe..f30aa91546 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -46,7 +46,7 @@ "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "^2.5.9", "@budibase/client": "^2.5.9", - "@budibase/pro": "2.5.8", + "@budibase/pro": "2.5.9", "@budibase/shared-core": "^2.5.9", "@budibase/string-templates": "^2.5.9", "@budibase/types": "^2.5.9", diff --git a/packages/server/yarn.lock b/packages/server/yarn.lock index 0e9637194b..a105958eb7 100644 --- a/packages/server/yarn.lock +++ b/packages/server/yarn.lock @@ -1290,14 +1290,14 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.5.8": - version "2.5.8" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.8.tgz#9976577fe7c0311333170910fdb2f1391f982e37" - integrity sha512-gHUXTRLg0MfdL7aEL8WiHtr1vSmpuEGt9iB/TgtEYbZOLCYkbLhWW9O51OqH82czLV+U5JOCyl+lg0r5mJxmVQ== +"@budibase/backend-core@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.9.tgz#a738e125156e1e5111609eecc72c03e0ae4f8c4c" + integrity sha512-vfDx6fJxNBSBkpslwBHMbYBAgMn/uLZiVRx8fKUDr597Zk9KJO4UxPvix7cHVLH/M7UPuSLVl83f5p7GEjPbDQ== dependencies: "@budibase/nano" "10.1.2" "@budibase/pouchdb-replication-stream" "1.2.10" - "@budibase/types" "^2.5.8" + "@budibase/types" "^2.5.9" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -1429,14 +1429,14 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.8": - version "2.5.8" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.8.tgz#8d89339155726d6f55f94d291d62fc0772dd46b0" - integrity sha512-B0YKL+F0hCVqjxI4k2dTfbpy7SYD5Swtzn7s/77EulVEJTiADx5LNZQ4/lqmzz/ll6uC4/ofZT3hF0bF6jN8bQ== +"@budibase/pro@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.9.tgz#0c27da00c1c71260cf10295177fd8904277c9edc" + integrity sha512-EKYW+ud0SPwWjCtW9cDrRkBrxf7j/266btWuaqMLYHpR/s15vtN6h/jPvNt0RSpDbTAEgwt3A7QNQ1GjEI6YjQ== dependencies: - "@budibase/backend-core" "2.5.8" + "@budibase/backend-core" "2.5.9" "@budibase/string-templates" "2.3.20" - "@budibase/types" "2.5.8" + "@budibase/types" "2.5.9" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1475,10 +1475,10 @@ lodash "^4.17.20" vm2 "^3.9.4" -"@budibase/types@2.5.8", "@budibase/types@^2.5.8": - version "2.5.8" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.8.tgz#52842682e8fe4d8f103e97b98f381ca42a3e35c9" - integrity sha512-8IqeXHNiwGomu7N7nKXXiTdxneS8OHaCJ1r4z0boMRJEJiYXismhhMsxrwq95MFCtm+igj/ogBFWssop1/rXOw== +"@budibase/types@2.5.9", "@budibase/types@^2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.9.tgz#4b1253e76b95cd8d6a42e86ebc3363a305c62653" + integrity sha512-7NELdWB3iV5y+pmXhm9g/v1AlN+wqHtoy67DZxKY5dlcK4DCcTdlqkToGiiw9d3sDPgDAVznjdZYnB5pGzd3TQ== "@bull-board/api@3.7.0": version "3.7.0" diff --git a/packages/worker/package.json b/packages/worker/package.json index 0a8af76128..5102092302 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -37,7 +37,7 @@ "license": "GPL-3.0", "dependencies": { "@budibase/backend-core": "^2.5.9", - "@budibase/pro": "2.5.8", + "@budibase/pro": "2.5.9", "@budibase/string-templates": "^2.5.9", "@budibase/types": "^2.5.9", "@koa/router": "8.0.8", diff --git a/packages/worker/yarn.lock b/packages/worker/yarn.lock index 0861e25f33..c59ea85762 100644 --- a/packages/worker/yarn.lock +++ b/packages/worker/yarn.lock @@ -475,14 +475,14 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.5.8": - version "2.5.8" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.8.tgz#9976577fe7c0311333170910fdb2f1391f982e37" - integrity sha512-gHUXTRLg0MfdL7aEL8WiHtr1vSmpuEGt9iB/TgtEYbZOLCYkbLhWW9O51OqH82czLV+U5JOCyl+lg0r5mJxmVQ== +"@budibase/backend-core@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.9.tgz#a738e125156e1e5111609eecc72c03e0ae4f8c4c" + integrity sha512-vfDx6fJxNBSBkpslwBHMbYBAgMn/uLZiVRx8fKUDr597Zk9KJO4UxPvix7cHVLH/M7UPuSLVl83f5p7GEjPbDQ== dependencies: "@budibase/nano" "10.1.2" "@budibase/pouchdb-replication-stream" "1.2.10" - "@budibase/types" "^2.5.8" + "@budibase/types" "^2.5.9" "@shopify/jest-koa-mocks" "5.0.1" "@techpass/passport-openidconnect" "0.3.2" aws-cloudfront-sign "2.2.0" @@ -564,14 +564,14 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.8": - version "2.5.8" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.8.tgz#8d89339155726d6f55f94d291d62fc0772dd46b0" - integrity sha512-B0YKL+F0hCVqjxI4k2dTfbpy7SYD5Swtzn7s/77EulVEJTiADx5LNZQ4/lqmzz/ll6uC4/ofZT3hF0bF6jN8bQ== +"@budibase/pro@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.9.tgz#0c27da00c1c71260cf10295177fd8904277c9edc" + integrity sha512-EKYW+ud0SPwWjCtW9cDrRkBrxf7j/266btWuaqMLYHpR/s15vtN6h/jPvNt0RSpDbTAEgwt3A7QNQ1GjEI6YjQ== dependencies: - "@budibase/backend-core" "2.5.8" + "@budibase/backend-core" "2.5.9" "@budibase/string-templates" "2.3.20" - "@budibase/types" "2.5.8" + "@budibase/types" "2.5.9" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -592,10 +592,10 @@ lodash "^4.17.20" vm2 "^3.9.4" -"@budibase/types@2.5.8", "@budibase/types@^2.5.8": - version "2.5.8" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.8.tgz#52842682e8fe4d8f103e97b98f381ca42a3e35c9" - integrity sha512-8IqeXHNiwGomu7N7nKXXiTdxneS8OHaCJ1r4z0boMRJEJiYXismhhMsxrwq95MFCtm+igj/ogBFWssop1/rXOw== +"@budibase/types@2.5.9", "@budibase/types@^2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.9.tgz#4b1253e76b95cd8d6a42e86ebc3363a305c62653" + integrity sha512-7NELdWB3iV5y+pmXhm9g/v1AlN+wqHtoy67DZxKY5dlcK4DCcTdlqkToGiiw9d3sDPgDAVznjdZYnB5pGzd3TQ== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" From 29df12c247a473944c436953e470088bd51f2d94 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 2 May 2023 10:34:45 +0100 Subject: [PATCH 17/26] Add csvutils --- packages/server/src/api/controllers/table/index.ts | 4 ++-- packages/server/src/utilities/csv.ts | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 packages/server/src/utilities/csv.ts diff --git a/packages/server/src/api/controllers/table/index.ts b/packages/server/src/api/controllers/table/index.ts index 2ab7ad7b38..bc967a90f4 100644 --- a/packages/server/src/api/controllers/table/index.ts +++ b/packages/server/src/api/controllers/table/index.ts @@ -10,7 +10,7 @@ import { getDatasourceParams } from "../../../db/utils" import { context, events } from "@budibase/backend-core" import { Table, UserCtx } from "@budibase/types" import sdk from "../../../sdk" -import csv from "csvtojson" +import { jsonFromCsvString } from "../../../utilities/csv" function pickApi({ tableId, table }: { tableId?: string; table?: Table }) { if (table && !tableId) { @@ -104,7 +104,7 @@ export async function bulkImport(ctx: UserCtx) { export async function csvToJson(ctx: UserCtx) { const { csvString } = ctx.request.body - const result = await csv().fromString(csvString) + const result = await jsonFromCsvString(csvString) ctx.status = 200 ctx.body = result diff --git a/packages/server/src/utilities/csv.ts b/packages/server/src/utilities/csv.ts new file mode 100644 index 0000000000..0fab14db45 --- /dev/null +++ b/packages/server/src/utilities/csv.ts @@ -0,0 +1,6 @@ +import csv from "csvtojson" + +export async function jsonFromCsvString(csvString: string) { + const result = await csv().fromString(csvString) + return result +} From c87cc39cea5fa4e379eecb9156a58846a5788811 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 2 May 2023 10:44:25 +0100 Subject: [PATCH 18/26] Add basic tests --- packages/server/src/utilities/tests/csv.spec.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/server/src/utilities/tests/csv.spec.ts diff --git a/packages/server/src/utilities/tests/csv.spec.ts b/packages/server/src/utilities/tests/csv.spec.ts new file mode 100644 index 0000000000..aab5917a9a --- /dev/null +++ b/packages/server/src/utilities/tests/csv.spec.ts @@ -0,0 +1,16 @@ +import { jsonFromCsvString } from "../csv" + +describe("csv", () => { + describe("jsonFromCsvString", () => { + test("multiple lines csv can be casted", async () => { + const csvString = '"id","title"\n"1","aaa"\n"2","bbb"' + + const result = await jsonFromCsvString(csvString) + + expect(result).toEqual([ + { id: "1", title: "aaa" }, + { id: "2", title: "bbb" }, + ]) + }) + }) +}) From 650cbc1f011b0fbb8011efa87aca802f19b9fc8c Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 2 May 2023 11:57:18 +0100 Subject: [PATCH 19/26] Handle cast as undefineds --- packages/server/src/utilities/csv.ts | 15 ++++++++++++++- packages/server/src/utilities/tests/csv.spec.ts | 17 +++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/packages/server/src/utilities/csv.ts b/packages/server/src/utilities/csv.ts index 0fab14db45..454f467a9a 100644 --- a/packages/server/src/utilities/csv.ts +++ b/packages/server/src/utilities/csv.ts @@ -1,6 +1,19 @@ import csv from "csvtojson" export async function jsonFromCsvString(csvString: string) { - const result = await csv().fromString(csvString) + const castedWithEmptyStrings = await csv().fromString(csvString) + if (!castedWithEmptyStrings.length) { + return [] + } + + // By default the csvtojson library casts empty values as empty strings. This is causing issues on conversion. + // ignoreEmpty will remove the key completly if empty, so creating this empty object will ensure we return the values with the keys but empty values + const emptyObject = Object.keys(castedWithEmptyStrings[0]).reduce( + (p, v) => ({ ...p, [v]: undefined }), + {} + ) + + let result = await csv({ ignoreEmpty: true }).fromString(csvString) + result = result.map(r => ({ ...emptyObject, ...r })) return result } diff --git a/packages/server/src/utilities/tests/csv.spec.ts b/packages/server/src/utilities/tests/csv.spec.ts index aab5917a9a..9ee0ae4c87 100644 --- a/packages/server/src/utilities/tests/csv.spec.ts +++ b/packages/server/src/utilities/tests/csv.spec.ts @@ -11,6 +11,23 @@ describe("csv", () => { { id: "1", title: "aaa" }, { id: "2", title: "bbb" }, ]) + result.forEach(r => expect(Object.keys(r)).toEqual(["id", "title"])) + }) + + test("empty values are casted as undefined", async () => { + const csvString = + '"id","optional","title"\n1,,"aaa"\n2,"value","bbb"\n3,,"ccc"' + + const result = await jsonFromCsvString(csvString) + + expect(result).toEqual([ + { id: "1", optional: undefined, title: "aaa" }, + { id: "2", optional: "value", title: "bbb" }, + { id: "3", optional: undefined, title: "ccc" }, + ]) + result.forEach(r => + expect(Object.keys(r)).toEqual(["id", "optional", "title"]) + ) }) }) }) From 6e7c78362ea5ee6cc91e37d58f447c45db8c57e4 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 2 May 2023 12:46:53 +0100 Subject: [PATCH 20/26] Return null instead of undefined --- packages/server/src/utilities/csv.ts | 23 +++++++++++-------- .../server/src/utilities/tests/csv.spec.ts | 4 ++-- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/packages/server/src/utilities/csv.ts b/packages/server/src/utilities/csv.ts index 454f467a9a..477ebb896d 100644 --- a/packages/server/src/utilities/csv.ts +++ b/packages/server/src/utilities/csv.ts @@ -1,19 +1,22 @@ import csv from "csvtojson" export async function jsonFromCsvString(csvString: string) { - const castedWithEmptyStrings = await csv().fromString(csvString) - if (!castedWithEmptyStrings.length) { - return [] - } + const castedWithEmptyValues = await csv({ ignoreEmpty: true }).fromString( + csvString + ) // By default the csvtojson library casts empty values as empty strings. This is causing issues on conversion. // ignoreEmpty will remove the key completly if empty, so creating this empty object will ensure we return the values with the keys but empty values - const emptyObject = Object.keys(castedWithEmptyStrings[0]).reduce( - (p, v) => ({ ...p, [v]: undefined }), - {} - ) + const result = await csv({ ignoreEmpty: false }).fromString(csvString) + result.forEach((r, i) => { + for (const [key] of Object.entries(r).filter( + ([key, value]) => value === "" + )) { + if (castedWithEmptyValues[i][key] === undefined) { + r[key] = null + } + } + }) - let result = await csv({ ignoreEmpty: true }).fromString(csvString) - result = result.map(r => ({ ...emptyObject, ...r })) return result } diff --git a/packages/server/src/utilities/tests/csv.spec.ts b/packages/server/src/utilities/tests/csv.spec.ts index 9ee0ae4c87..14063d0e8e 100644 --- a/packages/server/src/utilities/tests/csv.spec.ts +++ b/packages/server/src/utilities/tests/csv.spec.ts @@ -21,9 +21,9 @@ describe("csv", () => { const result = await jsonFromCsvString(csvString) expect(result).toEqual([ - { id: "1", optional: undefined, title: "aaa" }, + { id: "1", optional: null, title: "aaa" }, { id: "2", optional: "value", title: "bbb" }, - { id: "3", optional: undefined, title: "ccc" }, + { id: "3", optional: null, title: "ccc" }, ]) result.forEach(r => expect(Object.keys(r)).toEqual(["id", "optional", "title"]) From 1d041a3dd5c857817e065f5e3f8e41d372694f2b Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 2 May 2023 12:48:05 +0100 Subject: [PATCH 21/26] Support nulls when optional --- packages/server/src/utilities/schema.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/server/src/utilities/schema.ts b/packages/server/src/utilities/schema.ts index f3d98d35c9..7b5de7898a 100644 --- a/packages/server/src/utilities/schema.ts +++ b/packages/server/src/utilities/schema.ts @@ -4,6 +4,9 @@ interface SchemaColumn { readonly name: string readonly type: FieldTypes readonly autocolumn?: boolean + readonly constraints?: { + presence: boolean + } } interface Schema { @@ -76,6 +79,11 @@ export function validate(rows: Rows, schema: Schema): ValidationResults { // If the columnType is not a string, then it's not present in the schema, and should be added to the invalid columns array if (typeof columnType !== "string") { results.invalidColumns.push(columnName) + } else if ( + columnData == null && + !schema[columnName].constraints?.presence + ) { + results.schemaValidation[columnName] = true } else if ( // If there's no data for this field don't bother with further checks // If the field is already marked as invalid there's no need for further checks From 47a37edad7f9a56086a6097305b1aa2f3eab3349 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Wed, 3 May 2023 16:10:22 +0100 Subject: [PATCH 22/26] Update lockfiles --- yarn.lock | 39 ++++++++++++--------------------------- 1 file changed, 12 insertions(+), 27 deletions(-) diff --git a/yarn.lock b/yarn.lock index 90f1a20d88..ca3f44d9a8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1486,15 +1486,14 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.6-alpha.45": - version "2.5.6-alpha.45" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.45.tgz#99b536f01a7f2bc291f305263fca0d42d0cf2c12" - integrity sha512-R11iRHzEwseVIH10mf7knzML2SVxnLCyyNSoTJu/xLisgn4cBUs9S+swAx6mtZ1sx6bNd7ULYzOHHAw9ATy6dg== +"@budibase/pro@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.9.tgz#0c27da00c1c71260cf10295177fd8904277c9edc" + integrity sha512-EKYW+ud0SPwWjCtW9cDrRkBrxf7j/266btWuaqMLYHpR/s15vtN6h/jPvNt0RSpDbTAEgwt3A7QNQ1GjEI6YjQ== dependencies: - "@budibase/backend-core" "2.5.6-alpha.45" - "@budibase/shared-core" "2.4.44-alpha.1" - "@budibase/string-templates" "2.4.44-alpha.1" - "@budibase/types" "2.5.6-alpha.45" + "@budibase/backend-core" "2.5.9" + "@budibase/string-templates" "2.3.20" + "@budibase/types" "2.5.9" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1502,15 +1501,6 @@ lru-cache "^7.14.1" memorystream "^0.3.1" node-fetch "^2.6.1" - scim-patch "^0.7.0" - scim2-parse-filter "^0.2.8" - -"@budibase/shared-core@2.4.44-alpha.1": - version "2.4.44-alpha.1" - resolved "https://registry.yarnpkg.com/@budibase/shared-core/-/shared-core-2.4.44-alpha.1.tgz#3d499e40e7e6c646e13a87cd08e01ba116c2ff1d" - integrity sha512-cN8LaDczijtsfWUYiXC4sg9Z+US4020i3Mb8TwCbf8TQyA1b06U5PwPCp+GHVA/wDFqfwcpcE1GXf8GwVuYs7A== - dependencies: - "@budibase/types" "2.4.44-alpha.1" "@budibase/standard-components@^0.9.139": version "0.9.139" @@ -1530,10 +1520,10 @@ svelte-apexcharts "^1.0.2" svelte-flatpickr "^3.1.0" -"@budibase/string-templates@2.4.44-alpha.1": - version "2.4.44-alpha.1" - resolved "https://registry.yarnpkg.com/@budibase/string-templates/-/string-templates-2.4.44-alpha.1.tgz#6c2aee594d16eac1f173c509e087a817dd3172f0" - integrity sha512-4gC2+0kccK0ilLnd0i/dmJzC0Ur7UgSAmV6zbzDDYNL4spU0qSy5VhBh7E3qKieg5RKMMzbpXLMWERpoPLlnqA== +"@budibase/string-templates@2.3.20": + version "2.3.20" + resolved "https://registry.yarnpkg.com/@budibase/string-templates/-/string-templates-2.3.20.tgz#35f74b6f515e8127cc375ee0a4679b0a7c117588" + integrity sha512-wMKau3IzVF6M+dRu99aKV1yMdrrK5lghVm9qYtR1B163SMbHEwC8JmZFGPLIi1XsG0T+vw+xfcemfJ2zcATWwg== dependencies: "@budibase/handlebars-helpers" "^0.11.8" dayjs "^1.10.4" @@ -1542,11 +1532,6 @@ lodash "^4.17.20" vm2 "^3.9.4" -"@budibase/types@2.4.44-alpha.1": - version "2.4.44-alpha.1" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.4.44-alpha.1.tgz#1679657aa180d9c59afa1dffa611bff0638bd933" - integrity sha512-Sq+8HfM75EBMoOvKYFwELdlxmVN6wNZMofDjT/2G+9aF+Zfe5Tzw69C+unmdBgcGGjGCHEYWSz4mF0v8FPAGbg== - "@bull-board/api@3.7.0": version "3.7.0" resolved "https://registry.yarnpkg.com/@bull-board/api/-/api-3.7.0.tgz#231f687187c0cb34e0b97f463917b6aaeb4ef6af" @@ -21642,7 +21627,7 @@ scim-patch@^0.7.0: fast-deep-equal "3.1.3" scim2-parse-filter "0.2.8" -scim2-parse-filter@0.2.8, scim2-parse-filter@^0.2.8: +scim2-parse-filter@0.2.8: version "0.2.8" resolved "https://registry.yarnpkg.com/scim2-parse-filter/-/scim2-parse-filter-0.2.8.tgz#12e836514b9a55ae51218dd6e7fbea91daccfa4d" integrity sha512-1V+6FIMIiP+gDiFkC3dIw86KfoXhnQRXhfPaiQImeeFukpLtEkTtYq/Vmy1yDgHQcIHQxQQqOWyGLKX0FTvvaA== From 9e986ac69d0fb10deeca5460722a06e42f708df3 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Wed, 3 May 2023 15:23:47 +0000 Subject: [PATCH 23/26] v2.5.10-alpha.0 --- lerna.json | 2 +- packages/backend-core/package.json | 4 ++-- packages/bbui/package.json | 6 +++--- packages/builder/package.json | 10 +++++----- packages/cli/package.json | 8 ++++---- packages/client/package.json | 12 ++++++------ packages/frontend-core/package.json | 6 +++--- packages/sdk/package.json | 2 +- packages/server/package.json | 12 ++++++------ packages/shared-core/package.json | 4 ++-- packages/string-templates/package.json | 2 +- packages/types/package.json | 2 +- packages/worker/package.json | 8 ++++---- 13 files changed, 39 insertions(+), 39 deletions(-) diff --git a/lerna.json b/lerna.json index a6fe00fe5d..d9c7eca7ef 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.9", + "version": "2.5.10-alpha.0", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"], diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 633677f617..f151e75623 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.5.9", + "version": "2.5.10-alpha.0", "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.5.9", + "@budibase/types": "2.5.10-alpha.0", "@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 4d50d0cdcc..6f50176780 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.5.9", + "version": "2.5.10-alpha.0", "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.5.9", - "@budibase/string-templates": "^2.5.9", + "@budibase/shared-core": "2.5.10-alpha.0", + "@budibase/string-templates": "2.5.10-alpha.0", "@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 a773b4a160..25adb35aaf 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.9", + "version": "2.5.10-alpha.0", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,10 +58,10 @@ } }, "dependencies": { - "@budibase/bbui": "^2.5.9", - "@budibase/frontend-core": "^2.5.9", - "@budibase/shared-core": "^2.5.9", - "@budibase/string-templates": "^2.5.9", + "@budibase/bbui": "2.5.10-alpha.0", + "@budibase/frontend-core": "2.5.10-alpha.0", + "@budibase/shared-core": "2.5.10-alpha.0", + "@budibase/string-templates": "2.5.10-alpha.0", "@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 1b264de603..6037da7e4d 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.9", + "version": "2.5.10-alpha.0", "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.5.9", - "@budibase/string-templates": "^2.5.9", - "@budibase/types": "^2.5.9", + "@budibase/backend-core": "2.5.10-alpha.0", + "@budibase/string-templates": "2.5.10-alpha.0", + "@budibase/types": "2.5.10-alpha.0", "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 faaf16138a..e8770c5cb1 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.9", + "version": "2.5.10-alpha.0", "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.5.9", - "@budibase/frontend-core": "^2.5.9", - "@budibase/shared-core": "^2.5.9", - "@budibase/string-templates": "^2.5.9", - "@budibase/types": "^2.5.9", + "@budibase/bbui": "2.5.10-alpha.0", + "@budibase/frontend-core": "2.5.10-alpha.0", + "@budibase/shared-core": "2.5.10-alpha.0", + "@budibase/string-templates": "2.5.10-alpha.0", + "@budibase/types": "2.5.10-alpha.0", "@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 2d34142771..680756aa38 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,13 +1,13 @@ { "name": "@budibase/frontend-core", - "version": "2.5.9", + "version": "2.5.10-alpha.0", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^2.5.9", - "@budibase/shared-core": "^2.5.9", + "@budibase/bbui": "2.5.10-alpha.0", + "@budibase/shared-core": "2.5.10-alpha.0", "dayjs": "^1.11.7", "lodash": "^4.17.21", "socket.io-client": "^4.6.1", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 75a6bc5235..6730ad8e76 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.9", + "version": "2.5.10-alpha.0", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index 1929d64826..ed45bd5812 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.5.9", + "version": "2.5.10-alpha.0", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { @@ -45,12 +45,12 @@ "license": "GPL-3.0", "dependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@budibase/backend-core": "^2.5.9", - "@budibase/client": "^2.5.9", + "@budibase/backend-core": "2.5.10-alpha.0", + "@budibase/client": "2.5.10-alpha.0", "@budibase/pro": "2.5.9", - "@budibase/shared-core": "^2.5.9", - "@budibase/string-templates": "^2.5.9", - "@budibase/types": "^2.5.9", + "@budibase/shared-core": "2.5.10-alpha.0", + "@budibase/string-templates": "2.5.10-alpha.0", + "@budibase/types": "2.5.10-alpha.0", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index 332d8b6f60..e29fea93af 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/shared-core", - "version": "2.5.9", + "version": "2.5.10-alpha.0", "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.5.9" + "@budibase/types": "2.5.10-alpha.0" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 624ee36f03..14af9c2afb 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.5.9", + "version": "2.5.10-alpha.0", "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 aed792b67c..0c84a25627 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.9", + "version": "2.5.10-alpha.0", "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 31a0ea1d4c..9cdd689453 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.5.9", + "version": "2.5.10-alpha.0", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -37,10 +37,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^2.5.9", + "@budibase/backend-core": "2.5.10-alpha.0", "@budibase/pro": "2.5.9", - "@budibase/string-templates": "^2.5.9", - "@budibase/types": "^2.5.9", + "@budibase/string-templates": "2.5.10-alpha.0", + "@budibase/types": "2.5.10-alpha.0", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 7facf0c9ea8325ba2c0b4f29aef15a6a728ec4e5 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Wed, 3 May 2023 15:25:16 +0000 Subject: [PATCH 24/26] Update pro version to 2.5.10-alpha.0 --- packages/server/package.json | 2 +- packages/worker/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index ed45bd5812..5003e6bdc5 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -47,7 +47,7 @@ "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "2.5.10-alpha.0", "@budibase/client": "2.5.10-alpha.0", - "@budibase/pro": "2.5.9", + "@budibase/pro": "2.5.10-alpha.0", "@budibase/shared-core": "2.5.10-alpha.0", "@budibase/string-templates": "2.5.10-alpha.0", "@budibase/types": "2.5.10-alpha.0", diff --git a/packages/worker/package.json b/packages/worker/package.json index 9cdd689453..104ca9db31 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -38,7 +38,7 @@ "license": "GPL-3.0", "dependencies": { "@budibase/backend-core": "2.5.10-alpha.0", - "@budibase/pro": "2.5.9", + "@budibase/pro": "2.5.10-alpha.0", "@budibase/string-templates": "2.5.10-alpha.0", "@budibase/types": "2.5.10-alpha.0", "@koa/router": "8.0.8", From 991e91e2045a0d6cab5ae62e674af67e73147de1 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Wed, 3 May 2023 17:28:55 +0000 Subject: [PATCH 25/26] v2.5.10-alpha.1 --- lerna.json | 2 +- packages/backend-core/package.json | 4 ++-- packages/bbui/package.json | 6 +++--- packages/builder/package.json | 10 +++++----- packages/cli/package.json | 8 ++++---- packages/client/package.json | 12 ++++++------ packages/frontend-core/package.json | 6 +++--- packages/sdk/package.json | 2 +- packages/server/package.json | 12 ++++++------ packages/shared-core/package.json | 4 ++-- packages/string-templates/package.json | 2 +- packages/types/package.json | 2 +- packages/worker/package.json | 8 ++++---- 13 files changed, 39 insertions(+), 39 deletions(-) diff --git a/lerna.json b/lerna.json index d9c7eca7ef..c226dea49e 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"], diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index f151e75623..b66112e8de 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "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.5.10-alpha.0", + "@budibase/types": "2.5.10-alpha.1", "@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 6f50176780..0e99b34384 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.5.10-alpha.0", + "version": "2.5.10-alpha.1", "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.5.10-alpha.0", - "@budibase/string-templates": "2.5.10-alpha.0", + "@budibase/shared-core": "2.5.10-alpha.1", + "@budibase/string-templates": "2.5.10-alpha.1", "@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 25adb35aaf..9607e51344 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,10 +58,10 @@ } }, "dependencies": { - "@budibase/bbui": "2.5.10-alpha.0", - "@budibase/frontend-core": "2.5.10-alpha.0", - "@budibase/shared-core": "2.5.10-alpha.0", - "@budibase/string-templates": "2.5.10-alpha.0", + "@budibase/bbui": "2.5.10-alpha.1", + "@budibase/frontend-core": "2.5.10-alpha.1", + "@budibase/shared-core": "2.5.10-alpha.1", + "@budibase/string-templates": "2.5.10-alpha.1", "@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 6037da7e4d..3d663babd5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "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.5.10-alpha.0", - "@budibase/string-templates": "2.5.10-alpha.0", - "@budibase/types": "2.5.10-alpha.0", + "@budibase/backend-core": "2.5.10-alpha.1", + "@budibase/string-templates": "2.5.10-alpha.1", + "@budibase/types": "2.5.10-alpha.1", "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 e8770c5cb1..4016899f8c 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "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.5.10-alpha.0", - "@budibase/frontend-core": "2.5.10-alpha.0", - "@budibase/shared-core": "2.5.10-alpha.0", - "@budibase/string-templates": "2.5.10-alpha.0", - "@budibase/types": "2.5.10-alpha.0", + "@budibase/bbui": "2.5.10-alpha.1", + "@budibase/frontend-core": "2.5.10-alpha.1", + "@budibase/shared-core": "2.5.10-alpha.1", + "@budibase/string-templates": "2.5.10-alpha.1", + "@budibase/types": "2.5.10-alpha.1", "@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 680756aa38..937574814e 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,13 +1,13 @@ { "name": "@budibase/frontend-core", - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "2.5.10-alpha.0", - "@budibase/shared-core": "2.5.10-alpha.0", + "@budibase/bbui": "2.5.10-alpha.1", + "@budibase/shared-core": "2.5.10-alpha.1", "dayjs": "^1.11.7", "lodash": "^4.17.21", "socket.io-client": "^4.6.1", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 6730ad8e76..0843bd509f 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index 5003e6bdc5..1a8b18c6da 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { @@ -45,12 +45,12 @@ "license": "GPL-3.0", "dependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@budibase/backend-core": "2.5.10-alpha.0", - "@budibase/client": "2.5.10-alpha.0", + "@budibase/backend-core": "2.5.10-alpha.1", + "@budibase/client": "2.5.10-alpha.1", "@budibase/pro": "2.5.10-alpha.0", - "@budibase/shared-core": "2.5.10-alpha.0", - "@budibase/string-templates": "2.5.10-alpha.0", - "@budibase/types": "2.5.10-alpha.0", + "@budibase/shared-core": "2.5.10-alpha.1", + "@budibase/string-templates": "2.5.10-alpha.1", + "@budibase/types": "2.5.10-alpha.1", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index e29fea93af..2b8f75f738 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/shared-core", - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "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.5.10-alpha.0" + "@budibase/types": "2.5.10-alpha.1" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 14af9c2afb..3349aad7ba 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "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 0c84a25627..4367270c85 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "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 104ca9db31..2894ce0e13 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "2.5.10-alpha.0", + "version": "2.5.10-alpha.1", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -37,10 +37,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "2.5.10-alpha.0", + "@budibase/backend-core": "2.5.10-alpha.1", "@budibase/pro": "2.5.10-alpha.0", - "@budibase/string-templates": "2.5.10-alpha.0", - "@budibase/types": "2.5.10-alpha.0", + "@budibase/string-templates": "2.5.10-alpha.1", + "@budibase/types": "2.5.10-alpha.1", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 77116bf4c2ca93ec9ef008e5070d4c2f3bf56643 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Wed, 3 May 2023 17:30:27 +0000 Subject: [PATCH 26/26] Update pro version to 2.5.10-alpha.1 --- packages/server/package.json | 2 +- packages/worker/package.json | 2 +- yarn.lock | 43 ++++++++++++++++++++++++------------ 3 files changed, 31 insertions(+), 16 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index 1a8b18c6da..d0ff56531b 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -47,7 +47,7 @@ "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "2.5.10-alpha.1", "@budibase/client": "2.5.10-alpha.1", - "@budibase/pro": "2.5.10-alpha.0", + "@budibase/pro": "2.5.10-alpha.1", "@budibase/shared-core": "2.5.10-alpha.1", "@budibase/string-templates": "2.5.10-alpha.1", "@budibase/types": "2.5.10-alpha.1", diff --git a/packages/worker/package.json b/packages/worker/package.json index 2894ce0e13..165689cf7c 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -38,7 +38,7 @@ "license": "GPL-3.0", "dependencies": { "@budibase/backend-core": "2.5.10-alpha.1", - "@budibase/pro": "2.5.10-alpha.0", + "@budibase/pro": "2.5.10-alpha.1", "@budibase/string-templates": "2.5.10-alpha.1", "@budibase/types": "2.5.10-alpha.1", "@koa/router": "8.0.8", diff --git a/yarn.lock b/yarn.lock index ca3f44d9a8..5f17870a6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1486,14 +1486,15 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.9": - version "2.5.9" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.9.tgz#0c27da00c1c71260cf10295177fd8904277c9edc" - integrity sha512-EKYW+ud0SPwWjCtW9cDrRkBrxf7j/266btWuaqMLYHpR/s15vtN6h/jPvNt0RSpDbTAEgwt3A7QNQ1GjEI6YjQ== +"@budibase/pro@2.5.10-alpha.0": + version "2.5.10-alpha.0" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.10-alpha.0.tgz#f3688cc61d2130fbf8b191e515b8ac9789f2a9df" + integrity sha512-vYa1F4NhMh7veSZyhgrE54iziwZLHiuRwXbU+unEo3xqyFZIvERAAQZ88nrnwssubWBWnPhpN/8JMHrsyM8mXg== dependencies: - "@budibase/backend-core" "2.5.9" - "@budibase/string-templates" "2.3.20" - "@budibase/types" "2.5.9" + "@budibase/backend-core" "2.5.10-alpha.0" + "@budibase/shared-core" "2.5.9" + "@budibase/string-templates" "2.5.9" + "@budibase/types" "2.5.10-alpha.0" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1501,6 +1502,15 @@ lru-cache "^7.14.1" memorystream "^0.3.1" node-fetch "^2.6.1" + scim-patch "^0.7.0" + scim2-parse-filter "^0.2.8" + +"@budibase/shared-core@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@budibase/shared-core/-/shared-core-2.5.9.tgz#f22f22637fb7618ded1c7292b10793d7969827ce" + integrity sha512-l417Rb2+1tuXbjNL42wJHmqIQQyla2pPglOnapxfOdRuvzng+5GqlrTV1caLNf/53TS9U6ueGJdPOtxZTTFGUA== + dependencies: + "@budibase/types" "^2.5.9" "@budibase/standard-components@^0.9.139": version "0.9.139" @@ -1520,17 +1530,22 @@ svelte-apexcharts "^1.0.2" svelte-flatpickr "^3.1.0" -"@budibase/string-templates@2.3.20": - version "2.3.20" - resolved "https://registry.yarnpkg.com/@budibase/string-templates/-/string-templates-2.3.20.tgz#35f74b6f515e8127cc375ee0a4679b0a7c117588" - integrity sha512-wMKau3IzVF6M+dRu99aKV1yMdrrK5lghVm9qYtR1B163SMbHEwC8JmZFGPLIi1XsG0T+vw+xfcemfJ2zcATWwg== +"@budibase/string-templates@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@budibase/string-templates/-/string-templates-2.5.9.tgz#64582730421801e1e829b430136b449b1adc0314" + integrity sha512-Szu06M0JFHuUVIil2aHZWU8hvsROYpDx9raX9uIv4DcwBOAtyvVzD16wOCHzlmj8wWeV8fbKe4JF4q4GXnilJg== dependencies: "@budibase/handlebars-helpers" "^0.11.8" dayjs "^1.10.4" handlebars "^4.7.6" handlebars-utils "^1.0.6" lodash "^4.17.20" - vm2 "^3.9.4" + vm2 "^3.9.15" + +"@budibase/types@^2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.9.tgz#4b1253e76b95cd8d6a42e86ebc3363a305c62653" + integrity sha512-7NELdWB3iV5y+pmXhm9g/v1AlN+wqHtoy67DZxKY5dlcK4DCcTdlqkToGiiw9d3sDPgDAVznjdZYnB5pGzd3TQ== "@bull-board/api@3.7.0": version "3.7.0" @@ -21627,7 +21642,7 @@ scim-patch@^0.7.0: fast-deep-equal "3.1.3" scim2-parse-filter "0.2.8" -scim2-parse-filter@0.2.8: +scim2-parse-filter@0.2.8, scim2-parse-filter@^0.2.8: version "0.2.8" resolved "https://registry.yarnpkg.com/scim2-parse-filter/-/scim2-parse-filter-0.2.8.tgz#12e836514b9a55ae51218dd6e7fbea91daccfa4d" integrity sha512-1V+6FIMIiP+gDiFkC3dIw86KfoXhnQRXhfPaiQImeeFukpLtEkTtYq/Vmy1yDgHQcIHQxQQqOWyGLKX0FTvvaA== @@ -24487,7 +24502,7 @@ vm2@3.9.17: acorn "^8.7.0" acorn-walk "^8.2.0" -vm2@^3.9.11, vm2@^3.9.15, vm2@^3.9.4: +vm2@^3.9.11, vm2@^3.9.15: version "3.9.16" resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.9.16.tgz#0fbc2a265f7bf8b837cea6f4a908f88a3f93b8e6" integrity sha512-3T9LscojNTxdOyG+e8gFeyBXkMlOBYDoF6dqZbj+MPVHi9x10UfiTAJIobuchRCp3QvC+inybTbMJIUrLsig0w==