Skip to main contentUpgrade workflows-py
Pull the latest workflows-py version from the template:
Steps
- Pull the latest workflows-py package from the workflow-template
- Copy the updated package to your project
- Verify compatibility with existing workflows
Common Issues
- Version conflicts: Check for incompatible dependencies
- Breaking changes: Review the changelog for any breaking changes
- Import errors: Update import statements if module structure changed
- Workflow compatibility: Ensure existing workflows work with the new version
- API changes: Check if workflow API methods have changed
- Configuration updates: Update workflow configuration files if needed
- Step definitions: Verify custom step definitions are still compatible
Upgrade samplehc
Pull the latest samplehc version from the template:
Steps
- Pull the latest samplehc package
Common Issues
- API changes: Verify API endpoints are still compatible
- Configuration changes: Update configuration files if needed
Upgrade samplehc-ui
Pull the latest samplehc-ui version from the template:
Steps
- Pull the latest samplehc-ui package from the workflow-template
- Copy the updated UI components to your project
- Test UI components thoroughly
Common Issues
- Component props changes: Update component props according to new API
- Styling conflicts: Resolve any CSS or styling conflicts
- Theme compatibility: Ensure theme configurations are compatible
Pull latest lambda handler
Pull the latest lambda handler from the template:
Steps
- Pull the latest lambda handler code from the workflow-template
- Backup existing handler configurations
- Copy the updated handler to your project
- Merge any custom modifications
- Deploy and test the updated handlers
Common Issues
- Environment variables: Update environment variables if required
- Permission changes: Verify IAM permissions are still valid
- Runtime compatibility: Check if runtime version is supported
Pull latest app.tsx
Pull the latest app.tsx from the template:
Steps
- Pull the latest app.tsx from the workflow-template
- Backup your current app.tsx file
- Copy the updated app.tsx to your project
- Merge your custom changes
- Test the application thoroughly
Common Issues
- Route changes: Update routing configuration if needed
- Provider changes: Check if context providers have changed
- Hook usage: Verify custom hooks are still compatible
- State management: Update state management logic if required
General Troubleshooting Tips
Before Upgrading
- Always backup your current configuration
- Review changelogs and release notes
- Test in a development environment first
Getting Help
If you encounter issues not covered in this guide, please contact our support team at support@samplehc.com.