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.58.md for this page in Markdown format</div>

Home | Changelog

Version 4

version 4.58

  • [4.58.1] feat(Transporters): add beforeAddData and beforeUpdateData methods in Transporters_admin to manipulate transporter $data and $dataMui before saving to transporters model - allows adding fields in transporters and transporters_mui tables
  • [4.58.1] fix: BitbucketCleanTags cannot clean already empty from tags repository - php explode error
  • [4.58.0] feat: update job manager
    • job manager can run all enabled job queues or a specific queue if is enabled. Job manager just handles the spawning of JobManagerQueue async sub processes
    • all jobs from develop can be called with old style from command line
    • break: JobCommand interface change where we can pass an array of options instead of string param JobCommand actually replaced by JobCommandExperimental which is working in queues of dioptra and gives far more flexibility to commands
    • no need for CreateJobSchedule as it is called whenever there are no pending jobs in queue for job manager if it has hasScheduler to true
    • no need for ClearJobSchedule in other queues other than core as it clears all enabled queues based on their keepLogPeriod setting
    • added job arguments in admin list view
  • [4.58.0] feat: add gift card order prefix in registry (needed for payways to avoid conflict with ids)
  • [4.58.0] feat: methods for performing post actions after gift card pending / accepted / canceled status

Notes

  • [4.58.0] Deployment requirements:
    1. disable all job manager tasks from scheduled tasks.
    2. set in jobs config enabled status to queues based on if there was a scheduled task enabled
    3. make a single task to run every minute httpdocs/cli.php job_manager
    4. delete the other tasks you previously disabled
  • [4.58.0] Build requirements:
    bash
    npm ci && npm run admin-production
    php cli.php patch/giftCards/orderPrefix
  • [4.58.0] Check for overrides:
    • Gift_card_page::{createPendingGiftCard|successView|errorView}
    • Gift_cards_admin_listing::{acceptGiftCard|cancelGiftCard}
  • [4.58.0] Checks and todos for job manager
    • all client jobs that implement JobCommand and need to be used in job manager must be updated to accept executeCommand.
    • all command calls should be updated to executeCommand even if we have an alternative from develop
    • check for overrides on any of the commands that come from develop and update accordingly (commands from develop are in application/modules/job/jobs and application/modules/gift_cards/jobs)