What's new with BroadSQL 5.2.4 (2026-09-13)
This release covers the changes since BroadSQL 5.1.0, including Database Groups and Environments, administration commands on every platform, JavaScript scripting, safer CSV imports, and query and export improvements.
New features
Connections and administration
- "Instance" is now "Database Group" throughout the UI and commands, including connection displays and the SQL Library, Script, and JS commands. A group identifies the product/application; an Environment identifies its deployment stage, such as DEV, QA, or PROD.
- Database Group is optional for standalone connections. Environment remains mandatory and is validated against the Environment list when saving. Connections assigned to a group cannot duplicate another connection's (Database Group, Environment) pair.
CONFIGprovides Database Groups and Environments tabs and menus; Environments can be created, edited, or deactivated and carry a Production flag and comment. Connections, Database Groups, and Environments share Active/Inactive/All filters, bulk actions, and search. The screen uses FlatLaf, its filter rows display fully, and Close is under the Exit menu.- Administration is available from the command line on every platform:
DUPLICATE CONNECTION,SHOW INACTIVE CONNECTIONS,ADD GROUP/EDIT GROUP/DEL GROUP,ADD ENVIRONMENT/EDIT ENVIRONMENT/DEL ENVIRONMENT,SHOW LOGIN SCRIPT, andADD LOGIN SCRIPT LINE/EDIT LOGIN SCRIPT LINE/DEL LOGIN SCRIPT LINE/MOVE LOGIN SCRIPT LINE. SHOW GROUP [connectionId] [environmentName]lists connections across environments within a Database Group.SHOW ENVIRONMENTS,SH ENV,SHENV, andSHOW ENVTSremain aliases.SHOW ALL GROUPSandSHOW ALL ENVIRONMENTSlist the corresponding catalogs with consistent table formatting.SHOW INSTANCESis removed.- A built in, nonproduction
LOCALEnvironment is created automatically. New connections registered byPULL ... AS H2are standalone underLOCAL, avoiding the group/environment collisions that could make repeated pulls fail. CONFIGandADD CONNECTIONmark database types with missing JDBC driver JARs while keeping them selectable.CONNECTidentifies a missing driver class and explains where to place it instead of showing a raw ClassNotFoundException.
JavaScript and script catalogs
JS RUN <file> [args...]runs a saved JavaScript file;JS EVAL <code>runs a snippet. Scripts can useconnect(name)for multiple independent connections ordbfor the active connection,execute(sql)/executeUpdate(sql)for database operations, andprint/printlnfor console output.JS LISTandJS FINDcatalog files in the folder configured by the newJsScriptsINI key, with description, instance, environment, tags, alias, and status metadata. JavaScript has no sandbox and runs at the same trust level as an extension JAR. See Light scripting with JS.SCRIPT LISTandLIB LISTshow only entries in the top folder by default; setListSubfolders=truein the INI file to include subfolders. The@instanceand@environmenttags accept comma separated values as well as repeated lines.
Working with queries and results
- SQL value lists accept
<@clipboard>,<@csv:...>, and<@excel:...>sources.<@last:column>reuses a column from the last result without exporting it first. COPY RESULTcopies the current result as tab separated text for pasting into Excel./ <environment>reruns the last query in another environment of the same Database Group.EXPANDreplacesSELECT *andalias.*with column names from database metadata.FORMATreformats the current SQL without changing its meaning.- SQL errors appear in a structured block with a caret at the error location when the driver supports it.
HELP <command>preserves the last query result.
Imports, exports, and help
LOADimports CSV using parameter bound INSERT statements and batched execution.PREVIEWvalidates without writing;EXECUTEauthorizes the write. Values are checked before anything is written, invalid or unrecognized column names are rejected, and a failed load rolls back every row rather than leaving a partial import. The same column validation and rollback fixes apply to theBATCHLOADcompatibility adapter.BATCHLOADis deprecated and omitted from current command documentation and CLI HELP; existing scripts can still call it. UseLOADfor imports. The new Import guide explains CSV column matching, type conversion, transactions, and migration from BATCHLOAD.- Excel exports enable AutoFilter, freeze the header row, and size columns to their contents. NULL binary values now produce blank cells correctly.
PULL ... AS XLSX/AS ODSaccepts trailingOPENto launch the exported file in its default application. H2 exports record the source query, target, timestamp, and row count inBROADSQL_PULL_AUDIT.- HELP and command documentation group commands into 14 categories. LOAD is under Data Import and EDIT under Running Queries. Extension Commands is reserved for extension supplied commands and is currently empty. HELP accepts category aliases such as
CONN,GROUPS,ENV,QUERY, andEXPORT. - The Export guide includes PULL alongside the other export commands. The former PULL guide URL redirects there.
Problems solved
- Apache Derby connections load their JDBC driver correctly.
CONFIGmanages the correct Database Group list rather than the Environment list. The$CDFconnection and its Database Group and Environment are protected from editing, deleting, or duplicating through CONFIG, preserving access to the Connections Definition File.
Installing BroadSQL 5.2.4
See Installation.
Upgrading from BroadSQL 5.1.0
- Existing Connections Definition Files acquire the required schema columns and a missing
LOCALEnvironment automatically when first opened. - Review Database Group and Environment assignments when upgrading a CDF whose former Instance and Environment values were reversed. The intended values are product/application for Database Group and deployment stage for Environment. The release documentation records that
FIX INSTANCE ENVIRONMENT SWAPwas subsequently disabled; do not rely on it as an upgrade step. Its original operation backed up the CDF and swapped every connection's fields without detecting a previous correction, so repeating it reversed the correction. Automatic schema migration does not establish that these assignments have been corrected. - Replace
SHOW INSTANCESin scripts withSHOW GROUP, accounting for the changed direction: environments within a group. TheSHOW ENVIRONMENTSaliases above remain available. - Use
LOADfor new CSV imports and review the Import guide when migrating BATCHLOAD scripts. SetListSubfolders=trueif library or script listings should continue including subfolders. - Only run trusted JavaScript files or snippets: they are not sandboxed.
Known issues
The existing release notes identify no additional known issues for this milestone. For a CDF with reversed group/environment assignments, the documentation does not establish a supported replacement for the disabled correction command; review those assignments before relying on environment selection.
BroadSQL