String that identifies the version of Joomla for which this extension is developed. This is not used in Joomla 3.x and has been removed from Joomla 4.0 and higher.
method="install" should be changed to method="upgrade"
NB: I see from the tutorial this is set to "install" because of a bug
the reason for this is becasue when people are testing and changing extensions they will constantly re-install which is what the upgrade option allows whereas the install option will cause the installation to gracefully fail and therefore will not re-install the extension. From what I can see (if my memory is correct) the basic installer routines are the same in Joomla 4 as they are in Joomla 3.
The default value install will be also used if the method attribute is not used. The install value means the installer will gracefully stop if it finds any existing file/folder of the new extension.
Thank you for these very useful comments. I have changed the code and the tutorial, to which I have added a reference to the article on Manifest Files.
The version tag is depreceated in 3.x and removed in Joomla 4. see: https://docs.joomla.org/Manifest_files
method="install" should be changed to method="upgrade"
NB: I see from the tutorial this is set to "install" because of a bug the reason for this is becasue when people are testing and changing extensions they will constantly re-install which is what the upgrade option allows whereas the install option will cause the installation to gracefully fail and therefore will not re-install the extension. From what I can see (if my memory is correct) the basic installer routines are the same in Joomla 4 as they are in Joomla 3.
Again see: https://docs.joomla.org/Manifest_files
client="site" is only for modules
Again see: https://docs.joomla.org/Manifest_files