What's new with BroadSQL 5.1.3 (2026-09-05)
New features
- New
JScommand family:JS RUN <file> [args...]runs a saved.jsscript,JS EVAL <code>runs a one-line snippet typed directly on the command line. A script can callconnect(name)to open one or more independent database connections at once (something the interactive shell cannot do, sinceCONNECTalways closes whatever was open before), or usedbto reuse whichever connection is already active.<connection>.execute(sql)/.executeUpdate(sql)run queries,print/printlnwrite to the console.JS LIST/JS FINDcatalog.jsfiles (their ownJsScriptsfolder, newBroadSQL.inikey) the same waySCRIPT LIST/SCRIPT FINDdo, including the same-- @description/@instance/@environment/@tags/@alias/@statusmetadata header. No sandbox: a script runs at the same trust level as an extension JAR. See Light scripting with JS.
Problems solved
- Instance and Environment values were swapped: every connection's
Instancefield (shown bySHOW CONNECTION/SHOW ALL CONNECTIONSand theCONFIGscreen) actually held a deployment-stage value (DEV,QA,PROD...) and itsEnvironmentfield a product/application name, the opposite of what those two fields mean. A new one-time command,FIX INSTANCE ENVIRONMENT SWAP, corrects this for an existing Connections Definition File: it backs up the file first, then swaps the two fields for every connection soInstancefinally holds the product/application name andEnvironmentthe deployment stage. Run it once; running it a second time on an already-corrected file swaps the data back, so there is no automatic detection of whether it has already been applied. See FIX INSTANCE ENVIRONMENT SWAP. - The
CONFIGscreen's "Instances" tab (add/rename/deactivate) now actually manages theInstancelist used by the Connection form'sInstancefield: it was silently managing theEnvironmentlist instead. SHOW INSTANCESreplaced bySHOW ENVIRONMENTS: the old command fixed the current connection'sEnvironmentand listed every connection sharing it across everyInstance, the wrong direction onceInstance/Environmenthold their correct meaning (see above).SHOW ENVIRONMENTS [connectionId] [environmentName](aliasesSH ENV,SHENV,SHOW ENVTS) fixes the connection'sInstanceinstead and lists everyEnvironmentwithin it, e.g.SHOW ENVIRONMENTS DESKlists every connection belonging to theDESKinstance, one row per environment.SHOW INSTANCESis gone, not kept as an alias. See SHOW ENVIRONMENTS.
Installing BroadSQL 5.1.3
See Installation.
Upgrading from previous releases
No special steps required for this release.
Known issues
None known at release time.
BroadSQL