Version 5.7

Release date: 2021-09-09

This release contains a number of bug fixes and new features since the release of pgAdmin4 5.6.

New features

Issue #2538 - Added support for the truncate table with restart identity.
Issue #4264 - Make code folding case insensitive in the code mirror.
Issue #4629 - Added database and server information on the Maintenance process watcher dialog.
Issue #6495 - Allow the referenced table to be the same as the local table in one to many relationship for ERD Tool.
Issue #6691 - Set PSQLRC and PSQL_HISTORY env vars to apt. user storage path in the server mode.

Housekeeping

Bug fixes

Issue #4567 - Fixed an issue where privileges were revoked using SQL query on objects like tables that do not correctly show in SQL tab.
Issue #5849 - Ensure that trigger function SQL should have ‘create or replace function’ instead of ‘create function’ only.
Issue #6419 - Fixed blank screen issue on windows and also made changes to use NWjs manifest for remembering window size.
Issue #6531 - Fixed the export image issue where relation lines are over the nodes.
Issue #6544 - Fixed width limitation issue in PSQL tool window.
Issue #6564 - Fixed an issue where columns with sequences get altered unnecessarily with a schema diff tool.
Issue #6570 - Ensure that the lock panel should not be blocked for larger records.
Issue #6572 - Partially fixes the data output panel display issue.
Issue #6641 - Enables pgAdmin to retrieve user permissions in case of nested roles which helps to terminate the session for AWS RDS.
Issue #6663 - Fixed no attribute ‘_asdict’ error when connecting the database server.
Issue #6668 - Fixed errors related to HTML tags shown in the error message for JSON editor.
Issue #6671 - Fixed UnboundLocalError where local variable ‘user_id’ referenced before assignment.
Issue #6682 - Renamed ‘Auto rollback?’ to ‘Auto rollback on error?’.
Issue #6684 - Fixed the JSON editor issue of hiding the first record.
Issue #6685 - Ensure that deleting a database should not automatically connect to the next database.