v2.6.1: Improved Scheduled Jobs
Highlights
Scheduled Jobs execution
Ensure Scheduled Jobs are only executed by server instances running in worker or shared mode. Our workflow engine powers scheduled jobs, and we create a workflow for every job. Scheduled Jobs (i.e. workflows) are not registered in servers that run in server mode. Consequently, if a server instance tries to pick up a Scheduled Job, it will fail, as it cannot find the underlying workflow. This change ensures that only worker and shared server instances execute Scheduled Jobs.
Features
Bugs
- fix(pricing): events by @carlos-r-l-rodrigues in #11742
- fix(workflow-engine-redis): Split the queues and respect worker mode for job executions by @adrien2p in #11740
- fix(core-flows): conditionally create, update or delete products when input is present by @riqwan in #11758
- Fix(framework): http cors middleware order and options by @adrien2p in #11765
- chore: pin swc to 1.5.7 by @thetutlage in #11759
- fix: Add created at and updated at dates to payment session by @sradevski in #11774
- fix(core-flows): fulfillment reservation check by @fPolic in #11735
- fix(dashboard): allow creating fulfillment for items without shipping profile by @fPolic in #11733
- fix(dashboard): display minute instead of month by @fPolic in #11731
- fix(medusa): Apply middleware to GET customers/:id/addresses/:address_id by @kasperkristensen in #11788
- fix(medusa): Use correct query config by @kasperkristensen in #11789
Documentation
- docs: changes for next release by @shahednasser in #11708
- docs-util: fix freshness check script by @shahednasser in #11737
- docs: fix tag for JS SDK draft order + other fixes by @shahednasser in #11747
- Update page.mdx by @MedusaNick in #11752
- docs: changes to main docs sidebar by @shahednasser in #11750
- docs: add sidebar sorting logic by @shahednasser in #11751
- docs-util: add exceptions for routes with custom auth middleware by @shahednasser in #11755
- docs: change link to cloud pricing by @shahednasser in #11753
- chore: remove ranges on medusa packages by @olivermrbl in #11738
- docs: support multiple sidebars in a project by @shahednasser in #11768
- docs: update UI docs to latest version by @shahednasser in #11770
- docs: fix duplicate footer in user guide by @shahednasser in #11785
Chores
- chore(product): Improve product normalization and fix http router with tracing by @adrien2p in #11724
- chore(js-sdk): fix tsdocs for properties and methods by @shahednasser in #11748
- chore(cart, core-flows): Improve tax lines algo management by @carlos-r-l-rodrigues in #11715
Full Changelog: v2.6.0...v2.6.1