D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
opt
/
psa
/
admin
/
share
/
modules
/
git
/
Filename :
CHANGES.md
back
Copy
# 2.5.4 (3 April 2025) * [*] Added support for PHP 8.4 to ensure compatibility with future Plesk releases. # 2.5.3 (21 May 2024) * [*] Security improvements. # 2.5.2 (12 April 2024) * [-] The extension no longer produces PHP Deprecation warning during remote repository creation. (EXTGIT-334) # 2.5.1 (18 January 2024) * [*] Internal improvements. # 2.5.0 (16 Aug 2023) * [+] The **Git** button on the domain card now shows the last commit hash in the local copy of the repository. It also helps to see at a glance whether the commit is deployed. The feature is automatically enabled for all new repositories. It will be enabled for existing repositories after the next manual or automatic deployment. In Plesk Obsidian 18.0.55 and later, a tooltip with the commit message, author, and date will also be displayed when hovering over the button. # 2.4.13 (19 July 2023) * [*] Internal improvements. # 2.4.12 (8 June 2023) * [*] Internal improvements. # 2.4.11 (2 June 2023) * [*] Internal improvements. # 2.4.10 (19 May 2023) * [*] Internal improvements. # 2.4.9 (9 May 2023) * [-] Fixed processing of webhooks. (EXTGIT-319) # 2.4.8 (3 May 2023) * [*] The extension now respects the selected branch when requesting a webhook. # 2.4.7 (4 April 2023) * [-] Moved the "Git" button from the "Install Application' drawer to the domain card. Also, the button is now shown in domain overview. * [-] Added a detailed warning message shown if the extension cannot perform post-deployment actions. # 2.4.6 (29 March 2023) * [-] Fixed deployment of a new private repository. (EXTGIT-315) # 2.4.5 (27 March 2023) * [*] Updated translations of custom buttons in the "Install application" drawer. * # 2.4.4 (21 February 2023) * [*] Update custom buttons. # 2.4.3 (14 February 2023) * [*] Internal improvements. # 2.4.2 (13 February 2023) * [*] Internal improvements. # 2.4.1 (8 February 2023) * [*] Minor improvements. # 2.4.0 (26 January 2023) * [+] Added the ability to select users who can access a local repository via HTTP/HTTPS. Previously, only the system user had access to all repositories in a subscription. You can now select additional users when creating a local repository or changing the settings of an existing one. These users can pull and push to a local repository via HTTP/HTTPS using their credentials. * [+] The Git extension now correctly handles moving domains between subscriptions and places the Git directory to the appropriate subscription afterward. **Note** Moving domains between subscriptions changes the `plesk-git` directory password because it must be synced with the subscription's system user password. # 2.3.3 (25 November 2022) * [*] Minor improvements. # 2.3.2 (20 October 2022) * [-] The extension now updates correctly again. (EXTGIT-267) # 2.3.1 (18 October 2022) * [-] Fixed the issue with pulling from remote repositories. (EXTGIT-265) # 2.3.0 (17 October 2022) * [+] Added support for multiple deploy keys for each domain. # 2.2.0 (11 August 2022) * [+] The extension now deploys files to production websites asynchronously if the deployment was triggered by a webhook. * [+] Added the `run-actions` option to the `create`and `update` API methods, which enable/disable execution of additional deployment actions. To enable/disable execution of additional deployment actions via the CLI, run the following commands: ``` # enables execution of additional deployment actions for the "repo-example" repository on the domain "example.com" plesk bin extension --call git --update -domain example.com -name repo-example -run-actions false ``` ``` # disables execution of additional deployment actions for the "repo-example" repository on the domain "example.com" plesk bin extension --call git --update -domain example.com -name repo-example -run-actions true ``` To enable/disable execution of additional deployment actions via the XML API, run the following commands: ``` <!-- enables execution of additional deployment actions for the "repo-example" repository on the domain "example.com" --> <packet><extension><call><git><update><domain>example.com</domain><name>repo-example</name><run-actions>true</run-actions></update></git></call></extension></packet> ``` ``` <!-- disables execution of additional deployment actions for the "repo-example" repository on the domain "example.com" --> <packet><extension><call><git><update><domain>example.com</domain><name>repo-example</name><run-actions>false</run-actions></update></git></call></extension></packet> ``` * [+] Added the `async-deploy` method to the CLI and XML API. The method invokes the asynchronous deployment of files to the production website. To asynchronously deploy files to the production website via the CLI, run the following command: ``` plesk bin extension --call git --async-deploy -domain example.com -name repo-example ``` To asynchronously deploy files to the production website via the XML API, run the following command: ``` <packet><extension><call><git><async-deploy><domain>example.com</domain><name>repo-example</name></async-deploy></git></call></extension></packet> ``` * [-] Fixed removal of additional deployment actions after disabling them in the Plesk interface. # 2.1.1 (6 July 2022) * [-] It is once again possible to add repositories via the extension. (EXTGIT-232) # 2.1.0 (1 July 2022) * [*] Internal improvements. # 2.0.4 (17 May 2022) * [+] Added the ability to perform custom deployment actions separately from the `deploy` command. To use deferred execution of custom deployment actions via the CLI, run the following commands: ``` # run deploy without custom deployment actions for repository "repo-example" on domain "example.com" plesk bin extension --call git --deploy -domain example.com -name repo-example -no-deployment-actions ``` ``` # only run custom deployment actions for the "repo-example" repository on domain "example.com" plesk bin extension --call git --run-deployment-actions -domain example.com -name repo-example ``` To use deferred execution of custom deployment actions via the XML API, run the following requests: ``` <!-- run deploy without custom deployment actions for repository "repo-example" on domain "example.com" --> <packet><extension><call><git><deploy><domain>example.com</domain><name>repo-example</name><no-deployment-actions/></deploy></git></call></extension></packet> ``` ``` <!-- only run custom deployment actions for the "repo-example" repository on domain "example.com" --> <packet><extension><call><git><run-deployment-actions><domain>example.com</domain><name>repo-example</name></run-deployment-actions></git></call></extension></packet> ``` # 2.0.3 (1 March 2022) * [+] A new method `get-public-key` was added to both CLI and XML API. The method generates a new SSH key for a domain if it does not already have an SSH key generated for it and displays the publik key part as the output. To generate a new SSH key for "example.com" via the CLI, run the following command: ``` plesk bin extension --call git --get-public-key -domain example.com ``` To generate a new SSH key for "example.com" via XML API, execute the following request: ``` <packet><extension><call><git><get-public-key><domain>example.com</domain></get-public-key></git></call></extension></packet> ``` * [-] When logged in as a reseller, creating a git local repository no longer results in an error. (EXTGIT-205) * [-] The "Specified directory was not found on the server" message no longer appears when trying to change the deployment directory in the Git settings after an update. (EXTGIT-196) # 2.0.2 (21 January 2022) * [*] Internal improvements. # 2.0.1 (17 January 2022) * [-] The Git extension is opened if the "Git" option was selected during domain creation. (EXTGIT-201) # 2.0.0 (23 December 2021) * [+] On Plesk for Linux servers, added the ability to specify login and password for remote HTTPS repositories. * [*] Completely overhauled the UI to make it modern and more convenient. * [-] The last commit information is now correctly updated after pulling updates without the need to refresh the page. (EXTGIT-33) * [-] It is now possible to select the root folder when setting the Git deploy path. (EXTGIT-54) * [-] The currently selected folder is now shown when changing the Git deploy path. (EXTGIT-69) * [-] Changing domain settings no longer results in the inability to push changes to local Git repositories. (EXTGIT-70) * [-] The Git extension no longer shows the wrong directory tree when editing the Git deploy path. (EXTGIT-142) * [-] The Git extension no longer causes icons to be misaligned on buttons in the domain menu. (EXTGIT-158) # 1.3.5 (17 November 2021) * [-] The extension now correctly shows directories in the "Change branch and path" menu. (EXTGIT-104) # 1.3.4 (15 October 2021) * [-] The extension now correctly adds a remote repository via SSH in Plesk Obsidian 18.0.39 and later. (EXTGIT-184) # 1.3.3 (8 October 2021) * [*] Internal improvements. # 1.3.2 (16 September 2021) * [*] Internal improvements. # 1.3.1 (3 September 2021) * [*] Improved integration of the Git section on the "Add Domain" screen. # 1.3.0 (7 June 2021) * [*] The extension interface improvements. * [*] The extension form is no longer shown by default when users create subscriptions, customers, domains, and subdomains. To make the form visible, add the following lines to the `panel.ini` file: ```ini [ext-git] enableOnSiteCreate = true ``` # 1.2.4 (7 June 2021) * [!] We have created the current extension's "maintenance only" fork for Plesk versions 18.0.32-18.0.35 and labeled it version 1.2.4. We do not plan to update the fork unless any essential security fixes are necessary. We will introduce major changes updating only the master branch for Plesk Obsidian 18.0.36 and later. # 1.2.3 (13 April 2021) * [-] In Plesk for Windows, creating a repository for a domain no longer fails if the system user password of the subscription the domain belongs to contains special characters. (EXTGIT-131) * [-] Creating a repository no longer fails in Plesk with Git version 2.29.2 and later. (EXTGIT-126) # 1.2.2 (5 April 2021) * [-] If a customer's subscription has the Git management permission denied, the customer no longer sees the "Permission denied: the user does not have the manage permission" error instead of Plesk pages. We spotted this bug in the extension version 1.2.1. (EXTGIT-133) # 1.2.1 (30 March 2021) * [-] Added a detailed error message shown if the extension cannot perform `git push` because `git-auto-push` was configured for an add-on domain moved to another subscription. (EXTGIT-123) # 1.2.0 (11 November 2020) * [*] Security improvements. # 1.1.5 (11 November 2020) * [!] We have created the current extension's "maintenance only" fork for Plesk versions 17.0.16-18.0.31 and labeled it version 1.1.5. We do not plan to update the fork unless any essential security fixes are necessary. We will introduce major changes updating only the master branch for Plesk Obsidian 18.0.32 and later. # 1.1.4 (3 April 2020) * [-] In Plesk for Linux with Git version 2.16.0 and later, it is now possible to clone a remote Git repository even if it uses a non-standard SSH port. (EXTGIT-106) * [-] When the `git-helper` utility is executed in Plesk for Linux, the utility name is now shown. (EXTGIT-107) # 1.1.3 (13 November 2019) * [-] On the domain creation page, the popover that appears when clicking the "automatically deployed" control (under "Enable Git support") is now positioned correctly. (EXTGIT-82) * [-] On the domain creation page, the icon next to the field used to specify the path to the directory to which the files from the repository are to be deployed (under "Enable Git support") is now displayed correctly. (EXTGIT-93) # 1.1.2 (4 July 2019) * [-] Fixed the look of the Git section on the "Add Domain" screen. (EXTGIT-85) * [-] Pulling updates no longer fails with the "Call to a member function websiteOverviewUrl() on null" error. (EXTGIT-88) # 1.1.1 (27 December 2018) * [-] .local TLD can now be specified in the remote repository URL. (EXTGIT-75) * [-] Improved the "Adding Your Own Subscription" screen: selection of a service plan was moved from the Git extension section to the Subscription one.(EXTGIT-73) * [-] If Italian was set as the administrator's interface language, Git repositories can now be removed via the interface without any issues. (EXTGIT-65) * [-] If the `actions` node is empty, XML API calls to Git repositories are now executed without PHP notices and warnings. (EXTGIT-48) # 1.1.0 (13 April 2017) * [-] When checking out a repository, users could only select existing directories for the deploy path. (EXTGIT-34) * [-] Users could not create subdomains for addon domains with hosting type set to "Forwarding". (EXTGIT-38) * [-] Under specific circumstances, if more than one repository was checked out for a single domain, trying to remove a repository resulted in a different repository being removed instead. (EXTGIT-39) * [-] Git repositories could not be created if deployment mode was set to "No Deployment". (EXTGIT-40) * [-] After changing the deployment mode of an existing repository from "No Deployment" to "Automatic Deployment", an absolute deploy path was displayed instead of one relative to the subscription's root. (EXTGIT-41) * [-] Users could not authenticate with local Git repositories belonging to subdomains after the subscription's system user password was changed. (EXTGIT-45)