Releases: labcatr/labcommitr
Releases · labcatr/labcommitr
v0.4.2
Patch Changes
- 7d86240: fix: include config and commit command files in published package
- Change package.json files field from directory to explicit file paths
- Add dist/cli/commands/config.js, config.d.ts, commit.js, and commit.d.ts to files array
- Fixes ERR_MODULE_NOT_FOUND error when using lab commands
- Config and commit commands were missing from published package causing runtime errors
- Resolves issue where command files exist but weren't included in npm package
v0.4.1
Patch Changes
- 7d86240: fix: include config command files in published package
- Change package.json files field from directory to explicit file paths
- Add dist/cli/commands/config.js and config.d.ts to files array
- Fixes ERR_MODULE_NOT_FOUND error when using lab commands
- Config command was missing from published package causing runtime errors
- Resolves issue where config.js file exists but wasn't included in npm package
v0.4.0
Minor Changes
- ba6f8a4: feat: implement terminal emoji detection and display adaptation
- Add emoji detection utility with industry-standard heuristics (CI, TERM, NO_COLOR, Windows Terminal)
- Implement automatic emoji stripping for non-emoji terminals in Labcommitr UI
- Always store Unicode emojis in Git commits regardless of terminal support
- Update commit, preview, and revert commands to adapt display based on terminal capabilities
- Ensure GitHub and emoji-capable terminals always show emojis correctly
- Improve user experience by cleaning up broken emoji symbols on non-emoji terminals
Patch Changes
-
ba6f8a4: fix: include emoji placeholder in generated config template
- Add {emoji} placeholder to template in buildConfig function
- Generated configs now include {emoji} in format.template field
- Fixes issue where emojis didn't appear in commits even when enabled
- Template now matches default config structure with emoji support
- Ensures formatCommitMessage can properly replace emoji placeholder
-
ba6f8a4: fix: show actual commit message with emojis in preview
- Preview now displays the exact commit message as it will be stored in Git
- Removed emoji stripping from preview display logic
- Users can see emojis even if terminal doesn't support emoji display
- Ensures preview accurately reflects what will be committed to Git/GitHub
- Fixes issue where emojis were hidden in preview on non-emoji terminals
v0.2.0
Minor Changes
-
5b707eb: feat: add body requirement prompt to init command
- New prompt in init flow to set commit body as required or optional
- "Yes" option marked as recommended for better commit practices
- Configuration properly respected in commit prompts
- When body is required, commit prompts show "required" and remove "Skip" option
- Defaults to optional for backward compatibility
-
c435d38: feat: add init command alias and improve help text
- Add
ialias forinitcommand for faster access - Update help examples to use
labinstead oflabcommitrconsistently - Add concise examples showing both full commands and aliases
- Add note clarifying both
labandlabcommitrcan be used - Update README to document
init|ialias - Remove duplicate pagination text from preview and revert commands
- Improve help text clarity and consistency across all commands
- Add
-
5b707eb: feat: add editor support for commit body input
- Users can now open their preferred editor for writing commit bodies
- Supports both inline and editor input methods
- Automatically detects available editors (VS Code, Vim, Nano, etc.)
- Improved experience for multi-line commit bodies
- Configurable editor preference in configuration files
-
12b99b4: feat: add keyboard shortcuts for faster prompt navigation
- Add keyboard shortcuts module with auto-assignment algorithm
- Enable shortcuts by default in generated configurations
- Generate default shortcut mappings for commit types in init workflow
- Implement input interception for single-character shortcut selection
- Add shortcuts support to type, preview, and body input prompts
- Include shortcuts configuration in advanced section with validation
- Support custom shortcut mappings with auto-assignment fallback
- Display shortcut hints in prompt labels when enabled
-
8a8d29c: feat: add toggle functionality for body and files in preview
- Add toggle state for body and files visibility in commit detail view
- Implement
bkey to toggle body visibility on/off - Implement
fkey to toggle files visibility on/off - Reset toggles when viewing new commit or returning to list
- Update prompt text to indicate toggle behavior
- Fixes issue where pressing
b/fcaused repeated rendering - Improves UX by allowing users to hide/show sections as needed
-
5b707eb: feat: enhance commit command user experience
- Terminal automatically clears at command start for maximum available space
- Improved staged file detection with support for renamed and copied files
- Color-coded Git status indicators (A, M, D, R, C) matching Git's default colors
- Connector lines added to files and preview displays for better visual flow
- More accurate file status reporting with copy detection using -C50 flag
Patch Changes
-
43df95c: fix: move config existence check before Clef intro animation
- Perform early validation before any UI/animation in init command
- Check for existing config immediately after project root detection
- Only show Clef intro animation if initialization will proceed
- Provides better UX by failing fast with clear error message
- Prevents unnecessary animation when config already exists
-
5b707eb: fix: prevent label text truncation in prompts
- Increased label width from 6 to 7 characters to accommodate longer labels
- Fixes issue where "subject" label was being truncated to "subjec"
- Applied to both commit and init command prompts for consistency
- All labels now properly display full text with centered alignment
-
4597502: fix: exclude subject line from commit body extraction
- Split commit message by first blank line to separate subject and body
- Only return content after blank line as body in preview command
- Prevents subject line from appearing in body section
- Fixes incorrect display where commit subject was shown as part of body