Releases: the-pulli/DEVONthink-Attachments.mmBundle
Releases · the-pulli/DEVONthink-Attachments.mmBundle
v1.0.0
v1.0.0 - Major Refactor
Maintainer: PuLLi
This release introduces a major refactoring with update-safe configuration - your custom rules now persist across bundle updates.
⚠️ Breaking Changes
- Config location changed: User config moved from
Support/bin/rule.rbinside the bundle to~/Library/Application Support/MailMate/DEVONthink Attachments Config/rules.rb - Config format changed: From Ruby class with constants to simple Ruby hash
👉 See UPGRADE.md for migration instructions.
✨ New Features
- Update-safe config: Bundle can be completely replaced without losing your customizations
- Config merging: Only specify overrides, defaults auto-apply
- Unit tests: Added minitest test suite
- CI: GitHub Actions workflow for automated testing
🔧 Improvements
- Simplified Ruby detection (uses
/usr/bin/env ruby) - Consolidated code: 3 Ruby files instead of 5
- Fixed
Date.newbug (was creating year -4712 instead of today) - Modular code structure with
DEVONthinkmodule - Added CLAUDE.md for AI-assisted development
📁 Files Changed
Added:
Support/bin/devonthink.rb- Core module with all business logicSupport/bin/config_template.rb- Template for new user configsSupport/bin/open_rules.rb- Opens user config in editortest/devonthink_test.rb- Unit tests.github/workflows/test.yml- CI workflowCLAUDE.md- AI development guidanceUPGRADE.md- Migration guide from 0.2.0
Removed:
Support/bin/rule.rb- Replaced by external configSupport/bin/files.rb- Consolidated into devonthink.rbSupport/bin/check_rule.rb- No longer needed
Full Changelog: 0.2.0...v1.0.0
0.2.0
What's Changed
Features
- Custom rules file (
custom_rule.rb) to preserve user rules after bundle updates - Option to delete duplicate files or move them to trash
Improvements
- Refactored AppleScript to external file for better maintainability
- Use
encryptedproperty of record instead of shell script for encryption detection - Fixed cleanup of files after OCR processing
Commits
- Introduce custom_rule.rb, to keep your rules after updating
- Fix issue with clean up files after ocr
- Use encrypted property of record instead of shell script
- Refactor to external applescript file
- Add option to delete duplicate files
0.1.0
Initial Release
First release of the DEVONthink Attachments bundle for MailMate.
Features
- Import email attachments to DEVONthink with Ctrl+A
- Automatic OCR for blank PDFs
- Configurable filtering rules (reject/select by filename or MIME type)
- Duplicate detection
- Link imported files back to original email (⌃⌘U in DEVONthink)