Releases: codee-sh/medusa-plugin-automations
Releases · codee-sh/medusa-plugin-automations
Release list
Release v1.0.11
Release v1.0.10
Patch Changes
- 94a205a: Improve automation action services and template handling.
- add context transformation support for email actions via
@codee-sh/medusa-plugin-notification-emails - improve template selection by introducing external template options and
fillTemplateNameFieldWithOptions - enhance admin action configuration with grouped options support in
SelectField - refactor email/slack action services to use more flexible typing and remove unused template registration logic
- clean up deprecated Slack template resources and internal service wiring
- add context transformation support for email actions via
Pull Requests
New Features
Full Changelog: v1.0.9...v1.0.10
v1.0.9
v1.0.8
v1.0.7
Release v1.0.7
New Features
- feat: Enhance automation rule value handling to support multiple data types
- feat: Add product attributes and event metadata for product categories, tags, and types
- feat: Refactor automation rules form to improve value input handling
- docs: Enhance README and documentation for automation features and rule conditions
Bug Fixes
- fix: Correct import order in automation form schema file
Improvements
- refactor: Update value handling in automation rules and triggers
- Merge pull request #11 from codee-sh/improvement/update-githubs
- Merge pull request #12 from codee-sh/improvement/update-githubs
Other Changes
- Merge pull request #7 from codee-sh/addkeywords
- Added a new utility function
getFieldsFromAttributesto field extraction from product attributes. - Add stock location attributes to inventory level
- Merge pull request #8 from codee-sh/feat--extendattributes
- Update package.json to include Prettier as a development dependency
- Merge pull request #9 from codee-sh/feat--clean
- Merge pull request #10 from codee-sh/fix-types
- Merge pull request #13 from codee-sh/develop
Full Changelog: v1.0.6...v1.0.7
v1.0.6
v1.0.5
Release v1.0.5
New Features
- feat: Add product and product variant templates to Slack integration and enhance inventory level workflow
Bug Fixes
- fix: Fixed types
Improvements
- refactor: Remove deprecated action handlers and templates, and update service to support dynamic template registration
- Merge pull request #5 from codee-sh/feat--improve-extends
Documentation
- docs: Update README.md to clarify changeset workflow and enhance npm-publish.yml to indicate disabled status for legacy workflow
- docs: Add screenshots section to README.md with a GIF of the Automations Admin Panel
- docs: pdate README.md section title
Other Changes
-
- bump version to 1.0.5
Full Changelog: v1.0.4...v1.0.5
v1.0.4
Release v1.0.4
Improvements
- Refactor Slack action handler and notification service to streamline notification content handling. Remove unused code and improve backend URL integration in workflows. Update package.json to remove deprecated package manager entry.
- Refactor Slack notification service to extend AbstractNotificationProviderService. Update inventory-level template for improved data handling and translation structure. Enhance error logging for Slack actions and streamline imports in workflows. Update translations for better clarity and consistency.
- Enhance BaseActionHandler and MpnAutomationService with detailed JSDoc comments for improved documentation.
- Refactor BaseConfigComponent to use 'any' type for props and remove unused imports.
- Refactor automation workflows by renaming email and Slack action workflows.
- Enhance AutomationsActionsForm to support action type changes for new actions, preventing modifications to existing actions. Update form reset logic and improve handling of available actions.
- Refactor AutomationsForms to improve event handling and available actions fetching. Prevent event name changes in edit mode for better user experience.
- Refactor AutomationsEditForm and related components to streamline loading and query handling.
Other Changes
- Remove last_run_at field from middlewares configuration to streamline data handling.
- Enhance automation forms and services by adding event attributes and improving event retrieval logic. Update UI to display attribute values in the automation rules form. Refactor action handler imports and streamline event handling in the MpnAutomationService.
- Enhance automation actions form and available actions service to support dynamic template loading based on event names.
- Enhance event handling and template rendering by adding contextType support across various modules.
- Replace 'Notification' with 'Automation' in rules, triggers, and actions across various modules and workflows for consistency and clarity.
- Memoize columns in AutomationsList to optimize rendering performance.
- Merge pull request #4 from codee-sh/feat-events
Full Changelog: v1.0.3...v1.0.4
v1.0.3
Release v1.0.3
Bugs
- Removed
last_run_atfield from middlewares configuration for cleaner data handling
Docs
- Added GitHub release automation with automatic release notes generation
- Added PR labeler workflow for automatic categorization of pull requests
- Added release notes workflow as backup for commit-based releases
- Added PR template for better pull request structure
v1.0.2
Release v1.0.2
New Features
Automation State Management
- Added ability to track automation execution history
- You can now see when automations last ran and their execution status
- Better tracking of automation runs with improved state management
Enhanced Admin Panel
- Updated automation list to show the most recent execution time
- Improved display of automation history in the admin interface
Improvements
Database Improvements
- Better data cleanup when automations are deleted
- Improved database relationships for more reliable operations
- Removed old
last_run_atfield and moved tracking to automation states
Code Quality
- Refactored automation components for better consistency
- Improved code formatting and organization
- Enhanced workflows for better reliability
API Updates
- Improved API responses with better error handling
- Updated queries to include automation state information
Documentation
- Updated configuration guides
- Improved admin panel documentation
Migration Required
Important: This release includes database changes. After updating, run:
medusa migrations runThis will update your database structure to support the new automation state tracking.
Breaking Changes
- The
last_run_atfield has been removed from automation triggers. Execution history is now tracked through automation states instead.
Full Changelog: v1.0.1...v1.0.2