Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why not do a 3.0.3.9 release #108

Open
danielkerr opened this issue Oct 6, 2022 · 56 comments
Open

Why not do a 3.0.3.9 release #108

danielkerr opened this issue Oct 6, 2022 · 56 comments
Assignees

Comments

@danielkerr
Copy link
Member

Why not do a 3.0.3.9 release.

https://www.opencart.com/index.php?route=cms/download/history

@TheCartpenter
Copy link
Collaborator

I got no objection to rewind back since that version has never been used anyways, but the reason why I simply set the version v3.1.1.0 was due to the true nature of PHP 8 compatibility, subscriptions system (still awaiting the final edition), new controller/startup implementation, GDPR which I thought that increasing of .1 version might been a bit unrealistic.

However, I can lower it back to OC v3.0.3.9 release if it's what you want.

@danielkerr
Copy link
Member Author

danielkerr commented Oct 6, 2022

i mean draft a release. so i can link to it. call it what ever u want

@TheCartpenter
Copy link
Collaborator

If we draft a release, it will also mean that the next released version, aside from this one, will still contain the fallbacks whereas users will still be stuck in since ages. Which is why, rather, I was expecting to have the new subscriptions system built-in before the PHP 7.4's deadline in order for users to maintain their active recurring users via the new subscriptions system. Since, right now, we don't have migration tool built-in from the core to maintain those users.

@danielkerr
Copy link
Member Author

actually if u want to start on the subscription system on 4.,x again i would be grateful. im getting side tracked a lot by other jobs when i just want to code the next version.

@TheCartpenter
Copy link
Collaborator

Since the issue is by design, we're both stuck on the same level since all I need from you is the roadmap whether to know if we keep the type field from the database in order to declare it from the admin subscriptions? People wants to eventually upgrade to OC 4 but the same risks and impacts are going to occur during the transition since store owners still won't be able to complete their final settlements with their transactions initiated by their clients and their service providers.

All I need to know is which direction will you take with the type field from the subscription table and from the admin since, according to your statement last time, you didn't want to add the type in the admin subscription while this field specifically is mandatory on the database which will obviously create a JSON popup error message from the admin.

Therefore, if you can provide the roadmap on this, while I understand you might be busy on other projects, that would definitely help me as pretty much everybody else so to proceed with their normal operations to their functions and processes since this issue has been happening for quite some time now.

If the type field can simply be declared from the admin and you can agree on this, I could definitely work on it shortly.

@TheCartpenter
Copy link
Collaborator

As for OC 4, sure I can work on it directly for the subscription system if you can give me access to the repository but first needs to be worked on the opencart-3 to ensure, by design, the integration goes as expected.

@ADDCreative
Copy link
Contributor

@danielkerr please don't release the opencart-3 branch as 3.0.3.9. There are too many changes that will be incompatible with themes and extensions. Nearly all the function and method definitions have changed. Changes to the default theme files. All arrays have been changed to [] along with other code style changes. Most themes and alot on OCMOD extensions will have issues.

No way can it be classed as a PATCH version.
https://github.com/opencart/opencart#versioning

@TheCartpenter
Copy link
Collaborator

Functions and method definitions have not been changed. They've been aligned maybe but the functions and method conventional names remained the same since modifications were made.

@ADDCreative
Copy link
Contributor

They have been changed. To give just one example.

Before.

