Skip to content

feat(templates): add template save/load functionality with versioning#10

Open
manu4543 wants to merge 8 commits intomainfrom
expose-state
Open

feat(templates): add template save/load functionality with versioning#10
manu4543 wants to merge 8 commits intomainfrom
expose-state

Conversation

@manu4543
Copy link

Add template management API to save and restore editor transformation stacks:

  • Add getTemplate() and loadTemplate() methods to ImageKitEditorRef
  • Implement v1 versioning system for backward compatibility
  • Export TRANSFORMATION_STATE_VERSION constant

Add comprehensive testing infrastructure:

  • Add backward compatibility test suite with v1 template fixtures
  • Configure Vitest with coverage reporting
  • Add test step to CI workflow

Update documentation:

  • Add template management guide with examples
  • Document version compatibility approach
  • Add TypeScript usage examples

Other changes:

  • Bump version from 2.1.0 to 2.2.0
  • Add coverage directory to .gitignore
  • Update React example with template save/load demo

Add template management API to save and restore editor transformation stacks:
- Add getTemplate() and loadTemplate() methods to ImageKitEditorRef
- Implement v1 versioning system for backward compatibility
- Export TRANSFORMATION_STATE_VERSION constant

Add comprehensive testing infrastructure:
- Add backward compatibility test suite with v1 template fixtures
- Configure Vitest with coverage reporting
- Add test step to CI workflow

Update documentation:
- Add template management guide with examples
- Document version compatibility approach
- Add TypeScript usage examples

Other changes:
- Bump version from 2.1.0 to 2.2.0
- Add coverage directory to .gitignore
- Update React example with template save/load demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant