Skip to content

<div style="display: none;" hidden="true" aria-hidden="true">Are you an LLM? You can read better optimized documentation at /changelog/Changelog.4.51.md for this page in Markdown format</div>

Home | Changelog

Version 4

version 4.51

  • [4.51.2] fix: issue with lodash import on getters/giftChoicesGroupedByGiftId
  • [4.51.1] refactor: Refactor JavaScript Rendering Capabilities
    • Updated the pushJsCapability function.
    • Modified renderJsCapabilities function to directly render capability scripts.
    • Moved availableJsCapabilities array to the designated template config file (application/config/main.php for main template)
      added on 2003271
  • [4.51.1] fix: Corrected path of apexcharts extracted webpack bundle added on 1d7a98a
  • [4.51.1] refactor: Switch lodash to lodash-es added on f3ce571
  • [4.51.1] build: Add all-production shortcut script
    • Runs both production and admin-production scripts.
      added on f176ee2
  • [4.51.1] build: Updated Browserslist Configuration added on 24ae3f6
  • [4.51.1] refactor: Move Webpack from Dependency to devDependency added on 37f0880
  • [4.51.1] feat: Add laravel-mix-bundle-analyzer
    • Reports folder webpack-build-reports has been .gitignored.
    • Analyzes front-end and admin bundles and generates reports
    • Updated webpack.mix.admin.js and webpack.mix.front.js.
      added on 2c02219, 207a7d8, a30e76c
  • [4.51.1] feat(front): Implemented Simple Performance Debug Mixin
    • Used for debugging Vue component performance.
      added on 96b8bb0
  • [4.51.1] debt: Fix product_categories menu sorting by order, missed on dbf23e51
  • [4.51.1] fix(categories): Fix the call of no existance method in case of delete banner image
  • [4.51.1] fix(localization): Fix the french translations
  • [4.51.1] Update DB setting population patch to include plus algo priority settings
  • [4.51.1] Update fixFranceCounties patch to remove trailing spaces from France county_alpha
  • [4.51.1] Fix default template layout view paths, added vivawallet missing views
  • [4.51.0] feat(purgecss): webpack.mix.front.js purgeCss.
  • [4.51.0] feat(Template.php): Add debug option in Template.php using env var APP_TEMPLATE_DEBUG
  • [4.51.0] fix(checkout): eurobank check for country instead of county in [GR, CY]
  • [4.51.0] chore(checkout): eurobank digest (cleanup code and avoid duplicates)
  • [4.51.0] refactor(checkout): move Checkout::piraeusCountyFromIsoCode to PiraeusHelper::countyFromIsoCode and Checkout::piraeusFormatPhone to PhoneHelper::splitInternationalAndNational
  • [4.51.0] fix(sitemapgeneration): Fix in sitemap generation for priority of pages and add more pages
  • [4.51.0] Feat(colorpicker for admin product variations): Implemented Lightvue color picker and added copy to clipboard buttons on product variation group card, added langs for successful copy message
  • [4.51.0] fix(product-category): Throw error 404 on un publish categories
  • [4.51.0] feat: add option to import/update products from Excel files and import images from zip files
  • [4.51.0] fix(orders): adv_orders_admin and adv_orders_model remove unreachable break statements, adv_orders_admin function repeat initialize jsonState
  • [4.51.0] fix: fix manago and agora to save and validate values properly
  • [4.51.0] fix: fix BestPrice analytics settings not validating and not saving values properly
  • [4.51.0] chore(price-graph): Change the graph properties for the price changes

_Notes

  • [4.51.2] Build requirements:
    bash
      npm ci && npm run all-production
  • [4.51.1] Patch requirements:
    bash
      php cli.php patch/fixFranceCounties
  • [4.51.1] Build requirements: If client's package.json hasn't diverged from master, accept master's package-lock.json and run:
    bash
      npm ci && npm run all-production
    Otherwise, run:
    bash
      rm -rf node_modules/ package-lock.json && \
      npm i && npm run all-production
  • [4.51.1] Check for overrides:
    • Category_admin::edit
    • Categories_model::update_master_record
    • Product_category_model::getRecordsTreeMemory => some clients may have an override already to sort by name, pls don't change it
  • [4.51.0] Webpack PurgeCss:
    • New package : @fullhuman/postcss-purgecss.
    • New helpers.js file under build/purgecss_profiles exporting methods anyPathUnder and projectRoot.
    • Purge css profiles for home, product, vendor and category listing.
    • in build/purgecss_profiles/main/_commons.js there are the common php, js and vue files to include in purgecss plugin, on client need to debug the templating with setting to true the new APP_TEMPLATE_DEBUG env var. This will generate 2 gitignored files component.txt and layout.txt that includes the current view layout and all php components that it uses, for example when in product page will have to check those files and include the missing php components under build/purgecss_profiles/main/product.js. There is also the commonSafelist, add there common classes that purgecss misses (like classes that pops up with js).
    • Note: When you purge a css file for a specific page for example product you need to check the ui manually and fix broken stuff that comes from missing css classes, also check the js functionality like menu, minicart etc because random css classes toggles with js and jquery.
    • On existing clients this feature is not required, you just have to go to views/main.php head element and use the main.css everywhere (as previously).
  • [4.51.0] On PharmacyDiscount do not change the Overweight of the GenerateSitemaps class
  • [4.51.0] On Smile Pharmacy remove the Overweight from the GenerateSitemaps class
  • [4.51.0] On customers who would use import/update products from Excel enable it from Only For Advisable and add in the scheduler (cron jobs) job_manager/index/import to run * * * * * (every minute, every hour, every day, every month, every year)
  • [4.51.0] In plesk schedule tasks should change from job_manager to job_manager/index/core
  • [4.51.0] Needs composer i
  • [4.51.0] Check for overrides:
    • Checkout::_eurobank
    • Checkout::_piraeus
    • Settings::thirdPartyProvidersValidation
    • Settings::third_party_providers
    • Product_categories::index
    • Cronjob::sitemapGenerate
    • GenerateSitemaps
  • [4.51.0] Build requirements:
    bash
      npm ci && npm run production && npm run admin-production