public function getProduct($product_id) {

After.

public function getProduct(int $product_id): array {

Any OCMOD trying to match that line would fail.

@TheCartpenter
Copy link
Collaborator

TheCartpenter commented Oct 7, 2022

Yes, as it looks pretty close to this one:https://github.com/opencart/opencart/blob/master/upload/admin/model/sale/order.php#L72 . That is called evolution, It's ironic, isn't it? A season ago, there were days where we could just pull up a chair and sleep on it 24 / 7 on the maintenance branch until I came along. Since the past season, a brick load of work has continued to be done on this repository even though OC 4 was already released. Yet, no OCMod out-of-the-box with OC 4 can be used (no objection). However, since this week on the OC forum, people are suddenly eagered and looking forward into upgrading to OC 4. Yet, no OCMod out-of-the-box with OC 4 can be used but suddenly doesn't seem to disturb anybody on that thought.

What users are, then, providing with their feedbacks on the OC forum is that extensions are not a priority but rather to focus on a new core in order to maintain their extensions in the future. For that, I got no objection at all. The PHP deadline is getting near, as it still stands. There are other issues encountered with OC v3,x releases as they were also reported by users from this repository that dedicated their time to provide the source of information as pull requests and that cannot be disregarded. Today, however., after a season has passed, you are still the one who acquires to postpone this release so that users can be stuck into the same situation they were last time, the time before, and so forth, just so that people can keep their extensions to where they are without elevating.

These postpones have been going on for many years, now. Therefore, it is time for a change.

@ADDCreative
Copy link
Contributor

You have misunderstood what I have been saying. I was suggesting when it is released it has an appropriate version number. You had it right in the first place with 3.1.1.0. Although I would go with 3.2.0.0 to avoid confusion with the 3.1 alpha version.

@TheCartpenter
Copy link
Collaborator

It is harden to see where I may have misunderstood in this case since you seem to be requesting this version to be set higher than 3.0.3.9 release for extension reasons as you stated on the above. However, regardless of the higher version release it will be, extensions will often, if not always, require modifications. Surely, a delay can be imposed as to know what the next version release will be as it used to be v3.1.1.0 previously but was suggested to be lowered to v3.0.3.9 on the topic.

@ADDCreative
Copy link
Contributor

That fact that your post was about how your version is closer to version 4 made it clear you didn't understand.

The version may have been suggested in the original post (probably because they didn't know what changes had been made), but once you explained the changes you had made, the reply was.

i mean draft a release. so i can link to it. call it what ever u want

Any release could have an impact on compatibility. It's good practice that the version number should reflect how much has changed. Given your posts about how much you have changed and looking at the commit history, it's clear that a higher version number is required. As you had originally concluded.

@TheCartpenter
Copy link
Collaborator

We'll see. Right now, it's been suggested to lower the version and it's been done.

@ADDCreative
Copy link
Contributor

It was suggested the version be lowered, the version was just assumed. You misunderstood and lowered the version.

@mhcwebdesign
Copy link
Contributor

I have to agree with ADDCreative:

The majority of existing OC 3 extensions will work on 3.0.x.x_Maintenance, the latter is just a bugfix release of 3.0.3.8, with added PHP 8 support.

opencart-3 went beyond that, requiring many OC 3 extensions to be rewritten or adapted in order to work with opencart-3.

Therefore, please use at least 3.0.4.x, or better, 3.1.x.x, as your version number.

@TheCartpenter
Copy link
Collaborator

TheCartpenter commented Oct 16, 2022

You could agree as much as you want on each other, but the reality is the guy on the top takes the last decision on that, regardless. As my first reply on the topic state, I got no objection on which next version it's going to be since it's not our product nor our repository in order to make that decision.

Therefore, while I stand corrected in regard to the extension modifications, version 4 will also take a lot of time to make changes which means that Event triggers will still shorten the time as opposed to play with core codes or to use XML. By the eagerness for everyone to move on the next level, OCMod still won't be available by default unless extension developers have something to hide with their own extension engine. However, it would still be an extension which means it's not originally supported by Opencart.

The rest goes to time management, nevertheless, which will include 99% of the bug-fixes and I am counting a left-over of 1% in case nobody's perfect on that. At least, the workload will be reduced after waiting so long to use a flexible release.

Furthermore, I don't believe it was ever encountered to have a x.x.4.x release before and I doubt that's going to happen now.

@mhcwebdesign
Copy link
Contributor

OK, let's ask Daniel!

@danielkerr
Please Daniel, let's go with a 3.1.0.0 release for opencart-3, because the changes done in opencart-3 are quite substantial compared to 3.0.3.8.

@TheCartpenter
Copy link
Collaborator

TheCartpenter commented Oct 17, 2022

The PHP deadline is in a month and a week. There's no time left for that. People needs to get ahead with the changes, not falling back for another 5 to 10 years as OC 4 already demonstrates as the next changes.

@TheCartpenter
Copy link
Collaborator

@danielkerr: Now would be a good time for testers to evaluate the changes. It looks like the task has finally been completed the way it should.

@TheCartpenter
Copy link
Collaborator

@danielkerr: Subscriptions system has now been fully integrated. I may need to review the #button-filter forms in the admin. Apparently, when hitting the filter button, queries don't always show on the URL. I was able to reproduce the issue with the old recurring and the new subscription forms as they both have been fixed already. Other than that, we should be good to go with this release.

@mhcwebdesign
Copy link
Contributor

@daniel: Can we please use version 3.1.0.0 or higher for the upcoming opencart-3 branch, as it has so many changes making it not backwards-compatible with OC 3.0.3.8, nor the 3.0.x.x_Maintenance.

The 3.0.x.x_Maintenance is at the moment the only OpenCart release supporting all PHP 8.x versions, including 8.2. It's much more closely based on OC 3.0.3.8 (unlike opencart-3), and also has some bugfixes which are yet to be ported over to opencart-3.

@TheCartpenter
Copy link
Collaborator

@daniel: Can we please use version 3.1.0.0 or higher for the upcoming opencart-3 branch, as it has so many changes making it not backwards-compatible with OC 3.0.3.8, nor the 3.0.x.x_Maintenance.

The 3.0.x.x_Maintenance is at the moment the only OpenCart release supporting all PHP 8.x versions, including 8.2. It's much more closely based on OC 3.0.3.8 (unlike opencart-3), and also has some bugfixes which are yet to be ported over to opencart-3.

You know you got some nerves to come in here and state how your repository should take place instead of this one. While we both may post this kind of crap on the OC forum, at least, I don't post it in the maintenance branch since I would rather maintain the community rather than trying to get rid of it while you're the one who came in here to post about this.

I have been working on this repository for the past 6 months to get this tree up ahead as I have delivered what needed to be done so far. If there are relevant bug-fixes that needs to be added, lately, I haven't seen any posts about them and even less on your behalf. In fact, I have seen none on your behalf in order to improve the platform on this repository while I did post in the maintenance branch in the past and way long before you came along.

Therefore, nobody needs to take this since Github regulations do work by repositories and you just broke into one where it is separated from the area you have been assigned from. If people still believe there are still other solutions that needs to be brought in with their pull requests, they are more than welcome to do so. On the other way around, if they decide to remain silent rather than helping, they are also welcomed to do so but that is nobody's problem except than bringing this on themselves.

Time has been consumed on this project in order to move forward. The community sure don't mind affecting their extensions when it comes to upgrade to OC 4, then nor should it create distractions to upgrade to OC v3.0.3.9. OC v3.1.0.0, as you suggested, is already enlisted in the OC downloads page at: https://www.opencart.com as an alpha / beta release. There should be no need to duplicate this version.

I have already increased the OC version number before. However, this exact commit we're posting in has been suggested otherwise by the founder. It's his tree, then he decides of the version that will be used. At least, I don't bother anyone nor anyone else about it the way you're doing.

With all that being said, rather show the right example for the community by moving rather than offering fallback solutions to the people. We've been through those times and things evolved since. Therefore, we still need to move forward!

@mhcwebdesign
Copy link
Contributor

@TheCartpenter: I appreciate your concerns, was just trying to be helpful, and avoid confusion for end users.

I am simply too busy at the moment, with upgrading and documenting extensions for the upcoming OpenCart 4.0.2.0, and the 3.0.x.x_Maintenance was just a quick shot for supporting the PHP 8.x releases, it has no new features compared to 3.0.3.8.

@TheCartpenter
Copy link
Collaborator

@TheCartpenter: I appreciate your concerns, was just trying to be helpful, and avoid confusion for end users.

I am simply too busy at the moment, with upgrading and documenting extensions for the upcoming OpenCart 4.0.2.0, and the 3.0.x.x_Maintenance was just a quick shot for supporting the PHP 8.x releases, it has no new features compared to 3.0.3.8.

Well, guess what buddy? You're not being helpful right now; facts being that you posted in this repository on this tree that has nothing to do with it. There are no confusions with the users, since no recent change requests have been posted on this repository especially since the latest codes were finalized on my behalf.

Therefore, being busy on a project of your own doing does not justify the means to alter somebody else's course while we were both assigned on different projects as you are absolutely right here - there are no new features compared to v3.0.3.8 from the maintenance branch as being the reason why I had to work on them.

To avoid 'future' confusions with the end-users, as you say, then I will ask you to remain on what you've been assigned in the maintenance branch as I will stick into mine on this tree.

@Khnaz35
Copy link

Khnaz35 commented Dec 15, 2022

@TheCartpenter Is this branch ready for production ?

@TheCartpenter
Copy link
Collaborator

@TheCartpenter Is this branch ready for production ?

Aside from the PHP 8.2 integration that needs to be completed, it's quite safe to put it in production.

@rasulsh
Copy link
Contributor

rasulsh commented Jan 26, 2023

Hi there
This brunch hasn't changed for 3 weeks, are you ready for the new version?
Is version 3.0.3.9 going to be released?

@Khnaz35
Copy link

Khnaz35 commented Feb 16, 2023

@TheCartpenter Is this branch ready for production ?
Aside from the PHP 8.2 integration that needs to be completed, it's quite safe to put it in production.

Thanks for your hard work and maintain it,

I did install this repo and run the test on https://pagespeed.web.dev/
It is reporting 9 vulnerabilities detected
image
Do you have any plan on fixing these or is there patch for it.

@TheCartpenter
Copy link
Collaborator

@TheCartpenter Is this branch ready for production ?
Aside from the PHP 8.2 integration that needs to be completed, it's quite safe to put it in production.

Thanks for your hard work and maintain it,

I did install this repo and run the test on https://pagespeed.web.dev/ It is reporting 9 vulnerabilities detected image Do you have any plan on fixing these or is there patch for it.

See on the MB if those vulnerability count would state 0 as well. I would doubt it.

@Khnaz35
Copy link

Khnaz35 commented Feb 17, 2023

Mind sharing link for MB?

@rasulsh
Copy link
Contributor

rasulsh commented Mar 2, 2023

Hi there This brunch hasn't changed for 3 weeks, are you ready for the new version? Is version 3.0.3.9 going to be released?

???

@danielkerr
Copy link
Member Author

thje lastest version is version 4

@rasulsh
Copy link
Contributor

rasulsh commented Mar 3, 2023

thje lastest version is version 4

it know, I want to use this branch that updates codes with PHP 8 syntax. Is that okay?

@Hkr32
Copy link

Hkr32 commented Mar 11, 2023

When is the 3.1 release coming?

@TheCartpenter
Copy link
Collaborator

When is the 3.1 release coming?

3.1 has already been released before.

@Hkr32
Copy link

Hkr32 commented Mar 11, 2023

Then wait for version 3.2?

@TheCartpenter
Copy link
Collaborator

It was said by the founder that OC 4 is the latest release. Therefore, I am not sure where the maintenance nor the opencart-3 releases stands at this point.

@Hkr32
Copy link

Hkr32 commented Mar 11, 2023

So there will be no development of version 3? I thought you have the rights to the repository and you can do ethos am.

@TheCartpenter
Copy link
Collaborator

Nowhere to be said there will be no development for Opencart 3 but what was said is that the founder did mentioned that OC 4 is the latest release as I am not sure in-between which branch will be released next.

@haxcop
Copy link

haxcop commented Mar 14, 2023

So version 4 is way different than version 3.0.3.8 and this current version 3.0.3.X is a refactoring of the previous for php >=8.1.
This should be taken as at least 3.0.4 because of the change in the php version, otherwise is a Fork of it and an orphaned version of the Maintenance 3 Branch like any other around GitHub

@Hkr32
Copy link

Hkr32 commented Oct 4, 2023

Create a release, a lot of time has passed, what are you waiting for?

@IP-CAM
Copy link

IP-CAM commented Oct 4, 2023

@Khnaz35
Copy link

Khnaz35 commented Oct 13, 2023

@IP-CAM
Copy link

IP-CAM commented Oct 15, 2023

Well, this one:
https://github.com/opencart/opencart/tree/3.0.x.x_Maintenance
has been updated up to the last few days, and it's still called:
define('VERSION', '3.0.3.8');
whereby this one:
https://github.com/opencart/opencart-3
seems to have been updated as well now, and it's now called
define('VERSION', '3.0.3.9');
It's therefore hard to me to tell the difference, at best, one downloads both of them, and compare the File Content, to find out.

Update:
OC seems to be working hard on it's v.3.0.3.9 as it looks, it got updated during the day in several spots.

@TheCartpenter
Copy link
Collaborator

I worked on the PHP 8.2 compatibility, today for this release, since we don't have an official release that involves pure PHP 8.x series for testing purposes prior to consider a next release for OC v3.0.3.9. Which is why, between the repositories, we're sort of in a transition level to compare the compatibility especially for the people that would like to upgrade to OC 4.x releases now that 7.4 has fallback to the core.

@danielkerr
Copy link
Member Author

i have just done the release after paypal alerted me more people were signing up to their older integration.

@mhcwebdesign
Copy link
Contributor

@TheCartpenter :

Can you please change the index.php and admin/index.php to something like version 3.0.4.x, since Daniel has released a 3.0.3.9 based on the 3.0.x.x_Maintenance now? This will avoid confusions amongst users. Thanks.

@Hkr32
Copy link

Hkr32 commented Oct 16, 2023

Better immediately 3.1)

@TheCartpenter
Copy link
Collaborator

Better immediately 3.1)

#108 (comment)

@Hkr32
Copy link

Hkr32 commented Oct 17, 2023

Better immediately 3.1)

