UNPKG

psqlformat

Version:
52 lines 5.65 kB
{ "url": "https://api.github.com/repos/darold/pgFormatter/releases/206238276", "assets_url": "https://api.github.com/repos/darold/pgFormatter/releases/206238276/assets", "upload_url": "https://uploads.github.com/repos/darold/pgFormatter/releases/206238276/assets{?name,label}", "html_url": "https://github.com/darold/pgFormatter/releases/tag/v5.6", "id": 206238276, "author": { "login": "darold", "id": 538862, "node_id": "MDQ6VXNlcjUzODg2Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/538862?v=4", "gravatar_id": "", "url": "https://api.github.com/users/darold", "html_url": "https://github.com/darold", "followers_url": "https://api.github.com/users/darold/followers", "following_url": "https://api.github.com/users/darold/following{/other_user}", "gists_url": "https://api.github.com/users/darold/gists{/gist_id}", "starred_url": "https://api.github.com/users/darold/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/darold/subscriptions", "organizations_url": "https://api.github.com/users/darold/orgs", "repos_url": "https://api.github.com/users/darold/repos", "events_url": "https://api.github.com/users/darold/events{/privacy}", "received_events_url": "https://api.github.com/users/darold/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "node_id": "RE_kwDOAG8-Ws4MSvJE", "tag_name": "v5.6", "target_commitish": "master", "name": "Version 5.6", "draft": false, "prerelease": false, "created_at": "2025-03-17T13:14:57Z", "published_at": "2025-03-17T13:19:25Z", "assets": [], "tarball_url": "https://api.github.com/repos/darold/pgFormatter/tarball/v5.6", "zipball_url": "https://api.github.com/repos/darold/pgFormatter/zipball/v5.6", "body": "March 17 2025 - v5.6\r\n\r\nThis maintenance release fixes some issues reported by users since the last\r\nrelease and adds some improvements.\r\n\r\nImprovements:\r\n \r\n * Add support to pg_vector operator <#>. Thanks to Taylor Brown for the report\r\n * Add support for the @? jsonb-jsonpath operator. Thank to Simon Whitaker for\r\n the patch.\r\n * Follow the XDG Base Directory Specification by searching configuration file\r\n into XDG_CONFIG_HOME/pg_format/config.conf. Thanks to afk-mario for the\r\n feature request.\r\n * Check USERPROFILE env var for Windows. Thanks to Aaron Sherber for the patch\r\n * Add to_reg* and reg* to function list.\r\n * Add missing Perl modules in installation instructions. Thanks to dullbananas\r\n for the patch.\r\n * Add information about the Perl module to install for the JSON feature.\r\n * Expand web capabilities of the app with adding API-like JSON capability to\r\n the CGI module. The API can be disabled using the enable_api parameter to\r\n the CGI (default: 1). Thanks to m.desoutter for the patch.\r\n * Add option --redundant-parenthesis to prevent pgFormatter to remove\r\n reduntant parenthesis in DML.\r\n\r\nHere is the complete list of changes and acknowledgments:\r\n\r\n - Fix indentation issue of INSERT in procedures. Thanks to Olamshin for the\r\n report.\r\n - Fix indentation in triggers in an exception block. Thanks to bmk9727 for\r\n the report.\r\n - Fix create type output. Thanks to Alec Larson for the report.\r\n - Fix formatting of CHECK clause to be single line. Thanks to Alec Larson for\r\n the report\r\n - Apply last fix changes for b = - 5 rewritten into b = -5\r\n - Fix use of % formatter in format() function. Thanks to Ender Dobra for the\r\n report.\r\n - Fix formatting of column name corresponding to keywords in INSERT and UPDATE\r\n statement. Thanks to Zoe Roux for the report.\r\n - Fix single quotes inside /**/ comments break formatting. Thanks to Jakob\r\n Egger for the report.\r\n - Fix formatting with BEGIN+ATOMIC. Thanks to dullbananas for the report.\r\n - Update regression tests.\r\n - Fix indentation of ELSE in a CASE clause. Thanks to VinceT for the report.\r\n - Fix handling of the assignment operator := when there is no space\r\n between the variable name and the operator. Thanks to Alexey Samoilov\r\n for the report.\r\n - Fix broken indent when a comment is found before DECLARE. Thanks to Alexey\r\n Samoilov for the report.\r\n - Fix format of SET statement in CREATE FUNCTION block. Thanks to Robert\r\n Nilsson for the report.\r\n - Fix data type case in ALTER command. Thanks to Brandon Stilson for the\r\n report.\r\n - Remove extra space after comment characters added by pgFormatter. Thanks\r\n to Brandon Stilson for the report.\r\n - Fix documentation about function-case. Thanks to John Clow for the\r\n report.\r\n - Fix other occurence of --no-grouping remaining in the documentation\r\n instead of --nogrouping\r\n - Fix Use of uninitialized value $ENV{\"XDG_CONFIG_HOME\"}. Thanks to looi\r\n for the report.\r\n - Fix typo on nogrouping option. Thanks to Edmundo Santos for the patch.\r\n - Allow more characters in double quoted fqdn objects. Thanks to lsyuan\r\n for the report.\r\n - Fix an uninitialized variable error. Thanks to Profpatsch for the report.\r\n - Add prerequisite information about the Perl autodie module with RH like\r\n distribution. Thanks to Saunders Brandon for the report.\r\n", "reactions": { "url": "https://api.github.com/repos/darold/pgFormatter/releases/206238276/reactions", "total_count": 6, "+1": 1, "-1": 0, "laugh": 1, "hooray": 1, "confused": 0, "heart": 1, "rocket": 1, "eyes": 1 } }