Skip to content

v1.0.4

Choose a tag to compare

@Peter-L-SVK Peter-L-SVK released this 08 Oct 10:36
· 37 commits to main since this release
Immutable release. Only release title and notes can be modified.
e55ded7

PyLine 1.04 Release Notes

Overview

Minor maintenance release focusing on code quality, type safety, and user experience improvements. This release enhances robustness and developer experience while maintaining full backward compatibility.

New Features & Improvements

Code Quality & Type Safety

  • Enhanced Type Safety: Resolved mypy type inconsistencies across config and execmode modules
  • Robust Path Handling: Improved get_path() method with proper default values and fallbacks
  • Professional Configuration: Replaced hardcoded parameters with dynamic config-based path management

User Experience

  • Streamlined Workflows: Removed redundant [Y/N] confirmation prompts from change default path command
  • Legacy Code Cleanup: Eliminated early development debug artifacts for cleaner interface
  • Manual Execution Support: Properly configured source paths for running PyLine directly from source

Developer Experience

  • Better Error Handling: Enhanced exception handling with sensible defaults
  • Improved Resource Access: Consistent license and resource file location detection
  • Type-safe Returns: Eliminated potential None returns from configuration methods

Bug Fixes

  • Fixed incompatible type assignments between Optional[str] and str return types
  • Corrected default path handling in CWD command to use configured defaults
  • Resolved source path detection for manual execution scenarios

Compatibility

  • Full Backward Compatibility: All existing configurations and workflows remain unchanged
  • Hook System: No changes to hook API or functionality

Technical Details

Code Changes

  • config.py: Enhanced get_path() method with proper default handling
  • execmode.py: Streamlined user interactions and improved path management
  • main.py: Improved resource path detection for manual execution
  • dirops.py: Type safety improvements in directory operations

Configuration

  • No configuration changes required
  • Existing user settings preserved automatically
  • Theme and hook configurations remain intact

Note: Version 1.04 reflects internal improvements while maintaining the stable 1.0 feature set. The version number in code headers remains 1.0 for consistency with the major release cycle.