EShop 5.1.0 - Major Code Modernization for Better and More Flexible Store

  • Giang Dinh Truong
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
1 day 7 hours ago - 1 day 7 hours ago #175667 by Giang Dinh Truong
We're proud to announce EShop Shopping Cart extension version 5.1.0, a release dedicated to a significant cleanup and modernization of our codebase. In this version, we have completely detached complex JavaScript from all layout files, removing years of mixed-in JavaScript logic and replacing it with clean, centralized eventdriven scripts.

1. Cleaner and maintainable code
Layout files no longer contain dozens of lines of intertwined JS and PHP. Developers and template designers can now safely customize layouts without breaking core functionality.

2. Improved security
With all scripts centralized, adopting a Content Security Policy (CSP) is now possible, reducing the risk of XSS attacks.

3. Better performance and flexibility
Detached scripts load more efficiently, enabling smoother AJAX operations and future enhancements.

4. Future-proof architecture
This effort lays the groundwork for modernizing EShop further, making it easier to add new features without messy layout modifications.

5. Important plugin updates
To fully benefit from these JS changes, the following payment plugins have also been updated: EShop Square Card and EShop Stripe.
So please update these plugins along with EShop 5.1.0 to ensure compatibility and avoid potential issues with checkout functionality.

This release is fully backward-compatible, and while it does not introduce new visual features, it represents a major improvement in maintainability, security, and performance.
Update today to enjoy a cleaner, safer, and more flexible EShop!

Sincerely, JoomDonation Team.
 
Last edit: 1 day 7 hours ago by Giang Dinh Truong.
The following user(s) said Thank You: Christoph Berger

Please Log in or Create an account to join the conversation.

More
14 hours 44 minutes ago #175672 by Christoph Berger
Dear Giang,

Has the database schema also been changed or does it remain the same? I ask because I have written some minor extensions that access the database.

Thank you very much for the comprehensive update. It's much appreciated.

Kind regards
Christoph

Please Log in or Create an account to join the conversation.

More
13 hours 47 minutes ago #175675 by Tuan Pham Ngoc
Hi Christoph

No, we do not make any changes to database schema in this release (and also in 5.0.0 release).

Regards,

Tuan
The following user(s) said Thank You: Christoph Berger

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong