Releases: lunerfox/ObsidianRestaurantSearch
Releases · lunerfox/ObsidianRestaurantSearch
Release list
1.6.0 - Smart Field Population & Template Selection
What's New in 1.6.0
Fixed
- Removed hardcoded cuisine for non-restaurant places (#1)
- Cuisine field now only appears when place has food-related types
- No more "Restaurant" fallback for parks, museums, etc.
- Smart field population based on template
- Only includes fields that exist in your template (case-insensitive)
- Essential fields (address, location, link, phone) are always included
- Optional fields filtered based on template
Added
- Template selection modal for search selection workflow (#2)
- New "Search selection - Choose Template" command
- Select template before searching instead of needing separate commands
- Displays all available templates with descriptions
- Case-insensitive template field matching
- Comprehensive frontmatter fields documentation in README
How to Use New Features
Template Selection Modal:
- Select text in your editor
- Run command: "Search selection - Choose Template"
- Choose a template from the modal
- Search proceeds with selected template
Smart Field Population:
- Add fields to your template frontmatter (e.g.,
cuisine:,city:,rating-google:) - Plugin will only populate fields that exist in your template
- Essential fields (address, location, link, phone) are always included
Testing
- All 134 tests passing ✓
- Verified with restaurants, parks, museums, and other place types
🤖 Generated with Claude Code
1.5.2
Version 1.3.2
[1.3.2] - 2025-12-07
Added
- Comprehensive test suite with 129 tests covering:
- Unit tests (121 tests):
- DataMapper service (31 tests)
- GooglePlacesService (19 tests)
- NoteCreator service (25 tests)
- BatchUpdateService (46 tests)
- Integration tests (8 tests):
- Search and Create Note workflow (3 tests)
- Batch Update workflow (3 tests)
- Template Merging workflow (2 tests)
- Unit tests (121 tests):
- Test infrastructure with Vitest, mocks for Obsidian API, and fixture data
- Automated testing in build process - builds fail if tests fail
- Test coverage tracking with V8 coverage provider
- TypeScript strict type checking for production code
- Comprehensive testing documentation (TESTING.md)
Changed
- Build process now runs tests before compilation
- Added ES2017 to TypeScript lib for Object.entries support
- Updated project structure documentation with test directories
[1.3.1] - 2025-12-06
Updated
- Cuisine mappings are now user-configurable through plugin settings
- Moved cuisine type mappings from hard-coded values to a new "Restaurant settings" section
- Users can add, modify, or remove cuisine mappings via a text area in settings
- All existing default cuisine mappings are preserved for backward compatibility
- Prepared settings structure for future expansion to other place types
[1.3.0] - 2025-12-06
Added
- Batch update places command to retroactively add geo-data to existing notes
- New "Batch update places" settings section with configurable options:
- Address field name (specify which frontmatter field contains the address)
- Use filename as fallback (search by filename when no address exists)
- Auto-select single result (automatically select when only one place is found)
- Rate limit delay (configurable delay between API calls to avoid rate limiting)
- Batch update modal with folder path filtering and progress tracking
- Place selection modal for choosing the correct place when multiple results are found
- Real-time progress display showing current file and completion percentage
- Comprehensive results summary with files updated, skipped, and error details
- API key validation before starting batch operations
- Cancellation support to stop batch processing mid-operation
Changed
- Enhanced frontmatter parsing to preserve existing structure during updates
- Never overwrites existing address or location fields
1.2.2
Release Notes - v1.2.2
Linter Compliance & Code Quality
This release addresses additional code quality issues identified by the Obsidian plugin linter:
- Fixed UI text casing to follow Obsidian style guidelines (18+ locations)
- Improved object stringification using JSON.stringify
- Removed unused variables and imports
- Cleaned up settings heading text
- Enhanced code maintainability and consistency
Technical Changes:
- All linter warnings resolved
- No functional changes - existing features work as before