Pre-Release Notes
These notes only apply to pre-release version updates, which are done at the time of initiation of a new release.
Git Work
TBD. In the past we have created a new branch; perhaps we will adopt a branch-on-release strategy and stay on master.
Versioning files
Here’s what should be in these files for version 2.0.0-alpha:
File | Version |
---|---|
includes/version.php |
define('PROJECT_VERSION_MINOR', '0.0-alpha'); |
zc_install/includes/version.php |
define('PROJECT_VERSION_MINOR', '0.0-alpha'); |
zc_install/sql/install/mysql_zencart.sql |
project_version_patch1 for the two Zen-Cart Main rows should be New Installation-v200-alpha1 project_version_patch1 for the two Zen-Cart Database rows should be New Installation-v200-alpha1 |
zc_install/sql/updates/mysql_upgrade_zencart_200.sql |
project_version_comment for the two version rows should be Version Update 1.5.8->2.0.0-alpha1 |
zc_install/includes/systemChecks.yml |
Top checkDBVersion block should be version: '2.0.0' |
zc_install/ajaxLoadUpdatesSql.php |
'2.0.0'=>array('required'=>'1.5.8'), |
zc_install/includes/modules/pages/database_upgrade/header_php.php |
$versionArray[] = '2.0.0'; |
PHP Compatibility
If the new version has different PHP compatibility ranges than the prior one, be sure to update:
composer.json
- The Server Requirements help document
Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the
Zen Cart support forum
and ask there in the appropriate subforum.
In your post, please include your Zen Cart and PHP versions, and a link to your site.
Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started.
You can even PR right here.
Last modified August 3, 2023 by Scott C Wilson (3aa0612).