Skip to content

v1.1.6

Latest

Choose a tag to compare

@Peter-L-SVK Peter-L-SVK released this 17 Oct 18:38
Immutable release. Only release title and notes can be modified.
082a888

PyLine v1.1.6 Release Notes

🐛 Bug Fixes

Type Checking & Code Quality

  • Fixed mypy type conflicts in text buffer operations by adding appropriate # type: ignore comments
  • Resolved assignment conflicts with EditCommand subclasses while maintaining full functionality
  • Improved code reliability and static analysis compatibility

Shell Compatibility

  • Enhanced Ubuntu/Debian compatibility by replacing os.system() calls with shell-aware utilities
  • Fixed issues with systems where /bin/sh is dash instead of bash
  • Improved prompt display with TTY-aware continue functions
  • Maintained cross-platform support for macOS zsh and other Unix systems
  • Unified all clear operations using clear_screen() utility

Search & Replace Restoration

  • Fixed search and replace functionality that was not updating the buffer
  • Corrected hook response processing to handle both direct results and LanguageHookExecutor wrapped responses
  • Perl hook integration now works correctly with proper buffer updates
  • Maintained full undo/redo support for all replacement operations
  • Search results now properly highlight matches and display line numbers

Technical Improvements

  • Better handling of LanguageHookExecutor responses from non-Python hooks
  • Improved cross-shell compatibility for interactive features
  • Enhanced type safety while maintaining flexibility
  • More reliable buffer update mechanisms
  • File Headers: Unchanged (remain "PyLine 1.1" per versioning policy)

Compatibility

Fully compatible with:

  • Ubuntu/Debian (dash as /bin/sh)
  • macOS (zsh)
  • Other Unix-like systems
  • Python 3.8+
  • Perl 5+ for search/replace hooks

Upgrade Notes

This is a recommended update for all users, especially those:

  • Using Ubuntu/Debian systems
  • Relying on search and replace functionality
  • Working with Perl-based hooks
  • Experiencing shell compatibility issues

The search and replace functionality is now fully restored and more reliable than ever with proper undo support and cross-platform compatibility.