diff --git a/.github/workflows/release-selfhost.yml b/.github/workflows/release-selfhost.yml index 42c7027b24..ad0941709c 100644 --- a/.github/workflows/release-selfhost.yml +++ b/.github/workflows/release-selfhost.yml @@ -14,6 +14,8 @@ jobs: steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: actions/setup-node@v1 with: node-version: 14.x diff --git a/lerna.json b/lerna.json index c1939719a8..1a7e49a54e 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.9.190-alpha.12", + "version": "1.0.5-alpha.0", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/auth/package.json b/packages/auth/package.json index 2aec96c6f8..0748fadcf2 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/auth", - "version": "0.9.190-alpha.12", + "version": "1.0.5-alpha.0", "description": "Authentication middlewares for budibase builder and apps", "main": "src/index.js", "author": "Budibase", diff --git a/packages/bbui/package.json b/packages/bbui/package.json index b50a3ded2c..44f3536011 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": "0.9.190-alpha.12", + "version": "1.0.5-alpha.0", "license": "MPL-2.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", diff --git a/packages/builder/package.json b/packages/builder/package.json index 7774dfbffc..3145a9e5ed 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "0.9.190-alpha.12", + "version": "1.0.5-alpha.0", "license": "GPL-3.0", "private": true, "scripts": { @@ -65,10 +65,10 @@ } }, "dependencies": { - "@budibase/bbui": "^0.9.190-alpha.12", - "@budibase/client": "^0.9.190-alpha.12", + "@budibase/bbui": "^1.0.5-alpha.0", + "@budibase/client": "^1.0.5-alpha.0", "@budibase/colorpicker": "1.1.2", - "@budibase/string-templates": "^0.9.190-alpha.12", + "@budibase/string-templates": "^1.0.5-alpha.0", "@sentry/browser": "5.19.1", "@spectrum-css/page": "^3.0.1", "@spectrum-css/vars": "^3.0.1", diff --git a/packages/cli/package.json b/packages/cli/package.json index b43b28a9fc..f34117c22c 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "0.9.190-alpha.12", + "version": "1.0.5-alpha.0", "description": "Budibase CLI, for developers, self hosting and migrations.", "main": "src/index.js", "bin": { diff --git a/packages/client/package.json b/packages/client/package.json index 32781cfedc..bd6e562691 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "0.9.190-alpha.12", + "version": "1.0.5-alpha.0", "license": "MPL-2.0", "module": "dist/budibase-client.js", "main": "dist/budibase-client.js", @@ -19,9 +19,9 @@ "dev:builder": "rollup -cw" }, "dependencies": { - "@budibase/bbui": "^0.9.190-alpha.12", + "@budibase/bbui": "^1.0.5-alpha.0", "@budibase/standard-components": "^0.9.139", - "@budibase/string-templates": "^0.9.190-alpha.12", + "@budibase/string-templates": "^1.0.5-alpha.0", "regexparam": "^1.3.0", "shortid": "^2.2.15", "svelte-spa-router": "^3.0.5" diff --git a/packages/server/package.json b/packages/server/package.json index 5966cc81fc..955dd0b1f4 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "0.9.190-alpha.12", + "version": "1.0.5-alpha.0", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { @@ -69,9 +69,9 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/auth": "^0.9.190-alpha.12", - "@budibase/client": "^0.9.190-alpha.12", - "@budibase/string-templates": "^0.9.190-alpha.12", + "@budibase/auth": "^1.0.5-alpha.0", + "@budibase/client": "^1.0.5-alpha.0", + "@budibase/string-templates": "^1.0.5-alpha.0", "@bull-board/api": "^3.7.0", "@bull-board/koa": "^3.7.0", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/server/src/api/controllers/user.js b/packages/server/src/api/controllers/user.js index 6dfaf9847d..95e9a9969d 100644 --- a/packages/server/src/api/controllers/user.js +++ b/packages/server/src/api/controllers/user.js @@ -81,7 +81,7 @@ exports.syncUser = async function (ctx) { throw err } } - const roles = user.roles + const roles = deleting ? {} : user.roles // remove props which aren't useful to metadata delete user.password delete user.forceResetPassword diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 2fafa1f7ab..145800dbb5 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "0.9.190-alpha.12", + "version": "1.0.5-alpha.0", "description": "Handlebars wrapper for Budibase templating.", "main": "src/index.cjs", "module": "dist/bundle.mjs", diff --git a/packages/worker/package.json b/packages/worker/package.json index 6ac6b2ab61..6917856ceb 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "0.9.190-alpha.12", + "version": "1.0.5-alpha.0", "description": "Budibase background service", "main": "src/index.js", "repository": { @@ -29,8 +29,8 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/auth": "^0.9.190-alpha.12", - "@budibase/string-templates": "^0.9.190-alpha.12", + "@budibase/auth": "^1.0.5-alpha.0", + "@budibase/string-templates": "^1.0.5-alpha.0", "@koa/router": "^8.0.0", "@sentry/node": "^6.0.0", "@techpass/passport-openidconnect": "^0.3.0",