Commit Graph

746 Commits

Author SHA1 Message Date
Martin McKeaveney 4fb6eb972f adding default license env variable 2022-05-24 09:12:39 +01:00
Budibase Staging Release Bot fe44d5a321 v1.0.176-alpha.0 2022-05-23 22:51:48 +00:00
mike12345567 a7e6eb2851 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-23 23:43:57 +01:00
Budibase Release Bot 15d3ecaa7b v1.0.175 2022-05-23 22:32:31 +00:00
mike12345567 484dbbb605 Adding the ability to force a new context. 2022-05-23 23:23:49 +01:00
Rory Powell 28b48a88fe Event identification 2022-05-23 22:14:44 +01:00
Budibase Release Bot b8737ef665 v1.0.174 2022-05-23 18:24:18 +00:00
Budibase Release Bot 4c8dceb5cf v1.0.173 2022-05-23 17:14:13 +00:00
Budibase Staging Release Bot f838a43e51 v1.0.173-alpha.0 2022-05-23 16:13:12 +00:00
mike12345567 1f3d552199 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-23 17:03:36 +01:00
Martin McKeaveney 518797295e merge 2022-05-23 16:52:34 +01:00
Budibase Release Bot 858204d5f9 v1.0.172 2022-05-23 15:48:30 +00:00
Martin McKeaveney 9d813292de enable clustering on server and worker services, better log output on user not found errors 2022-05-23 16:24:29 +01:00
mike12345567 8fbbba16ee Updating cache to 1 hour. 2022-05-23 16:06:47 +01:00
Budibase Staging Release Bot deb9915ed2 v1.0.167-alpha.9 2022-05-23 14:17:10 +00:00
mike12345567 76f19def26 Moving the withCache function to backend-core so that it can be shared, as well as adding a cache busting function which can be used when one of the checklist configs changes. 2022-05-23 15:03:52 +01:00
Budibase Release Bot 664d41ab99 v1.0.171 2022-05-23 12:01:23 +00:00
Rory Powell 4841c84861 Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-23 10:29:33 +01:00
Rory Powell 70fff5c7b9 Merge branch 'develop' into feature/posthog-v2 2022-05-23 09:04:00 +01:00
Budibase Release Bot aa12ae78af v1.0.170 2022-05-23 07:51:22 +00:00
Martin McKeaveney e6a28aaeed Merge pull request #6007 from Budibase/fix/postgres-connection
Postgres connection - fixing sporadic issues
2022-05-23 08:42:17 +01:00
Budibase Release Bot 2754241eea v1.0.169 2022-05-23 00:06:28 +00:00
Martin McKeaveney 6d3aa6a806 withCache wrapper for working with redis 2022-05-23 00:09:03 +01:00
Budibase Release Bot 62aa399396 v1.0.168 2022-05-22 18:30:22 +00:00
mike12345567 aede23d44e Improving performance of load script, can generate thousands of users a second. 2022-05-22 18:29:02 +01:00
Rory Powell 443b664e33 Finish global migration 2022-05-20 21:16:29 +01:00
mike12345567 1b86041c68 Removing the use of pouchdb-all-dbs from testing environment, it was causing more harm than good and was entirely avoidable. 2022-05-20 18:29:37 +01:00
Budibase Staging Release Bot 32f125944d v1.0.167-alpha.8 2022-05-20 15:56:52 +00:00
Rory Powell 756f5b51aa App migrations finished 2022-05-20 12:29:31 +01:00
Budibase Staging Release Bot dd9ee25863 v1.0.167-alpha.7 2022-05-20 00:13:14 +00:00
Budibase Staging Release Bot 5d49e5aa90 v1.0.167-alpha.6 2022-05-19 22:55:56 +00:00
Budibase Staging Release Bot 9d45d5d06e v1.0.167-alpha.5 2022-05-19 22:05:21 +00:00
mike12345567 2acf1053d9 Merge branch 'develop' of github.com:Budibase/budibase into feature/portal-usage 2022-05-19 21:25:41 +01:00
Budibase Staging Release Bot bb388f8d3d v1.0.167-alpha.4 2022-05-19 14:17:02 +00:00
mike12345567 663f5aef7b Merge branch 'develop' of github.com:Budibase/budibase into feature/portal-usage 2022-05-19 10:45:26 +01:00
mike12345567 e846d27c42 Review comments. 2022-05-19 10:32:14 +01:00
Budibase Staging Release Bot 8dc922dff9 v1.0.167-alpha.3 2022-05-19 09:10:53 +00:00
Rory Powell 498c130e71 Migration for apps, automations, datasources, layouts, queries, roles, tables 2022-05-19 08:19:25 +01:00
Budibase Release Bot 8cba28e9db v1.0.167 2022-05-18 20:09:31 +00:00
Martin McKeaveney 296a327ee9 use platform url env 2022-05-18 21:00:42 +01:00
Budibase Staging Release Bot 4a4ab601d2 v1.0.167-alpha.2 2022-05-18 17:25:12 +00:00
Budibase Staging Release Bot b4f1ec67d7 v1.0.167-alpha.1 2022-05-18 14:51:12 +00:00
Budibase Staging Release Bot 4813f18c04 v1.0.167-alpha.0 2022-05-18 13:45:22 +00:00
Rory Powell 2ce76881f2 Merge branch 'master' into merge-master 2022-05-18 14:24:35 +01:00
Budibase Staging Release Bot dc0c5a6f5c v1.0.164-alpha.4 2022-05-18 12:19:42 +00:00
Rory Powell 8da427284c Stub out migrations + start tests + add build watching for backend-core 2022-05-18 10:56:44 +01:00
mike12345567 e61efc5474 Merge branch 'develop' of github.com:Budibase/budibase into feature/portal-usage 2022-05-18 10:56:44 +01:00
mike12345567 c528896e2d Finishing off UI, expanding settings menus from 80ch to 90ch as they were quite restricted and made the usage UI a bit difficult to view. Added a DISABLE_DEVELOPER_LICENSE env variable for testing. 2022-05-17 17:44:40 +01:00
Budibase Staging Release Bot 4c3fd849bf v1.0.164-alpha.3 2022-05-17 15:03:55 +00:00
Budibase Staging Release Bot 6fa3b5f8d2 v1.0.164-alpha.2 2022-05-17 14:11:30 +00:00
Budibase Release Bot 8b45ed4e04 v1.0.166 2022-05-17 14:04:28 +00:00
Rory Powell e0a55ceb47 Merge pull request #5925 from Budibase/platform-url
Update getPlatformUrl usage to use a single interface
2022-05-17 15:00:52 +01:00
Budibase Staging Release Bot 6767a27d4a v1.0.164-alpha.1 2022-05-17 13:54:40 +00:00
Budibase Release Bot 8cc05541eb v1.0.165 2022-05-17 10:17:38 +00:00
Budibase Release Bot 32b25b6ce2 v1.0.164 2022-05-17 09:22:10 +00:00
Budibase Staging Release Bot 635846d103 v1.0.164-alpha.0 2022-05-17 09:06:07 +00:00
Rory Powell fb18904ad8 Fix tests and build 2022-05-17 10:05:05 +01:00
Rory Powell 99b83a4496 Update getPlatformUrl usage to use a single interface 2022-05-17 09:52:38 +01:00
Budibase Release Bot 0a71979ebc v1.0.163 2022-05-16 22:37:40 +00:00
Martin McKeaveney b98476349e editing getPlatformUrl for cloud 2022-05-16 23:22:33 +01:00
Budibase Release Bot 08eda0e89f v1.0.162 2022-05-16 16:48:39 +00:00
Budibase Staging Release Bot 0584c15b11 v1.0.159-alpha.2 2022-05-16 15:00:11 +00:00
mike12345567 08f53591e6 Fixing test cases. 2022-05-16 12:31:07 +01:00
Budibase Staging Release Bot 5144c59ad4 v1.0.159-alpha.1 2022-05-16 11:10:36 +00:00
Budibase Release Bot 1d885f4de9 v1.0.161 2022-05-13 15:45:14 +00:00
Budibase Release Bot c6120f509d v1.0.160 2022-05-13 13:48:11 +00:00
Budibase Staging Release Bot 7217d62d5b v1.0.159-alpha.0 2022-05-13 09:33:36 +00:00
Budibase Release Bot f211981da7 v1.0.159 2022-05-13 09:10:56 +00:00
Budibase Release Bot a1153da298 v1.0.158 2022-05-12 20:41:02 +00:00
Budibase Release Bot 6b8091d4a3 v1.0.157 2022-05-12 17:31:59 +00:00
Rory Powell a57c35ee76 Add execute automation to basic user / write permission set 2022-05-12 17:35:31 +01:00
Budibase Release Bot 44c25f6fff v1.0.156 2022-05-12 15:16:33 +00:00
Rory Powell 59c4aeb85a Merge pull request #5853 from Budibase/fix/5838
Revert "Adding to the REST query UI to make it more obvious when it n…
2022-05-12 16:08:59 +01:00
Budibase Release Bot 0ba6546321 v1.0.155 2022-05-12 14:53:11 +00:00
Rory Powell 1716328a77 Update lockfiles 2022-05-12 15:51:14 +01:00
Budibase Release Bot 090f067ffc v1.0.154 2022-05-11 14:05:21 +00:00
Budibase Release Bot fd46cf96a4 v1.0.153 2022-05-11 11:48:53 +00:00
Budibase Release Bot 2c303e7311 v1.0.152 2022-05-11 11:14:55 +00:00
Budibase Release Bot 7b1f9587b2 v1.0.151 2022-05-11 09:42:20 +00:00
Michael Drury 7cc942e529 Merge pull request #5801 from Budibase/fix/cls-hooked-memory-leak
Fix CLS hooked memory leak
2022-05-11 10:34:22 +01:00
mike12345567 e5922269aa Switching over to using our own version of cls-hooked which has the memory leak (no async hooks disable call) fixed as well as changing how we use the CLS namespaces to allow us to destroy the namespace we use per request. 2022-05-10 16:37:24 +01:00
mike12345567 944851d182 Adding our own version of cls hooked with the memory leak fixed. 2022-05-10 16:34:20 +01:00
Budibase Release Bot 0da892a6b4 v1.0.150 2022-05-10 10:48:32 +00:00
Rory Powell 8e885075b6 handlers -> publishers and analtics -> processors 2022-05-10 10:33:59 +01:00
Budibase Release Bot 285b4a74e4 v1.0.149 2022-05-09 14:54:10 +00:00
Budibase Release Bot ae2a45cec6 v1.0.148 2022-05-09 13:23:32 +00:00
mike12345567 7693de8a61 Merge branch 'master' of github.com:Budibase/budibase into fix/5778 2022-05-09 13:46:38 +01:00
Budibase Release Bot 043b2b12ca v1.0.147 2022-05-09 12:36:54 +00:00
mike12345567 26441255cf Unit tests for the utility functions that have changed around app ID checks/generation./ 2022-05-09 13:28:01 +01:00
mike12345567 8e704cc70f Fixing issue #5778 - making sure to only remove the first app_ element of the app ID. 2022-05-09 12:29:44 +01:00
Budibase Release Bot 8e6c902876 v1.0.146 2022-05-06 15:37:07 +00:00
Martin McKeaveney e46ac20317 Merge pull request #5643 from Budibase/feature/small-april-tickets
Feature/small april tickets
2022-05-06 16:27:50 +01:00
Budibase Release Bot b87068657f v1.0.145 2022-05-05 23:48:56 +00:00
Budibase Release Bot ace0730739 v1.0.144 2022-05-05 22:39:12 +00:00
Budibase Release Bot 87001bd1c5 v1.0.143 2022-05-05 13:08:19 +00:00
Martin McKeaveney 8899527da8 merge 2022-05-05 12:45:09 +01:00
Rory Powell 34474d5c10 Re-enable gsheets for verification 2022-05-05 09:59:10 +01:00
Rory Powell 77cb7c480c Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-05 09:22:01 +01:00
Rory Powell e45c0f98c7 Merge pull request #5694 from Budibase/add-types-package
Add @budibase/types package
2022-05-05 08:50:37 +01:00
Rory Powell e4257f1e04 Merge branch 'develop' into feature/posthog-v2 2022-05-05 08:47:06 +01:00
Rory Powell 1f56d31ebb App backfill (wip) 2022-05-05 08:32:14 +01:00
Budibase Release Bot 6204109df3 v1.0.142 2022-05-04 16:58:22 +00:00
Budibase Release Bot eaa0b8e903 v1.0.141 2022-05-04 13:14:06 +00:00
Budibase Release Bot 008d69ab09 v1.0.140 2022-05-04 12:40:27 +00:00
Budibase Release Bot be6228df53 v1.0.139 2022-05-04 12:25:09 +00:00
Rory Powell 4e7a16db30 Add isDev() to backend-core/env 2022-05-04 12:28:21 +01:00
Rory Powell 11ea9d90e3 Add ts watch support for backend-core + stub out migrations 2022-05-04 11:22:50 +01:00
Rory Powell 3b9142f103 Build and test fixes 2022-05-03 22:58:19 +01:00
Budibase Release Bot 10864f03ce v1.0.138 2022-05-03 16:38:39 +00:00
Rory Powell 8b4f4c813a Add @budibase/types package 2022-05-03 17:13:13 +01:00
Budibase Release Bot 21e02dd279 v1.0.137 2022-05-03 15:58:47 +00:00
Budibase Release Bot b7db3613e5 v1.0.136 2022-05-03 15:08:57 +00:00
Budibase Release Bot 808e3e7c8b v1.0.135 2022-05-03 13:54:24 +00:00
Budibase Release Bot c2b3a7e0c8 v1.0.134 2022-05-03 09:32:48 +00:00
Budibase Release Bot d422912943 v1.0.133 2022-05-02 08:48:23 +00:00
Budibase Release Bot ed8e4b3d77 v1.0.132 2022-04-29 13:31:30 +00:00
Rory Powell 185b591db5 Merge branch 'labday/backend-core-ts' into feature/posthog-v2 2022-04-29 14:01:13 +01:00
Martin McKeaveney 2a7fa4d8f7 merge 2022-04-29 00:05:43 +01:00
Rory Powell cfa75a8af3 backend-core typescript building successfully 2022-04-28 22:39:21 +01:00
Budibase Release Bot f88504f4b0 v1.0.131 2022-04-28 14:16:39 +00:00
Budibase Release Bot 51c7c6abab v1.0.130 2022-04-28 13:29:28 +00:00
Budibase Staging Release Bot e06c03e140 v1.0.130-alpha.0 2022-04-28 11:30:07 +00:00
Budibase Release Bot 7100baf6d0 v1.0.129 2022-04-28 10:19:06 +00:00
Michael Drury 8d6d90780f Merge pull request #5616 from Budibase/fix/april-fixes
Various April release fixes
2022-04-28 11:09:18 +01:00
Budibase Release Bot 488f4a98fb v1.0.128 2022-04-28 08:24:29 +00:00
mike12345567 a2c6917bfa Fixing test case. 2022-04-27 22:57:03 +01:00
mike12345567 2865d6531c Review comments. 2022-04-27 22:36:45 +01:00
mike12345567 061868c826 Fixing an issue with cookie auth. 2022-04-27 16:56:30 +01:00
Rory Powell 1caf4b1965 Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +01:00
mike12345567 48eda78f67 Fix for issue being able to delete apps. 2022-04-27 15:58:55 +01:00
Budibase Staging Release Bot 59cd1f722d v1.0.126-alpha.0 2022-04-27 14:40:24 +00:00
Budibase Release Bot b2b98c790b v1.0.127 2022-04-27 13:13:56 +00:00
Budibase Release Bot e2a4f17afe v1.0.126 2022-04-27 11:55:18 +00:00
Budibase Release Bot 14169a9a04 v1.0.125 2022-04-27 09:28:58 +00:00
Budibase Release Bot 4d01185e6d v1.0.124 2022-04-26 22:48:04 +00:00
Budibase Staging Release Bot 2adf990ec7 v1.0.124-alpha.0 2022-04-26 19:19:35 +00:00
Michael Drury 8d78698c60 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-04-26 20:10:26 +01:00
Budibase Staging Release Bot ddb6f1549c v1.0.123-alpha.1 2022-04-26 18:30:39 +00:00
Michael Drury 3fa0684d2b Merge pull request #5597 from Budibase/fix/update-tenancy
Fix: Update global db context when tenant is updated + configurable couch integration in tenancy middleware
2022-04-26 19:21:48 +01:00
Budibase Release Bot 2e846dd4da v1.0.123 2022-04-26 17:11:18 +00:00
Rory Powell 12abe4adcc Bypass couch db when using tenancy middleware 2022-04-26 17:13:45 +01:00
Martin McKeaveney a91cf354b6 renamable buckets, started firebase tests, onboarding modal copy update 2022-04-26 17:12:47 +01:00
Budibase Staging Release Bot 3b01575b77 v1.0.123-alpha.0 2022-04-26 16:12:16 +00:00
mike12345567 2441f42c54 Merge branch 'develop' of github.com:Budibase/budibase into fix/develop-merge 2022-04-26 16:31:17 +01:00
deanhannigan 89fa229140 Merge pull request #5489 from Budibase/feature/new-app-publish-workflow
Feature/new app publish workflow
2022-04-26 16:22:37 +01:00
Budibase Staging Release Bot 3473f68955 v1.0.105-alpha.43 2022-04-26 15:12:39 +00:00
Dean 8b8baf9bdd Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-26 12:12:50 +01:00
Budibase Staging Release Bot 210dc8ad2a v1.0.105-alpha.42 2022-04-26 10:22:18 +00:00
Martin McKeaveney 9ca4dacbaa merge with master 2022-04-26 10:21:45 +01:00
Budibase Release Bot d251a80123 v1.0.122 2022-04-26 07:55:00 +00:00
Budibase Staging Release Bot 34388e05c3 v1.0.105-alpha.41 2022-04-25 22:24:32 +00:00
Rory Powell dd0e6099b8 Fix: google sso 2022-04-25 22:49:56 +01:00
Budibase Staging Release Bot e2207c8c1e v1.0.105-alpha.40 2022-04-25 15:22:23 +00:00
Rory Powell b9a39e193e Fix developer count migration when only single developer 2022-04-25 15:38:37 +01:00
Budibase Release Bot 45a65a03c3 v1.0.121 2022-04-25 13:59:00 +00:00
Budibase Staging Release Bot 36b7f19657 v1.0.105-alpha.39 2022-04-25 13:39:27 +00:00
Budibase Staging Release Bot 558760a1f6 v1.0.105-alpha.38 2022-04-25 12:06:32 +00:00
Budibase Staging Release Bot d4de38019b v1.0.105-alpha.37 2022-04-25 11:34:54 +00:00
Rory Powell d39ec2126a Merge pull request #5566 from Budibase/pro-build-fixes
Sync versions on release
2022-04-25 12:26:09 +01:00
Budibase Staging Release Bot de1b2c3476 v1.0.105-alpha.36 2022-04-25 11:19:53 +00:00
Rory Powell f6284cc697 Sync versions of pro and backend-core 2022-04-25 12:19:36 +01:00
Budibase Release Bot 650cf2a82f v1.0.120 2022-04-25 10:50:20 +00:00
Martin McKeaveney bbce5a9c7f Merge branch 'master' into gsheets-updates 2022-04-25 09:27:38 +01:00
Martin McKeaveney 46b424308f only save refresh token in google auth 2022-04-24 23:33:50 +01:00
Martin McKeaveney 84d2bb3cf5 auto fetch access token in gsheets integration 2022-04-24 23:32:47 +01:00
Budibase Release Bot 00078b6cad v1.0.119 2022-04-23 12:20:38 +00:00
Budibase Release Bot 81adeafd52 v1.0.118 2022-04-23 12:13:13 +00:00
mike12345567 7627230be6 Fixing an issue we've experienced with couch, using a base64 cookie that we control manually. 2022-04-22 17:24:50 +01:00
Budibase Release Bot f7e5afab79 v1.0.117 2022-04-22 15:57:50 +00:00
Dean 9ece75082f Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-22 16:39:59 +01:00
Budibase Staging Release Bot 17f5261b68 v1.0.105-alpha.35 2022-04-22 15:27:20 +00:00
Budibase Release Bot 272e4fe959 v1.0.116 2022-04-22 14:39:34 +00:00
Michael Drury 94419024a4 Merge pull request #5510 from Budibase/fix/pouch-leak
PouchDB memory leak protection
2022-04-22 15:32:51 +01:00
Budibase Staging Release Bot 894bcdaca2 v1.0.105-alpha.34 2022-04-22 13:43:43 +00:00
Budibase Staging Release Bot 30cdd57ab3 v1.0.105-alpha.33 2022-04-22 11:52:44 +00:00
Budibase Staging Release Bot d91558486c v1.0.105-alpha.32 2022-04-22 10:58:15 +00:00
Budibase Staging Release Bot a8b963083c v1.0.105-alpha.31 2022-04-22 10:11:20 +00:00
Budibase Release Bot ab6473dfb7 v1.0.115 2022-04-22 09:55:33 +00:00
Budibase Staging Release Bot 7bf32ddcb2 v1.0.105-alpha.30 2022-04-22 09:55:26 +00:00
Budibase Staging Release Bot e2e5f73549 v1.0.105-alpha.29 2022-04-22 09:30:17 +00:00
Budibase Staging Release Bot 21735dae0a v1.0.105-alpha.28 2022-04-22 08:54:21 +00:00
Budibase Staging Release Bot f0eaf68a5e v1.0.105-alpha.27 2022-04-22 08:11:17 +00:00
Budibase Staging Release Bot 1a9e89c211 v1.0.105-alpha.26 2022-04-22 07:56:32 +00:00
Budibase Release Bot 980c9d1444 v1.0.114 2022-04-21 14:31:17 +00:00
mike12345567 7083470baa Adding a dep:clean function, cleaning up lock files and fixing backend-core test which did not utilise tenancy (no global db). 2022-04-21 15:20:23 +01:00
mike12345567 345bbf603c Fixing issues with test cases - a lot of test cases didn't setup tenancy in any format, which now means that the API endpoints they call would not have access to a Global DB instance. Also had to disable the closing of the database in test as this was removing the database from memory, meaning future calls would find an empty database when they opened it. 2022-04-21 14:56:14 +01:00
Dean bfce5ccf3f Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-21 14:46:17 +01:00
Budibase Staging Release Bot 851c62d71a v1.0.105-alpha.25 2022-04-21 13:36:43 +00:00
Dean 61150c82cf Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-21 14:10:58 +01:00
Budibase Staging Release Bot 389221a58e v1.0.105-alpha.24 2022-04-21 11:52:07 +00:00
mike12345567 13cb5f7f7c Adding another check to make sure context is the same. 2022-04-20 23:13:08 +01:00
mike12345567 151ed604f8 Fixing some issues detected by the test cases, making the in-use mechanism for context more clear to complete avoid stack up of contexts (leading to loss of knowledge around previous databases. 2022-04-20 23:10:39 +01:00
mike12345567 6afe3a28ef Closing global DB using the standard function - not directly. 2022-04-20 18:07:48 +01:00
mike12345567 9899781fc5 Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +01:00
Rory Powell d2a4e0a934 Merge branch 'develop' into feature/licensing 2022-04-20 14:59:36 +01:00
Dean 0305719fe3 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-20 12:54:58 +01:00
Budibase Staging Release Bot 282d2b73cc v1.0.105-alpha.23 2022-04-20 11:45:43 +00:00
Dean 04b4ee7a51 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-20 09:10:09 +01:00
Budibase Staging Release Bot b18c47a586 v1.0.105-alpha.22 2022-04-20 07:47:53 +00:00
mike12345567 192fb1307e Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them. 2022-04-19 19:42:52 +01:00