get_lang()
is deprecated. Use Locale::get()->getLanguage()
constant instead.get_drivers()
is deprecated. Use Drivers::getList()
instead.get_driver_name()
is deprecated. Use Drivers::get()
instead.Connection.getResult()
is deprecated. Use Connection.getValue()
instead.// Include AdminNeo file.
include "adminneo.php";
AdminNeo
namespace now. Update your index.php and
custom plugins by using this new namespace.
Adminer
→ Admin
,
AdminerPlugin
→ Pluginer
.
adminer_object()
→ adminneo_instance()
.
TranslationPlugin
can be
used to display custom localized names.
elastic5
was removed, only Elasticsearch 7+ is supported in elastic
driver.Plugin
class.AdminerLoginServers
(login-servers.php) was removed. Preconfigured server connections can be
defined by servers
configuration parameter.
See the Configuration page for more information.
This parameter also replaces AdminerLoginServers
plugin by Pematon.
AdminerLoginPasswordLess
(login-password-less.php) was removed. Default password can be
defined by defaultPasswordHash
configuration parameter.
See the Configuration page for more information.
AdminerVersionNoverify
(version-noverify.php) was removed. Version verification can be
disabled by versionVerification
configuration parameter.
See the Configuration page for more information.
AdminerDatabaseHide
(database-hide.php) was removed. Selected databases and schemas can be
hidden by hiddenDatabases
and hiddenSchemas
configuration parameter.
See the Configuration page for more information.
AdminerDotJs
(adminer.js.php) was removed. File adminneo.js is autoloaded
by default.
AdminerLoginSsl
(login-ssl.php) was removed. SSL options can be
defined by ssl*
configuration parameters.
See the Configuration page for more information.
AdminerEnumOption
(enum-option.php) was removed. Displaying <select>
for enum fields can be set by enumAsSelectThreshold
configuration parameter.
AdminerStructComments
(struct-comments.php) was removed. Comments are displayed on more
places by default.
AdminerPrettyJsonColumn
(pretty-json-column.php) was removed. JSON values can be formatted
automatically by jsonValuesAutoFormat
configuration parameter.
See the Configuration page for more information.
AdminerJsonColumn
(json-column.php) and
AdminerJsonPreview by
Pematon were replaced by new JsonPreviewPlugin
. New plugin respects jsonValuesDetection
configuration parameter.
AdminerLoginIp
(login-ip.php) does not allow empty passwords. Set the configuration
parameter defaultPasswordHash
for that purpose.
AdminerLoginTable
(login-table.php) (renamed to TableLoginPlugin
) uses
different table to authenticate users and password_hash()
method for stored passwords.
AdminerFrames
(frames.php) (renamed to FrameSupportPlugin
) now accepts the
list of allowed sources for Content-Security-Policy
HTTP header.
AdminerEditForeign
(edit-foreign.php) (renamed to ForeignEditPlugin
) can not
display unlimited number of foreign values. The default limit is 200, now.
AdminerTranslation
(translation.php) (renamed to TranslationPlugin
) uses
different table to store translations. It now translates also table names and field names.
AdminerFileUpload
(file-upload.php) (renamed to FileUploadPlugin
) uses
different directory structure for uploaded files. It now contains also the database name:
"$uploadPath/db_name/table_name". The target directory is created automatically.
visibleCollations
configuration parameter.
See the Configuration page for more information.
navigationMode
configuration parameter. Set it to reversed
value for the original-like menu layout.
See the Configuration page for more information.
AdminerTableStructure
(table-structure.php) was removed without a replacement.AdminerTableIndexesStructure
(table-indexes-structure.php) was removed without a replacement.AdminerEditTextarea
(edit-textarea.php) was removed without a replacement.AdminerEditCalendar
(edit-calendar.php) was removed without a replacement.AdminerDumpPhp
(dump-php.php) was removed without a replacement.AdminerDumpAlter
(dump-alter.php) was removed without a replacement.AdminerDumpDate
(dump-date.php) was removed. Datetime is part of the filename by default.AdminerWymeditor
(wymeditor.php) was removed without a replacement.AdminerMasterSlave
(master-slave.php) was removed without a replacement.AdminerEmailTable
(email-table.php) was removed without a replacement.All remaining plugins were renamed:
AdminerDumpBz2
→ Bz2OutputPlugin
AdminerDumpZip
→ ZipOutputPlugin
AdminerDumpJson
→ JsonDumpPlugin
AdminerDumpXml
→ XmlDumpPlugin
AdminerEditForeign
→ ForeignEditPlugin
AdminerEditTextarea
→ EditTextareaPlugin
AdminerFileUpload
→ FileUploadPlugin
AdminerForeignSystem
→ SystemForeignKeysPlugin
AdminerFrames
→ FrameSupportPlugin
AdminerLoginIp
→ IpLoginPlugin
AdminerLoginOtp
→ OtpLoginPlugin
AdminerLoginTable
→ TableLoginPlugin
AdminerSlugify
→ SlugifyEditPlugin
AdminerSqlLog
→ SqlLogPlugin
AdminerTinymce
→ TinyMcePlugin
AdminerTranslation
→ TranslationPlugin
All customization methods defined in the Admin
and Origin
classes were refactored and
renamed.
selectQueryBuild()
was removed.css()
was removed. CSS files can be defined by cssUrls
configuration parameter.
See the Configuration page for more information.
connectSsl()
was removed. SSL options can be defined by ssl*
configuration
parameters.
See the Configuration page for more information.
head()
was replaced by two methods: printFavicons()
and
printToHead()
.
csp()
was replaced by updateCspHeader()
that allows to redefine CSP
directives of just one Content-Security-Policy HTTP header.
selectCommandPrint()
and selectImportPrint()
were replaced by one method
isDataEditAllowed()
.
homepage()
was removed. Only the top menu can be customized by
printDatabaseMenu()
.
Renamed customizable methods:
headers()
→ sendHeaders()
credentials()
→ getCredentials()
login()
→ authenticate()
permanentLogin()
→ getPrivateKey()
bruteForceKey()
→ getBruteForceKey()
name()
→ getServiceTitle()
serverName()
→ getServerName()
database()
→ getDatabase()
databases()
→ getDatabases()
schemas()
→ getSchemas()
collations()
→ getCollations()
queryTimeout()
→ getQueryTimeout()
navigation()
→ printNavigation()
databasesPrint()
→ printDatabaseSwitcher()
tablesPrint()
→ printTableList()
loginForm()
→ printLoginForm()
loginFormField()
→ getLoginFormRow()
selectLinks()
→ printTableMenu()
foreignKeys()
→ getForeignKeys()
backwardKeys()
→ getBackwardKeys()
backwardKeysPrint()
→ printBackwardKeys()
rowDescription()
→ getTableDescriptionFieldName()
rowDescriptions()
→ fillForeignDescriptions()
foreignColumn()
→ getForeignColumnInfo()
tableStructurePrint()
→ printTableStructure()
tablePartitionsPrint()
→ printTablePartitions()
tableIndexesPrint()
→ printTableIndexes()
selectColumnsPrint()
→ printSelectionColumns()
selectSearchPrint()
→ printSelectionSearch()
selectOrderPrint()
→ printSelectionOrder()
selectLimitPrint()
→ printSelectionLimit()
selectLengthPrint()
→ printSelectionLength()
selectActionPrint()
→ printSelectionAction()
selectColumnsProcess()
→ processSelectionColumns()
selectSearchProcess()
→ processSelectionSearch()
selectOrderProcess()
→ processSelectionOrder()
selectLimitProcess()
→ processSelectionLimit()
selectLengthProcess()
→ processSelectionLength()
dumpOutput()
→ getDumpOutputs()
dumpFormat()
→ getDumpFormats()
dumpHeaders()
→ sendDumpHeaders()
tableName()
→ getTableName()
fieldName()
→ getFieldName()
selectVal()
→ formatSelectionValue()
selectLink()
→ getFieldValueLink()
editVal()
→ formatFieldValue()
editFunctions()
→ getFieldFunctions()
editInput()
→ getFieldInput()
editHint()
→ getFieldInputHint()
processInput()
→ processFieldInput()
importServerPath()
→ getImportFilePath()
selectQuery()
→ formatSelectQuery()
messageQuery()
→ formatMessageQuery()
sqlCommandQuery()
→ formatSqlCommandQuery()
AdminerEnumTypes
plugin (enum-types.php).
Its functionality was integrated into the base code.
AdminerTablesFilter
plugin (tables-filter.php).
Its functionality was integrated into the base code.