#108 (comment)

#108 (comment)

@mhcwebdesign
Copy link
Contributor

Just to let everyone know: Daniel has just released OpenCart 3.0.3.9 based on the former 3.0.x.x_Maintenance branch, with further changes based the new 3.0.x.x branch of the opencart repository. It contains the latest PayPal, various bugfixes, and support for the PHP versions 7.4, 8.0, 8.1, and 8.2.

Most of above mentioned bugfixes were also included into the opencart-3 repository by the TheCartpenter. However, this opencart-3 repository also contains other changes, mostly more type declarations for functions and methods, and other cosmetic changes.

If backwards compatibility of existing OC 3.0.3.8 extensions, especially when using OCmod, are important, then we recommend the new 3.0.x.x branch. If you want to use the extensions for the opencart-3 repository, then make sure to carefully test them first and adjust them as needed. Technically speaking, the opencart-3 repository is more like a future 3.1.0.0 version.

I hope this clarifies things. Also, I'd like to say thanks for the hard work from all the contributors who made OpenCart a good ecommerce package.

@Khnaz35
Copy link

Khnaz35 commented Oct 17, 2023

Thanks for the update @mhcwebdesign on OpenCart 3.0.3.9 and the distinctions with the opencart-3 repository. Appreciate the hard work by @danielkerr, TheCartpenter, and all contributors. It's crucial for the community to have clear information. Keep up the great work!

