From 652515ca692cf56c06ca50c44a0714d412f4e577 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Fri, 24 Jun 2022 14:39:16 +0100 Subject: [PATCH 01/14] Add In/NotIn constants --- packages/frontend-core/src/constants.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/frontend-core/src/constants.js b/packages/frontend-core/src/constants.js index 9ca47de23f..ddc327411c 100644 --- a/packages/frontend-core/src/constants.js +++ b/packages/frontend-core/src/constants.js @@ -42,6 +42,14 @@ export const OperatorOptions = { value: "notEqual", label: "Does Not Contain", }, + In: { + value: "oneOf", + label: "Is in", + }, + NotIn: { + value: "notOneOf", + label: "Is not in", + }, } // Cookie names From 6b880e7f0cadff1210ea381c5fd5bde2582cdee9 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Fri, 24 Jun 2022 14:41:08 +0100 Subject: [PATCH 02/14] Add (not)oneOf filter methods --- packages/frontend-core/src/utils/lucene.js | 19 +++++++++++++-- packages/server/yarn.lock | 28 +++++++++++----------- packages/worker/yarn.lock | 24 ++++++++++++------- 3 files changed, 46 insertions(+), 25 deletions(-) diff --git a/packages/frontend-core/src/utils/lucene.js b/packages/frontend-core/src/utils/lucene.js index 8f59a2bd9d..270de05011 100644 --- a/packages/frontend-core/src/utils/lucene.js +++ b/packages/frontend-core/src/utils/lucene.js @@ -14,6 +14,8 @@ export const getValidOperatorsForType = type => { Op.Like, Op.Empty, Op.NotEmpty, + Op.In, + Op.NotIn, ] const numOps = [ Op.Equals, @@ -91,6 +93,8 @@ export const buildLuceneQuery = filter => { notEmpty: {}, contains: {}, notContains: {}, + oneOf: {}, + notOneOf: {}, } if (Array.isArray(filter)) { filter.forEach(expression => { @@ -139,7 +143,6 @@ export const buildLuceneQuery = filter => { } }) } - return query } @@ -211,6 +214,16 @@ export const runLuceneQuery = (docs, query) => { return docValue == null || docValue === "" }) + // Process an includes match (fails if the value is not included) + const oneOf = match("oneOf", (docValue, testValue) => { + return !testValue?.includes(docValue) + }) + + // Process a not included match (fails if the value is included) + const notOneOf = match("notOneOf", (docValue, testValue) => { + return testValue?.includes(docValue) + }) + // Match a document against all criteria const docMatch = doc => { return ( @@ -220,7 +233,9 @@ export const runLuceneQuery = (docs, query) => { equalMatch(doc) && notEqualMatch(doc) && emptyMatch(doc) && - notEmptyMatch(doc) + notEmptyMatch(doc) && + oneOf(doc) && + notOneOf(doc) ) } diff --git a/packages/server/yarn.lock b/packages/server/yarn.lock index e8277b88b5..bdbe1b8c58 100644 --- a/packages/server/yarn.lock +++ b/packages/server/yarn.lock @@ -1094,12 +1094,12 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@1.0.207-alpha.6": - version "1.0.207-alpha.6" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.0.207-alpha.6.tgz#47fed5cc78686e23951a050479c777673f725c17" - integrity sha512-mB3i9TyNbdlE8TmsAWGXhphwLRlrBd2bDfvOYTz3CP7xzql1FXGoWfOqA87vNaGBDrtOyQQnmbYeTc3Tn2OHcg== +"@budibase/backend-core@1.0.207-alpha.10": + version "1.0.207-alpha.10" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.0.207-alpha.10.tgz#31facb74ac2279a3ecf7d6affb933cb0ccb81860" + integrity sha512-pEyL+DY9sK6cmGv9FHLKQgrTBaTR2uMQspb/B2HGKfhiEe/wI9DgEsrvfeDt6rsD02W5xcB21FfPyyfhFvfNYw== dependencies: - "@budibase/types" "^1.0.207-alpha.6" + "@budibase/types" "^1.0.207-alpha.10" "@techpass/passport-openidconnect" "0.3.2" aws-sdk "2.1030.0" bcrypt "5.0.1" @@ -1176,12 +1176,12 @@ svelte-flatpickr "^3.2.3" svelte-portal "^1.0.0" -"@budibase/pro@1.0.207-alpha.6": - version "1.0.207-alpha.6" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.0.207-alpha.6.tgz#04a81281beeb230c0c1a1f48237a94e1150a7851" - integrity sha512-IDQdKHaojfGlL8xLSQ1gYrLyipgUYPJ6Mjrrp8TcWnpwTOA2Wtzen31E5HG6YxZU8g8rN6k9S0Nsp88JKOGSrg== +"@budibase/pro@1.0.207-alpha.10": + version "1.0.207-alpha.10" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.0.207-alpha.10.tgz#5b1130676503eff7d84b62469e13111d3a896f09" + integrity sha512-42raVveRgHH6Qf6H1kS4lBhftTWuNJ+uhVAmDoPlHtYxuffkBVRcf6wOgYbHTN0Xx3suLrZ9yW+TupuIZQMM9Q== dependencies: - "@budibase/backend-core" "1.0.207-alpha.6" + "@budibase/backend-core" "1.0.207-alpha.10" node-fetch "^2.6.1" "@budibase/standard-components@^0.9.139": @@ -1202,10 +1202,10 @@ svelte-apexcharts "^1.0.2" svelte-flatpickr "^3.1.0" -"@budibase/types@^1.0.207-alpha.6": - version "1.0.208" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-1.0.208.tgz#c45cb494fb5b85229e15a34c6ac1805bae5be867" - integrity sha512-zKIHg6TGK+soVxMNZNrGypP3DCrd3jhlUQEFeQ+rZR6/tCue1G74bjzydY5FjnLEsXeLH1a0hkS5HulTmvQ2bA== +"@budibase/types@^1.0.207-alpha.10": + version "1.0.210" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-1.0.210.tgz#b28f9d7b37d2cbc6b75ae8de201958ccc540cf06" + integrity sha512-16foNHGAlJxvh4IpPEPw9eZyIvA2n9nssrNu54Ag73E85A+mIiZ6NGHrw+mojrdC1yaSrj/xeQ461iYXdxT6/g== "@bull-board/api@3.7.0": version "3.7.0" diff --git a/packages/worker/yarn.lock b/packages/worker/yarn.lock index 87208f6452..f3ed55d161 100644 --- a/packages/worker/yarn.lock +++ b/packages/worker/yarn.lock @@ -291,11 +291,12 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@1.0.207-alpha.3": - version "1.0.207-alpha.3" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.0.207-alpha.3.tgz#98bced0575ec4e2b158239a8c73b39ca2d816719" - integrity sha512-DU4X6jJ+DfhzOv4TTa1w4Dk5ZEdlK/z1joCTruT+SGM5qI75bXrGeol5OX2OaEbNKtXFKJ1zeVTmBCYcu7OFUg== +"@budibase/backend-core@1.0.207-alpha.10": + version "1.0.207-alpha.10" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-1.0.207-alpha.10.tgz#31facb74ac2279a3ecf7d6affb933cb0ccb81860" + integrity sha512-pEyL+DY9sK6cmGv9FHLKQgrTBaTR2uMQspb/B2HGKfhiEe/wI9DgEsrvfeDt6rsD02W5xcB21FfPyyfhFvfNYw== dependencies: + "@budibase/types" "^1.0.207-alpha.10" "@techpass/passport-openidconnect" "0.3.2" aws-sdk "2.1030.0" bcrypt "5.0.1" @@ -322,14 +323,19 @@ uuid "8.3.2" zlib "1.0.5" -"@budibase/pro@1.0.207-alpha.3": - version "1.0.207-alpha.3" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.0.207-alpha.3.tgz#9bde845ceb685f1b43286a124620c21fdf891a01" - integrity sha512-WFEMujpKTVAMvAgLBnMdw8ou9PxsbM4Oa9Dq+DAUsWpPACsMWOProyHLsdRxJyvHlgGfwVjo5MEusvStjI4j6g== +"@budibase/pro@1.0.207-alpha.10": + version "1.0.207-alpha.10" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-1.0.207-alpha.10.tgz#5b1130676503eff7d84b62469e13111d3a896f09" + integrity sha512-42raVveRgHH6Qf6H1kS4lBhftTWuNJ+uhVAmDoPlHtYxuffkBVRcf6wOgYbHTN0Xx3suLrZ9yW+TupuIZQMM9Q== dependencies: - "@budibase/backend-core" "1.0.207-alpha.3" + "@budibase/backend-core" "1.0.207-alpha.10" node-fetch "^2.6.1" +"@budibase/types@^1.0.207-alpha.10": + version "1.0.210" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-1.0.210.tgz#b28f9d7b37d2cbc6b75ae8de201958ccc540cf06" + integrity sha512-16foNHGAlJxvh4IpPEPw9eZyIvA2n9nssrNu54Ag73E85A+mIiZ6NGHrw+mojrdC1yaSrj/xeQ461iYXdxT6/g== + "@cspotcode/source-map-consumer@0.8.0": version "0.8.0" resolved "https://registry.yarnpkg.com/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz#33bf4b7b39c178821606f669bbc447a6a629786b" From d019fb8555b759838f4c1c9ad823e000bcc2b6cc Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Fri, 24 Jun 2022 21:15:41 +0100 Subject: [PATCH 03/14] Internal table support for oneOf --- .../src/api/controllers/row/internalSearch.js | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/packages/server/src/api/controllers/row/internalSearch.js b/packages/server/src/api/controllers/row/internalSearch.js index 5f1dc25faa..23cbdb4bec 100644 --- a/packages/server/src/api/controllers/row/internalSearch.js +++ b/packages/server/src/api/controllers/row/internalSearch.js @@ -17,6 +17,7 @@ class QueryBuilder { notEqual: {}, empty: {}, notEmpty: {}, + oneOf: {}, ...base, } this.limit = 50 @@ -112,6 +113,11 @@ class QueryBuilder { return this } + addOneOf(key, value) { + this.query.oneOf[key] = value + return this + } + /** * Preprocesses a value before going into a lucene search. * Transforms strings to lowercase and wraps strings and bools in quotes. @@ -220,6 +226,28 @@ class QueryBuilder { if (this.query.notEmpty) { build(this.query.notEmpty, key => `${key}:["" TO *]`) } + if (this.query.oneOf) { + build(this.query.oneOf, (key, value) => { + if (!Array.isArray(value)) { + if (typeof value === "string") { + value = value.replace(/(\s)*,(\s)*/g, ",").split(",") + } else { + return "" + } + } + const preprocess = item => { + return builder.preprocess(item, { + escape: true, + lowercase: true, + }) + } + let orStatement = `"${preprocess(value[0])}"` + for (let i = 1; i < value.length; i++) { + orStatement += ` OR "${preprocess(value[i])}"` + } + return `${key}:(${orStatement})` + }) + } return query } From 2925e171aa4659dd47d3d1ea8daf86617328194f Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Fri, 24 Jun 2022 21:29:19 +0100 Subject: [PATCH 04/14] Removed notOneOf --- packages/frontend-core/src/constants.js | 4 ---- packages/frontend-core/src/utils/lucene.js | 9 +-------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/packages/frontend-core/src/constants.js b/packages/frontend-core/src/constants.js index ddc327411c..f69590f720 100644 --- a/packages/frontend-core/src/constants.js +++ b/packages/frontend-core/src/constants.js @@ -46,10 +46,6 @@ export const OperatorOptions = { value: "oneOf", label: "Is in", }, - NotIn: { - value: "notOneOf", - label: "Is not in", - }, } // Cookie names diff --git a/packages/frontend-core/src/utils/lucene.js b/packages/frontend-core/src/utils/lucene.js index 270de05011..a99ff6cf8b 100644 --- a/packages/frontend-core/src/utils/lucene.js +++ b/packages/frontend-core/src/utils/lucene.js @@ -94,7 +94,6 @@ export const buildLuceneQuery = filter => { contains: {}, notContains: {}, oneOf: {}, - notOneOf: {}, } if (Array.isArray(filter)) { filter.forEach(expression => { @@ -219,11 +218,6 @@ export const runLuceneQuery = (docs, query) => { return !testValue?.includes(docValue) }) - // Process a not included match (fails if the value is included) - const notOneOf = match("notOneOf", (docValue, testValue) => { - return testValue?.includes(docValue) - }) - // Match a document against all criteria const docMatch = doc => { return ( @@ -234,8 +228,7 @@ export const runLuceneQuery = (docs, query) => { notEqualMatch(doc) && emptyMatch(doc) && notEmptyMatch(doc) && - oneOf(doc) && - notOneOf(doc) + oneOf(doc) ) } From 43885b86b2af34921bd267ba202da9e8ce9f7fa9 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Fri, 24 Jun 2022 21:36:38 +0100 Subject: [PATCH 05/14] Remove NotIn constant --- packages/frontend-core/src/utils/lucene.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/frontend-core/src/utils/lucene.js b/packages/frontend-core/src/utils/lucene.js index a99ff6cf8b..ec0225a6f9 100644 --- a/packages/frontend-core/src/utils/lucene.js +++ b/packages/frontend-core/src/utils/lucene.js @@ -15,7 +15,6 @@ export const getValidOperatorsForType = type => { Op.Empty, Op.NotEmpty, Op.In, - Op.NotIn, ] const numOps = [ Op.Equals, From f1188a8b81610d8aa647b33ccfcd34c1cad2dfd2 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Fri, 24 Jun 2022 21:37:58 +0100 Subject: [PATCH 06/14] Remove regex --- packages/server/src/api/controllers/row/internalSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/api/controllers/row/internalSearch.js b/packages/server/src/api/controllers/row/internalSearch.js index 23cbdb4bec..731b726654 100644 --- a/packages/server/src/api/controllers/row/internalSearch.js +++ b/packages/server/src/api/controllers/row/internalSearch.js @@ -230,7 +230,7 @@ class QueryBuilder { build(this.query.oneOf, (key, value) => { if (!Array.isArray(value)) { if (typeof value === "string") { - value = value.replace(/(\s)*,(\s)*/g, ",").split(",") + value = value.split(",") } else { return "" } From ee74e724c63e6e9870c634d3cba509f262dc1a1a Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Mon, 27 Jun 2022 13:36:03 +0100 Subject: [PATCH 07/14] Add 'Is in' filter option to number type --- packages/frontend-core/src/utils/lucene.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend-core/src/utils/lucene.js b/packages/frontend-core/src/utils/lucene.js index ec0225a6f9..2183b4828f 100644 --- a/packages/frontend-core/src/utils/lucene.js +++ b/packages/frontend-core/src/utils/lucene.js @@ -23,6 +23,7 @@ export const getValidOperatorsForType = type => { Op.LessThan, Op.Empty, Op.NotEmpty, + Op.In, ] if (type === "string") { return stringOps From b295ecfeda4a704c6c9199c318e98be065b55004 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Mon, 27 Jun 2022 13:38:43 +0100 Subject: [PATCH 08/14] Split string by comma if not array --- packages/frontend-core/src/utils/lucene.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/frontend-core/src/utils/lucene.js b/packages/frontend-core/src/utils/lucene.js index 2183b4828f..e7bc8e8afa 100644 --- a/packages/frontend-core/src/utils/lucene.js +++ b/packages/frontend-core/src/utils/lucene.js @@ -215,6 +215,9 @@ export const runLuceneQuery = (docs, query) => { // Process an includes match (fails if the value is not included) const oneOf = match("oneOf", (docValue, testValue) => { + if (typeof testValue === "string") { + testValue = testValue.split(",") + } return !testValue?.includes(docValue) }) From 2db45457d6b1cc4caf260b95dacb833fe8191e98 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Mon, 27 Jun 2022 13:54:03 +0100 Subject: [PATCH 09/14] Handle number types custom query --- packages/frontend-core/src/utils/lucene.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/frontend-core/src/utils/lucene.js b/packages/frontend-core/src/utils/lucene.js index e7bc8e8afa..e4acf1160d 100644 --- a/packages/frontend-core/src/utils/lucene.js +++ b/packages/frontend-core/src/utils/lucene.js @@ -217,6 +217,9 @@ export const runLuceneQuery = (docs, query) => { const oneOf = match("oneOf", (docValue, testValue) => { if (typeof testValue === "string") { testValue = testValue.split(",") + if (typeof docValue === "number") { + testValue = testValue.map(item => Number(item)) + } } return !testValue?.includes(docValue) }) From 6d394e551dc9007bb6b4b3c2155ca0e422cb3736 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Mon, 27 Jun 2022 14:20:51 +0100 Subject: [PATCH 10/14] Using allPreProcessingOpts --- .../src/api/controllers/row/internalSearch.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/server/src/api/controllers/row/internalSearch.js b/packages/server/src/api/controllers/row/internalSearch.js index 731b726654..6fba0e47aa 100644 --- a/packages/server/src/api/controllers/row/internalSearch.js +++ b/packages/server/src/api/controllers/row/internalSearch.js @@ -235,15 +235,15 @@ class QueryBuilder { return "" } } - const preprocess = item => { - return builder.preprocess(item, { - escape: true, - lowercase: true, - }) - } - let orStatement = `"${preprocess(value[0])}"` + let orStatement = `${builder.preprocess( + value[0], + allPreProcessingOpts + )}` for (let i = 1; i < value.length; i++) { - orStatement += ` OR "${preprocess(value[i])}"` + orStatement += ` OR ${builder.preprocess( + value[i], + allPreProcessingOpts + )}` } return `${key}:(${orStatement})` }) From 3e1bf29bcf7ad6c2a03e249658086b104c5801a0 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Mon, 27 Jun 2022 14:32:20 +0100 Subject: [PATCH 11/14] Handle number 'Is in' --- packages/frontend-core/src/utils/lucene.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/frontend-core/src/utils/lucene.js b/packages/frontend-core/src/utils/lucene.js index e4acf1160d..9fa5a72317 100644 --- a/packages/frontend-core/src/utils/lucene.js +++ b/packages/frontend-core/src/utils/lucene.js @@ -102,8 +102,12 @@ export const buildLuceneQuery = filter => { if (type === "datetime" && value) { value = new Date(value).toISOString() } - if (type === "number") { - value = parseFloat(value) + if (type === "number" && !Array.isArray(value)) { + if (operator === "oneOf") { + value = value.split(",").map(item => parseFloat(item)) + } else { + value = parseFloat(value) + } } if (type === "boolean") { value = `${value}`?.toLowerCase() === "true" @@ -137,6 +141,7 @@ export const buildLuceneQuery = filter => { query[operator][field] = value } } else { + console.log("VAL ", value) query[operator][field] = value } } From 01e34e353e2333057e78a71a6b55162cd8707ddd Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Mon, 27 Jun 2022 14:37:15 +0100 Subject: [PATCH 12/14] Remove console log --- packages/frontend-core/src/utils/lucene.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/frontend-core/src/utils/lucene.js b/packages/frontend-core/src/utils/lucene.js index 9fa5a72317..1001ec26a8 100644 --- a/packages/frontend-core/src/utils/lucene.js +++ b/packages/frontend-core/src/utils/lucene.js @@ -141,7 +141,6 @@ export const buildLuceneQuery = filter => { query[operator][field] = value } } else { - console.log("VAL ", value) query[operator][field] = value } } @@ -223,7 +222,7 @@ export const runLuceneQuery = (docs, query) => { if (typeof testValue === "string") { testValue = testValue.split(",") if (typeof docValue === "number") { - testValue = testValue.map(item => Number(item)) + testValue = testValue.map(item => parseFloat(item)) } } return !testValue?.includes(docValue) From 8567f9037aaa6071f469950e397e8ab393df9b12 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Tue, 28 Jun 2022 21:54:55 +0000 Subject: [PATCH 13/14] v1.0.212-alpha.5 --- lerna.json | 2 +- packages/backend-core/package.json | 4 ++-- packages/bbui/package.json | 4 ++-- packages/builder/package.json | 10 +++++----- packages/cli/package.json | 2 +- packages/client/package.json | 8 ++++---- packages/frontend-core/package.json | 4 ++-- packages/server/package.json | 10 +++++----- packages/string-templates/package.json | 2 +- packages/types/package.json | 2 +- packages/worker/package.json | 8 ++++---- 11 files changed, 28 insertions(+), 28 deletions(-) diff --git a/lerna.json b/lerna.json index bbfee8c831..4ce65aa2a1 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "1.0.212-alpha.4", + "version": "1.0.212-alpha.5", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 2445c7e1d3..44235b98e5 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "1.0.212-alpha.4", + "version": "1.0.212-alpha.5", "description": "Budibase backend core libraries used in server and worker", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -20,7 +20,7 @@ "test:watch": "jest --watchAll" }, "dependencies": { - "@budibase/types": "^1.0.212-alpha.4", + "@budibase/types": "^1.0.212-alpha.5", "@techpass/passport-openidconnect": "0.3.2", "aws-sdk": "2.1030.0", "bcrypt": "5.0.1", diff --git a/packages/bbui/package.json b/packages/bbui/package.json index 42e43245df..8a56f69038 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": "1.0.212-alpha.4", + "version": "1.0.212-alpha.5", "license": "MPL-2.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", @@ -38,7 +38,7 @@ ], "dependencies": { "@adobe/spectrum-css-workflow-icons": "^1.2.1", - "@budibase/string-templates": "^1.0.212-alpha.4", + "@budibase/string-templates": "^1.0.212-alpha.5", "@spectrum-css/actionbutton": "^1.0.1", "@spectrum-css/actiongroup": "^1.0.1", "@spectrum-css/avatar": "^3.0.2", diff --git a/packages/builder/package.json b/packages/builder/package.json index aeee93348b..50af271547 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "1.0.212-alpha.4", + "version": "1.0.212-alpha.5", "license": "GPL-3.0", "private": true, "scripts": { @@ -69,10 +69,10 @@ } }, "dependencies": { - "@budibase/bbui": "^1.0.212-alpha.4", - "@budibase/client": "^1.0.212-alpha.4", - "@budibase/frontend-core": "^1.0.212-alpha.4", - "@budibase/string-templates": "^1.0.212-alpha.4", + "@budibase/bbui": "^1.0.212-alpha.5", + "@budibase/client": "^1.0.212-alpha.5", + "@budibase/frontend-core": "^1.0.212-alpha.5", + "@budibase/string-templates": "^1.0.212-alpha.5", "@sentry/browser": "5.19.1", "@spectrum-css/page": "^3.0.1", "@spectrum-css/vars": "^3.0.1", diff --git a/packages/cli/package.json b/packages/cli/package.json index c20523e908..f178315a7e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "1.0.212-alpha.4", + "version": "1.0.212-alpha.5", "description": "Budibase CLI, for developers, self hosting and migrations.", "main": "src/index.js", "bin": { diff --git a/packages/client/package.json b/packages/client/package.json index 22611e0dbd..3632db66ba 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "1.0.212-alpha.4", + "version": "1.0.212-alpha.5", "license": "MPL-2.0", "module": "dist/budibase-client.js", "main": "dist/budibase-client.js", @@ -19,9 +19,9 @@ "dev:builder": "rollup -cw" }, "dependencies": { - "@budibase/bbui": "^1.0.212-alpha.4", - "@budibase/frontend-core": "^1.0.212-alpha.4", - "@budibase/string-templates": "^1.0.212-alpha.4", + "@budibase/bbui": "^1.0.212-alpha.5", + "@budibase/frontend-core": "^1.0.212-alpha.5", + "@budibase/string-templates": "^1.0.212-alpha.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 463720f80b..bbab2b2639 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,12 +1,12 @@ { "name": "@budibase/frontend-core", - "version": "1.0.212-alpha.4", + "version": "1.0.212-alpha.5", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^1.0.212-alpha.4", + "@budibase/bbui": "^1.0.212-alpha.5", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/server/package.json b/packages/server/package.json index 00bdf33ac5..bdb9b8ad82 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "1.0.212-alpha.4", + "version": "1.0.212-alpha.5", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { @@ -77,11 +77,11 @@ "license": "GPL-3.0", "dependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@budibase/backend-core": "^1.0.212-alpha.4", - "@budibase/client": "^1.0.212-alpha.4", + "@budibase/backend-core": "^1.0.212-alpha.5", + "@budibase/client": "^1.0.212-alpha.5", "@budibase/pro": "1.0.212-alpha.4", - "@budibase/string-templates": "^1.0.212-alpha.4", - "@budibase/types": "^1.0.212-alpha.4", + "@budibase/string-templates": "^1.0.212-alpha.5", + "@budibase/types": "^1.0.212-alpha.5", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 44780a6896..00ea407ea2 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "1.0.212-alpha.4", + "version": "1.0.212-alpha.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 21146c91dc..0753ac2798 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "1.0.212-alpha.4", + "version": "1.0.212-alpha.5", "description": "Budibase types", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/worker/package.json b/packages/worker/package.json index 4501d3045b..c0e3a4e5a8 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "1.0.212-alpha.4", + "version": "1.0.212-alpha.5", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -34,10 +34,10 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^1.0.212-alpha.4", + "@budibase/backend-core": "^1.0.212-alpha.5", "@budibase/pro": "1.0.212-alpha.4", - "@budibase/string-templates": "^1.0.212-alpha.4", - "@budibase/types": "^1.0.212-alpha.4", + "@budibase/string-templates": "^1.0.212-alpha.5", + "@budibase/types": "^1.0.212-alpha.5", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 1f6477c5530e01db96c0d2578619dca4af78e5a0 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Tue, 28 Jun 2022 21:56:16 +0000 Subject: [PATCH 14/14] Update pro version to 1.0.212-alpha.5 --- 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 bdb9b8ad82..2e91d5cfbe 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -79,7 +79,7 @@ "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "^1.0.212-alpha.5", "@budibase/client": "^1.0.212-alpha.5", - "@budibase/pro": "1.0.212-alpha.4", + "@budibase/pro": "1.0.212-alpha.5", "@budibase/string-templates": "^1.0.212-alpha.5", "@budibase/types": "^1.0.212-alpha.5", "@bull-board/api": "3.7.0", diff --git a/packages/worker/package.json b/packages/worker/package.json index c0e3a4e5a8..101f43c596 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -35,7 +35,7 @@ "license": "GPL-3.0", "dependencies": { "@budibase/backend-core": "^1.0.212-alpha.5", - "@budibase/pro": "1.0.212-alpha.4", + "@budibase/pro": "1.0.212-alpha.5", "@budibase/string-templates": "^1.0.212-alpha.5", "@budibase/types": "^1.0.212-alpha.5", "@koa/router": "8.0.8",