From 14545729ac80944477e00101c92ff9f7d3353c72 Mon Sep 17 00:00:00 2001 From: Michael Drury Date: Mon, 24 Apr 2023 20:39:39 +0100 Subject: [PATCH 01/23] Fix for #10403 - when app overview loads, sometimes old store doesn't get a valid app ID. --- packages/builder/src/api.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/api.js b/packages/builder/src/api.js index 0f61dba4e1..89caa5b33f 100644 --- a/packages/builder/src/api.js +++ b/packages/builder/src/api.js @@ -5,12 +5,16 @@ import { } from "@budibase/frontend-core" import { store } from "./builderStore" import { get } from "svelte/store" -import { auth } from "./stores/portal" +import { auth, overview } from "./stores/portal" export const API = createAPIClient({ attachHeaders: headers => { // Attach app ID header from store - headers["x-budibase-app-id"] = get(store).appId + let appId = get(store).appId + if (!appId) { + appId = get(overview).selectedAppId + } + headers["x-budibase-app-id"] = appId // Add csrf token if authenticated const user = get(auth).user From 22d81fd858c3f98f31d86c56d5d290a153965139 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 25 Apr 2023 08:35:25 +0100 Subject: [PATCH 02/23] Clear selected app ID from overview store when unmounting, and avoid sending up 'null' and 'undefined' string app ID headers --- packages/builder/src/api.js | 7 +++---- .../pages/builder/portal/overview/[appId]/_layout.svelte | 6 +++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/builder/src/api.js b/packages/builder/src/api.js index 89caa5b33f..f3db05307a 100644 --- a/packages/builder/src/api.js +++ b/packages/builder/src/api.js @@ -10,11 +10,10 @@ import { auth, overview } from "./stores/portal" export const API = createAPIClient({ attachHeaders: headers => { // Attach app ID header from store - let appId = get(store).appId - if (!appId) { - appId = get(overview).selectedAppId + let appId = get(store).appId || get(overview).selectedAppId + if (appId) { + headers["x-budibase-app-id"] = appId } - headers["x-budibase-app-id"] = appId // Add csrf token if authenticated const user = get(auth).user diff --git a/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte b/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte index 74649ff3fd..56d76d3a4c 100644 --- a/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte +++ b/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte @@ -33,7 +33,7 @@ import * as routify from "@roxi/routify" import { onDestroy } from "svelte" - // Keep URL and state in sync for selected screen ID + // Keep URL and state in sync for selected app ID const stopSyncing = syncURLToState({ urlParam: "appId", stateKey: "selectedAppId", @@ -111,6 +111,10 @@ onDestroy(() => { stopSyncing() store.actions.reset() + overview.update(state => ({ + ...state, + selectedAppId: null, + })) }) From 123c47c4d1d1f106ff43f684a030d06a8d3f49ab Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 25 Apr 2023 08:44:57 +0100 Subject: [PATCH 03/23] Fix real root issue --- packages/builder/src/api.js | 4 ++-- .../builder/portal/overview/[appId]/_layout.svelte | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/builder/src/api.js b/packages/builder/src/api.js index f3db05307a..37894d9bbc 100644 --- a/packages/builder/src/api.js +++ b/packages/builder/src/api.js @@ -5,12 +5,12 @@ import { } from "@budibase/frontend-core" import { store } from "./builderStore" import { get } from "svelte/store" -import { auth, overview } from "./stores/portal" +import { auth } from "./stores/portal" export const API = createAPIClient({ attachHeaders: headers => { // Attach app ID header from store - let appId = get(store).appId || get(overview).selectedAppId + let appId = get(store).appId if (appId) { headers["x-budibase-app-id"] = appId } diff --git a/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte b/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte index 56d76d3a4c..806589e421 100644 --- a/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte +++ b/packages/builder/src/pages/builder/portal/overview/[appId]/_layout.svelte @@ -47,6 +47,7 @@ let deletionModal let exportPublishedVersion = false let deletionConfirmationAppName + let loaded = false $: app = $overview.selectedApp $: appId = $overview.selectedAppId @@ -56,10 +57,12 @@ $: lockedByYou = $auth.user.email === app?.lockedBy?.email const initialiseApp = async appId => { + loaded = false try { const pkg = await API.fetchAppPackage(appId) await store.actions.initialise(pkg) await API.syncApp(appId) + loaded = true } catch (error) { notifications.error("Error initialising app overview") $goto("../../") @@ -111,10 +114,6 @@ onDestroy(() => { stopSyncing() store.actions.reset() - overview.update(state => ({ - ...state, - selectedAppId: null, - })) }) @@ -232,7 +231,9 @@ active={$isActive("./version")} /> - + {#if loaded} + + {/if} From 0c38124f6ae24ea2774046e3f0db04fc30f4323e Mon Sep 17 00:00:00 2001 From: Gerard Burns Date: Tue, 25 Apr 2023 09:57:21 +0100 Subject: [PATCH 04/23] Form Block Improvements (#10404) * Form Block Improvements * PR Fixes * PR feedback --- .../design/settings/componentSettings.js | 2 + .../controls/FieldConfiguration.svelte | 91 ++++++++ .../FieldConfiguration/CellEditor.svelte | 26 +++ .../FieldConfiguration/ColumnDrawer.svelte | 202 ++++++++++++++++++ .../FieldConfiguration.svelte | 89 ++++++++ .../ValidationEditor/ValidationDrawer.svelte | 9 +- packages/client/manifest.json | 66 +++++- .../components/app/blocks/TableBlock.svelte | 13 +- .../app/blocks/form/FormBlock.svelte | 36 +++- .../app/blocks/form/InnerFormBlock.svelte | 24 ++- 10 files changed, 543 insertions(+), 15 deletions(-) create mode 100644 packages/builder/src/components/design/settings/controls/FieldConfiguration.svelte create mode 100644 packages/builder/src/components/design/settings/controls/FieldConfiguration/CellEditor.svelte create mode 100644 packages/builder/src/components/design/settings/controls/FieldConfiguration/ColumnDrawer.svelte create mode 100644 packages/builder/src/components/design/settings/controls/FieldConfiguration/FieldConfiguration.svelte diff --git a/packages/builder/src/components/design/settings/componentSettings.js b/packages/builder/src/components/design/settings/componentSettings.js index 65a21f368d..39a82c20dd 100644 --- a/packages/builder/src/components/design/settings/componentSettings.js +++ b/packages/builder/src/components/design/settings/componentSettings.js @@ -21,6 +21,7 @@ import DrawerBindableCombobox from "components/common/bindings/DrawerBindableCom import ColumnEditor from "./controls/ColumnEditor/ColumnEditor.svelte" import BasicColumnEditor from "./controls/ColumnEditor/BasicColumnEditor.svelte" import BarButtonList from "./controls/BarButtonList.svelte" +import FieldConfiguration from "./controls/FieldConfiguration/FieldConfiguration.svelte" const componentMap = { text: DrawerBindableCombobox, @@ -43,6 +44,7 @@ const componentMap = { section: SectionSelect, filter: FilterEditor, url: URLSelect, + fieldConfiguration: FieldConfiguration, columns: ColumnEditor, "columns/basic": BasicColumnEditor, "field/sortable": SortableFieldSelect, diff --git a/packages/builder/src/components/design/settings/controls/FieldConfiguration.svelte b/packages/builder/src/components/design/settings/controls/FieldConfiguration.svelte new file mode 100644 index 0000000000..59340d4898 --- /dev/null +++ b/packages/builder/src/components/design/settings/controls/FieldConfiguration.svelte @@ -0,0 +1,91 @@ + + +Configure columns + + + Configure the columns in your {subject.toLowerCase()}. + + + + diff --git a/packages/builder/src/components/design/settings/controls/FieldConfiguration/CellEditor.svelte b/packages/builder/src/components/design/settings/controls/FieldConfiguration/CellEditor.svelte new file mode 100644 index 0000000000..e70decc035 --- /dev/null +++ b/packages/builder/src/components/design/settings/controls/FieldConfiguration/CellEditor.svelte @@ -0,0 +1,26 @@ + + + + + + "{column.name}" field validation + + + +
+ +
+
+
diff --git a/packages/builder/src/components/design/settings/controls/FieldConfiguration/ColumnDrawer.svelte b/packages/builder/src/components/design/settings/controls/FieldConfiguration/ColumnDrawer.svelte new file mode 100644 index 0000000000..316bf56da3 --- /dev/null +++ b/packages/builder/src/components/design/settings/controls/FieldConfiguration/ColumnDrawer.svelte @@ -0,0 +1,202 @@ + + + +
+ + {#if columns?.length} + +
+
+ + +
+
+
+
+ {#each columns as column (column.id)} +
+
(dragDisabled = false)} + > + +
+ + + removeColumn(column.id)} + disabled={columns.length === 1} + /> +
+ {/each} +
+ + {:else} +
+
+ Add columns to be included in your form below. +
+
+ {/if} +
+
+ + + {#if columns?.length} + + {/if} +
+
+ +
+ + + diff --git a/packages/builder/src/components/design/settings/controls/FieldConfiguration/FieldConfiguration.svelte b/packages/builder/src/components/design/settings/controls/FieldConfiguration/FieldConfiguration.svelte new file mode 100644 index 0000000000..f9127460e2 --- /dev/null +++ b/packages/builder/src/components/design/settings/controls/FieldConfiguration/FieldConfiguration.svelte @@ -0,0 +1,89 @@ + + +Configure fields + + + Configure the fields in your form. + + + + diff --git a/packages/builder/src/components/design/settings/controls/ValidationEditor/ValidationDrawer.svelte b/packages/builder/src/components/design/settings/controls/ValidationEditor/ValidationDrawer.svelte index 8d9ca7e0cd..0bff2ccce6 100644 --- a/packages/builder/src/components/design/settings/controls/ValidationEditor/ValidationDrawer.svelte +++ b/packages/builder/src/components/design/settings/controls/ValidationEditor/ValidationDrawer.svelte @@ -16,6 +16,7 @@ import DrawerBindableInput from "components/common/bindings/DrawerBindableInput.svelte" import { generate } from "shortid" + export let fieldName = null export let rules = [] export let bindings = [] export let type @@ -124,7 +125,7 @@ } $: dataSourceSchema = getDataSourceSchema($currentAsset, $selectedComponent) - $: field = $selectedComponent?.field + $: field = fieldName || $selectedComponent?.field $: schemaRules = parseRulesFromSchema(field, dataSourceSchema || {}) $: fieldType = type?.split("/")[1] || "string" $: constraintOptions = getConstraintsForType(fieldType) @@ -140,8 +141,12 @@ const formParent = findClosestMatchingComponent( asset.props, component._id, - component => component._component.endsWith("/form") + component => + component._component.endsWith("/form") || + component._component.endsWith("/formblock") || + component._component.endsWith("/tableblock") ) + return getSchemaForDatasource(asset, formParent?.dataSource) } diff --git a/packages/client/manifest.json b/packages/client/manifest.json index f27d090617..84ffca314c 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -4435,6 +4435,48 @@ "key": "row" } ] + }, + { + "label": "Fields", + "type": "fieldConfiguration", + "key": "sidePanelFields", + "nested": true, + "dependsOn": { + "setting": "clickBehaviour", + "value": "details" + } + }, + { + "label": "Show delete", + "type": "boolean", + "key": "sidePanelShowDelete", + "nested": true, + "dependsOn": { + "setting": "clickBehaviour", + "value": "details" + } + }, + { + "label": "Save label", + "type": "text", + "key": "sidePanelSaveLabel", + "defaultValue": "Save", + "nested": true, + "dependsOn": { + "setting": "clickBehaviour", + "value": "details" + } + }, + { + "label": "Delete label", + "type": "text", + "key": "sidePanelDeleteLabel", + "defaultValue": "Delete", + "nested": true, + "dependsOn": { + "setting": "clickBehaviour", + "value": "details" + } } ] }, @@ -4979,7 +5021,7 @@ "name": "Fields", "settings": [ { - "type": "multifield", + "type": "fieldConfiguration", "label": "Fields", "key": "fields", "selectAllFields": true @@ -5028,6 +5070,17 @@ "invert": true } }, + { + "type": "text", + "key": "saveButtonLabel", + "label": "Save button label", + "nested": true, + "defaultValue": "Save", + "dependsOn": { + "setting": "showSaveButton", + "value": true + } + }, { "type": "boolean", "label": "Allow delete", @@ -5038,6 +5091,17 @@ "value": "Update" } }, + { + "type": "text", + "key": "deleteButtonLabel", + "label": "Delete button label", + "nested": true, + "defaultValue": "Delete", + "dependsOn": { + "setting": "showDeleteButton", + "value": true + } + }, { "type": "url", "label": "Navigate after button press", diff --git a/packages/client/src/components/app/blocks/TableBlock.svelte b/packages/client/src/components/app/blocks/TableBlock.svelte index 26e44922dd..e45b53880d 100644 --- a/packages/client/src/components/app/blocks/TableBlock.svelte +++ b/packages/client/src/components/app/blocks/TableBlock.svelte @@ -26,6 +26,10 @@ export let titleButtonClickBehaviour export let onClickTitleButton export let noRowsMessage + export let sidePanelFields + export let sidePanelShowDelete + export let sidePanelSaveLabel + export let sidePanelDeleteLabel const { fetchDatasourceSchema, API } = getContext("sdk") const stateKey = `ID_${generate()}` @@ -241,10 +245,12 @@ props={{ dataSource, showSaveButton: true, - showDeleteButton: true, + showDeleteButton: sidePanelShowDelete, + saveButtonLabel: sidePanelSaveLabel, + deleteButtonLabel: sidePanelDeleteLabel, actionType: "Update", rowId: `{{ ${safe("state")}.${safe(stateKey)} }}`, - fields: normalFields, + fields: sidePanelFields || normalFields, title: editTitle, labelPosition: "left", }} @@ -266,8 +272,9 @@ dataSource, showSaveButton: true, showDeleteButton: false, + saveButtonLabel: sidePanelSaveLabel, actionType: "Create", - fields: normalFields, + fields: sidePanelFields || normalFields, title: "Create Row", labelPosition: "left", }} diff --git a/packages/client/src/components/app/blocks/form/FormBlock.svelte b/packages/client/src/components/app/blocks/form/FormBlock.svelte index a05a7e141c..6874c23cf4 100644 --- a/packages/client/src/components/app/blocks/form/FormBlock.svelte +++ b/packages/client/src/components/app/blocks/form/FormBlock.svelte @@ -12,6 +12,8 @@ export let fields export let labelPosition export let title + export let saveButtonLabel + export let deleteButtonLabel export let showSaveButton export let showDeleteButton export let rowId @@ -20,10 +22,40 @@ const { fetchDatasourceSchema } = getContext("sdk") + const convertOldFieldFormat = fields => { + if (typeof fields?.[0] === "string") { + return fields.map(field => ({ name: field, displayName: field })) + } + + return fields + } + + const getDefaultFields = (fields, schema) => { + if (schema && (!fields || fields.length === 0)) { + const defaultFields = [] + + Object.values(schema).forEach(field => { + if (field.autocolumn) return + + defaultFields.push({ + name: field.name, + displayName: field.name, + }) + }) + + return defaultFields + } + + return fields + } + let schema let providerId let repeaterId + $: formattedFields = convertOldFieldFormat(fields) + $: fieldsOrDefault = getDefaultFields(formattedFields, schema) + $: fetchSchema(dataSource) $: dataProvider = `{{ literal ${safe(providerId)} }}` $: filter = [ @@ -46,9 +78,11 @@ actionType, size, disabled, - fields, + fields: fieldsOrDefault, labelPosition, title, + saveButtonLabel, + deleteButtonLabel, showSaveButton, showDeleteButton, schema, diff --git a/packages/client/src/components/app/blocks/form/InnerFormBlock.svelte b/packages/client/src/components/app/blocks/form/InnerFormBlock.svelte index da5345e6ad..b89ec4bcab 100644 --- a/packages/client/src/components/app/blocks/form/InnerFormBlock.svelte +++ b/packages/client/src/components/app/blocks/form/InnerFormBlock.svelte @@ -11,6 +11,8 @@ export let fields export let labelPosition export let title + export let saveButtonLabel + export let deleteButtonLabel export let showSaveButton export let showDeleteButton export let schema @@ -33,6 +35,12 @@ let formId $: onSave = [ + { + "##eventHandlerType": "Validate Form", + parameters: { + componentId: formId, + }, + }, { "##eventHandlerType": "Save Row", parameters: { @@ -163,7 +171,7 @@ {#each fields as field, idx} - {#if getComponentForField(field)} + {#if getComponentForField(field.name)} From 5b4b3b6fd13d0d977f53e9d5953869564f10ad39 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Tue, 25 Apr 2023 09:11:46 +0000 Subject: [PATCH 05/23] v2.5.6-alpha.27 --- 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 e29a909ce3..54628e2e9b 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.6-alpha.26", + "version": "2.5.6-alpha.27", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"], diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 237e4a6fac..3d1cc20ad2 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-alpha.26", + "version": "2.5.6-alpha.27", "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-alpha.26", + "@budibase/types": "2.5.6-alpha.27", "@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 648090784b..c6e4e9af58 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-alpha.26", + "version": "2.5.6-alpha.27", "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-alpha.26", - "@budibase/string-templates": "2.5.6-alpha.26", + "@budibase/shared-core": "2.5.6-alpha.27", + "@budibase/string-templates": "2.5.6-alpha.27", "@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 ce14a4982b..0bf4940d94 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.6-alpha.26", + "version": "2.5.6-alpha.27", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "2.5.6-alpha.26", - "@budibase/client": "2.5.6-alpha.26", - "@budibase/frontend-core": "2.5.6-alpha.26", - "@budibase/shared-core": "2.5.6-alpha.26", - "@budibase/string-templates": "2.5.6-alpha.26", + "@budibase/bbui": "2.5.6-alpha.27", + "@budibase/client": "2.5.6-alpha.27", + "@budibase/frontend-core": "2.5.6-alpha.27", + "@budibase/shared-core": "2.5.6-alpha.27", + "@budibase/string-templates": "2.5.6-alpha.27", "@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 823953e68a..cef464ef36 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.6-alpha.26", + "version": "2.5.6-alpha.27", "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-alpha.26", - "@budibase/string-templates": "2.5.6-alpha.26", - "@budibase/types": "2.5.6-alpha.26", + "@budibase/backend-core": "2.5.6-alpha.27", + "@budibase/string-templates": "2.5.6-alpha.27", + "@budibase/types": "2.5.6-alpha.27", "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 0dc6f033fe..d7590a62a4 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.6-alpha.26", + "version": "2.5.6-alpha.27", "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-alpha.26", - "@budibase/frontend-core": "2.5.6-alpha.26", - "@budibase/shared-core": "2.5.6-alpha.26", - "@budibase/string-templates": "2.5.6-alpha.26", - "@budibase/types": "2.5.6-alpha.26", + "@budibase/bbui": "2.5.6-alpha.27", + "@budibase/frontend-core": "2.5.6-alpha.27", + "@budibase/shared-core": "2.5.6-alpha.27", + "@budibase/string-templates": "2.5.6-alpha.27", + "@budibase/types": "2.5.6-alpha.27", "@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 887b143263..bc7003ef59 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-alpha.26", + "version": "2.5.6-alpha.27", "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-alpha.26", - "@budibase/shared-core": "2.5.6-alpha.26", + "@budibase/bbui": "2.5.6-alpha.27", + "@budibase/shared-core": "2.5.6-alpha.27", "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 673cb302bd..801a2d4005 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.6-alpha.26", + "version": "2.5.6-alpha.27", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index afb69ae787..82d60aa280 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-alpha.26", + "version": "2.5.6-alpha.27", "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.6-alpha.26", - "@budibase/client": "2.5.6-alpha.26", + "@budibase/backend-core": "2.5.6-alpha.27", + "@budibase/client": "2.5.6-alpha.27", "@budibase/pro": "2.5.6-alpha.26", - "@budibase/shared-core": "2.5.6-alpha.26", - "@budibase/string-templates": "2.5.6-alpha.26", - "@budibase/types": "2.5.6-alpha.26", + "@budibase/shared-core": "2.5.6-alpha.27", + "@budibase/string-templates": "2.5.6-alpha.27", + "@budibase/types": "2.5.6-alpha.27", "@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 253ba37914..a3918dcbcf 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-alpha.26", + "version": "2.5.6-alpha.27", "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-alpha.26" + "@budibase/types": "2.5.6-alpha.27" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 80b9c384f0..90b58552d2 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-alpha.26", + "version": "2.5.6-alpha.27", "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 5a25bfcfde..b56477e3a1 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.6-alpha.26", + "version": "2.5.6-alpha.27", "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 a7f8e497cd..53b44363ba 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-alpha.26", + "version": "2.5.6-alpha.27", "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.6-alpha.26", + "@budibase/backend-core": "2.5.6-alpha.27", "@budibase/pro": "2.5.6-alpha.26", - "@budibase/string-templates": "2.5.6-alpha.26", - "@budibase/types": "2.5.6-alpha.26", + "@budibase/string-templates": "2.5.6-alpha.27", + "@budibase/types": "2.5.6-alpha.27", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 2d2a368f23e2403df71a6930c13defb438fc6048 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Tue, 25 Apr 2023 10:50:10 +0000 Subject: [PATCH 06/23] v2.5.6-alpha.28 --- 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 54628e2e9b..5016d729c0 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.6-alpha.27", + "version": "2.5.6-alpha.28", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"], diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 3d1cc20ad2..53e14d15c7 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-alpha.27", + "version": "2.5.6-alpha.28", "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-alpha.27", + "@budibase/types": "2.5.6-alpha.28", "@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 c6e4e9af58..b46e5c3b7d 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-alpha.27", + "version": "2.5.6-alpha.28", "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-alpha.27", - "@budibase/string-templates": "2.5.6-alpha.27", + "@budibase/shared-core": "2.5.6-alpha.28", + "@budibase/string-templates": "2.5.6-alpha.28", "@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 0bf4940d94..4009a401e7 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.6-alpha.27", + "version": "2.5.6-alpha.28", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "2.5.6-alpha.27", - "@budibase/client": "2.5.6-alpha.27", - "@budibase/frontend-core": "2.5.6-alpha.27", - "@budibase/shared-core": "2.5.6-alpha.27", - "@budibase/string-templates": "2.5.6-alpha.27", + "@budibase/bbui": "2.5.6-alpha.28", + "@budibase/client": "2.5.6-alpha.28", + "@budibase/frontend-core": "2.5.6-alpha.28", + "@budibase/shared-core": "2.5.6-alpha.28", + "@budibase/string-templates": "2.5.6-alpha.28", "@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 cef464ef36..321c9b6a35 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.6-alpha.27", + "version": "2.5.6-alpha.28", "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-alpha.27", - "@budibase/string-templates": "2.5.6-alpha.27", - "@budibase/types": "2.5.6-alpha.27", + "@budibase/backend-core": "2.5.6-alpha.28", + "@budibase/string-templates": "2.5.6-alpha.28", + "@budibase/types": "2.5.6-alpha.28", "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 d7590a62a4..b953eee349 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.6-alpha.27", + "version": "2.5.6-alpha.28", "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-alpha.27", - "@budibase/frontend-core": "2.5.6-alpha.27", - "@budibase/shared-core": "2.5.6-alpha.27", - "@budibase/string-templates": "2.5.6-alpha.27", - "@budibase/types": "2.5.6-alpha.27", + "@budibase/bbui": "2.5.6-alpha.28", + "@budibase/frontend-core": "2.5.6-alpha.28", + "@budibase/shared-core": "2.5.6-alpha.28", + "@budibase/string-templates": "2.5.6-alpha.28", + "@budibase/types": "2.5.6-alpha.28", "@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 bc7003ef59..ff830b0cb5 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-alpha.27", + "version": "2.5.6-alpha.28", "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-alpha.27", - "@budibase/shared-core": "2.5.6-alpha.27", + "@budibase/bbui": "2.5.6-alpha.28", + "@budibase/shared-core": "2.5.6-alpha.28", "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 801a2d4005..a8dff3da10 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.6-alpha.27", + "version": "2.5.6-alpha.28", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index 82d60aa280..a9955358f0 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-alpha.27", + "version": "2.5.6-alpha.28", "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.6-alpha.27", - "@budibase/client": "2.5.6-alpha.27", + "@budibase/backend-core": "2.5.6-alpha.28", + "@budibase/client": "2.5.6-alpha.28", "@budibase/pro": "2.5.6-alpha.26", - "@budibase/shared-core": "2.5.6-alpha.27", - "@budibase/string-templates": "2.5.6-alpha.27", - "@budibase/types": "2.5.6-alpha.27", + "@budibase/shared-core": "2.5.6-alpha.28", + "@budibase/string-templates": "2.5.6-alpha.28", + "@budibase/types": "2.5.6-alpha.28", "@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 a3918dcbcf..2d9ab33701 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-alpha.27", + "version": "2.5.6-alpha.28", "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-alpha.27" + "@budibase/types": "2.5.6-alpha.28" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 90b58552d2..d9b9adcfbd 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-alpha.27", + "version": "2.5.6-alpha.28", "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 b56477e3a1..76ebca7e05 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.6-alpha.27", + "version": "2.5.6-alpha.28", "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 53b44363ba..082e14f230 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-alpha.27", + "version": "2.5.6-alpha.28", "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.6-alpha.27", + "@budibase/backend-core": "2.5.6-alpha.28", "@budibase/pro": "2.5.6-alpha.26", - "@budibase/string-templates": "2.5.6-alpha.27", - "@budibase/types": "2.5.6-alpha.27", + "@budibase/string-templates": "2.5.6-alpha.28", + "@budibase/types": "2.5.6-alpha.28", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 3f22bbf50dd094d902596c04fd4ae212e76e623e Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Tue, 25 Apr 2023 10:51:34 +0000 Subject: [PATCH 07/23] Update pro version to 2.5.6-alpha.28 --- packages/server/package.json | 2 +- packages/worker/package.json | 2 +- yarn.lock | 58 ++++++++++++++++++++++++++++++++---- 3 files changed, 54 insertions(+), 8 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index a9955358f0..1cd28f6829 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.6-alpha.28", "@budibase/client": "2.5.6-alpha.28", - "@budibase/pro": "2.5.6-alpha.26", + "@budibase/pro": "2.5.6-alpha.28", "@budibase/shared-core": "2.5.6-alpha.28", "@budibase/string-templates": "2.5.6-alpha.28", "@budibase/types": "2.5.6-alpha.28", diff --git a/packages/worker/package.json b/packages/worker/package.json index 082e14f230..9a4411222a 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.6-alpha.28", - "@budibase/pro": "2.5.6-alpha.26", + "@budibase/pro": "2.5.6-alpha.28", "@budibase/string-templates": "2.5.6-alpha.28", "@budibase/types": "2.5.6-alpha.28", "@koa/router": "8.0.8", diff --git a/yarn.lock b/yarn.lock index 0d89d2cadf..8a77fcafc6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1386,6 +1386,45 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@budibase/backend-core@2.5.6-alpha.26": + version "2.5.6-alpha.26" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.6-alpha.26.tgz#72029afe5a85402fa996e92b84ad56cb8c6bde45" + integrity sha512-ktP2SWwLjaDzJYLnadU1BcZlrfQkvhRb3T+v1SEciTBWi0vF7MUa7k5OW0EKwECpGA3VA576sbI7FgGu7m7Sxw== + dependencies: + "@budibase/nano" "10.1.2" + "@budibase/pouchdb-replication-stream" "1.2.10" + "@budibase/types" "2.5.6-alpha.26" + "@shopify/jest-koa-mocks" "5.0.1" + "@techpass/passport-openidconnect" "0.3.2" + aws-cloudfront-sign "2.2.0" + aws-sdk "2.1030.0" + bcrypt "5.0.1" + bcryptjs "2.4.3" + bull "4.10.1" + correlation-id "4.0.0" + dotenv "16.0.1" + emitter-listener "1.1.2" + ioredis "4.28.0" + joi "17.6.0" + jsonwebtoken "9.0.0" + koa-passport "4.1.4" + koa-pino-logger "4.0.0" + lodash "4.17.21" + lodash.isarguments "3.1.0" + node-fetch "2.6.7" + passport-google-oauth "2.0.0" + passport-jwt "4.0.0" + passport-local "1.0.0" + passport-oauth2-refresh "^2.1.0" + posthog-node "1.3.0" + pouchdb "7.3.0" + pouchdb-find "7.2.2" + redlock "4.2.0" + sanitize-s3-objectkey "0.0.1" + semver "7.3.7" + tar-fs "2.1.1" + uuid "8.3.2" + "@budibase/bbui@^0.9.139": version "0.9.190" resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-0.9.190.tgz#e1ec400ac90f556bfbc80fc23a04506f1585ea81" @@ -1486,15 +1525,15 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.6-alpha.25": - version "2.5.6-alpha.25" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.25.tgz#bfe99536060422adb60da2f195acb05b24898c98" - integrity sha512-LEQec9N9gS+j5gt/eKwGzci5oKW1sRTIG8oUvH7faCoJjD7BWIhmNuQNFrNfg70C/zkxYy4CL/2s1P9oVR1B3g== +"@budibase/pro@2.5.6-alpha.26": + version "2.5.6-alpha.26" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.26.tgz#979f0de77db78ad4596e6295083047b71f7c7bcc" + integrity sha512-d0ZsggojThcg1m81UEPUHp7fuPaSVwG+HYXh3ElEXmeH7HJNOJrbD2K0U7zkaWzufLK9ay1H6qcaZ9ZHVg/z/Q== dependencies: - "@budibase/backend-core" "2.5.6-alpha.25" + "@budibase/backend-core" "2.5.6-alpha.26" "@budibase/shared-core" "2.4.44-alpha.1" "@budibase/string-templates" "2.4.44-alpha.1" - "@budibase/types" "2.5.6-alpha.25" + "@budibase/types" "2.5.6-alpha.26" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1547,6 +1586,13 @@ resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.4.44-alpha.1.tgz#1679657aa180d9c59afa1dffa611bff0638bd933" integrity sha512-Sq+8HfM75EBMoOvKYFwELdlxmVN6wNZMofDjT/2G+9aF+Zfe5Tzw69C+unmdBgcGGjGCHEYWSz4mF0v8FPAGbg== +"@budibase/types@2.5.6-alpha.26": + version "2.5.6-alpha.26" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.6-alpha.26.tgz#09ac8f1e4f4dfd5e7e109839cd9db36d5c563dc4" + integrity sha512-C1eHWj4tRwsQb2dJbMdukxRFVqiyzRBhwIMuCSIdJg763sbn9TXTqWTBbljyG7ppH+Dwge+py9KtiFP2MpMCfQ== + dependencies: + scim-patch "^0.7.0" + "@bull-board/api@3.7.0": version "3.7.0" resolved "https://registry.yarnpkg.com/@bull-board/api/-/api-3.7.0.tgz#231f687187c0cb34e0b97f463917b6aaeb4ef6af" From f3be917da115069c27cad05f2f54b04abfc53a7e Mon Sep 17 00:00:00 2001 From: Dean Date: Tue, 25 Apr 2023 12:16:02 +0100 Subject: [PATCH 08/23] Enrich the upgradable version property when fetching the app package --- packages/builder/src/builderStore/store/frontend.js | 1 + .../builder/src/components/deploy/VersionModal.svelte | 9 ++++----- .../builder/portal/overview/[appId]/overview.svelte | 7 +++---- .../pages/builder/portal/overview/[appId]/version.svelte | 5 ++--- packages/server/src/api/controllers/application.ts | 2 +- 5 files changed, 11 insertions(+), 13 deletions(-) diff --git a/packages/builder/src/builderStore/store/frontend.js b/packages/builder/src/builderStore/store/frontend.js index 3fc0eb769e..e264dc099b 100644 --- a/packages/builder/src/builderStore/store/frontend.js +++ b/packages/builder/src/builderStore/store/frontend.js @@ -134,6 +134,7 @@ export const getFrontendStore = () => { previousTopNavPath: {}, version: application.version, revertableVersion: application.revertableVersion, + upgradableVersion: application.upgradableVersion, navigation: application.navigation || {}, usedPlugins: application.usedPlugins || [], })) diff --git a/packages/builder/src/components/deploy/VersionModal.svelte b/packages/builder/src/components/deploy/VersionModal.svelte index f357cc7820..75acc974ce 100644 --- a/packages/builder/src/components/deploy/VersionModal.svelte +++ b/packages/builder/src/components/deploy/VersionModal.svelte @@ -9,7 +9,6 @@ } from "@budibase/bbui" import { store } from "builderStore" import { API } from "api" - import clientPackage from "@budibase/client/package.json" export function show() { updateModal.show() @@ -25,9 +24,9 @@ $: appId = $store.appId $: updateAvailable = - clientPackage.version && + $store.upgradableVersion && $store.version && - clientPackage.version !== $store.version + $store.upgradableVersion !== $store.version $: revertAvailable = $store.revertableVersion != null const refreshAppPackage = async () => { @@ -46,7 +45,7 @@ // Don't wait for the async refresh, since this causes modal flashing refreshAppPackage() notifications.success( - `App updated successfully to version ${clientPackage.version}` + `App updated successfully to version ${$store.upgradableVersion}` ) } catch (err) { notifications.error(`Error updating app: ${err}`) @@ -91,7 +90,7 @@ {#if updateAvailable} This app is currently using version {$store.version}, but version - {clientPackage.version} is available. Updates can contain new features, + {$store.upgradableVersion} is available. Updates can contain new features, performance improvements and bug fixes. {:else} diff --git a/packages/builder/src/pages/builder/portal/overview/[appId]/overview.svelte b/packages/builder/src/pages/builder/portal/overview/[appId]/overview.svelte index 2d2b6775fb..c049a610b6 100644 --- a/packages/builder/src/pages/builder/portal/overview/[appId]/overview.svelte +++ b/packages/builder/src/pages/builder/portal/overview/[appId]/overview.svelte @@ -13,7 +13,6 @@ notifications, } from "@budibase/bbui" import { store } from "builderStore" - import clientPackage from "@budibase/client/package.json" import { processStringSync } from "@budibase/string-templates" import { users, auth, apps, groups, overview } from "stores/portal" import { fetchData } from "@budibase/frontend-core" @@ -40,7 +39,7 @@ }, }, }) - $: updateAvailable = clientPackage.version !== $store.version + $: updateAvailable = $store.upgradableVersion !== $store.version $: isPublished = app?.status === AppStatus.DEPLOYED $: appEditorId = !app?.updatedBy ? $auth.user._id : app?.updatedBy $: appEditorText = appEditor?.firstName || appEditor?.email @@ -172,8 +171,8 @@ {$store.version} {#if updateAvailable}
- New version {clientPackage.version} is available - - + New version {$store.upgradableVersion} is + available - { $goto("./version") diff --git a/packages/builder/src/pages/builder/portal/overview/[appId]/version.svelte b/packages/builder/src/pages/builder/portal/overview/[appId]/version.svelte index 676d0b4f59..723e32984d 100644 --- a/packages/builder/src/pages/builder/portal/overview/[appId]/version.svelte +++ b/packages/builder/src/pages/builder/portal/overview/[appId]/version.svelte @@ -1,12 +1,11 @@ @@ -18,7 +17,7 @@ {#if updateAvailable} The app is currently using version {$store.version} - but version {clientPackage.version} is available. + but version {$store.upgradableVersion} is available.
Updates can contain new features, performance improvements and bug fixes. diff --git a/packages/server/src/api/controllers/application.ts b/packages/server/src/api/controllers/application.ts index ec68ca4c72..77a4e7c7f1 100644 --- a/packages/server/src/api/controllers/application.ts +++ b/packages/server/src/api/controllers/application.ts @@ -223,7 +223,7 @@ export async function fetchAppPackage(ctx: UserCtx) { ) ctx.body = { - application, + application : {...application, upgradableVersion : envCore.VERSION}, screens, layouts, clientLibPath, From 72c72fc48ae49a1558b130177fc78541393f94d8 Mon Sep 17 00:00:00 2001 From: Dean Date: Tue, 25 Apr 2023 12:31:52 +0100 Subject: [PATCH 09/23] Lint fix --- packages/server/src/api/controllers/application.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/api/controllers/application.ts b/packages/server/src/api/controllers/application.ts index 77a4e7c7f1..ff0dbe015b 100644 --- a/packages/server/src/api/controllers/application.ts +++ b/packages/server/src/api/controllers/application.ts @@ -223,7 +223,7 @@ export async function fetchAppPackage(ctx: UserCtx) { ) ctx.body = { - application : {...application, upgradableVersion : envCore.VERSION}, + application: { ...application, upgradableVersion: envCore.VERSION }, screens, layouts, clientLibPath, From 5d0fa664f90a3edb8a93e6aab09a67b37becf436 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 25 Apr 2023 15:20:25 +0100 Subject: [PATCH 10/23] Quick attempt at fix for #10274 - some email clients don't respect width, add both height and width. --- packages/worker/src/constants/templates/core.hbs | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/worker/src/constants/templates/core.hbs b/packages/worker/src/constants/templates/core.hbs index b7f9658d8c..f3f5ed5e7f 100644 --- a/packages/worker/src/constants/templates/core.hbs +++ b/packages/worker/src/constants/templates/core.hbs @@ -17,6 +17,7 @@ > Budibase Logo Date: Tue, 25 Apr 2023 15:22:15 +0100 Subject: [PATCH 11/23] Removing units. --- packages/worker/src/constants/templates/core.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/worker/src/constants/templates/core.hbs b/packages/worker/src/constants/templates/core.hbs index f3f5ed5e7f..0b8b8cbde7 100644 --- a/packages/worker/src/constants/templates/core.hbs +++ b/packages/worker/src/constants/templates/core.hbs @@ -16,8 +16,8 @@ cellspacing="0" > Budibase Logo Date: Tue, 25 Apr 2023 16:52:46 +0000 Subject: [PATCH 12/23] v2.5.6-alpha.29 --- 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 5016d729c0..9891cfb267 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.6-alpha.28", + "version": "2.5.6-alpha.29", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"], diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 53e14d15c7..68d8e60a13 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-alpha.28", + "version": "2.5.6-alpha.29", "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-alpha.28", + "@budibase/types": "2.5.6-alpha.29", "@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 b46e5c3b7d..ba59b19143 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-alpha.28", + "version": "2.5.6-alpha.29", "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-alpha.28", - "@budibase/string-templates": "2.5.6-alpha.28", + "@budibase/shared-core": "2.5.6-alpha.29", + "@budibase/string-templates": "2.5.6-alpha.29", "@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 4009a401e7..2a580b51da 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.6-alpha.28", + "version": "2.5.6-alpha.29", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "2.5.6-alpha.28", - "@budibase/client": "2.5.6-alpha.28", - "@budibase/frontend-core": "2.5.6-alpha.28", - "@budibase/shared-core": "2.5.6-alpha.28", - "@budibase/string-templates": "2.5.6-alpha.28", + "@budibase/bbui": "2.5.6-alpha.29", + "@budibase/client": "2.5.6-alpha.29", + "@budibase/frontend-core": "2.5.6-alpha.29", + "@budibase/shared-core": "2.5.6-alpha.29", + "@budibase/string-templates": "2.5.6-alpha.29", "@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 321c9b6a35..20074f1cca 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.6-alpha.28", + "version": "2.5.6-alpha.29", "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-alpha.28", - "@budibase/string-templates": "2.5.6-alpha.28", - "@budibase/types": "2.5.6-alpha.28", + "@budibase/backend-core": "2.5.6-alpha.29", + "@budibase/string-templates": "2.5.6-alpha.29", + "@budibase/types": "2.5.6-alpha.29", "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 b953eee349..443d9cfe72 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.6-alpha.28", + "version": "2.5.6-alpha.29", "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-alpha.28", - "@budibase/frontend-core": "2.5.6-alpha.28", - "@budibase/shared-core": "2.5.6-alpha.28", - "@budibase/string-templates": "2.5.6-alpha.28", - "@budibase/types": "2.5.6-alpha.28", + "@budibase/bbui": "2.5.6-alpha.29", + "@budibase/frontend-core": "2.5.6-alpha.29", + "@budibase/shared-core": "2.5.6-alpha.29", + "@budibase/string-templates": "2.5.6-alpha.29", + "@budibase/types": "2.5.6-alpha.29", "@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 ff830b0cb5..8f98d5d89f 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-alpha.28", + "version": "2.5.6-alpha.29", "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-alpha.28", - "@budibase/shared-core": "2.5.6-alpha.28", + "@budibase/bbui": "2.5.6-alpha.29", + "@budibase/shared-core": "2.5.6-alpha.29", "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 a8dff3da10..5e6d8738a5 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.6-alpha.28", + "version": "2.5.6-alpha.29", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index 1cd28f6829..c26794373a 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-alpha.28", + "version": "2.5.6-alpha.29", "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.6-alpha.28", - "@budibase/client": "2.5.6-alpha.28", + "@budibase/backend-core": "2.5.6-alpha.29", + "@budibase/client": "2.5.6-alpha.29", "@budibase/pro": "2.5.6-alpha.28", - "@budibase/shared-core": "2.5.6-alpha.28", - "@budibase/string-templates": "2.5.6-alpha.28", - "@budibase/types": "2.5.6-alpha.28", + "@budibase/shared-core": "2.5.6-alpha.29", + "@budibase/string-templates": "2.5.6-alpha.29", + "@budibase/types": "2.5.6-alpha.29", "@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 2d9ab33701..0c1509a5eb 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-alpha.28", + "version": "2.5.6-alpha.29", "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-alpha.28" + "@budibase/types": "2.5.6-alpha.29" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index d9b9adcfbd..ca3c475e3c 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-alpha.28", + "version": "2.5.6-alpha.29", "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 76ebca7e05..bc58429a9a 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.6-alpha.28", + "version": "2.5.6-alpha.29", "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 9a4411222a..6fce484fce 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-alpha.28", + "version": "2.5.6-alpha.29", "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.6-alpha.28", + "@budibase/backend-core": "2.5.6-alpha.29", "@budibase/pro": "2.5.6-alpha.28", - "@budibase/string-templates": "2.5.6-alpha.28", - "@budibase/types": "2.5.6-alpha.28", + "@budibase/string-templates": "2.5.6-alpha.29", + "@budibase/types": "2.5.6-alpha.29", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 71fcfa1a02c2857056b7705de066e03f4bce126a Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Tue, 25 Apr 2023 16:54:16 +0000 Subject: [PATCH 13/23] Update pro version to 2.5.6-alpha.29 --- packages/server/package.json | 2 +- packages/worker/package.json | 2 +- yarn.lock | 58 ++++-------------------------------- 3 files changed, 8 insertions(+), 54 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index c26794373a..a0dad2e2a2 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.6-alpha.29", "@budibase/client": "2.5.6-alpha.29", - "@budibase/pro": "2.5.6-alpha.28", + "@budibase/pro": "2.5.6-alpha.29", "@budibase/shared-core": "2.5.6-alpha.29", "@budibase/string-templates": "2.5.6-alpha.29", "@budibase/types": "2.5.6-alpha.29", diff --git a/packages/worker/package.json b/packages/worker/package.json index 6fce484fce..0ee64ce5f7 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.6-alpha.29", - "@budibase/pro": "2.5.6-alpha.28", + "@budibase/pro": "2.5.6-alpha.29", "@budibase/string-templates": "2.5.6-alpha.29", "@budibase/types": "2.5.6-alpha.29", "@koa/router": "8.0.8", diff --git a/yarn.lock b/yarn.lock index 8a77fcafc6..a667e169aa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1386,45 +1386,6 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@budibase/backend-core@2.5.6-alpha.26": - version "2.5.6-alpha.26" - resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.6-alpha.26.tgz#72029afe5a85402fa996e92b84ad56cb8c6bde45" - integrity sha512-ktP2SWwLjaDzJYLnadU1BcZlrfQkvhRb3T+v1SEciTBWi0vF7MUa7k5OW0EKwECpGA3VA576sbI7FgGu7m7Sxw== - dependencies: - "@budibase/nano" "10.1.2" - "@budibase/pouchdb-replication-stream" "1.2.10" - "@budibase/types" "2.5.6-alpha.26" - "@shopify/jest-koa-mocks" "5.0.1" - "@techpass/passport-openidconnect" "0.3.2" - aws-cloudfront-sign "2.2.0" - aws-sdk "2.1030.0" - bcrypt "5.0.1" - bcryptjs "2.4.3" - bull "4.10.1" - correlation-id "4.0.0" - dotenv "16.0.1" - emitter-listener "1.1.2" - ioredis "4.28.0" - joi "17.6.0" - jsonwebtoken "9.0.0" - koa-passport "4.1.4" - koa-pino-logger "4.0.0" - lodash "4.17.21" - lodash.isarguments "3.1.0" - node-fetch "2.6.7" - passport-google-oauth "2.0.0" - passport-jwt "4.0.0" - passport-local "1.0.0" - passport-oauth2-refresh "^2.1.0" - posthog-node "1.3.0" - pouchdb "7.3.0" - pouchdb-find "7.2.2" - redlock "4.2.0" - sanitize-s3-objectkey "0.0.1" - semver "7.3.7" - tar-fs "2.1.1" - uuid "8.3.2" - "@budibase/bbui@^0.9.139": version "0.9.190" resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-0.9.190.tgz#e1ec400ac90f556bfbc80fc23a04506f1585ea81" @@ -1525,15 +1486,15 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.6-alpha.26": - version "2.5.6-alpha.26" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.26.tgz#979f0de77db78ad4596e6295083047b71f7c7bcc" - integrity sha512-d0ZsggojThcg1m81UEPUHp7fuPaSVwG+HYXh3ElEXmeH7HJNOJrbD2K0U7zkaWzufLK9ay1H6qcaZ9ZHVg/z/Q== +"@budibase/pro@2.5.6-alpha.28": + version "2.5.6-alpha.28" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.28.tgz#54af46014c08c570ffd4f347cc56c1b9e1226304" + integrity sha512-12ZGhTXoZRCmVbxHcOO78aOuAml7S3/NGy063c3ZQUyPJoAi3O+rokj0yDb0t7TAgs06gkiiFUumMhWn35Jaxw== dependencies: - "@budibase/backend-core" "2.5.6-alpha.26" + "@budibase/backend-core" "2.5.6-alpha.28" "@budibase/shared-core" "2.4.44-alpha.1" "@budibase/string-templates" "2.4.44-alpha.1" - "@budibase/types" "2.5.6-alpha.26" + "@budibase/types" "2.5.6-alpha.28" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1586,13 +1547,6 @@ resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.4.44-alpha.1.tgz#1679657aa180d9c59afa1dffa611bff0638bd933" integrity sha512-Sq+8HfM75EBMoOvKYFwELdlxmVN6wNZMofDjT/2G+9aF+Zfe5Tzw69C+unmdBgcGGjGCHEYWSz4mF0v8FPAGbg== -"@budibase/types@2.5.6-alpha.26": - version "2.5.6-alpha.26" - resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.6-alpha.26.tgz#09ac8f1e4f4dfd5e7e109839cd9db36d5c563dc4" - integrity sha512-C1eHWj4tRwsQb2dJbMdukxRFVqiyzRBhwIMuCSIdJg763sbn9TXTqWTBbljyG7ppH+Dwge+py9KtiFP2MpMCfQ== - dependencies: - scim-patch "^0.7.0" - "@bull-board/api@3.7.0": version "3.7.0" resolved "https://registry.yarnpkg.com/@bull-board/api/-/api-3.7.0.tgz#231f687187c0cb34e0b97f463917b6aaeb4ef6af" From aee52af7f07b76352f4492b6d8d32870710332d3 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Tue, 25 Apr 2023 20:36:27 +0100 Subject: [PATCH 14/23] Add feature and quota overrides to qa core for cloud tests (#10417) * Fix qa core suite * Update package.json * Lint --- packages/backend-core/package.json | 3 +- packages/types/src/api/account/license.ts | 8 +- .../types/src/documents/account/account.ts | 3 +- packages/types/src/shared/index.ts | 1 + packages/types/src/shared/typeUtils.ts | 3 + .../src/api/controllers/system/accounts.ts | 4 +- qa-core/scripts/createEnv.js | 2 + .../api/AccountInternalAPIClient.ts | 26 ++++-- .../src/account-api/api/apis/LicenseAPI.ts | 16 ++++ qa-core/src/environment.ts | 1 + .../api/BudibaseInternalAPIClient.ts | 15 ++-- qa-core/src/jest/globalSetup.ts | 31 ++++++- qa-core/src/jest/jestSetup.ts | 3 + .../public-api/api/BudibasePublicAPIClient.ts | 14 ++-- .../src/shared/BudibaseTestConfiguration.ts | 8 -- yarn.lock | 83 +++++++++++++++---- 16 files changed, 172 insertions(+), 49 deletions(-) create mode 100644 packages/types/src/shared/index.ts create mode 100644 packages/types/src/shared/typeUtils.ts diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 68d8e60a13..807ee035c9 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -47,6 +47,8 @@ "passport-jwt": "4.0.0", "passport-local": "1.0.0", "passport-oauth2-refresh": "^2.1.0", + "pino": "8.11.0", + "pino-http": "8.3.3", "posthog-node": "1.3.0", "pouchdb": "7.3.0", "pouchdb-find": "7.2.2", @@ -80,7 +82,6 @@ "jest-serial-runner": "^1.2.1", "koa": "2.13.4", "nodemon": "2.0.16", - "pino": "7.11.0", "pino-pretty": "10.0.0", "pouchdb-adapter-memory": "7.2.2", "timekeeper": "2.2.0", diff --git a/packages/types/src/api/account/license.ts b/packages/types/src/api/account/license.ts index 2ea564ea39..a867358559 100644 --- a/packages/types/src/api/account/license.ts +++ b/packages/types/src/api/account/license.ts @@ -1,4 +1,5 @@ -import { QuotaUsage } from "../../documents" +import { LicenseOverrides, QuotaUsage } from "../../documents" +import { PlanType } from "../../sdk" export interface GetLicenseRequest { // All fields should be optional to cater for @@ -20,3 +21,8 @@ export interface QuotaTriggeredRequest { export interface LicenseActivateRequest { installVersion?: string } + +export interface UpdateLicenseRequest { + planType?: PlanType + overrides?: LicenseOverrides +} diff --git a/packages/types/src/documents/account/account.ts b/packages/types/src/documents/account/account.ts index 24d6606916..8678085df0 100644 --- a/packages/types/src/documents/account/account.ts +++ b/packages/types/src/documents/account/account.ts @@ -1,4 +1,5 @@ import { Feature, Hosting, License, PlanType, Quotas } from "../../sdk" +import { DeepPartial } from "../../shared" import { QuotaUsage } from "../global" export interface CreateAccount { @@ -25,7 +26,7 @@ export const isCreatePasswordAccount = ( export interface LicenseOverrides { features?: Feature[] - quotas?: Quotas + quotas?: DeepPartial } export interface Account extends CreateAccount { diff --git a/packages/types/src/shared/index.ts b/packages/types/src/shared/index.ts new file mode 100644 index 0000000000..f8f5c5cc25 --- /dev/null +++ b/packages/types/src/shared/index.ts @@ -0,0 +1 @@ +export * from "./typeUtils" diff --git a/packages/types/src/shared/typeUtils.ts b/packages/types/src/shared/typeUtils.ts new file mode 100644 index 0000000000..71fadfc7aa --- /dev/null +++ b/packages/types/src/shared/typeUtils.ts @@ -0,0 +1,3 @@ +export type DeepPartial = { + [P in keyof T]?: T[P] extends object ? DeepPartial : T[P] +} diff --git a/packages/worker/src/api/controllers/system/accounts.ts b/packages/worker/src/api/controllers/system/accounts.ts index 10b809c0b5..7e6d1b51b8 100644 --- a/packages/worker/src/api/controllers/system/accounts.ts +++ b/packages/worker/src/api/controllers/system/accounts.ts @@ -1,7 +1,7 @@ -import { Account, AccountMetadata } from "@budibase/types" +import { Account, AccountMetadata, Ctx } from "@budibase/types" import * as accounts from "../../../sdk/accounts" -export const save = async (ctx: any) => { +export const save = async (ctx: Ctx) => { const account = ctx.request.body as Account let metadata: AccountMetadata = { _id: accounts.metadata.formatAccountMetadataId(account.accountId), diff --git a/qa-core/scripts/createEnv.js b/qa-core/scripts/createEnv.js index cc21282ca9..e5ab783735 100644 --- a/qa-core/scripts/createEnv.js +++ b/qa-core/scripts/createEnv.js @@ -8,8 +8,10 @@ function init() { const envFileJson = { BUDIBASE_URL: "http://localhost:10000", ACCOUNT_PORTAL_URL: "http://localhost:10001", + ACCOUNT_PORTAL_API_KEY: "budibase", BB_ADMIN_USER_EMAIL: "admin", BB_ADMIN_USER_PASSWORD: "admin", + LOG_LEVEL: "info", } let envFile = "" Object.keys(envFileJson).forEach(key => { diff --git a/qa-core/src/account-api/api/AccountInternalAPIClient.ts b/qa-core/src/account-api/api/AccountInternalAPIClient.ts index 7438059a8c..df58ab0ce3 100644 --- a/qa-core/src/account-api/api/AccountInternalAPIClient.ts +++ b/qa-core/src/account-api/api/AccountInternalAPIClient.ts @@ -8,6 +8,7 @@ interface ApiOptions { method?: APIMethod body?: object headers?: HeadersInit | undefined + internal?: boolean } export default class AccountInternalAPIClient { @@ -18,6 +19,9 @@ export default class AccountInternalAPIClient { if (!env.ACCOUNT_PORTAL_URL) { throw new Error("Must set ACCOUNT_PORTAL_URL env var") } + if (!env.ACCOUNT_PORTAL_API_KEY) { + throw new Error("Must set ACCOUNT_PORTAL_API_KEY env var") + } this.host = `${env.ACCOUNT_PORTAL_URL}` this.state = state } @@ -39,6 +43,13 @@ export default class AccountInternalAPIClient { credentials: "include", } + if (options.internal) { + requestOptions.headers = { + ...requestOptions.headers, + ...{ "x-budibase-api-key": env.ACCOUNT_PORTAL_API_KEY }, + } + } + // @ts-ignore const response = await fetch(`${this.host}${url}`, requestOptions) @@ -50,15 +61,20 @@ export default class AccountInternalAPIClient { body = await response.text() } - const message = `${method} ${url} - ${response.status} - Response body: ${JSON.stringify(body)} - Request body: ${requestOptions.body}` + const data = { + request: requestOptions.body, + response: body, + } + const message = `${method} ${url} - ${response.status}` if (response.status > 499) { - console.error(message) + console.error(message, data) } else if (response.status >= 400) { - console.warn(message) + console.warn(message, data) + } else { + console.debug(message, data) } + return [response, body] } diff --git a/qa-core/src/account-api/api/apis/LicenseAPI.ts b/qa-core/src/account-api/api/apis/LicenseAPI.ts index 080c22a4ff..f726eb5682 100644 --- a/qa-core/src/account-api/api/apis/LicenseAPI.ts +++ b/qa-core/src/account-api/api/apis/LicenseAPI.ts @@ -1,4 +1,6 @@ import AccountInternalAPIClient from "../AccountInternalAPIClient" +import { Account, UpdateLicenseRequest } from "@budibase/types" +import { Response } from "node-fetch" export default class LicenseAPI { client: AccountInternalAPIClient @@ -6,4 +8,18 @@ export default class LicenseAPI { constructor(client: AccountInternalAPIClient) { this.client = client } + + async updateLicense( + accountId: string, + body: UpdateLicenseRequest + ): Promise<[Response, Account]> { + const [response, json] = await this.client.put( + `/api/accounts/${accountId}/license`, + { + body, + internal: true, + } + ) + return [response, json] + } } diff --git a/qa-core/src/environment.ts b/qa-core/src/environment.ts index 9377461a24..734d057475 100644 --- a/qa-core/src/environment.ts +++ b/qa-core/src/environment.ts @@ -11,6 +11,7 @@ if (!LOADED) { const env = { BUDIBASE_URL: process.env.BUDIBASE_URL, ACCOUNT_PORTAL_URL: process.env.ACCOUNT_PORTAL_URL, + ACCOUNT_PORTAL_API_KEY: process.env.ACCOUNT_PORTAL_API_KEY, BB_ADMIN_USER_EMAIL: process.env.BB_ADMIN_USER_EMAIL, BB_ADMIN_USER_PASSWORD: process.env.BB_ADMIN_USER_PASSWORD, } diff --git a/qa-core/src/internal-api/api/BudibaseInternalAPIClient.ts b/qa-core/src/internal-api/api/BudibaseInternalAPIClient.ts index ab6c5f065e..a6921a75b2 100644 --- a/qa-core/src/internal-api/api/BudibaseInternalAPIClient.ts +++ b/qa-core/src/internal-api/api/BudibaseInternalAPIClient.ts @@ -18,7 +18,6 @@ class BudibaseInternalAPIClient { if (!env.BUDIBASE_URL) { throw new Error("Must set BUDIBASE_URL env var") } - this.host = `${env.ACCOUNT_PORTAL_URL}/api` this.host = `${env.BUDIBASE_URL}/api` this.state = state } @@ -53,14 +52,18 @@ class BudibaseInternalAPIClient { body = await response.text() } - const message = `${method} ${url} - ${response.status} - Response body: ${JSON.stringify(body)} - Request body: ${requestOptions.body}` + const data = { + request: requestOptions.body, + response: body, + } + const message = `${method} ${url} - ${response.status}` if (response.status > 499) { - console.error(message) + console.error(message, data) } else if (response.status >= 400) { - console.warn(message) + console.warn(message, data) + } else { + console.debug(message, data) } return [response, body] diff --git a/qa-core/src/jest/globalSetup.ts b/qa-core/src/jest/globalSetup.ts index a25c483173..e222e7c043 100644 --- a/qa-core/src/jest/globalSetup.ts +++ b/qa-core/src/jest/globalSetup.ts @@ -1,8 +1,8 @@ +import { DEFAULT_TENANT_ID, logging } from "@budibase/backend-core" import { AccountInternalAPI } from "../account-api" import * as fixtures from "../internal-api/fixtures" import { BudibaseInternalAPI } from "../internal-api" -import { DEFAULT_TENANT_ID, logging } from "@budibase/backend-core" -import { CreateAccountRequest } from "@budibase/types" +import { CreateAccountRequest, Feature } from "@budibase/types" import env from "../environment" import { APIRequestOpts } from "../types" @@ -22,10 +22,35 @@ async function createAccount() { const account = fixtures.accounts.generateAccount() await accountsApi.accounts.validateEmail(account.email, API_OPTS) await accountsApi.accounts.validateTenantId(account.tenantId, API_OPTS) - await accountsApi.accounts.create(account, API_OPTS) + const [res, newAccount] = await accountsApi.accounts.create(account, API_OPTS) + await updateLicense(newAccount.accountId) return account } +const UNLIMITED = { value: -1 } + +async function updateLicense(accountId: string) { + await accountsApi.licenses.updateLicense(accountId, { + overrides: { + // add all features + features: Object.values(Feature), + quotas: { + usage: { + monthly: { + automations: UNLIMITED, + }, + static: { + rows: UNLIMITED, + users: UNLIMITED, + userGroups: UNLIMITED, + plugins: UNLIMITED, + }, + }, + }, + }, + }) +} + async function loginAsAdmin() { const username = env.BB_ADMIN_USER_EMAIL! const password = env.BB_ADMIN_USER_PASSWORD! diff --git a/qa-core/src/jest/jestSetup.ts b/qa-core/src/jest/jestSetup.ts index 7f0aeddaa3..5c86d5fd24 100644 --- a/qa-core/src/jest/jestSetup.ts +++ b/qa-core/src/jest/jestSetup.ts @@ -1 +1,4 @@ +import { logging } from "@budibase/backend-core" +logging.LOG_CONTEXT = false + jest.setTimeout(60000) diff --git a/qa-core/src/public-api/api/BudibasePublicAPIClient.ts b/qa-core/src/public-api/api/BudibasePublicAPIClient.ts index d5fd6b9ef4..f4fe978812 100644 --- a/qa-core/src/public-api/api/BudibasePublicAPIClient.ts +++ b/qa-core/src/public-api/api/BudibasePublicAPIClient.ts @@ -51,14 +51,18 @@ class BudibasePublicAPIClient { body = await response.text() } - const message = `${method} ${url} - ${response.status} - Response body: ${JSON.stringify(body)} - Request body: ${requestOptions.body}` + const data = { + request: requestOptions.body, + response: body, + } + const message = `${method} ${url} - ${response.status}` if (response.status > 499) { - console.error(message) + console.error(message, data) } else if (response.status >= 400) { - console.warn(message) + console.warn(message, data) + } else { + console.debug(message, data) } return [response, body] diff --git a/qa-core/src/shared/BudibaseTestConfiguration.ts b/qa-core/src/shared/BudibaseTestConfiguration.ts index 6adc1bf5c4..12a0f16138 100644 --- a/qa-core/src/shared/BudibaseTestConfiguration.ts +++ b/qa-core/src/shared/BudibaseTestConfiguration.ts @@ -3,9 +3,6 @@ import { AccountInternalAPI } from "../account-api" import { CreateAppRequest, State } from "../types" import * as fixtures from "../internal-api/fixtures" -// TEMP -import setup from "../jest/globalSetup" - export default class BudibaseTestConfiguration { // apis internalApi: BudibaseInternalAPI @@ -23,11 +20,6 @@ export default class BudibaseTestConfiguration { // LIFECYCLE async beforeAll() { - // TEMP - move back to single tenant when we integrate licensing with - // the test run - need to use multiple tenants in cloud to get around - // app limit restrictions - await setup() - // @ts-ignore this.state.tenantId = global.qa.tenantId // @ts-ignore diff --git a/yarn.lock b/yarn.lock index a667e169aa..20e067e8d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11129,7 +11129,7 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= -fast-redact@^3.0.0: +fast-redact@^3.0.0, fast-redact@^3.1.1: version "3.1.2" resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.1.2.tgz#d58e69e9084ce9fa4c1a6fa98a3e1ecf5d7839aa" integrity sha512-+0em+Iya9fKGfEQGcd62Yv6onjBmmhV1uh86XVfOU8VwAe6kaFdQCWI9s0/Nnugx5Vd9tdbZ7e6gE2tR9dzXdw== @@ -19203,7 +19203,7 @@ pinkie@^2.0.0: resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" integrity sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg== -pino-abstract-transport@^1.0.0: +pino-abstract-transport@^1.0.0, pino-abstract-transport@v1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/pino-abstract-transport/-/pino-abstract-transport-1.0.0.tgz#cc0d6955fffcadb91b7b49ef220a6cc111d48bb3" integrity sha512-c7vo5OpW4wIS42hUVcT5REsL8ZljsUfBjqV/e2sFxmFEFZiq1XLUp5EYLtuDH6PEHq9W1egWqRbnLUP5FuZmOA== @@ -19219,6 +19219,16 @@ pino-abstract-transport@v0.5.0: duplexify "^4.1.2" split2 "^4.0.0" +pino-http@8.3.3: + version "8.3.3" + resolved "https://registry.yarnpkg.com/pino-http/-/pino-http-8.3.3.tgz#2b140e734bfc6babe0df272a43bb8f36f2b525c0" + integrity sha512-p4umsNIXXVu95HD2C8wie/vXH7db5iGRpc+yj1/ZQ3sRtTQLXNjoS6Be5+eI+rQbqCRxen/7k/KSN+qiZubGDw== + dependencies: + get-caller-file "^2.0.5" + pino "^8.0.0" + pino-std-serializers "^6.0.0" + process-warning "^2.0.0" + pino-http@^6.5.0: version "6.6.0" resolved "https://registry.yarnpkg.com/pino-http/-/pino-http-6.6.0.tgz#d0a1deacada8c93327fdaa48f5bdc94bc43d3407" @@ -19264,7 +19274,42 @@ pino-std-serializers@^5.0.0: resolved "https://registry.yarnpkg.com/pino-std-serializers/-/pino-std-serializers-5.6.0.tgz#31b141155d6520967c5ec72944d08fb45c490fd3" integrity sha512-VdUXCw8gO+xhir7sFuoYSjTnzB+TMDGxhAC/ph3YS3sdHnXNdsK0wMtADNUltfeGkn2KDxEM21fnjF3RwXyC8A== -pino@7.11.0, pino@^7.5.0: +pino-std-serializers@^6.0.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/pino-std-serializers/-/pino-std-serializers-6.2.0.tgz#169048c0df3f61352fce56aeb7fb962f1b66ab43" + integrity sha512-IWgSzUL8X1w4BIWTwErRgtV8PyOGOOi60uqv0oKuS/fOA8Nco/OeI6lBuc4dyP8MMfdFwyHqTMcBIA7nDiqEqA== + +pino@8.11.0, pino@^8.0.0: + version "8.11.0" + resolved "https://registry.yarnpkg.com/pino/-/pino-8.11.0.tgz#2a91f454106b13e708a66c74ebc1c2ab7ab38498" + integrity sha512-Z2eKSvlrl2rH8p5eveNUnTdd4AjJk8tAsLkHYZQKGHP4WTh2Gi1cOSOs3eWPqaj+niS3gj4UkoreoaWgF3ZWYg== + dependencies: + atomic-sleep "^1.0.0" + fast-redact "^3.1.1" + on-exit-leak-free "^2.1.0" + pino-abstract-transport v1.0.0 + pino-std-serializers "^6.0.0" + process-warning "^2.0.0" + quick-format-unescaped "^4.0.3" + real-require "^0.2.0" + safe-stable-stringify "^2.3.1" + sonic-boom "^3.1.0" + thread-stream "^2.0.0" + +pino@^6.11.2: + version "6.14.0" + resolved "https://registry.yarnpkg.com/pino/-/pino-6.14.0.tgz#b745ea87a99a6c4c9b374e4f29ca7910d4c69f78" + integrity sha512-iuhEDel3Z3hF9Jfe44DPXR8l07bhjuFY3GMHIXbjnY9XcafbyDDwl2sN2vw2GjMPf5Nkoe+OFao7ffn9SXaKDg== + dependencies: + fast-redact "^3.0.0" + fast-safe-stringify "^2.0.8" + flatstr "^1.0.12" + pino-std-serializers "^3.1.0" + process-warning "^1.0.0" + quick-format-unescaped "^4.0.3" + sonic-boom "^1.0.2" + +pino@^7.5.0: version "7.11.0" resolved "https://registry.yarnpkg.com/pino/-/pino-7.11.0.tgz#0f0ea5c4683dc91388081d44bff10c83125066f6" integrity sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg== @@ -19281,19 +19326,6 @@ pino@7.11.0, pino@^7.5.0: sonic-boom "^2.2.1" thread-stream "^0.15.1" -pino@^6.11.2: - version "6.14.0" - resolved "https://registry.yarnpkg.com/pino/-/pino-6.14.0.tgz#b745ea87a99a6c4c9b374e4f29ca7910d4c69f78" - integrity sha512-iuhEDel3Z3hF9Jfe44DPXR8l07bhjuFY3GMHIXbjnY9XcafbyDDwl2sN2vw2GjMPf5Nkoe+OFao7ffn9SXaKDg== - dependencies: - fast-redact "^3.0.0" - fast-safe-stringify "^2.0.8" - flatstr "^1.0.12" - pino-std-serializers "^3.1.0" - process-warning "^1.0.0" - quick-format-unescaped "^4.0.3" - sonic-boom "^1.0.2" - pirates@^4.0.1, pirates@^4.0.4: version "4.0.5" resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" @@ -20169,6 +20201,11 @@ process-warning@^1.0.0: resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-1.0.0.tgz#980a0b25dc38cd6034181be4b7726d89066b4616" integrity sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q== +process-warning@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-2.2.0.tgz#008ec76b579820a8e5c35d81960525ca64feb626" + integrity sha512-/1WZ8+VQjR6avWOgHeEPd7SDQmFQ1B5mC1eRXsCm5TarlNmx/wCsa5GEaxGm05BORRtyG/Ex/3xq3TuRvq57qg== + process@^0.11.10: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" @@ -20772,6 +20809,11 @@ real-require@^0.1.0: resolved "https://registry.yarnpkg.com/real-require/-/real-require-0.1.0.tgz#736ac214caa20632847b7ca8c1056a0767df9381" integrity sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg== +real-require@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/real-require/-/real-require-0.2.0.tgz#209632dea1810be2ae063a6ac084fee7e33fba78" + integrity sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg== + recast@^0.10.1: version "0.10.43" resolved "https://registry.yarnpkg.com/recast/-/recast-0.10.43.tgz#b95d50f6d60761a5f6252e15d80678168491ce7f" @@ -22151,7 +22193,7 @@ sonic-boom@^2.2.1: dependencies: atomic-sleep "^1.0.0" -sonic-boom@^3.0.0: +sonic-boom@^3.0.0, sonic-boom@^3.1.0: version "3.3.0" resolved "https://registry.yarnpkg.com/sonic-boom/-/sonic-boom-3.3.0.tgz#cffab6dafee3b2bcb88d08d589394198bee1838c" integrity sha512-LYxp34KlZ1a2Jb8ZQgFCK3niIHzibdwtwNUWKg0qQRzsDoJ3Gfgkf8KdBTFU3SkejDEIlWwnSnpVdOZIhFMl/g== @@ -23323,6 +23365,13 @@ thread-stream@^0.15.1: dependencies: real-require "^0.1.0" +thread-stream@^2.0.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/thread-stream/-/thread-stream-2.3.0.tgz#4fc07fb39eff32ae7bad803cb7dd9598349fed33" + integrity sha512-kaDqm1DET9pp3NXwR8382WHbnpXnRkN9xGN9dQt3B2+dmXiW8X1SOwmFOxAErEQ47ObhZ96J6yhZNXuyCOL7KA== + dependencies: + real-require "^0.2.0" + throat@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/throat/-/throat-5.0.0.tgz#c5199235803aad18754a667d659b5e72ce16764b" From 26007dcd69c576109b83049e5fc9377953937506 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Tue, 25 Apr 2023 19:44:40 +0000 Subject: [PATCH 15/23] v2.5.6-alpha.30 --- 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 9891cfb267..ee4d8e8598 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.6-alpha.29", + "version": "2.5.6-alpha.30", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"], diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 807ee035c9..7477406505 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-alpha.29", + "version": "2.5.6-alpha.30", "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-alpha.29", + "@budibase/types": "2.5.6-alpha.30", "@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 ba59b19143..6d4ba0a882 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-alpha.29", + "version": "2.5.6-alpha.30", "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-alpha.29", - "@budibase/string-templates": "2.5.6-alpha.29", + "@budibase/shared-core": "2.5.6-alpha.30", + "@budibase/string-templates": "2.5.6-alpha.30", "@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 2a580b51da..ac8a626b0e 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.6-alpha.29", + "version": "2.5.6-alpha.30", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "2.5.6-alpha.29", - "@budibase/client": "2.5.6-alpha.29", - "@budibase/frontend-core": "2.5.6-alpha.29", - "@budibase/shared-core": "2.5.6-alpha.29", - "@budibase/string-templates": "2.5.6-alpha.29", + "@budibase/bbui": "2.5.6-alpha.30", + "@budibase/client": "2.5.6-alpha.30", + "@budibase/frontend-core": "2.5.6-alpha.30", + "@budibase/shared-core": "2.5.6-alpha.30", + "@budibase/string-templates": "2.5.6-alpha.30", "@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 20074f1cca..bdb41bec15 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.6-alpha.29", + "version": "2.5.6-alpha.30", "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-alpha.29", - "@budibase/string-templates": "2.5.6-alpha.29", - "@budibase/types": "2.5.6-alpha.29", + "@budibase/backend-core": "2.5.6-alpha.30", + "@budibase/string-templates": "2.5.6-alpha.30", + "@budibase/types": "2.5.6-alpha.30", "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 443d9cfe72..66bd6d4c1e 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.6-alpha.29", + "version": "2.5.6-alpha.30", "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-alpha.29", - "@budibase/frontend-core": "2.5.6-alpha.29", - "@budibase/shared-core": "2.5.6-alpha.29", - "@budibase/string-templates": "2.5.6-alpha.29", - "@budibase/types": "2.5.6-alpha.29", + "@budibase/bbui": "2.5.6-alpha.30", + "@budibase/frontend-core": "2.5.6-alpha.30", + "@budibase/shared-core": "2.5.6-alpha.30", + "@budibase/string-templates": "2.5.6-alpha.30", + "@budibase/types": "2.5.6-alpha.30", "@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 8f98d5d89f..3f5345ef94 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-alpha.29", + "version": "2.5.6-alpha.30", "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-alpha.29", - "@budibase/shared-core": "2.5.6-alpha.29", + "@budibase/bbui": "2.5.6-alpha.30", + "@budibase/shared-core": "2.5.6-alpha.30", "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 5e6d8738a5..0307ebfa6b 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.6-alpha.29", + "version": "2.5.6-alpha.30", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index a0dad2e2a2..8aa3621d29 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-alpha.29", + "version": "2.5.6-alpha.30", "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.6-alpha.29", - "@budibase/client": "2.5.6-alpha.29", + "@budibase/backend-core": "2.5.6-alpha.30", + "@budibase/client": "2.5.6-alpha.30", "@budibase/pro": "2.5.6-alpha.29", - "@budibase/shared-core": "2.5.6-alpha.29", - "@budibase/string-templates": "2.5.6-alpha.29", - "@budibase/types": "2.5.6-alpha.29", + "@budibase/shared-core": "2.5.6-alpha.30", + "@budibase/string-templates": "2.5.6-alpha.30", + "@budibase/types": "2.5.6-alpha.30", "@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 0c1509a5eb..75fe1950dc 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-alpha.29", + "version": "2.5.6-alpha.30", "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-alpha.29" + "@budibase/types": "2.5.6-alpha.30" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index ca3c475e3c..30ed86b2a7 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-alpha.29", + "version": "2.5.6-alpha.30", "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 bc58429a9a..95f04b8495 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.6-alpha.29", + "version": "2.5.6-alpha.30", "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 0ee64ce5f7..ca978c5387 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-alpha.29", + "version": "2.5.6-alpha.30", "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.6-alpha.29", + "@budibase/backend-core": "2.5.6-alpha.30", "@budibase/pro": "2.5.6-alpha.29", - "@budibase/string-templates": "2.5.6-alpha.29", - "@budibase/types": "2.5.6-alpha.29", + "@budibase/string-templates": "2.5.6-alpha.30", + "@budibase/types": "2.5.6-alpha.30", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 3e78989e74734b4877f307e90011df43647f473b Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Tue, 25 Apr 2023 19:46:09 +0000 Subject: [PATCH 16/23] Update pro version to 2.5.6-alpha.30 --- packages/server/package.json | 2 +- packages/worker/package.json | 2 +- yarn.lock | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index 8aa3621d29..6aadfd15a0 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.6-alpha.30", "@budibase/client": "2.5.6-alpha.30", - "@budibase/pro": "2.5.6-alpha.29", + "@budibase/pro": "2.5.6-alpha.30", "@budibase/shared-core": "2.5.6-alpha.30", "@budibase/string-templates": "2.5.6-alpha.30", "@budibase/types": "2.5.6-alpha.30", diff --git a/packages/worker/package.json b/packages/worker/package.json index ca978c5387..c0d50cab28 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.6-alpha.30", - "@budibase/pro": "2.5.6-alpha.29", + "@budibase/pro": "2.5.6-alpha.30", "@budibase/string-templates": "2.5.6-alpha.30", "@budibase/types": "2.5.6-alpha.30", "@koa/router": "8.0.8", diff --git a/yarn.lock b/yarn.lock index 20e067e8d1..260f0ae6a6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1486,15 +1486,15 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.6-alpha.28": - version "2.5.6-alpha.28" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.28.tgz#54af46014c08c570ffd4f347cc56c1b9e1226304" - integrity sha512-12ZGhTXoZRCmVbxHcOO78aOuAml7S3/NGy063c3ZQUyPJoAi3O+rokj0yDb0t7TAgs06gkiiFUumMhWn35Jaxw== +"@budibase/pro@2.5.6-alpha.29": + version "2.5.6-alpha.29" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.29.tgz#71414f68a296535ef53ffb0453352ea137c4aeab" + integrity sha512-tQuzMOo2WFxKvsUgYAfUEcLabRpmAD7hPlhBhCFzYasaXNbJiPhcwv4i52US0i0Wr2IXMb2X0d7fwa8tnbKzIA== dependencies: - "@budibase/backend-core" "2.5.6-alpha.28" + "@budibase/backend-core" "2.5.6-alpha.29" "@budibase/shared-core" "2.4.44-alpha.1" "@budibase/string-templates" "2.4.44-alpha.1" - "@budibase/types" "2.5.6-alpha.28" + "@budibase/types" "2.5.6-alpha.29" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" From 15bf1ace68e9ab56676927934214af67584bbc74 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 26 Apr 2023 12:10:12 +0100 Subject: [PATCH 17/23] Standardise width of design section side panels to fix drawer width issues --- .../layouts/[layoutId]/_components/LayoutSettingsPanel.svelte | 2 +- .../navigation/_components/NavigationInfoPanel.svelte | 2 +- .../[screenId]/screens/_components/ScreenSettingsPanel.svelte | 1 + .../design/[screenId]/theme/_components/ThemeInfoPanel.svelte | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/layouts/[layoutId]/_components/LayoutSettingsPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/layouts/[layoutId]/_components/LayoutSettingsPanel.svelte index 8e6ac603e7..bfc2f94f43 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/layouts/[layoutId]/_components/LayoutSettingsPanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/layouts/[layoutId]/_components/LayoutSettingsPanel.svelte @@ -35,7 +35,7 @@ } - + Custom layouts are being deprecated. They will be removed in a future diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/navigation/_components/NavigationInfoPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/navigation/_components/NavigationInfoPanel.svelte index dbd23c462f..614e1eed80 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/navigation/_components/NavigationInfoPanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/navigation/_components/NavigationInfoPanel.svelte @@ -9,7 +9,7 @@ } - + {#if $selectedScreen.layoutId} {#if $selectedScreen.layoutId} diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ThemeInfoPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ThemeInfoPanel.svelte index 9593f0bff5..c3325852c8 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ThemeInfoPanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ThemeInfoPanel.svelte @@ -3,7 +3,7 @@ import { Body, Layout } from "@budibase/bbui" - + Your theme is set across all the screens within your app. From 457c1ce0a12fe843121397de1313289546a4871d Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Wed, 26 Apr 2023 12:16:31 +0000 Subject: [PATCH 18/23] v2.5.6-alpha.31 --- 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 ee4d8e8598..27b8e76640 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.6-alpha.30", + "version": "2.5.6-alpha.31", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"], diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 7477406505..3c37d8cf7e 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-alpha.30", + "version": "2.5.6-alpha.31", "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-alpha.30", + "@budibase/types": "2.5.6-alpha.31", "@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 6d4ba0a882..dac3c37ad6 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-alpha.30", + "version": "2.5.6-alpha.31", "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-alpha.30", - "@budibase/string-templates": "2.5.6-alpha.30", + "@budibase/shared-core": "2.5.6-alpha.31", + "@budibase/string-templates": "2.5.6-alpha.31", "@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 ac8a626b0e..9226047059 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.6-alpha.30", + "version": "2.5.6-alpha.31", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "2.5.6-alpha.30", - "@budibase/client": "2.5.6-alpha.30", - "@budibase/frontend-core": "2.5.6-alpha.30", - "@budibase/shared-core": "2.5.6-alpha.30", - "@budibase/string-templates": "2.5.6-alpha.30", + "@budibase/bbui": "2.5.6-alpha.31", + "@budibase/client": "2.5.6-alpha.31", + "@budibase/frontend-core": "2.5.6-alpha.31", + "@budibase/shared-core": "2.5.6-alpha.31", + "@budibase/string-templates": "2.5.6-alpha.31", "@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 bdb41bec15..044809461e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.6-alpha.30", + "version": "2.5.6-alpha.31", "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-alpha.30", - "@budibase/string-templates": "2.5.6-alpha.30", - "@budibase/types": "2.5.6-alpha.30", + "@budibase/backend-core": "2.5.6-alpha.31", + "@budibase/string-templates": "2.5.6-alpha.31", + "@budibase/types": "2.5.6-alpha.31", "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 66bd6d4c1e..4720dc10f8 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.6-alpha.30", + "version": "2.5.6-alpha.31", "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-alpha.30", - "@budibase/frontend-core": "2.5.6-alpha.30", - "@budibase/shared-core": "2.5.6-alpha.30", - "@budibase/string-templates": "2.5.6-alpha.30", - "@budibase/types": "2.5.6-alpha.30", + "@budibase/bbui": "2.5.6-alpha.31", + "@budibase/frontend-core": "2.5.6-alpha.31", + "@budibase/shared-core": "2.5.6-alpha.31", + "@budibase/string-templates": "2.5.6-alpha.31", + "@budibase/types": "2.5.6-alpha.31", "@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 3f5345ef94..2270ad51bd 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-alpha.30", + "version": "2.5.6-alpha.31", "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-alpha.30", - "@budibase/shared-core": "2.5.6-alpha.30", + "@budibase/bbui": "2.5.6-alpha.31", + "@budibase/shared-core": "2.5.6-alpha.31", "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 0307ebfa6b..f05152cd48 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.6-alpha.30", + "version": "2.5.6-alpha.31", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index 6aadfd15a0..4be71fffc2 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-alpha.30", + "version": "2.5.6-alpha.31", "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.6-alpha.30", - "@budibase/client": "2.5.6-alpha.30", + "@budibase/backend-core": "2.5.6-alpha.31", + "@budibase/client": "2.5.6-alpha.31", "@budibase/pro": "2.5.6-alpha.30", - "@budibase/shared-core": "2.5.6-alpha.30", - "@budibase/string-templates": "2.5.6-alpha.30", - "@budibase/types": "2.5.6-alpha.30", + "@budibase/shared-core": "2.5.6-alpha.31", + "@budibase/string-templates": "2.5.6-alpha.31", + "@budibase/types": "2.5.6-alpha.31", "@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 75fe1950dc..a9ce442863 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-alpha.30", + "version": "2.5.6-alpha.31", "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-alpha.30" + "@budibase/types": "2.5.6-alpha.31" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 30ed86b2a7..63adf7f26b 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-alpha.30", + "version": "2.5.6-alpha.31", "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 95f04b8495..78fbf474b5 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.6-alpha.30", + "version": "2.5.6-alpha.31", "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 c0d50cab28..df15546241 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-alpha.30", + "version": "2.5.6-alpha.31", "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.6-alpha.30", + "@budibase/backend-core": "2.5.6-alpha.31", "@budibase/pro": "2.5.6-alpha.30", - "@budibase/string-templates": "2.5.6-alpha.30", - "@budibase/types": "2.5.6-alpha.30", + "@budibase/string-templates": "2.5.6-alpha.31", + "@budibase/types": "2.5.6-alpha.31", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 349f4b426ea6eb667291769101ef44dca3930799 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Wed, 26 Apr 2023 12:18:01 +0000 Subject: [PATCH 19/23] Update pro version to 2.5.6-alpha.31 --- packages/server/package.json | 2 +- packages/worker/package.json | 2 +- yarn.lock | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index 4be71fffc2..9d7569a242 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.6-alpha.31", "@budibase/client": "2.5.6-alpha.31", - "@budibase/pro": "2.5.6-alpha.30", + "@budibase/pro": "2.5.6-alpha.31", "@budibase/shared-core": "2.5.6-alpha.31", "@budibase/string-templates": "2.5.6-alpha.31", "@budibase/types": "2.5.6-alpha.31", diff --git a/packages/worker/package.json b/packages/worker/package.json index df15546241..881f04efc9 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.6-alpha.31", - "@budibase/pro": "2.5.6-alpha.30", + "@budibase/pro": "2.5.6-alpha.31", "@budibase/string-templates": "2.5.6-alpha.31", "@budibase/types": "2.5.6-alpha.31", "@koa/router": "8.0.8", diff --git a/yarn.lock b/yarn.lock index 260f0ae6a6..a119a9341d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1486,15 +1486,15 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.6-alpha.29": - version "2.5.6-alpha.29" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.29.tgz#71414f68a296535ef53ffb0453352ea137c4aeab" - integrity sha512-tQuzMOo2WFxKvsUgYAfUEcLabRpmAD7hPlhBhCFzYasaXNbJiPhcwv4i52US0i0Wr2IXMb2X0d7fwa8tnbKzIA== +"@budibase/pro@2.5.6-alpha.30": + version "2.5.6-alpha.30" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.30.tgz#9b8089a983fd61a062f31a8e5757d7bb5b56fb8c" + integrity sha512-YTyjMHK/wsSOFJkON7a5WRJSgAr8Gh/cflRzifm6Jw1Gb8S8B8Z6uTWW/S7+psVBRGeUfV1s8biYNr71tXz2Ng== dependencies: - "@budibase/backend-core" "2.5.6-alpha.29" + "@budibase/backend-core" "2.5.6-alpha.30" "@budibase/shared-core" "2.4.44-alpha.1" "@budibase/string-templates" "2.4.44-alpha.1" - "@budibase/types" "2.5.6-alpha.29" + "@budibase/types" "2.5.6-alpha.30" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" From 13134e0bb04a9c67935d5a47b2a77fbf6bf0aceb Mon Sep 17 00:00:00 2001 From: Dean Date: Wed, 26 Apr 2023 14:22:23 +0100 Subject: [PATCH 20/23] Removed client package from builder dependencies --- packages/builder/package.json | 1 - yarn.lock | 58 +++++++++++++++++++++++++++++++---- 2 files changed, 52 insertions(+), 7 deletions(-) diff --git a/packages/builder/package.json b/packages/builder/package.json index 0bf4940d94..736eba5473 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -59,7 +59,6 @@ }, "dependencies": { "@budibase/bbui": "2.5.6-alpha.27", - "@budibase/client": "2.5.6-alpha.27", "@budibase/frontend-core": "2.5.6-alpha.27", "@budibase/shared-core": "2.5.6-alpha.27", "@budibase/string-templates": "2.5.6-alpha.27", diff --git a/yarn.lock b/yarn.lock index 0d89d2cadf..8a77fcafc6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1386,6 +1386,45 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@budibase/backend-core@2.5.6-alpha.26": + version "2.5.6-alpha.26" + resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.6-alpha.26.tgz#72029afe5a85402fa996e92b84ad56cb8c6bde45" + integrity sha512-ktP2SWwLjaDzJYLnadU1BcZlrfQkvhRb3T+v1SEciTBWi0vF7MUa7k5OW0EKwECpGA3VA576sbI7FgGu7m7Sxw== + dependencies: + "@budibase/nano" "10.1.2" + "@budibase/pouchdb-replication-stream" "1.2.10" + "@budibase/types" "2.5.6-alpha.26" + "@shopify/jest-koa-mocks" "5.0.1" + "@techpass/passport-openidconnect" "0.3.2" + aws-cloudfront-sign "2.2.0" + aws-sdk "2.1030.0" + bcrypt "5.0.1" + bcryptjs "2.4.3" + bull "4.10.1" + correlation-id "4.0.0" + dotenv "16.0.1" + emitter-listener "1.1.2" + ioredis "4.28.0" + joi "17.6.0" + jsonwebtoken "9.0.0" + koa-passport "4.1.4" + koa-pino-logger "4.0.0" + lodash "4.17.21" + lodash.isarguments "3.1.0" + node-fetch "2.6.7" + passport-google-oauth "2.0.0" + passport-jwt "4.0.0" + passport-local "1.0.0" + passport-oauth2-refresh "^2.1.0" + posthog-node "1.3.0" + pouchdb "7.3.0" + pouchdb-find "7.2.2" + redlock "4.2.0" + sanitize-s3-objectkey "0.0.1" + semver "7.3.7" + tar-fs "2.1.1" + uuid "8.3.2" + "@budibase/bbui@^0.9.139": version "0.9.190" resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-0.9.190.tgz#e1ec400ac90f556bfbc80fc23a04506f1585ea81" @@ -1486,15 +1525,15 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.6-alpha.25": - version "2.5.6-alpha.25" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.25.tgz#bfe99536060422adb60da2f195acb05b24898c98" - integrity sha512-LEQec9N9gS+j5gt/eKwGzci5oKW1sRTIG8oUvH7faCoJjD7BWIhmNuQNFrNfg70C/zkxYy4CL/2s1P9oVR1B3g== +"@budibase/pro@2.5.6-alpha.26": + version "2.5.6-alpha.26" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.26.tgz#979f0de77db78ad4596e6295083047b71f7c7bcc" + integrity sha512-d0ZsggojThcg1m81UEPUHp7fuPaSVwG+HYXh3ElEXmeH7HJNOJrbD2K0U7zkaWzufLK9ay1H6qcaZ9ZHVg/z/Q== dependencies: - "@budibase/backend-core" "2.5.6-alpha.25" + "@budibase/backend-core" "2.5.6-alpha.26" "@budibase/shared-core" "2.4.44-alpha.1" "@budibase/string-templates" "2.4.44-alpha.1" - "@budibase/types" "2.5.6-alpha.25" + "@budibase/types" "2.5.6-alpha.26" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0" @@ -1547,6 +1586,13 @@ resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.4.44-alpha.1.tgz#1679657aa180d9c59afa1dffa611bff0638bd933" integrity sha512-Sq+8HfM75EBMoOvKYFwELdlxmVN6wNZMofDjT/2G+9aF+Zfe5Tzw69C+unmdBgcGGjGCHEYWSz4mF0v8FPAGbg== +"@budibase/types@2.5.6-alpha.26": + version "2.5.6-alpha.26" + resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.6-alpha.26.tgz#09ac8f1e4f4dfd5e7e109839cd9db36d5c563dc4" + integrity sha512-C1eHWj4tRwsQb2dJbMdukxRFVqiyzRBhwIMuCSIdJg763sbn9TXTqWTBbljyG7ppH+Dwge+py9KtiFP2MpMCfQ== + dependencies: + scim-patch "^0.7.0" + "@bull-board/api@3.7.0": version "3.7.0" resolved "https://registry.yarnpkg.com/@bull-board/api/-/api-3.7.0.tgz#231f687187c0cb34e0b97f463917b6aaeb4ef6af" From 5447422c4eea6163d0f691fa606cd12a3fe461fc Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 26 Apr 2023 14:39:54 +0100 Subject: [PATCH 21/23] Remove leftover spreadsheet entry in manifest --- packages/client/manifest.json | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/packages/client/manifest.json b/packages/client/manifest.json index 84ffca314c..71637723c1 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -5225,36 +5225,5 @@ "type": "schema", "suffix": "repeater" } - }, - "spreadsheet": { - "name": "Spreadsheet", - "icon": "ViewGrid", - "settings": [ - { - "key": "table", - "type": "table", - "label": "Table" - }, - { - "type": "filter", - "label": "Filtering", - "key": "filter" - }, - { - "type": "field/sortable", - "label": "Sort Column", - "key": "sortColumn" - }, - { - "type": "select", - "label": "Sort Order", - "key": "sortOrder", - "options": [ - "Ascending", - "Descending" - ], - "defaultValue": "Ascending" - } - ] } } From e178afe171dd76cc3088ab47ba41be8d8f2072bd Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Wed, 26 Apr 2023 13:47:10 +0000 Subject: [PATCH 22/23] v2.5.6-alpha.32 --- 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 27b8e76640..a542a51851 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.5.6-alpha.31", + "version": "2.5.6-alpha.32", "npmClient": "yarn", "useWorkspaces": true, "packages": ["packages/*"], diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 3c37d8cf7e..96f16747e0 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-alpha.31", + "version": "2.5.6-alpha.32", "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-alpha.31", + "@budibase/types": "2.5.6-alpha.32", "@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 dac3c37ad6..7664855326 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-alpha.31", + "version": "2.5.6-alpha.32", "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-alpha.31", - "@budibase/string-templates": "2.5.6-alpha.31", + "@budibase/shared-core": "2.5.6-alpha.32", + "@budibase/string-templates": "2.5.6-alpha.32", "@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 9226047059..0c240baf2c 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "2.5.6-alpha.31", + "version": "2.5.6-alpha.32", "license": "GPL-3.0", "private": true, "scripts": { @@ -58,11 +58,11 @@ } }, "dependencies": { - "@budibase/bbui": "2.5.6-alpha.31", - "@budibase/client": "2.5.6-alpha.31", - "@budibase/frontend-core": "2.5.6-alpha.31", - "@budibase/shared-core": "2.5.6-alpha.31", - "@budibase/string-templates": "2.5.6-alpha.31", + "@budibase/bbui": "2.5.6-alpha.32", + "@budibase/client": "2.5.6-alpha.32", + "@budibase/frontend-core": "2.5.6-alpha.32", + "@budibase/shared-core": "2.5.6-alpha.32", + "@budibase/string-templates": "2.5.6-alpha.32", "@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 044809461e..f3ebc3beb9 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "2.5.6-alpha.31", + "version": "2.5.6-alpha.32", "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-alpha.31", - "@budibase/string-templates": "2.5.6-alpha.31", - "@budibase/types": "2.5.6-alpha.31", + "@budibase/backend-core": "2.5.6-alpha.32", + "@budibase/string-templates": "2.5.6-alpha.32", + "@budibase/types": "2.5.6-alpha.32", "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 4720dc10f8..69d38ed1c3 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "2.5.6-alpha.31", + "version": "2.5.6-alpha.32", "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-alpha.31", - "@budibase/frontend-core": "2.5.6-alpha.31", - "@budibase/shared-core": "2.5.6-alpha.31", - "@budibase/string-templates": "2.5.6-alpha.31", - "@budibase/types": "2.5.6-alpha.31", + "@budibase/bbui": "2.5.6-alpha.32", + "@budibase/frontend-core": "2.5.6-alpha.32", + "@budibase/shared-core": "2.5.6-alpha.32", + "@budibase/string-templates": "2.5.6-alpha.32", + "@budibase/types": "2.5.6-alpha.32", "@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 2270ad51bd..70cec3f9e0 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-alpha.31", + "version": "2.5.6-alpha.32", "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-alpha.31", - "@budibase/shared-core": "2.5.6-alpha.31", + "@budibase/bbui": "2.5.6-alpha.32", + "@budibase/shared-core": "2.5.6-alpha.32", "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 f05152cd48..c38dedec7d 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/sdk", - "version": "2.5.6-alpha.31", + "version": "2.5.6-alpha.32", "description": "Budibase Public API SDK", "author": "Budibase", "license": "MPL-2.0", diff --git a/packages/server/package.json b/packages/server/package.json index 9d7569a242..30ef842461 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-alpha.31", + "version": "2.5.6-alpha.32", "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.6-alpha.31", - "@budibase/client": "2.5.6-alpha.31", + "@budibase/backend-core": "2.5.6-alpha.32", + "@budibase/client": "2.5.6-alpha.32", "@budibase/pro": "2.5.6-alpha.31", - "@budibase/shared-core": "2.5.6-alpha.31", - "@budibase/string-templates": "2.5.6-alpha.31", - "@budibase/types": "2.5.6-alpha.31", + "@budibase/shared-core": "2.5.6-alpha.32", + "@budibase/string-templates": "2.5.6-alpha.32", + "@budibase/types": "2.5.6-alpha.32", "@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 a9ce442863..9b9eb21db1 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-alpha.31", + "version": "2.5.6-alpha.32", "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-alpha.31" + "@budibase/types": "2.5.6-alpha.32" }, "devDependencies": { "concurrently": "^7.6.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 63adf7f26b..8ac9d477b9 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-alpha.31", + "version": "2.5.6-alpha.32", "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 78fbf474b5..3a4bcd9efa 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/types", - "version": "2.5.6-alpha.31", + "version": "2.5.6-alpha.32", "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 881f04efc9..fc94a224f2 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-alpha.31", + "version": "2.5.6-alpha.32", "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.6-alpha.31", + "@budibase/backend-core": "2.5.6-alpha.32", "@budibase/pro": "2.5.6-alpha.31", - "@budibase/string-templates": "2.5.6-alpha.31", - "@budibase/types": "2.5.6-alpha.31", + "@budibase/string-templates": "2.5.6-alpha.32", + "@budibase/types": "2.5.6-alpha.32", "@koa/router": "8.0.8", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "0.3.2", From 71c8fec4db7ed91531eb703da910108f06955f16 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Wed, 26 Apr 2023 13:48:46 +0000 Subject: [PATCH 23/23] Update pro version to 2.5.6-alpha.32 --- packages/server/package.json | 2 +- packages/worker/package.json | 2 +- yarn.lock | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index 30ef842461..1bc50f61d6 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.6-alpha.32", "@budibase/client": "2.5.6-alpha.32", - "@budibase/pro": "2.5.6-alpha.31", + "@budibase/pro": "2.5.6-alpha.32", "@budibase/shared-core": "2.5.6-alpha.32", "@budibase/string-templates": "2.5.6-alpha.32", "@budibase/types": "2.5.6-alpha.32", diff --git a/packages/worker/package.json b/packages/worker/package.json index fc94a224f2..77594a9896 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.6-alpha.32", - "@budibase/pro": "2.5.6-alpha.31", + "@budibase/pro": "2.5.6-alpha.32", "@budibase/string-templates": "2.5.6-alpha.32", "@budibase/types": "2.5.6-alpha.32", "@koa/router": "8.0.8", diff --git a/yarn.lock b/yarn.lock index a119a9341d..653c549ffd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1486,15 +1486,15 @@ pouchdb-promise "^6.0.4" through2 "^2.0.0" -"@budibase/pro@2.5.6-alpha.30": - version "2.5.6-alpha.30" - resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.30.tgz#9b8089a983fd61a062f31a8e5757d7bb5b56fb8c" - integrity sha512-YTyjMHK/wsSOFJkON7a5WRJSgAr8Gh/cflRzifm6Jw1Gb8S8B8Z6uTWW/S7+psVBRGeUfV1s8biYNr71tXz2Ng== +"@budibase/pro@2.5.6-alpha.31": + version "2.5.6-alpha.31" + resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.31.tgz#e711fed348c64bffac5eb3b4dfed6be15c2253c9" + integrity sha512-gIpq5uICd0tQP+RB1Dv+v9m9EPG//HJJb95qFXv1rjuXT2ANT7rAmhJrOoQpqhTGwB0aPFsz00/wqFQVQVGzPQ== dependencies: - "@budibase/backend-core" "2.5.6-alpha.30" + "@budibase/backend-core" "2.5.6-alpha.31" "@budibase/shared-core" "2.4.44-alpha.1" "@budibase/string-templates" "2.4.44-alpha.1" - "@budibase/types" "2.5.6-alpha.30" + "@budibase/types" "2.5.6-alpha.31" "@koa/router" "8.0.8" bull "4.10.1" joi "17.6.0"