发布日期: 2026-09-14
版本号: v6.1.0

Adminer 新版本更新总结:界面与操作方面,支持用 Ctrl+Enter 发送表单、AJAX 保存时在页面显示提示、将对象不存在时报错而不是显示空表单、在面包屑导航中链接例程/序列/类型/事件对应的数据库分区,并避免提供同版本不同构建的缓存静态文件。查询与导出方面,支持处理形如 NOW() 的函数式列名、修正被多次联合的表的编辑链接、按类型显示各驱动的查询结果值、允许 Ctrl+click 修改结果值、导出时可选择导出结构或以其限定名称,以及支持一次导出多个 schema。MySQL 方面仅在导出视图或事件的定义者为当前账户时移除它、按实际连接账户显示登录用户。PostgreSQL 方面支持以 EWKT 显示和编辑 PostGIS 几何数据、在数据库页显示已安装扩展、不链接扩展创建的类型,并对不存在的 schema 报错。CockroachDB 方面导出时省略 WITH (oids = false)、将 crdb_internal 和 pg_extension 视为只读系统 schema、添加文档链接。MS SQL 方面新增存储过程和函数的显示、创建、修改、删除和调用,修复 varchar(max) 列长度、带 ‘N’ 前缀的默认值、PDO 中 Unicode 字符串的 ‘N’ 前缀、事务处理(如导入失败或多行修改)以及 SQL 命令中跨命令保持事务。Oracle 方面驱动转为正式版,改用 schema 作为数据库而非表空间,支持创建和删除数据库、显示和管理触发器、以文本显示几何数据、接受 ISO 格式日期,并修复多列外键、带默认值的列创建及默认值引号显示问题。插件方面,驱动插件的结果字段类型改用原生类型名、新增事务 API 方法,并新增 manifest、登录令牌验证、EXPLAIN 定制等方法。内部改进包括新增 Oracle 测试、支持并行运行各驱动的端到端测试、在发布包中分发测试用例、在翻译说明中显示翻译审核状态,以及在开发版中注销服务工作线程。

