v1.20.7
medusajs/medusav1.20.7Jun 11, 2024by olivermrbl
AI Summary
Bug fix release that removes duplicate workflow registration checks and adjusts the transaction isolation level for batch job processing.
Key Highlights
- Duplicate workflow registration check removed.
- Batch job processing subscriber isolation level changed to 'REPEATABLE READ'.
New Features
- Workflow registration fix
- TX isolation level in batch job subscriber fix
Full Release Notes
<!--  # Version 1.20.7 This version squashes a few bugs, including batch job processing and the workflow registration mechanism. CMS_BREAK --> ## Highlights ### Duplicate workflow registration no longer throws Workflows are not utilized in v1.x, however our core package comes with a few workflows for v2.0. We are currently investigating an issue with checking for duplicate workflow registrations, but we can safely remove this check in v1.x, as it will never affect users using these versions. ### Isolation level in batch job subscriber The transaction isolation level set by the batch job processing subscriber has been changed from the default "READ COMMITTED" to "REPEATABLE READ" to ensure correct data in long-running job processors. This was always the intention, but the "REPEATABLE READ" level set in the batch job strategies was overwritten by the default level set in the subscriber calling the strategy. This happens because the subscriber initiates a transaction with the default level that is then reused within the strategies. ## Bugs * fix(workflows-sdk): workflow registration by @carlos-r-l-rodrigues in https://github.com/medusajs/medusa/pull/7590 * fix(medusa): TX isolation level in batch job subscriber by @olivermrbl in https://github.com/medusajs/medusa/pull/7661 ## Docs * docs(v1.x): use correct branch name by @shahednasser in https://github.com/medusajs/medusa/pull/7233 * docs: fix code snippet for webpack custom configurations by @shahednasser in https://github.com/medusajs/medusa/pull/7188 * docs(v1.x): fix rewrites of api-reference by @shahednasser in https://github.com/medusajs/medusa/pull/7318 * docs: fix example code block by @chiuwah in https://github.com/medusajs/medusa/pull/7453 * docs(v1.x): fix link to stripe plugin by @shahednasser in https://github.com/medusajs/medusa/pull/7557 ## Chores * chore(v1.x): fix build command in docs-util by @shahednasser in https://github.com/medusajs/medusa/pull/7280 * chore(ap-ref v1.x): add v2 rewrite + remove versioning snippets by @shahednasser in https://github.com/medusajs/medusa/pull/7305 ## New Contributors * @chiuwah made their first contribution in https://github.com/medusajs/medusa/pull/7453 **Full Changelog**: https://github.com/medusajs/medusa/compare/v1.20.6...v1.20.7