Skip to content

Conversation

Copy link

Copilot AI commented Aug 20, 2025

Updates the inlyne markdown rendering library from version 0.4.1 to 0.5.0 while maintaining compatibility with the massive project's wgpu 26 requirement.

Changes Made

Core Update

  • Updated inlyne version from 0.4.1 to 0.5.0 in the git submodule fork
  • Maintained wgpu 26 compatibility (upstream uses incompatible wgpu 0.16)

Dependency Updates

Applied selective dependency updates to incorporate improvements while avoiding breaking API changes:

  • comrak: 0.21.0 → 0.35.0 (markdown parser improvements)
  • dirs: 5.0.1 → 6.0.0 (system directory utilities)
  • dark-light: 1.0.0 → 2.0.0 (system theme detection)
  • human-panic: 1.2.3 → 2.0.2 (improved panic handling)
  • pollster: 0.3.0 → 0.4.0 (async utilities)
  • lz4_flex: 0.11.2 → 0.11.3 (compression)

Dependencies Kept at Compatible Versions

To minimize breaking changes, these dependencies were kept at their current versions:

  • taffy (0.3.18): Major API changes in 0.9.0 would require extensive layout code refactoring
  • image (0.24.9): API changes in 0.25.x break the current decoder implementation
  • html5ever (0.26.0): Parser API changes in 0.27.0
  • resvg (0.37.0): SVG rendering API changes in 0.39.0
  • two-face (0.3.0): Syntax highlighting API changes in 0.4.x

Bug Fixes

  • Fixed BufferQueue::new() vs BufferQueue::default() API change
  • Updated dark-light theme detection to handle new Result-based API
  • Corrected "SublimeSnazzy" theme name typo that was causing compilation errors

Testing

  • ✅ Both markdown and emojis examples compile successfully
  • ✅ Full project build completes without errors
  • ✅ All dependency conflicts resolved
  • ✅ Maintains existing functionality while incorporating latest bug fixes and improvements

This update brings inlyne to the latest version while taking a conservative approach to dependency updates, ensuring stability and minimizing the risk of introducing breaking changes to the massive project.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Update the inlyne to the latest version. Fix the code that depends on it. Make it compilable. Update inlyne to version 0.5.0 with selective dependency updates Aug 20, 2025
Copilot AI requested a review from pragmatrix August 20, 2025 05:37
Copilot finished work on behalf of pragmatrix August 20, 2025 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants