Compare commits

..

27 Commits

Author SHA1 Message Date
Stela Augustinova 8d16a30064 Fix message formatting for large binary fields in stringifyCellValue function 2026-04-01 10:55:47 +02:00
Stela Augustinova cf601c33c0 Enhance binary size handling in grid cell display 2026-04-01 10:25:40 +02:00
Stela Augustinova ea3a61077a v7.1.6 2026-03-26 12:47:09 +01:00
Stela Augustinova d1a898b40d SYNC: Add translations for cloudUnavailable message in multiple languages 2026-03-26 11:11:07 +00:00
Stela Augustinova a521a81ef0 v7.1.6-premium-beta.1 2026-03-26 11:25:13 +01:00
Stela Augustinova ab5a54dbb6 SYNC: Merge pull request #89 from dbgate/feature/cloud-error 2026-03-26 10:12:05 +00:00
Stela Augustinova 44ad8fa60a Update CHANGELOG for version 7.1.5 2026-03-25 16:59:13 +01:00
Stela Augustinova 5b27a241d7 v7.1.5 2026-03-25 16:21:59 +01:00
Stela Augustinova 084019ca65 v7.1.5-premium-beta.3 2026-03-25 15:21:43 +01:00
Stela Augustinova ba147af8fe SYNC: v7.1.5-premium-beta.2 2026-03-25 14:08:24 +00:00
Stela Augustinova 1b3f4db07d SYNC: Merge pull request #88 from dbgate/feature/cloud-error 2026-03-25 13:39:00 +00:00
Jan Prochazka c36705d458 Merge pull request #1395 from dbgate/feature/display-uuid
Feature/display UUID
2026-03-25 10:04:58 +01:00
Stela Augustinova 0e126cb8cf Enhance BinData subType handling to support hexadecimal strings and improve validation 2026-03-25 08:32:03 +01:00
Stela Augustinova c48183a539 Enhance base64 to UUID conversion with error handling and regex improvements 2026-03-25 08:23:15 +01:00
Stela Augustinova 50f380dbbe Enhance uuidToBase64 function with validation and improve UUID parsing in parseCellValue 2026-03-24 17:15:32 +01:00
Stela Augustinova 66023a9a68 Validate base64 UUID conversion and enhance handling in stringifyCellValue 2026-03-24 17:06:52 +01:00
Stela Augustinova c3fbc3354c Validate BinData subType to ensure it is an integer between 0 and 255 2026-03-24 16:32:16 +01:00
Jan Prochazka a7d2ed11f3 SYNC: Merge pull request #86 from dbgate/feature/icon-vulnerability 2026-03-23 12:50:27 +00:00
Stela Augustinova 6a3dc92572 Add uuid to base64 conversion and enhance cell value parsing for UUIDs 2026-03-20 12:46:50 +01:00
Stela Augustinova e3a4667422 feat: add base64 to UUID conversion and integrate into cell value parsing 2026-03-19 14:50:08 +01:00
Stela Augustinova c4dd99bba9 Changelog 7.1.4 2026-03-19 13:07:44 +01:00
Stela Augustinova 588b6f9882 v7.1.4 2026-03-19 12:13:37 +01:00
Stela Augustinova 375f69ca1e v7.1.4-alpha.2 2026-03-19 11:13:29 +01:00
Stela Augustinova a32e5cc139 v7.1.4-alpha.1 2026-03-19 10:56:16 +01:00
CI workflows 8e00137751 chore: auto-update github workflows 2026-03-19 09:33:56 +00:00
Stela Augustinova 003db50833 SYNC: Add missing publish step for rest 2026-03-19 09:33:36 +00:00
Stela Augustinova bc519c2c20 Changelog 7.1.3 2026-03-18 16:06:01 +01:00
22 changed files with 380 additions and 57 deletions
+4 -1
View File
@@ -56,7 +56,10 @@ jobs:
working-directory: packages/sqltree
run: |
npm publish --tag "$NPM_TAG"
- name: Publish rest
working-directory: packages/rest
run: |
npm publish --tag "$NPM_TAG"
- name: Publish api
working-directory: packages/api
run: |
+196 -41
View File
@@ -1,14 +1,38 @@
# ChangeLog
Builds:
- docker - build
- npm - npm package dbgate-serve
- app - classic electron app
- mac - application for macOS
- linux - application for linux
- win - application for Windows
- docker - build
- npm - npm package dbgate-serve
- app - classic electron app
- mac - application for macOS
- linux - application for linux
- win - application for Windows
## 7.1.5
- FIXED: Issues with cloud and file loading
- ADDED: Support for displaying MongoDB UUID #1394
- ADDED: SVG icon sanitization
## 7.1.4
- FIXED: NPM installation failure #1375
## 7.1.3
- FIXED: "Add files" button in import/export #1373
- FIXED: Importing XLSX files #1379
- ADDED: Ability to set default transaction isolation level for connections #1376
- ADDED: Option to set transaction isolation level directly in Query Tab #1376
- ADDED: Filtering of SQL Scripts by connection and database name #1377
- ADDED: Proxy configuration support for OData, OpenAPI and GraphQL (Premium) #1381
- CHANGED: Updated DuckDB version to 1.5.0 #1386
- FIXED: DuckDB column order in query result #1385
- FIXED: Administration panel not displayed for authorized users (Team Premium) #1374
## 7.1.2
- ADDED: GraphQL chat - AI chat with GraphQL endpoint (Premium)
- FIXED: Error "400 Provider returned error" in Database Chat (Premium)
- CHANGED: Upgraded AI components to latest versions, improved stability and performance of AI features (Premium)
@@ -16,6 +40,7 @@ Builds:
- CHANGED: Upgraded some internal building components (svelte-preprocess, typescript)
## 7.1.1
- CHANGED: Fixed some DynamoDB issues, improved filtering performance
- FIXED: Afilter filter scroll issue #1370
- FIXED: Team Premium - filtering by connection in database and table permissions
@@ -24,10 +49,10 @@ Builds:
- FIXED: Firebird - improved connectivity & table loading #1324
- ADDED: New GraphQL query option, changed GraphQL query icon (Premium)
## 7.1.0
- ADDED: Support for Amazon DynamoDB (Premium)
- ADDED: Connect to API endpoints - OpenAPI (Swagger), GraphQL and oData (Premium)
- ADDED: Connect to API endpoints - OpenAPI (Swagger), GraphQL and oData (Premium)
- FIXED: Redis key list infinite loading when first key hierarchy segment is numeric (e.g. "0:profile:1234") #1363
- FIXED: Sum of PostgreSQL numeric values always 0 #1354
- FIXED: SQL SERVER Table structure key duplication #1351
@@ -37,10 +62,12 @@ Builds:
- CHANGED: Used rolldown bundler instead of legacy rollup
## 7.0.6
- ADDED: Reset password for Team Premium edition
- ADDED: Encrypting passwords sent to frontend when using SHELL_CONNECTION=1 in Docker Community edition #1357
## 7.0.4
- FIXED: MS SQL server export to CSV does not convert bit FALSE to 0 #1276
- ADDED: MySQL FULLTEXT support #1305
- FIXED: Error messages in Chinese will display garbled characters(MS SQL over ODBC) #1321
@@ -53,6 +80,7 @@ Builds:
- CHANGED: Improved custom connection color palette
## 7.0.3
- FIXED: Optimalized loading MySQL primary keys #1261
- FIXED: Test connection now works for MS Entra authentication #1315
- FIXED: SQL Server - Unable to use 'Is Empty or Null' or 'Has Not Empty Value' filters on a field with data type TEXT #1338
@@ -64,6 +92,7 @@ Builds:
- CHANGED: Upgraded node for DbGate AWS distribution
## 7.0.1
- FIXED: Foreign key actions not detected on PostgreSQL #1323
- FIXED: Vulnerabilities in bundled dependencies: axios, cross-spawn, glob #1322
- FIXED: The JsonB field in the cell data view always displays as null. #1320
@@ -74,6 +103,7 @@ Builds:
- ADDED: Default editor theme is part of application theme now
## 7.0.0
- CHANGED: New design of application, new theme system
- ADDED: Theme AI assistant - create custom themes using AI (Premium)
- CHANGED: Themes are now defined in JSON files, custom themes could be shared via DbGate Cloud
@@ -89,12 +119,15 @@ Builds:
- ADDED: Widget for currently opened tabs
## 6.8.2
- FIXED: Initialize storage database from envoronment variables failed with PostgreSQL
## 6.8.1
- FIXED: Won't navigate to the relevant field on click of a field in columns #1303
## 6.8.0
- ADDED: Form cell view for detailed data inspection and editing in data grids, with multi-row bulk editing support
- CHANGED: Cell data sidebar moved to right side, now is part of data grid
- FIXED: Improved widget resizing algorithm
@@ -113,11 +146,13 @@ Builds:
- ADDED: Import connections from environment variables (Team Premium)
## 6.7.3
- FIXED: Fixed problem in analyser core - in PostgreSQL, after dropping table, dropped table still appeared in structure
- FIXED: PostgreSQL numeric columns do not align right #1254
- ADDED: Custom thousands separator #1213
## 6.7.2
- CHANGED: Settings modal redesign - now is settings opened in tab instead of modal, similarily as in VSCode
- FIXED: Fixed search in table shortcuts #1273
- CHANGED: Improved foreign key editor UX
@@ -127,6 +162,7 @@ Builds:
- CHANGED: Improved storage of settings, especially for Team Premium edition
## 6.7.1
- ADDED: LANGUAGE environment variable for the web version. #1266
- ADDED: New localizations (Italian, Portugese (Brazil), Japanese)
- ADDED: Option to detect language from browser settings in web version
@@ -140,6 +176,7 @@ Builds:
- ADDED: Other files types supported in Team Premium edition (diagrams, query design, perspectives, import/export jobs, shell scripts, database compare jobs)
## 6.7.0
- ADDED: Added localization support, now you can use DbGate in multiple languages (French, Spanish, German, Czech, Slovak, Simplified Chinese) #347 #705 #939 #1079
- CHANGED: Solved many issues with binary fields, huge performance improvements in binary fields processing
- FIXED: Export to CSV produces empty file #1247
@@ -153,13 +190,16 @@ Builds:
- FIXED: Horizontal scrolling on macOS trackpad/Magic Mouse #1250
## 6.6.12
- FIXED: Cannot paste license key on Mac (special commands like copy/paste were disabled on license screen)
## 6.6.11
- FIXED: Fixed theming on application startup
- CHANGED: Improved licensing page
## 6.6.10
- FIXED: License from environment variable is not refreshed #1245
- FIXED: connection closing / reconnecting #1237
- ADDED: retain history across multiple queries #1236
@@ -167,19 +207,22 @@ Builds:
- FIXED: Not possible to scroll the data view horizontally by pressing shift and scroll mouse middle button on Mac #453
- FIXED: Expired trial workflow (Premium)
- ADDED: Column name collision resolving #1234 (MySQL)
## 6.6.8
- CHANGED: Windows executable now uses Azure trusted signing certificate
- CHANGED: NPM packages now use GitHub OIDC provenance signing for better security
- CHANGED: Some features moved to Premium edition (master/detail views, FK lookups, column expansion, split view, advanced export/import, data archives, grouping, macros)
## 6.6.6
- ADDED: Allow disable/re-enable filter #1174
- ADDED: Close right side tabs #1219
- ADDED: Ability disable execute current line in query editor #1209
- ADDED: Support for Redis Cluster #1204 (Premium)
## 6.6.5
- ADDED: SQL AI assistant - powered by database chat, could help you to write SQL queries (Premium)
- ADDED: Explain SQL error (powered by AI) (Premium)
- ADDED: Database chat (and SQL AI Assistant) now supports showing charts (Premium)
@@ -188,6 +231,7 @@ Builds:
- FIXED: Cannot open up large JSON file #1215
## 6.6.4
- ADDED: AI Database chat now supports much more LLM models. (Premium)
- ADDED: Possibility to use your own API key with OPENAI-compatible providers (OpenRouter, Antropic...)
- ADDED: Possibility to use self-hosted own LLM (eg. Llama)
@@ -201,11 +245,13 @@ Builds:
- CHANGED: Community edition now supports shared folders in read-only mode
## 6.6.3
- FIXED: Error “db.getCollection(…).renameCollection is not a function” when renaming collection in dbGate #1198
- FIXED: Can't list databases from Azure SQL SERVER #1197
- ADDED: Save zoom level in electron apps
## 6.6.2
- ADDED: List of processes, ability to kill process (Server summary) #1178
- ADDED: Database and table permissions (Team Premium edition)
- ADDED: Redis search box - Scan all #1191
@@ -215,6 +261,7 @@ Builds:
- FIXED: Executing queries for SQLite crash #1195
## 6.6.1
- ADDED: Support for Mongo shell (Premium) - #1114
- FIXED: Support for BLOB in Oracle #1181
- ADDED: Connect to named SQL Server instance #340
@@ -224,12 +271,14 @@ Builds:
- CHANGED: Improved logging system, added related database and connection to logs metadata
## 6.6.0
- ADDED: Database chat - AI powered chatbot, which knows your database (Premium)
- ADDED: Firestore support (Premium)
- REMOVED: Query AI assistant (replaced by Database Chat) (Premium)
- FIXED: Chart permissions were ignored (Premium)
- REMOVED: Query AI assistant (replaced by Database Chat) (Premium)
- FIXED: Chart permissions were ignored (Premium)
## 6.5.6
- ADDED: New object window - quick access to most common functions
- ADDED: Possibility to disable split query by empty line #1162
- ADDED: Possibility to opt out authentication #1152
@@ -238,6 +287,7 @@ Builds:
- FIXED: Fixed some minor problems of charts
## 6.5.5
- ADDED: Administer cloud folder window
- CHANGED: Cloud menu redesign
- ADDED: Audit log (for Team Premium edition)
@@ -247,25 +297,29 @@ Builds:
- ADDED: Added chart data type detection
- FIXED: Fixed chart displaying problems
- FIXED: Fixed exporting chart to HTML
- CHANGED: Choose COUNT measure without selecting underlying ID field (use virtual __count)
- CHANGED: Choose COUNT measure without selecting underlying ID field (use virtual \_\_count)
- FIXED: Problems with authentification administration, especially for Postgres storage
- CHANGED: Anonymous autentification (in Team Premium) is now by default disabled
- CHANGED: Anonymous autentification (in Team Premium) is now by default disabled
## 6.5.3
- CHANGED: Improved DbGate Cloud sign-in workflow
- FIXED: Some fixes and error handling in new charts engine
- ADDED: Charts - ability to choose aggregate function
- CHANGED: Improved About window
## 6.5.2
- CHANGED: Autodetecting charts is disabled by default #1145
- CHANGED: Improved chart displaying workflow
- ADDED: Ability to close chart
## 6.5.1
- FIXED: DbGate Cloud e-mail sign-in method for desktop clients
## 6.5.0
- ADDED: DbGate cloud - online storage for connections, SQL scripts and other objects
- ADDED: Public knowledge base - common SQL scripts for specific DB engines (table sizes, index stats etc.)
- ADDED: Query results could be visualised in charts (Premium)
@@ -286,7 +340,7 @@ Builds:
## 6.4.2
- ADDED: Source label to docker container #1105
- ADDED: Source label to docker container #1105
- FIXED: DbGate restart needed to take effect after trigger is created/deleted on mariadb #1112
- ADDED: View PostgreSQL query console output #1108
- FIXED: Single quote generete MySql error #1107
@@ -296,6 +350,7 @@ Builds:
- FIXED: Fixed loading Redis keys with :: in key name
## 6.4.0
- ADDED: DuckDB support
- ADDED: Data deployer (Premium)
- ADDED: Compare data between JSON lines file in archive and database table
@@ -317,6 +372,7 @@ Builds:
- CHANGED: Amazon and Azure instalations are not auto-upgraded by default
## 6.3.3
- CHANGED: New administration UI, redesigned administration of users, connections and roles
- ADDED: Encrypting passwords in team-premium edition
- ADDED: Show scale bar on map #1090
@@ -326,6 +382,7 @@ Builds:
- ADDED: Line Wrap for JSON viewer #768
### 6.3.2
- ADDED: "Use system theme" switch, use changed system theme without restart #1084
- ADDED: "Skip SETNAME instruction" option for Redis #1077
- FIXED: Clickhouse views are now available even for user with limited permissions #1076
@@ -338,6 +395,7 @@ Builds:
- FIXED: Correctly end connection process after succesful/unsuccesful connect
### 6.3.0
- ADDED: Support for libSQL and Turso (Premium)
- ADDED: Native backup and restore database for MySQL and PostgreSQL (Premium)
- REMOVED: DbGate internal dump export for MySQL (replaced with call of mysqldump)
@@ -349,6 +407,7 @@ Builds:
- FIXED: Linux Appimage crash => A JavaScript error occurred in the main process #1065 , #1067
### 6.2.1
- ADDED: Commit/rollback and autocommit in scripts #1039
- FIXED: Doesn't import all the records from MongoDB #1044
- ADDED: Show server name alongside database name in title of the tab group #1041
@@ -361,6 +420,7 @@ Builds:
- CHANGED: Upgraded SQLite engine version
### 6.2.0
- ADDED: Query AI Assistant (Premium)
- ADDED: Cassandra database support
- ADDED: XML cell data view
@@ -373,13 +433,16 @@ Builds:
- CHANGED: Open real executed query, when datagrid shows loading error
### 6.1.6
- FIXED: Hotfix build process for premium edition
### 6.1.5
- FIXED: Serious security hotfix (for Docker and NPM, when using LOGIN and PASSWORD environment variables or LOGIN_PASSWORD_xxx)
- no changes for desktop app and for Team premium edition, when using storage DB
### 6.1.4
- CHANGED: Show Data/Structure button in one place #1015
- ADDED: Data view coloring (every second row) #1014
- ADDED: Pin icon for tab in preview mode (#1013)
@@ -394,11 +457,12 @@ Builds:
- ADDED: Redis JSON format for String values #852
### 6.1.3
- FIXED: Fulltext search now shows correctly columns and SQL code lines
- ADDED: Configuration of SSH tunnel local host (IPv4 vs IPv6). Should fix majority of SSH tunnel problems
- FIXED: Handled SSH tunnel connection error, now it shows error instead of connecting forever
- ADDED: Support of triggers (SQLite)
- ADDED: Create, drop trigger
- ADDED: Create, drop trigger
- ADDED: Support for MySQL scheduled events
- FIXED: Cannot connect to DB using askUser/askPassword mode #995
- FIXED: Filtering in Oracle #992
@@ -406,6 +470,7 @@ Builds:
- ADDED: Introduced E2E Cypress tests, test refactor
### 6.1.1
- ADDED: Trigger support (SQL Server, PostgreSQL, MySQL, Oracle)
- FIXED: PostgreSQL and Oracle export #970
- FIXED: Cursor Becomes Stuck When Escaping "Case" #954
@@ -413,6 +478,7 @@ Builds:
- FIXED: Search in packed list
### 6.1.0
- ADDED: Fulltext search in DB model and connections, highlight searched names
- ADDED: Tab preview mode configuration #963
- CHANGED: Single-click to open server connection/database + ability to configure this #959
@@ -429,6 +495,7 @@ Builds:
- ADDED: Display comment into tables and column list #755
### 6.0.0
- ADDED: Order or filter the indexes for huge tables #922
- ADDED: Empty string filters
- CHANGED: (Premium) Workflow for new installation (used in Docker and AWS distribution)
@@ -461,6 +528,7 @@ Builds:
- ADDED: Show SQL quick view
### 5.5.6
- FIXED: DbGate process consumes 100% after UI closed - Mac, Linux (#917, #915)
- FIXED: Correctly closing connection behind SSH tunnel (#920)
- FIXED: Updating MongoDB documents on MongoDB 4 (#916)
@@ -468,6 +536,7 @@ Builds:
- FIXED: (Premium) Better handling of connection storage errors
### 5.5.5
- ADDED: AWS IAM authentication for MySQL, MariaDB, PostgreSQL (Premium)
- FIXED: Datitme filtering #912
- FIXED: Load redis keys
@@ -478,6 +547,7 @@ Builds:
- FIXED: Save connection params in administration for MS SQL and Postgres storages (Team Premium)
### 5.5.4
- FIXED: correct handling when use LOGIN and PASSWORD env variables #903
- FIXED: fixed problems in dbmodel commandline tool
- ADDED: dbmodel - allow connection defined in environment variables
@@ -489,6 +559,7 @@ Builds:
- ADDED: (Premium) Show purchase button after trial license is expired
### 5.5.3
- FIXED: Separate schema mode #894 - for databases with many schemas
- FIXED: Sort by UUID column in POstgreSQL #895
- ADDED: Load pg_dump outputs #893
@@ -498,9 +569,11 @@ Builds:
- FIXED: MS Entra authentication for Azure SQL
### 5.5.2
- FIXED: MySQL, PostgreSQL readonly conections #900
### 5.5.1
- ADDED: Clickhouse support (#532)
- ADDED: MySQL - specify table engine, show table engine in table list
- FIXED: Hidden primary key name in PK editor for DB engines with anonymous PK (MySQL)
@@ -528,6 +601,7 @@ Builds:
- ADDED: (Premium) MS Entra authentization for Azure SQL databases
### 5.4.4
- CHANGED: Improved autoupdate, notification is now in app
- CHANGED: Default behaviour of autoupdate, new version is downloaded after click of "Download" button
- ADDED: Ability to configure autoupdate (check only, check+download, don't check)
@@ -536,14 +610,17 @@ Builds:
- FIXED: Fixes following issues: #886, #865, #782, #375
### 5.4.2
- FIXED: DbGate now works correctly with Oracle 10g
- FIXED: Fixed update channel for premium edition
### 5.4.1
- FIXED: Broken older plugins #881
- ADDED: Premium edition - "Start trial" button
### 5.4.0
- ADDED: Support for CosmosDB (Premium only)
- ADDED: Administration UI (Premium only)
- ADDED: New application icon
@@ -560,10 +637,12 @@ Builds:
- FIXED: Script with escaped backslash causes erro #880
### 5.3.4
- FIXED: On blank system does not start (window does not appear) #862
- FIXED: Missing Execute, Export bar #861
### 5.3.3
- FIXED: The application Window is not visible when openning after changing monitor configuration. #856
- FIXED: Multi column filter is broken for Postgresql #855
- ADDED: Do not display internal timescaledb objects in postgres databases #839
@@ -571,12 +650,14 @@ Builds:
- FIXED: Cannot filter by uuid field in psql #538
### 5.3.1
- FIXED: Column sorting on query tab not working #819
- FIXED: Postgres Connection stays in "Loading database structure" until reloading the page #826
- FIXED: Cannot read properties of undefined (reading 'length') on Tables #824
- FIXED: Redshift doesn't show tables when connected #816
### 5.3.0
- CHANGED: New Oracle driver, much better Oracle support. Works now also in docker distribution
- FIXED: Connection to oracle with service name #809
- ADDED: Connect to redis using a custom username #807
@@ -585,18 +666,20 @@ Builds:
- ADDED: Switch connection for opened file #814
### 5.2.9
- FIXED: PostgresSQL doesn't show tables when connected #793 #805
- FIXED: MongoDB write operations fail #798 #802
- FIXED: Elecrron app logging losed most of log messages
- FIXED: Connection error with SSH tunnel
- FIXED: Connection error with SSH tunnel
- ADDED: option to disable autoupgrades (with --disable-auto-upgrade)
- ADDED: Send error context to github gist
### 5.2.8
- FIXED: file menu save and save as not working
- FIXED: query editor on import/export screen overlaps with selector
- FIXED: Fixed inconsistencies in max/unmaximize window buttons
- FIXED: shortcut for select all
- FIXED: shortcut for select all
- FIXED: download with auth header
- CHANGED: Upgraded database drivers for mysql, postgres, sqlite, mssql, mongo, redis
- CHANGED: Upgraded electron version (now using v30)
@@ -613,8 +696,8 @@ Builds:
- ADDED: Button for discard/reset changes (#759)
- FIXED: Don't show error dialog when subprocess fails, as DbGate handles this correctly (#751, #746, #542, #272)
### 5.2.7
- FIXED: fix body overflow when context menu height great than viewport #592
- FIXED: Pass signals in entrypoint.sh #596
- FIXED: Remove missing links to jenasoft #625
@@ -625,6 +708,7 @@ Builds:
- CHANGED: Improved stability of electron client on Windows and Mac (fewer EPIPE errors)
### 5.2.6
- FIXED: DbGate creates a lot of .tmp.node files in the temp directory #561
- FIXED: Typo in datetimeoffset dataType #556
- FIXED: SQL export is using the wrong hour formatting #537
@@ -632,6 +716,7 @@ Builds:
- FIXED: MongoDB password could contain special characters #560
### 5.2.5
- ADDED: Split Windows #394
- FIXED: Postgres index asc/desc #514
- FIXED: Excel export not working since 5.2.3 #511
@@ -640,9 +725,11 @@ Builds:
- FIXED: Solved some minor problems with widget collapsing
### 5.2.4
- FIXED: npm version crash (#508)
### 5.2.3
- ADDED: Search entire table (multi column filter) #491
- ADDED: OracleDB - connection to toher than default ports #496
- CHANGED: OracleDB - status of support set to experimental
@@ -674,8 +761,8 @@ Builds:
- FIXED: Fixed some scenarios using tables from different DBs
- FIXED: Sessions with long-running queries are not killed
### 5.2.2
- FIXED: Optimalized load DB structure for PostgreSQL #451
- ADDED: Auto-closing query connections after configurable (15 minutes default) no-activity interval #468
- ADDED: Set application-name connection parameter (for PostgreSQL and MS SQL) for easier identifying of DbGate connections
@@ -686,8 +773,8 @@ Builds:
- FIXED: crash on Windows and Mac after system goes in suspend mode #458
- ADDED: dbmodel standalone NPM package (https://www.npmjs.com/package/dbmodel) - deploy database via commandline tool
### 5.2.1
- FIXED: client_id param in OAuth
- ADDED: OAuth scope parameter
- FIXED: login page - password was not sent, when submitting by pressing ENTER
@@ -695,6 +782,7 @@ Builds:
- FIXED: Export modal - fixed crash when selecting different database
### 5.2.0
- ADDED: Oracle database support #380
- ADDED: OAuth authentification #407
- ADDED: Active directory (Windows) authentification #261
@@ -716,7 +804,7 @@ Builds:
- ADDED: Perspective designer supports joins from MongoDB nested documents and arrays
- FIXED: Perspective designer joins on MongoDB ObjectId fields
- ADDED: Filtering columns in designer (query designer, diagram designer, perspective designer)
- FIXED: Clone MongoDB rows without _id attribute #404
- FIXED: Clone MongoDB rows without \_id attribute #404
- CHANGED: Improved cell view with GPS latitude, longitude fields
- ADDED: SQL: ALTER VIEW and SQL:ALTER PROCEDURE scripts
- ADDED: Ctrl+F5 refreshes data grid also with database structure #428
@@ -725,8 +813,8 @@ Builds:
- ADDED: Rename, remove connection folder, memoize opened state after app restart #425
- FIXED: Show SQLServer alter store procedure #435
### 5.1.6
- ADDED: Connection folders support #274
- ADDED: Keyboard shortcut to hide result window and show/hide the side toolbar #406
- ADDED: Ability to show/hide query results #406
@@ -738,6 +826,7 @@ Builds:
- CHANGED: More strict timeouts to kill database and server connections (reduces resource consumption)
### 5.1.5
- ADDED: Support perspectives for MongoDB - MongoDB query designer
- ADDED: Show JSON content directly in the overview #395
- CHANGED: OSX Command H shortcut for hiding window #390
@@ -748,6 +837,7 @@ Builds:
- ADDED: connect via socket - configurable via environment variables #358
### 5.1.4
- ADDED: Drop database commands #384
- ADDED: Customizable Redis key separator #379
- ADDED: ARM support for docker images
@@ -756,6 +846,7 @@ Builds:
- ADDED: Unsaved marker for SQL files
### 5.1.3
- ADDED: Editing multiline cell values #378 #371 #359
- ADDED: Truncate table #333
- ADDED: Perspectives - show row count
@@ -764,6 +855,7 @@ Builds:
- FIXED: Correct error line numbers returned from queries
### 5.1.2
- FIXED: MongoDb any export function does not work. #373
- ADDED: Query Designer short order more flexibility #372
- ADDED: Form View move between records #370
@@ -777,6 +869,7 @@ Builds:
- ADDED: Perspectives - cells without joined data are gray
### 5.1.1
- ADDED: Perspective designer
- FIXED: NULL,NOT NULL filter datatime columns #356
- FIXED: Recognize computed columns on SQL server #354
@@ -786,32 +879,35 @@ Builds:
- ADDED: Custom editor font size #345
- ADDED: Ability to open perspective files
### 5.1.0
- ADDED: Perspectives (docs: https://dbgate.org/docs/perspectives.html )
- CHANGED: Upgraded SQLite engine version (driver better-sqlite3: 7.6.2)
- CHANGED: Upgraded ElectronJS version (from version 13 to version 17)
- CHANGED: Upgraded all dependencies with current available minor version updates
- CHANGED: By default, connect on click #332˝
- CHANGED: Improved keyboard navigation, when editing table data #331
- ADDED: Option to skip Save changes dialog #329
- ADDED: Option to skip Save changes dialog #329
- FIXED: Unsigned column doesn't work correctly. #324
- FIXED: Connect to MS SQL with domain user now works also under Linux and Mac #305
### 5.0.9
- FIXED: Fixed problem with SSE events on web version
- ADDED: Added menu command "New query designer"
- ADDED: Added menu command "New ER diagram"
### 5.0.8
- ADDED: SQL Server - support using domain logins under Linux and Mac #305
- ADDED: Permissions for connections #318
- ADDED: Ability to change editor front #308
- ADDED: Custom expression in query designer #306
- ADDED: OR conditions in query designer #321
- ADDED: Ability to configure settings view environment variables #304
### 5.0.7
- FIXED: Fixed some problems with SSH tunnel (upgraded SSH client) #315
- FIXED: Fixed MognoDB executing find query #312
- ADDED: Interval filters for date/time columns #311
@@ -819,8 +915,9 @@ Builds:
- ADDED: connecting option Trust server certificate for SQL Server #305
- ADDED: Autorefresh, reload table every x second #303
- FIXED(app): Changing editor theme and font size in Editor Themes #300
### 5.0.6
- ADDED: Search in columns
- CHANGED: Upgraded mongodb driver
- ADDED: Ability to reset view, when data load fails
@@ -828,6 +925,7 @@ Builds:
- FIXED: Fixed some NPM package problems
### 5.0.5
- ADDED: Visualisation geographics objects on map #288
- ADDED: Support for native SQL as default value inside yaml files #296
- FIXED: Postgres boolean columns don't filter correctly #298
@@ -835,10 +933,11 @@ Builds:
- FIXED: Handle error when reading deleted archive
### 5.0.3
- CHANGED: Optimalization of loading DB structure for PostgreSQL, MySQL #273
- CHANGED: Upgraded mysql driver #293
- CHANGED: Better UX when defining SSH port #291
- ADDED: Database object menu from tab
- ADDED: Database object menu from tab
- CHANGED: Ability to close file uploader
- FIXED: Correct handling of NUL values in update keys
- CHANGED: Upgraded MS SQL tedious driver
@@ -848,13 +947,17 @@ Builds:
- ADDED: Configurable object actions #255
- ADDED: Multiple sort criteria #235
- ADDED(app): Open JSON file
### 5.0.2
- FIXED: Cannot use SSH Tunnel after update #291
### 5.0.1
- FIXED(app): Can't Click Sidebar Menu Item #287
### 5.0.0
- CHANGED: Connection workflow, connections are opened on tabs instead of modals
- ADDED: Posibility to connect to DB without saving connection
- ADDED(mac): Support for SQLite on Mac M1
@@ -867,6 +970,7 @@ Builds:
- FIXED: Removed SSL tab on Redis connection (SSL is not supported for Redis)
### 4.8.8
- CHANGED: New app icon
- ADDED: SQL dump, SQL import - also from/to saved queries
- FIXED(mac): Fixed crash when reopening main window
@@ -875,6 +979,7 @@ Builds:
- ADDED(app): Browse tabs in reverse order with Ctrl+Shift+Tab #245
### 4.8.7
- ADDED: MySQL dump/backup database
- ADDED: Import SQL dump from file or from URL
- FIXED(mac): Fixed Cmd+C, Cmd+V, Cmd+X - shortcuts for copy/cut/paste #270
@@ -883,6 +988,7 @@ Builds:
- ADDED: Support for dockerhost network name under docker #271
### 4.8.4
- FIXED(mac): Fixed build for macOS arm64 #259
- FIXED(mac): Fixed opening SQLite files on macOS #243
- FIXED(mac): Fixed opening PEM certificates on macOS #206
@@ -894,6 +1000,7 @@ Builds:
- ADDED: Added menu command "Tools/Change to recent database"
### 4.8.3
- FIXED: filters in query result and NDJSON/archive viewer
- ADDED: Added select values from query result and NDJSON/archive viewer
- ADDED: tab navigation in datagrid #254
@@ -903,19 +1010,24 @@ Builds:
- ADDED: Data type + reference link in column manager
- FIXED(win,linux,mac): Unable to change theme after installing plugin #244
### 4.8.2
- ADDED: implemented missing redis search key logic
### 4.8.2
### 4.8.1
- FIXED: fixed crash after disconnecting from all DBs
- ADDED: implemented missing redis search key logic
### 4.8.1
- FIXED: fixed crash after disconnecting from all DBs
### 4.8.0
- ADDED: Redis support (support stream type), removed experimental status
- ADDED: Redis readonly support
- ADDED: Explicit NDJSON support, when opening NDJSON/JSON lines file, table data are immediately shown, without neccesarity to import
- ADDED(win,linux,mac): Opening developer tools when crashing without reload app
### 4.7.4
- ADDED: Experimental Redis support (full support is planned to version 4.8.0)
- ADDED: Experimental Redis support (full support is planned to version 4.8.0)
- ADDED: Read-only connections
- FIXED: MongoDB filters
- ADDED: MongoDB column value selection
@@ -923,13 +1035,14 @@ Builds:
- ADDED: Fuzzy search #246
- ADDED(docker, npm): New permissions
- FIXED(npm): NPM build no longer allocates additonal ports
- CHANGED(npm): renamed NPM package dbgate => dbgate-serve
- CHANGED(npm): renamed NPM package dbgate => dbgate-serve
- CHANGED(docker): custom JavaScripts and connections defined in scripts are now prohibited by default, use SHELL_CONNECTION and SHELL_SCRIPTING environment variables for allowing this
- ADDED(docker, npm): Better documentation of environment variables configuration, https://dbgate.org/docs/env-variables.html
- ADDED(docker): support for multiple users with different permissions
- ADDED(docker): logout operation
### 4.7.3
- CHANGED: Export menu redesign, quick export menu merged with old export menu
- REMOVED: Quick export menu
- ADDED: Export column mapping
@@ -944,6 +1057,7 @@ Builds:
- ADDED: NPM dist accepts .env configuration
### 4.7.2
- CHANGED: documentation URL - https://dbgate.org/docs/
- CHANGED: Close button available for all tab groups - #238
- ADDED: Search function for the Keyboard Shortcuts overview - #239
@@ -952,7 +1066,8 @@ Builds:
- FIXED: bug in cache subsystem
### 4.7.1
- FIXED: Fixed connecting to MS SQL server running in docker container from DbGate running in docker container #236
- FIXED: Fixed connecting to MS SQL server running in docker container from DbGate running in docker container #236
- FIXED: Fixed export MongoDB collections into Excel and CSV #240
- ADDED: Added support for docker volumes to persiste connections, when not using configuration via env variables #232
- ADDED: DbGate in Docker can run in subdirectory #228
@@ -962,7 +1077,9 @@ Builds:
- ADDED: Improved fullscreen state, title bar with menu is hidden, menu is in hamburger menu, like in web version
- ADDED: Theme choose dialog (added as tab in settings)
- FIXED: Fixed crash when clicking on application layers #231
### 4.7.0
- CHANGED: Changed main menu style, menu and title bar is in one line (+ability to switch to system menu)
- REMOVED: Removed main toolbar, use main menu or tab related bottom tool instead
- ADDED: Added tab related context bottom toolbar
@@ -981,11 +1098,13 @@ Builds:
- ADDED: Better work with JSON lines file, added JSONL editor with preview
### 4.6.3
- FIXED: Fixed Windows build
- FIXED: Fixed crash, when there is invalid value in browser local storage
- FIXED: Fixed plugin description display, where author name or description is not correctly filled
### 4.6.2
- FIXED: Fixed issues of XML import plugin
- ADDED: Split columns macro (available in data sheet editor)
- CHANGED: Accepting non standard plugins names (which doesn't start with dbgate-plugin-)
@@ -997,6 +1116,7 @@ Builds:
- FIXED: Fixed configuring connection to SQLite with environment variables #215
### 4.6.1
- ADDED: Ability to configure SSH tunnel over environment variables #210 (for docker container)
- ADDED: XML export and import
- ADDED: Archive file - show and edit source text file
@@ -1012,20 +1132,23 @@ Builds:
- CHANGED: UX improvements of table editor
### 4.6.0
- ADDED: ER diagrams #118
- Generate diagram from table or for database
- Automatic layout
- Diagram styles - colors, select columns to display, optional displaying data type or nullability
- Export diagram to HTML file
- Generate diagram from table or for database
- Automatic layout
- Diagram styles - colors, select columns to display, optional displaying data type or nullability
- Export diagram to HTML file
- FIXED: Mac latest build link #204
### 4.5.1
- FIXED: MongoId detection
- FIXED: #203 disabled spellchecker
- FIXED: Prevented display filters in form view twice
- FIXED: Query designer fixes
### 4.5.0
- ADDED: #220 functions, materialized views and stored procedures in code completion
- ADDED: Query result in statusbar
- ADDED: Highlight and execute current query
@@ -1043,6 +1166,7 @@ Builds:
- FIXED: Fixed delete dependency cycle detection (delete didn't work for some tables)
### 4.4.4
- FIXED: Database colors
- CHANGED: Precise work with MongoDB ObjectId
- FIXED: Run macro works on MongoDB collection data editor
@@ -1057,6 +1181,7 @@ Builds:
- ADDED: Show change log after app upgrade
### 4.4.3
- ADDED: Connection and database colors
- ADDED: Ability to pin connection or table
- ADDED: MongoDb: create, drop collection from menu
@@ -1074,6 +1199,7 @@ Builds:
- CHANGED: Save widget visibility and size
### 4.4.2
- ADDED: Open SQL script from SQL confirm
- CHANGED: Better looking statusbar
- ADDED: Create table from database popup menu
@@ -1083,6 +1209,7 @@ Builds:
- ADDED: Support for Command key on Mac (#199)
### 4.4.1
- FIXED: #188 Fixed problem with datetime values in PostgreSQL and mysql
- ADDED: #194 Close tabs by DB
- FIXED: Improved form view width calculations
@@ -1096,6 +1223,7 @@ Builds:
- ADDED: Row count information moved into status bar, when only one grid on tab is used (typical case)
### 4.4.0
- ADDED: Database structure compare, export report to HTML
- ADDED: Experimental: Deploy DB structure changes between databases
- ADDED: Lookup dialog, available in table view on columns with foreign key
@@ -1112,21 +1240,25 @@ Builds:
- FIXED: Fixed import into SQLite and PostgreSQL databases, added integration test for this
### 4.3.4
- FIXED: Delete row with binary ID in MySQL (#182)
- ADDED: Using 'ODBC Driver 17 for SQL Server' or 'SQL Server Native Client 11.0', when connecting to MS SQL using windows auth #183
### 4.3.3
- ADDED: Generate SQL from data (#176 - Copy row as INSERT/UPDATE statement)
- ADDED: Datagrid keyboard column operations (Ctrl+F - find column, Ctrl+H - hide column) #180
- FIXED: Make window remember that it was maximized
- FIXED: Fixed lost focus after copy to clipboard and after inserting SQL join
### 4.3.2
- FIXED: Sorted database list in PostgreSQL (#178)
- FIXED: Loading stricture of PostgreSQL database, when it contains indexes on expressions (#175)
- ADDED: Hotkey Shift+Alt+F for formatting SQL code
### 4.3.1
- FIXED: #173 Using key phrase for SSH key file connection
- ADDED: #172 Abiloity to quick search within database names
- ADDED: Database search added to command palette (Ctrl+P)
@@ -1134,24 +1266,28 @@ Builds:
- ADDED: DELETE cascade option - ability to delete all referenced rows, when deleting rows
### 4.3.0
- ADDED: Table structure editor
- ADDED: Index support
- ADDED: Unique constraint support
- ADDED: Context menu for drop/rename table/columns and for drop view/procedure/function
- ADDED: Added support for Windows arm64 platform
- FIXED: Search by _id in MongoDB
- FIXED: Search by \_id in MongoDB
### 4.2.6
- FIXED: Fixed MongoDB import
- ADDED: Configurable thousands separator #136
- ADDED: Using case insensitive text search in postgres
### 4.2.5
- FIXED: Fixed crash when using large model on some installations
- FIXED: Postgre SQL CREATE function
- FIXED: Postgre SQL CREATE function
- FIXED: Analysing of MySQL when modifyDate is not known
### 4.2.4
- ADDED: Query history
- ADDED: One-click exports in desktop app
- ADDED: JSON array export
@@ -1163,23 +1299,27 @@ Builds:
- CHANGED: Introduced package dbgate-query-splitter, instead of sql-query-identifier and @verycrazydog/mysql-parse
### 4.2.3
- ADDED: ARM builds for MacOS and Linux
- ADDED: Filter by columns in form view
### 4.2.2
- CHANGED: Further startup optimalization (approx. 2 times quicker start of electron app)
### 4.2.1
- FIXED: Fixed+optimalized app startup (esp. on Windows)
### 4.2.0
- ADDED: Support of SQLite database
- ADDED: Support of Amazon Redshift database
- ADDED: Support of CockcroachDB
- CHANGED: DB Model is not auto-refreshed by default, refresh could be invoked from statusbar
- FIXED: Fixed race conditions on startup
- FIXED: Fixed broken style in data grid under strange circumstances
- ADDED: Configure connections with commandline arguments #108
- ADDED: Configure connections with commandline arguments #108
- CHANGED: Optimalized algorithm of incremental DB model updates
- CHANGED: Loading queries from PostgreSQL doesn't need cursors, using streamed query instead
- ADDED: Disconnect command
@@ -1188,9 +1328,11 @@ Builds:
- ADDED: Cosmetic improvements of MariaDB support
### 4.1.11
- FIX: Fixed crash of API process when using SSH tunnel connection (race condition)
### 4.1.11
- FIX: fixed processing postgre query containing $$
- FIX: fixed postgre analysing procedures & functions
- FIX: patched svelte crash #105
@@ -1203,6 +1345,7 @@ Builds:
- CHANGED: Toolbar design - current tab related commands are delimited
### 4.1.10
- ADDED: Default database option in connectin settings #96 #92
- FIX: Bundle size optimalization for Windows #97
- FIX: Popup menu placement on smaller displays #94
@@ -1213,22 +1356,32 @@ Builds:
- ADDED: Show database server version in status bar
- ADDED: Show detailed info about error, when connect to database fails
- ADDED: Portable ZIP distribution for Windows #84
### 4.1.9
- FIX: Incorrect row count info in query result #83
### 4.1.1
- CHANGED: Default plugins are now part of installation
### 4.1.0
- ADDED: MongoDB support
- ADDED: Configurable keyboard shortcuts
- ADDED: JSON row cell data view
- FIX: Fixed some problems from migration to Svelte
### 4.0.3
- FIX: fixes for FireFox (mainly incorrent handle of bind:clientHeight, replaces with resizeobserver)
### 4.0.2
- FIX: fixed docker and NPM build
### 4.0.0
- CHANGED: Excahnged React with Svelte. Changed theme colors. Huge speed and memory optimalization
- ADDED: SQL Generator (CREATE, INSERT, DROP)
- ADDED: Command palette (F1). Introduced commands, extended some context menus
@@ -1240,6 +1393,7 @@ Builds:
- FIX: Solved reconnecting expired connection
### 3.9.6
- ADDED: Connect using SSH Tunnel
- ADDED: Connect using SSL
- ADDED: Database connection dialog redesigned
@@ -1249,4 +1403,5 @@ Builds:
- FIX: #62 - import, export executed from SNAP installs didn't work
### 3.9.5
- Start point of changelog
+1 -1
View File
@@ -1,6 +1,6 @@
{
"private": true,
"version": "7.1.3",
"version": "7.1.6",
"name": "dbgate-all",
"workspaces": [
"packages/*",
+82 -1
View File
@@ -12,6 +12,13 @@ import isPlainObject from 'lodash/isPlainObject';
import md5 from 'blueimp-md5';
export const MAX_GRID_TEXT_LENGTH = 1000; // maximum length of text in grid cell, longer text is truncated
export const MAX_GRID_BINARY_SIZE = 10000; // maximum binary size (base64 chars or byte count) before showing 'too large' in grid cell
function formatByteSize(bytes: number): string {
if (bytes >= 1024 * 1024) return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
if (bytes >= 1024) return `${(bytes / 1024).toFixed(1)} KB`;
return `${bytes} B`;
}
export type EditorDataType =
| 'null'
@@ -49,6 +56,26 @@ export function base64ToHex(base64String) {
return '0x' + hexString.toUpperCase();
}
export function base64ToUuid(base64String): string | null {
let binaryString: string;
try {
binaryString = atob(base64String);
} catch {
return null;
}
if (binaryString.length !== 16) {
return null;
}
const hex = Array.from(binaryString, c => c.charCodeAt(0).toString(16).padStart(2, '0')).join('');
return [
hex.slice(0, 8),
hex.slice(8, 12),
hex.slice(12, 16),
hex.slice(16, 20),
hex.slice(20, 32),
].join('-');
}
export function hexToBase64(hexString) {
const binaryString = hexString
.match(/.{1,2}/g)
@@ -57,6 +84,23 @@ export function hexToBase64(hexString) {
return btoa(binaryString);
}
const uuidPattern = '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}';
const uuidRegex = new RegExp(`^${uuidPattern}$`);
const uuid3WrapperRegex = new RegExp(`^UUID3\\("(${uuidPattern})"\\)$`);
const uuid4WrapperRegex = new RegExp(`^UUID\\("(${uuidPattern})"\\)$`);
export function uuidToBase64(uuid: string): string | null {
if (!uuid || !uuidRegex.test(uuid)) {
return null;
}
const hex = uuid.replace(/-/g, '');
const binaryString = hex
.match(/.{1,2}/g)
.map(byte => String.fromCharCode(parseInt(byte, 16)))
.join('');
return btoa(binaryString);
}
export function parseCellValue(value, editorTypes?: DataEditorTypesBehaviour) {
if (!_isString(value)) return value;
@@ -65,6 +109,20 @@ export function parseCellValue(value, editorTypes?: DataEditorTypesBehaviour) {
}
if (editorTypes?.parseHexAsBuffer) {
const mUuid3 = value.match(uuid3WrapperRegex);
if (mUuid3) {
const base64Uuid3 = uuidToBase64(mUuid3[1]);
if (base64Uuid3 != null) return { $binary: { base64: base64Uuid3, subType: '03' } };
}
const mUuid4 = value.match(uuid4WrapperRegex);
if (mUuid4) {
const base64Uuid4 = uuidToBase64(mUuid4[1]);
if (base64Uuid4 != null) return { $binary: { base64: base64Uuid4, subType: '04' } };
}
if (uuidRegex.test(value)) {
const base64UuidPlain = uuidToBase64(value);
if (base64UuidPlain != null) return { $binary: { base64: base64UuidPlain, subType: '04' } };
}
const mHex = value.match(/^0x([0-9a-fA-F][0-9a-fA-F])+$/);
if (mHex) {
return {
@@ -266,6 +324,21 @@ export function stringifyCellValue(
if (value === false) return { value: 'false', gridStyle: 'valueCellStyle' };
if (value?.$binary?.base64) {
const subType = value.$binary.subType;
if (subType === '03' || subType === '04') {
const uuidStr = base64ToUuid(value.$binary.base64);
if (uuidStr != null) {
if (intent === 'gridCellIntent' || intent === 'exportIntent' || intent === 'clipboardIntent' || intent === 'stringConversionIntent') {
return { value: uuidStr, gridStyle: 'valueCellStyle' };
}
// For editing intents: tag with subType so parseCellValue can round-trip it
const tag = subType === '03' ? 'UUID3' : 'UUID';
return { value: `${tag}("${uuidStr}")`, gridStyle: 'valueCellStyle' };
}
}
if (intent === 'gridCellIntent' && value.$binary.base64.length > MAX_GRID_BINARY_SIZE) {
return { value: `(Field too large, ${formatByteSize(Math.round(value.$binary.base64.length * 3 / 4))})`, gridStyle: 'nullCellStyle' };
}
return {
value: base64ToHex(value.$binary.base64),
gridStyle: 'valueCellStyle',
@@ -354,6 +427,14 @@ export function stringifyCellValue(
}
}
if (value?.type === 'Buffer' && _isArray(value.data)) {
if (intent === 'gridCellIntent') {
return value.data.length > MAX_GRID_BINARY_SIZE
? { value: `(Field too large, ${formatByteSize(value.data.length)})`, gridStyle: 'nullCellStyle' }
: { value: '0x' + arrayToHexString(value.data), gridStyle: 'valueCellStyle' };
}
}
if (_isArray(value)) {
switch (intent) {
case 'gridCellIntent':
@@ -482,7 +563,7 @@ export function shouldOpenMultilineDialog(value) {
}
export function isJsonLikeLongString(value) {
return _isString(value) && value.length > 100 && value.match(/^\s*\{.*\}\s*$|^\s*\[.*\]\s*$/m);
return _isString(value) && value.length > 100 && value.length <= MAX_GRID_BINARY_SIZE && value.match(/^\s*\{.*\}\s*$|^\s*\[.*\]\s*$/m);
}
export function getIconForRedisType(type) {
+1
View File
@@ -70,6 +70,7 @@
"date-fns": "^4.1.0",
"debug": "^4.3.4",
"dom-to-image": "^2.6.0",
"dompurify": "^3.3.2",
"flatpickr": "^4.6.13",
"fuzzy": "^0.1.3",
"highlight.js": "^11.11.1",
+4 -1
View File
@@ -26,6 +26,8 @@
</script>
<script>
import DOMPurify from 'dompurify';
export let icon;
export let title = null;
export let padLeft = false;
@@ -34,6 +36,7 @@
export let colorClass = null;
$: iconValue = typeof icon === 'string' ? icon : icon?.light || icon?.dark || '';
$: isSvgString = iconValue.trim().startsWith('<svg');
$: sanitizedSvg = isSvgString ? DOMPurify.sanitize(iconValue, { USE_PROFILES: { svg: true, svgFilters: true } }) : '';
$: isTextIcon = iconValue.trim().startsWith('text ');
const iconNames = {
@@ -379,7 +382,7 @@
{#if isSvgString}
<span class="svg-inline" class:padLeft class:padRight {title} {style} on:click data-testid={$$props['data-testid']}>
{@html iconValue}
{@html sanitizedSvg}
</span>
{:else if isTextIcon}
{@const textIconParts = iconValue.trim().split(' ')}
+21 -2
View File
@@ -8,7 +8,7 @@ import {
unsubscribeCachePeek,
} from './cache';
import stableStringify from 'json-stable-stringify';
import { derived } from 'svelte/store';
import { derived, writable } from 'svelte/store';
import { extendDatabaseInfo } from 'dbgate-tools';
import { setLocalStorage } from '../utility/storageCache';
import { apiCall, apiOff, apiOn } from './api';
@@ -175,11 +175,13 @@ const filesLoader = ({ folder, parseFrontMatter = false }) => ({
url: 'files/list',
params: parseFrontMatter ? { folder, parseFrontMatter: true } : { folder },
reloadTrigger: { key: `files-changed`, folder },
errorValue: [],
});
const allFilesLoader = () => ({
url: 'files/list-all',
params: {},
reloadTrigger: { key: `all-files-changed` },
errorValue: [],
});
const authTypesLoader = ({ engine }) => ({
url: 'plugins/auth-types',
@@ -188,25 +190,34 @@ const authTypesLoader = ({ engine }) => ({
errorValue: null,
});
const publicCloudErrorStore = writable(false);
const cloudContentErrorStore = writable(false);
const publicCloudFilesLoader = () => ({
url: 'cloud/public-files',
params: {},
reloadTrigger: { key: `public-cloud-changed` },
errorValue: [],
onError: err => publicCloudErrorStore.set(!!err),
});
const cloudContentListLoader = () => ({
url: 'cloud/content-list',
params: {},
reloadTrigger: { key: `cloud-content-changed` },
errorValue: [],
onError: err => cloudContentErrorStore.set(!!err),
});
const teamFilesLoader = () => ({
url: 'team-files/list',
params: {},
reloadTrigger: { key: `team-files-changed` },
errorValue: [],
});
const teamFoldersLoader = () => ({
url: 'team-files/list-folders',
params: {},
reloadTrigger: { key: `team-folders-changed` },
errorValue: [],
});
const promoWidgetLoader = () => ({
url: 'cloud/premium-promo-widget',
@@ -220,15 +231,17 @@ const fileThemesLoader = () => ({
});
async function getCore(loader, args) {
const { url, params, reloadTrigger, transform, onLoaded, errorValue } = loader(args);
const { url, params, reloadTrigger, transform, onLoaded, onError, errorValue } = loader(args);
const key = stableStringify({ url, ...params });
async function doLoad() {
const resp = await apiCall(url, params);
if (resp?.errorMessage && errorValue !== undefined) {
if (onError) onError(resp.errorMessage);
if (onLoaded) onLoaded(errorValue);
return errorValue;
}
if (onError) onError(null);
const res = (transform || (x => x))(resp);
if (onLoaded) onLoaded(res);
return res;
@@ -551,6 +564,9 @@ export function getPublicCloudFiles(args) {
export function usePublicCloudFiles(args = {}) {
return useCore(publicCloudFilesLoader, args);
}
export function usePublicCloudError() {
return publicCloudErrorStore;
}
export function getCloudContentList(args) {
return getCore(cloudContentListLoader, args);
@@ -558,6 +574,9 @@ export function getCloudContentList(args) {
export function useCloudContentList(args = {}) {
return useCore(cloudContentListLoader, args);
}
export function useCloudContentError() {
return cloudContentErrorStore;
}
export function getTeamFiles(args) {
return getCore(teamFilesLoader, args);
@@ -4,7 +4,12 @@
import AppObjectList from '../appobj/AppObjectList.svelte';
import * as cloudContentAppObject from '../appobj/CloudContentAppObject.svelte';
import { useCloudContentList, usePublicCloudFiles, useServerStatus } from '../utility/metadataLoaders';
import {
useCloudContentList,
usePublicCloudFiles,
useServerStatus,
useCloudContentError,
} from '../utility/metadataLoaders';
import { _t } from '../translations';
import WidgetsInnerContainer from './WidgetsInnerContainer.svelte';
@@ -47,6 +52,7 @@
const cloudContentList = useCloudContentList();
const serverStatus = useServerStatus();
const cloudContentError = useCloudContentError();
const cloudContentColorFactory = useCloudContentColorFactory();
const connectionColorFactory = useConnectionColorFactory();
@@ -259,16 +265,19 @@
icon="icon plus-thick"
menu={createAddItemMenu}
title={_t('privateCloudWidget.addNewConnectionOrFile', { defaultMessage: 'Add new connection or file' })}
disabled={$cloudContentError}
/>
<DropDownButton
icon="icon add-folder"
menu={createAddFolderMenu}
title={_t('privateCloudWidget.addNewFolder', { defaultMessage: 'Add new folder' })}
disabled={$cloudContentError}
/>
<InlineButton
on:click={handleRefreshContent}
title={_t('privateCloudWidget.refreshFiles', { defaultMessage: 'Refresh files' })}
data-testid="CloudItemsWidget_buttonRefreshContent"
disabled={$cloudContentError}
>
<FontIcon icon="icon refresh" />
</InlineButton>
@@ -300,7 +309,14 @@
groupContextMenu={createGroupContextMenu}
/>
{#if !cloudContentFlat?.length}
{#if $cloudContentError}
<ErrorInfo
message={_t('privateCloudWidget.cloudUnavailable', {
defaultMessage: 'DbGate Cloud is temporarily unavailable',
})}
icon="img warn"
/>
{:else if !cloudContentFlat?.length}
<ErrorInfo
message={_t('privateCloudWidget.noContent', { defaultMessage: 'You have no content on DbGate cloud' })}
icon="img info"
@@ -4,7 +4,7 @@
import AppObjectList from '../appobj/AppObjectList.svelte';
import * as publicCloudFileAppObject from '../appobj/PublicCloudFileAppObject.svelte';
import { usePublicCloudFiles } from '../utility/metadataLoaders';
import { usePublicCloudFiles, usePublicCloudError } from '../utility/metadataLoaders';
import { _t } from '../translations';
import WidgetsInnerContainer from './WidgetsInnerContainer.svelte';
@@ -20,6 +20,7 @@
let filter = '';
const publicFiles = usePublicCloudFiles();
const publicCloudError = usePublicCloudError();
function handleRefreshPublic() {
refreshPublicCloudFiles(true);
@@ -42,6 +43,7 @@
on:click={handleRefreshPublic}
title={_t('publicCloudWidget.refreshFiles', { defaultMessage: 'Refresh files' })}
data-testid="CloudItemsWidget_buttonRefreshPublic"
disabled={$publicCloudError}
>
<FontIcon icon="icon refresh" />
</InlineButton>
@@ -54,7 +56,14 @@
{filter}
/>
{#if !$publicFiles?.length}
{#if $publicCloudError}
<ErrorInfo
message={_t('publicCloudWidget.cloudUnavailable', {
defaultMessage: 'DbGate Cloud is temporarily unavailable',
})}
icon="img warn"
/>
{:else if !$publicFiles?.length}
<ErrorInfo
message={_t('publicCloudWidget.noFilesFound', { defaultMessage: 'No files found for your configuration' })}
/>
@@ -6,7 +6,7 @@ const Analyser = require('./Analyser');
const isPromise = require('is-promise');
const mongodb = require('mongodb');
const { ObjectId } = require('mongodb');
const { EJSON } = require('bson');
const { EJSON, Binary } = require('bson');
const { serializeJsTypesForJsonStringify, deserializeJsTypesFromJsonParse, getLogger } = require('dbgate-tools');
const createBulkInsertStream = require('./createBulkInsertStream');
const {
@@ -53,8 +53,18 @@ function findArrayResult(resValue) {
return null;
}
function BinData(_subType, base64) {
return Buffer.from(base64, 'base64');
function BinData(subType, base64) {
let numericSubType;
if (typeof subType === 'string') {
const hex = subType.startsWith('0x') || subType.startsWith('0X') ? subType.slice(2) : subType;
numericSubType = parseInt(hex, 16);
} else {
numericSubType = subType;
}
if (!Number.isInteger(numericSubType) || numericSubType < 0 || numericSubType > 255) {
throw new TypeError(`BinData subType must be an integer between 0 and 255, got: ${subType}`);
}
return new Binary(Buffer.from(base64, 'base64'), numericSubType);
}
async function getScriptableDb(dbhan) {
+2
View File
@@ -1195,6 +1195,7 @@
"privateCloudWidget.addNewConnectionOrFile": "Přidat nové připojení nebo soubor",
"privateCloudWidget.addNewFolder": "Přidat novou složku",
"privateCloudWidget.administrateAccess": "Spravovat přístup",
"privateCloudWidget.cloudUnavailable": "DbGate Cloud je dočasně nedostupný",
"privateCloudWidget.createConnection": "Vytvořit připojení na DbGate Cloud",
"privateCloudWidget.createSharedFolder": "Vytvořit sdílenou složku",
"privateCloudWidget.deleteFolder": "Smazat složku",
@@ -1207,6 +1208,7 @@
"privateCloudWidget.renameFolder": "Přejmenovat složku",
"privateCloudWidget.searchPlaceholder": "Hledat cloudová připojení a soubory",
"privateCloudWidget.yourInviteLink": "Váš pozvánkový odkaz (ve tvaru dbgate://folder/xxx)",
"publicCloudWidget.cloudUnavailable": "DbGate Cloud je dočasně nedostupný",
"publicCloudWidget.noFilesFound": "Pro vaši konfiguraci nebyly nalezeny žádné soubory",
"publicCloudWidget.onlyRelevantFilesListed": "Jsou zobrazeny pouze soubory relevantní pro vaše připojení, platformu a edici DbGate. Nejprve prosím definujte připojení.",
"publicCloudWidget.publicKnowledgeBase": "Veřejná znalostní báze",
+2
View File
@@ -1195,6 +1195,7 @@
"privateCloudWidget.addNewConnectionOrFile": "Neue Verbindung oder Datei hinzufügen",
"privateCloudWidget.addNewFolder": "Neuen Ordner hinzufügen",
"privateCloudWidget.administrateAccess": "Zugriff verwalten",
"privateCloudWidget.cloudUnavailable": "DbGate Cloud ist vorübergehend nicht verfügbar",
"privateCloudWidget.createConnection": "Verbindung in DbGate Cloud erstellen",
"privateCloudWidget.createSharedFolder": "Freigegebenen Ordner erstellen",
"privateCloudWidget.deleteFolder": "Ordner löschen",
@@ -1207,6 +1208,7 @@
"privateCloudWidget.renameFolder": "Ordner umbenennen",
"privateCloudWidget.searchPlaceholder": "Cloud-Verbindungen und Dateien suchen",
"privateCloudWidget.yourInviteLink": "Ihr Einladungslink (im Format dbgate://folder/xxx)",
"publicCloudWidget.cloudUnavailable": "DbGate Cloud ist vorübergehend nicht verfügbar",
"publicCloudWidget.noFilesFound": "Keine Dateien für Ihre Konfiguration gefunden",
"publicCloudWidget.onlyRelevantFilesListed": "Es werden nur Dateien aufgelistet, die für Ihre Verbindungen, Plattform und DbGate-Edition relevant sind. Bitte definieren Sie zuerst Verbindungen.",
"publicCloudWidget.publicKnowledgeBase": "Öffentliche Wissensdatenbank",
+2
View File
@@ -1195,6 +1195,7 @@
"privateCloudWidget.addNewConnectionOrFile": "Add new connection or file",
"privateCloudWidget.addNewFolder": "Add new folder",
"privateCloudWidget.administrateAccess": "Administrate access",
"privateCloudWidget.cloudUnavailable": "DbGate Cloud is temporarily unavailable",
"privateCloudWidget.createConnection": "Create connection on DbGate Cloud",
"privateCloudWidget.createSharedFolder": "Create shared folder",
"privateCloudWidget.deleteFolder": "Delete folder",
@@ -1207,6 +1208,7 @@
"privateCloudWidget.renameFolder": "Rename folder",
"privateCloudWidget.searchPlaceholder": "Search cloud connections and files",
"privateCloudWidget.yourInviteLink": "Your invite link (in form dbgate://folder/xxx)",
"publicCloudWidget.cloudUnavailable": "DbGate Cloud is temporarily unavailable",
"publicCloudWidget.noFilesFound": "No files found for your configuration",
"publicCloudWidget.onlyRelevantFilesListed": "Only files relevant for your connections, platform and DbGate edition are listed. Please define connections at first.",
"publicCloudWidget.publicKnowledgeBase": "Public Knowledge Base",
+2
View File
@@ -1195,6 +1195,7 @@
"privateCloudWidget.addNewConnectionOrFile": "Agregar nueva conexión o archivo",
"privateCloudWidget.addNewFolder": "Agregar nueva carpeta",
"privateCloudWidget.administrateAccess": "Administrar acceso",
"privateCloudWidget.cloudUnavailable": "DbGate Cloud está temporalmente no disponible",
"privateCloudWidget.createConnection": "Crear conexión en DbGate Cloud",
"privateCloudWidget.createSharedFolder": "Crear carpeta compartida",
"privateCloudWidget.deleteFolder": "Eliminar carpeta",
@@ -1207,6 +1208,7 @@
"privateCloudWidget.renameFolder": "Renombrar carpeta",
"privateCloudWidget.searchPlaceholder": "Buscar conexiones y archivos en la nube",
"privateCloudWidget.yourInviteLink": "Su enlace de invitación (en forma dbgate://folder/xxx)",
"publicCloudWidget.cloudUnavailable": "DbGate Cloud está temporalmente no disponible",
"publicCloudWidget.noFilesFound": "No se encontraron archivos para su configuración",
"publicCloudWidget.onlyRelevantFilesListed": "Solo se listan archivos relevantes para sus conexiones, plataforma y edición de DbGate. Defina primero las conexiones.",
"publicCloudWidget.publicKnowledgeBase": "Base de conocimiento pública",
+2
View File
@@ -1195,6 +1195,7 @@
"privateCloudWidget.addNewConnectionOrFile": "Ajouter une nouvelle connexion ou un fichier",
"privateCloudWidget.addNewFolder": "Ajouter un nouveau dossier",
"privateCloudWidget.administrateAccess": "Gérer les accès",
"privateCloudWidget.cloudUnavailable": "DbGate Cloud est temporairement indisponible",
"privateCloudWidget.createConnection": "Créer une connexion sur DbGate Cloud",
"privateCloudWidget.createSharedFolder": "Créer un dossier partagé",
"privateCloudWidget.deleteFolder": "Supprimer le dossier",
@@ -1207,6 +1208,7 @@
"privateCloudWidget.renameFolder": "Renommer le dossier",
"privateCloudWidget.searchPlaceholder": "Rechercher des connexions et fichiers cloud",
"privateCloudWidget.yourInviteLink": "Votre lien d'invitation (sous la forme dbgate://folder/xxx)",
"publicCloudWidget.cloudUnavailable": "DbGate Cloud est temporairement indisponible",
"publicCloudWidget.noFilesFound": "Aucun fichier trouvé pour votre configuration",
"publicCloudWidget.onlyRelevantFilesListed": "Seuls les fichiers pertinents pour vos connexions, votre plateforme et votre édition de DbGate sont listés. Veuillez d'abord définir des connexions.",
"publicCloudWidget.publicKnowledgeBase": "Base de connaissances publique",
+2
View File
@@ -1195,6 +1195,7 @@
"privateCloudWidget.addNewConnectionOrFile": "Aggiungi nuova connessione o file",
"privateCloudWidget.addNewFolder": "Aggiungi nuova cartella",
"privateCloudWidget.administrateAccess": "Amministra accesso",
"privateCloudWidget.cloudUnavailable": "DbGate Cloud è temporaneamente non disponibile",
"privateCloudWidget.createConnection": "Crea connessione su DbGate Cloud",
"privateCloudWidget.createSharedFolder": "Crea cartella condivisa",
"privateCloudWidget.deleteFolder": "Elimina cartella",
@@ -1207,6 +1208,7 @@
"privateCloudWidget.renameFolder": "Rinomina cartella",
"privateCloudWidget.searchPlaceholder": "Cerca connessioni e file cloud",
"privateCloudWidget.yourInviteLink": "Il tuo link di invito (nel formato dbgate://folder/xxx)",
"publicCloudWidget.cloudUnavailable": "DbGate Cloud è temporaneamente non disponibile",
"publicCloudWidget.noFilesFound": "Nessun file trovato per la tua configurazione",
"publicCloudWidget.onlyRelevantFilesListed": "Sono elencati solo i file rilevanti per le tue connessioni, piattaforma ed edizione DbGate. Definisci prima le connessioni.",
"publicCloudWidget.publicKnowledgeBase": "Knowledge Base pubblica",
+2
View File
@@ -1195,6 +1195,7 @@
"privateCloudWidget.addNewConnectionOrFile": "新しい接続またはファイルを追加",
"privateCloudWidget.addNewFolder": "新しいフォルダーを追加",
"privateCloudWidget.administrateAccess": "アクセスを管理",
"privateCloudWidget.cloudUnavailable": "DbGateクラウドは一時的に利用できません",
"privateCloudWidget.createConnection": "DbGateクラウドに接続を作成",
"privateCloudWidget.createSharedFolder": "共有フォルダーを作成",
"privateCloudWidget.deleteFolder": "フォルダーを削除",
@@ -1207,6 +1208,7 @@
"privateCloudWidget.renameFolder": "フォルダー名を変更",
"privateCloudWidget.searchPlaceholder": "クラウド接続とファイルを検索",
"privateCloudWidget.yourInviteLink": "招待リンク(dbgate://folder/xxx の形式)",
"publicCloudWidget.cloudUnavailable": "DbGateクラウドは一時的に利用できません",
"publicCloudWidget.noFilesFound": "設定に該当するファイルが見つかりません",
"publicCloudWidget.onlyRelevantFilesListed": "接続、プラットフォーム、DbGateエディションに関連するファイルのみが一覧表示されます。まず接続を定義してください。",
"publicCloudWidget.publicKnowledgeBase": "公開ナレッジベース",
+2
View File
@@ -1195,6 +1195,7 @@
"privateCloudWidget.addNewConnectionOrFile": "새 연결 또는 파일 추가",
"privateCloudWidget.addNewFolder": "새 폴더 추가",
"privateCloudWidget.administrateAccess": "접근 권한 관리",
"privateCloudWidget.cloudUnavailable": "DbGate 클라우드는 일시적으로 사용할 수 없습니다",
"privateCloudWidget.createConnection": "DbGate 클라우드에 연결 생성",
"privateCloudWidget.createSharedFolder": "공유 폴더 생성",
"privateCloudWidget.deleteFolder": "폴더 삭제",
@@ -1207,6 +1208,7 @@
"privateCloudWidget.renameFolder": "폴더 이름 변경",
"privateCloudWidget.searchPlaceholder": "클라우드 연결 및 파일 검색",
"privateCloudWidget.yourInviteLink": "초대 링크(dbgate://folder/xxx 형식)",
"publicCloudWidget.cloudUnavailable": "DbGate 클라우드는 일시적으로 사용할 수 없습니다",
"publicCloudWidget.noFilesFound": "구성에 해당하는 파일을 찾을 수 없습니다",
"publicCloudWidget.onlyRelevantFilesListed": "연결, 플랫폼 및 DbGate 에디션과 관련된 파일만 표시됩니다. 먼저 연결을 정의하세요.",
"publicCloudWidget.publicKnowledgeBase": "공개 지식 베이스",
+2
View File
@@ -1195,6 +1195,7 @@
"privateCloudWidget.addNewConnectionOrFile": "Adicionar nova conexão ou arquivo",
"privateCloudWidget.addNewFolder": "Adicionar nova pasta",
"privateCloudWidget.administrateAccess": "Administrar acesso",
"privateCloudWidget.cloudUnavailable": "DbGate Cloud está temporariamente indisponível",
"privateCloudWidget.createConnection": "Criar conexão no DbGate Cloud",
"privateCloudWidget.createSharedFolder": "Criar pasta compartilhada",
"privateCloudWidget.deleteFolder": "Excluir pasta",
@@ -1207,6 +1208,7 @@
"privateCloudWidget.renameFolder": "Renomear pasta",
"privateCloudWidget.searchPlaceholder": "Pesquisar conexões e arquivos na nuvem",
"privateCloudWidget.yourInviteLink": "Seu link de convite (no formato dbgate://folder/xxx)",
"publicCloudWidget.cloudUnavailable": "DbGate Cloud está temporariamente indisponível",
"publicCloudWidget.noFilesFound": "Nenhum arquivo encontrado para sua configuração",
"publicCloudWidget.onlyRelevantFilesListed": "Apenas arquivos relevantes para suas conexões, plataforma e edição do DbGate são listados. Defina conexões primeiro.",
"publicCloudWidget.publicKnowledgeBase": "Base de Conhecimento Pública",
+2
View File
@@ -1195,6 +1195,7 @@
"privateCloudWidget.addNewConnectionOrFile": "Pridať nové pripojenie alebo súbor",
"privateCloudWidget.addNewFolder": "Pridať nový priečinok",
"privateCloudWidget.administrateAccess": "Spravovať prístup",
"privateCloudWidget.cloudUnavailable": "DbGate Cloud je dočasne nedostupný",
"privateCloudWidget.createConnection": "Vytvoriť pripojenie na DbGate Cloud",
"privateCloudWidget.createSharedFolder": "Vytvoriť zdieľaný priečinok",
"privateCloudWidget.deleteFolder": "Odstrániť priečinok",
@@ -1207,6 +1208,7 @@
"privateCloudWidget.renameFolder": "Premenovať priečinok",
"privateCloudWidget.searchPlaceholder": "Hľadať cloud pripojenia a súbory",
"privateCloudWidget.yourInviteLink": "Váš pozývací odkaz (vo forme dbgate://folder/xxx)",
"publicCloudWidget.cloudUnavailable": "DbGate Cloud je dočasne nedostupný",
"publicCloudWidget.noFilesFound": "Pre vašu konfiguráciu neboli nájdené žiadne súbory",
"publicCloudWidget.onlyRelevantFilesListed": "Sú zobrazené iba súbory relevantné pre vaše pripojenia, platformu a edíciu DbGate. Najprv definujte pripojenia.",
"publicCloudWidget.publicKnowledgeBase": "Verejná znalostná báza",
+2
View File
@@ -1195,6 +1195,7 @@
"privateCloudWidget.addNewConnectionOrFile": "添加新连接或文件",
"privateCloudWidget.addNewFolder": "添加新文件夹",
"privateCloudWidget.administrateAccess": "管理访问权限",
"privateCloudWidget.cloudUnavailable": "DbGate 云暂时不可用",
"privateCloudWidget.createConnection": "在 DbGate 云上创建连接",
"privateCloudWidget.createSharedFolder": "创建共享文件夹",
"privateCloudWidget.deleteFolder": "删除文件夹",
@@ -1207,6 +1208,7 @@
"privateCloudWidget.renameFolder": "重命名文件夹",
"privateCloudWidget.searchPlaceholder": "搜索云连接和文件",
"privateCloudWidget.yourInviteLink": "您的邀请链接(格式为 dbgate://folder/xxx",
"publicCloudWidget.cloudUnavailable": "DbGate 云暂时不可用",
"publicCloudWidget.noFilesFound": "未找到适合您配置的文件",
"publicCloudWidget.onlyRelevantFilesListed": "仅列出与您的连接、平台和 DbGate 版本相关的文件。请先定义连接。",
"publicCloudWidget.publicKnowledgeBase": "公共知识库",
+7 -3
View File
@@ -19,7 +19,6 @@ permissions:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
@@ -52,7 +51,7 @@ jobs:
- name: yarn install
run: |
yarn install
- name: setCurrentVersion
run: |
yarn setCurrentVersion
@@ -79,7 +78,12 @@ jobs:
working-directory: packages/sqltree
run: |
npm publish --tag "$NPM_TAG"
- name: Publish rest
working-directory: packages/rest
run: |
npm publish --tag "$NPM_TAG"
- name: Publish api
working-directory: packages/api
run: |