更新内容 (中文)

  • 通过 Ctrl+Enter 使用默认按钮发送表单
  • AJAX 保存时在屏幕上显示消息
  • 将 Adminer 安装为 Web 应用
  • 报告不存在的对象,而不是打印空表单
  • 在例程、序列、类型或事件的面包屑中链接数据库到其所属部分
  • 不要提供同一版本不同构建的缓存静态文件
  • 选择:处理名称形如函数的列,例如 NOW()
  • 选择:如果对分组列应用了函数,则不要链接 COUNT(*)
  • SQL 命令:通过 Ctrl+点击修改结果中的值(bug #1333)
  • SQL 命令:修复同一表被多次联接时的编辑链接
  • SQL 命令:在所有驱动中按值的类型显示结果中的值
  • 导出:允许导出架构或以此限定所有名称
  • 导出:修复一次导出多个架构中的对象
  • MySQL:仅当视图或事件的定义者是当前账户时才移除它,与例程的处理一致
  • MySQL:将连接匹配到的账户显示为已登录用户
  • PostgreSQL:以 EWKT 形式显示和编辑 PostGIS 几何图形(bug SF-615)
  • PostgreSQL:不要从表结构中链接由扩展创建的类型
  • PostgreSQL:在数据库页面上显示已安装的扩展
  • PostgreSQL、MS SQL:报告不存在的架构
  • CockroachDB:导出时省略 WITH (oids = false)
  • CockroachDB:将 crdb_internal 和 pg_extension 视为只读系统架构
  • CockroachDB:链接其文档
  • MS SQL:显示、创建、修改、删除并调用存储过程和函数
  • MS SQL:修复 varchar(max) 列的长度
  • MS SQL:修复带 ‘N’ 前缀写入的默认值
  • MS SQL PDO:为 Unicode 字符串添加 ‘N’ 前缀
  • MS SQL、Oracle:修复事务,例如失败的导入或多行修改
  • MS SQL:SQL 命令:在命令之间保持事务
  • Oracle:驱动不再是 beta 版
  • Oracle:使用架构作为数据库而非表空间(bug SF-204、SF-212、SF-238)
  • Oracle:创建和删除数据库(bug SF-246)
  • Oracle:显示、创建、修改和删除触发器(bug SF-385)
  • Oracle:以众所周知的文本(WKT)形式显示和编辑几何图形,而不是显示为空(bug SF-610、SF-615)
  • Oracle:接受并以 ISO 格式显示日期(bug SF-770)
  • Oracle:修复涉及多列的外键
  • Oracle:修复创建带默认值的列
  • Oracle:修复带引号显示的默认值

插件

  • 驱动插件:Result::fetch_field() 在 native_type 中报告类型名称,而不是在 type 和 charsetnr 中报告 MySQL 编号
  • 驱动插件:Db::begin()、commit() 和 rollback() 使用扩展的事务 API
  • manifest() 方法用于自定义或禁用 Web 应用清单
  • verifyLoginToken() 方法用于接受另一个网站的登录表单
  • explain() 方法用于自定义 SQL 命令中的 EXPLAIN

内部

  • 测试 Oracle
  • 通过 composer e2e -- --workers=N 并行运行不同驱动的端到端测试
  • 在发布归档中分发测试(bug #1332)
  • 在 adminer/lang/README.md 中显示翻译的审核状态
  • 在开发版本由编译版本的 URL 提供时注销 Service Worker

https://www.adminer.org/#download

更新内容 (原始)

  • Send the form by the default button by Ctrl+Enter
  • Display the message on the screen when AJAX-saving
  • Install Adminer as a web-application
  • Report an object which doesn’t exist instead of printing an empty form
  • Link the database in the breadcrumb of a routine, sequence, type or event to its section
  • Don’t serve the cached static files of a different build of the same version
  • Select: Handle columns with a name looking like a function, e.g. NOW()
  • Select: Don’t link COUNT(*) if a function is applied to a grouped column
  • SQL command: Modify the values in the result by Ctrl+click (bug #1333)
  • SQL command: Fix the edit links of a table joined more than once
  • SQL command: Display the values in the result according to their type in all drivers
  • Export: Allow exporting schema or qualify all names by it
  • Export: Fix exporting objects of more schemas at once
  • MySQL: Remove the definer of an exported view or event only if it is the current account, the same as in routines
  • MySQL: Display the account matched by the connection as the logged user
  • PostgreSQL: Display and edit PostGIS geometries as EWKT (bug SF-615)
  • PostgreSQL: Do not link the types created by extensions from the table structure
  • PostgreSQL: Display the installed extensions on the database page
  • PostgreSQL, MS SQL: Report a schema which doesn’t exist
  • CockroachDB: Export: Omit WITH (oids = false)
  • CockroachDB: Treat crdb_internal and pg_extension as read-only system schemas
  • CockroachDB: Link its documentation
  • MS SQL: Display, create, alter, drop and call procedures and functions
  • MS SQL: Fix the length of a varchar(max) column
  • MS SQL: Fix the default value written with the ‘N’ prefix
  • MS SQL PDO: Prefix Unicode strings with ‘N’
  • MS SQL, Oracle: Fix transactions, e.g. a failed import or modification of more rows
  • MS SQL: SQL command: Keep a transaction between the commands
  • Oracle: The driver is no longer beta
  • Oracle: Use schemas as databases instead of tablespaces (bug SF-204, SF-212, SF-238)
  • Oracle: Create and drop databases (bug SF-246)
  • Oracle: Display, create, alter and drop triggers (bug SF-385)
  • Oracle: Display and edit geometries as well-known text instead of empty (bug SF-610, SF-615)
  • Oracle: Accept and display dates in the ISO format (bug SF-770)
  • Oracle: Fix foreign keys over multiple columns
  • Oracle: Fix creating a column with a default value
  • Oracle: Fix the default value displayed with the quotes around it

Plugins

  • Driver plugins: Result::fetch_field() reports the type name in native_type instead of the MySQL number in type and charsetnr
  • Driver plugins: Db::begin(), commit() and rollback() to use the transaction API of the extension
  • Method manifest() to customize or disable the web app manifest
  • Method verifyLoginToken() to accept the login form of another website
  • Method explain() to customize EXPLAIN in SQL command

Internal

  • Test Oracle
  • Run the end-to-end tests of different drivers in parallel by composer e2e -- --workers=N
  • Distribute the tests in the release archive (bug #1332)
  • Show the review status of the translations in adminer/lang/README.md
  • Unregister the service worker in the development version served from the URL of a compiled version

https://www.adminer.org/#download

下载链接