Cheers,

@TheCartpenter
Copy link
Collaborator

Better immediately 3.1)

#108 (comment)

#108 (comment)

We can only assume that since the maintenance branch version was changed by the repository owner, then should we expect the same for the opencart-3 repository.

@TheCartpenter
Copy link
Collaborator

Just to let everyone know: Daniel has just released OpenCart 3.0.3.9 based on the former 3.0.x.x_Maintenance branch, with further changes based the new 3.0.x.x branch of the opencart repository. It contains the latest PayPal, various bugfixes, and support for the PHP versions 7.4, 8.0, 8.1, and 8.2.

Most of above mentioned bugfixes were also included into the opencart-3 repository by the TheCartpenter. However, this opencart-3 repository also contains other changes, mostly more type declarations for functions and methods, and other cosmetic changes.

If backwards compatibility of existing OC 3.0.3.8 extensions, especially when using OCmod, are important, then we recommend the new 3.0.x.x branch. If you want to use the extensions for the opencart-3 repository, then make sure to carefully test them first and adjust them as needed. Technically speaking, the opencart-3 repository is more like a future 3.1.0.0 version.

I hope this clarifies things. Also, I'd like to say thanks for the hard work from all the contributors who made OpenCart a good ecommerce package.

In regard to this note about the comestic changes as one publicly implies, the changes that's been applied on this repository have been done in compliance with coding standards as mentioned by the proprietary owner as per this documentation: https://github.com/opencart/opencart/blob/master/docs/developer/basic/coding_standard.html since this repository involves modifications that needs to be done above OC v2.0x releases.

@TheCartpenter
Copy link
Collaborator

Due to the description of this commit, posted by the repository owner: opencart/opencart@8e69d02 , since we already have a conflicting v3.0.3.9 release between two repositories, we already have OC v3.1.0.0b, we already have OC v4.x releases, but not yet have OC v3.2.0.0x releases, I have set the OC version to: v3.2.0.0 for this repository.

@TheCartpenter TheCartpenter self-assigned this Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants