Skip to content

Releases: the-pulli/DEVONthink-Attachments.mmBundle

v1.0.0

29 Jan 14:10
39b3365

Choose a tag to compare

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.rb inside 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.new bug (was creating year -4712 instead of today)
  • Modular code structure with DEVONthink module
  • Added CLAUDE.md for AI-assisted development

📁 Files Changed

Added:

  • Support/bin/devonthink.rb - Core module with all business logic
  • Support/bin/config_template.rb - Template for new user configs
  • Support/bin/open_rules.rb - Opens user config in editor
  • test/devonthink_test.rb - Unit tests
  • .github/workflows/test.yml - CI workflow
  • CLAUDE.md - AI development guidance
  • UPGRADE.md - Migration guide from 0.2.0

Removed:

  • Support/bin/rule.rb - Replaced by external config
  • Support/bin/files.rb - Consolidated into devonthink.rb
  • Support/bin/check_rule.rb - No longer needed

Full Changelog: 0.2.0...v1.0.0

0.2.0

24 Jul 13:53
0.2.0
69d172d

Choose a tag to compare

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 encrypted property 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

18 Dec 14:33
89d11fa

Choose a tag to compare

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)