mirror of
https://github.com/xtr-dev/payload-automation.git
synced 2025-12-10 00:43:23 +00:00
- Delete unused test files: `basic.test.ts`, `condition-fix.spec.ts`, `create-document-step.test.ts`, and `error-scenarios.spec.ts` - Streamline codebase by eliminating redundant and outdated test cases - Improve maintainability by keeping only relevant and up-to-date tests
2.5 KiB
2.5 KiB
Changelog
All notable changes to the PayloadCMS Automation Plugin will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.0.38] - 2025-09-10
Changed
- Updated dependencies to PayloadCMS 3.45.0
- Enhanced plugin configuration and stability
[0.0.37] - 2025-09-XX
Removed
- Breaking Change: Removed built-in cron trigger implementation in favor of webhook-based scheduling
- Removed unused plugin modules and associated tests
- Removed
initCollectionHooksand associated migration guides
Changed
- Refactored triggers to TriggerConfig pattern
- Simplified executor architecture by removing executorRegistry pattern
- Updated to on-demand workflow execution creation
Added
- Migration guide for v0.0.37 (MIGRATION-v0.0.37.md)
- Enhanced parameter field configuration
Migration Notes
- Built-in cron triggers are no longer supported. Use webhook triggers with external cron services (GitHub Actions, Vercel Cron, etc.)
- Update trigger configurations to use the new TriggerConfig pattern
- See MIGRATION-v0.0.37.md for detailed migration steps
[0.0.16] - 2025-09-01
Fixed
- Critical Bug: Removed problematic
hooksInitializedflag that prevented proper hook registration in development environments - Silent Failures: Added comprehensive error logging with "AUTOMATION PLUGIN:" prefix for easier debugging
- Hook Execution: Added try/catch blocks in hook execution to prevent silent failures and ensure workflow execution continues
- Development Mode: Fixed issue where workflows would not execute even when properly configured due to hook registration being skipped
Changed
- Enhanced logging throughout the hook execution pipeline for better debugging visibility
- Improved error handling to prevent workflow execution failures from breaking other hooks
Migration Notes
- No breaking changes - this is a critical bug fix release
- Existing workflows should now execute properly after updating to this version
- Enhanced logging will provide better visibility into workflow execution
[0.0.15] - 2025-08-XX
Changed
- Updated workflow condition evaluation to use JSONPath expressions
- Changed step configuration from
type/inputstostep/input - Updated workflow collection schema for improved flexibility
[0.0.14] - 2025-08-XX
Added
- Initial workflow automation functionality
- Collection trigger support
- Step execution engine
- Basic workflow management