Skip to content

Release v1.2.1

Choose a tag to compare

@github-actions github-actions released this 13 Apr 10:25
· 25 commits to main since this release

English Version:

  • Release Name: Release v1.2.1
  • Release Date: 2025-04-13
  • Highlights:
    1. Improved Memory Caching:
      • Introduced MemoryCacheManager with configurable cache size using the SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE environment variable.
      • Enhanced caching logic with better memory management and eviction mechanisms.
    2. Runtime Configurations:
      • Added runtime flexibility with the SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE variable to adjust context lines for error stack analysis.
    3. Optimized Stack Parsing:
      • Refactored parser.ts and server.ts to improve stack trace parsing and eliminate redundant logic.
    4. Documentation Updates:
      • Updated README.md and README.zh-CN.md to reflect new usage examples for runtime parameters and clarified tool descriptions.
    5. Bug Fixes:
      • Addressed issues with context line handling and improved error handling in parsing logic.

中文版:

  • 版本名称: Release v1.2.1
  • 发布日期: 2025-04-13
  • 主要内容:
    1. 改进的内存缓存:
      • 引入 MemoryCacheManager,支持通过环境变量 SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE 配置缓存大小。
      • 改善缓存逻辑,优化内存管理和清理机制。
    2. 运行时配置:
      • 增加运行时灵活性,通过 SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE 调整错误堆栈分析的上下文行数。
    3. 堆栈解析优化:
      • 重构 parser.tsserver.ts,改进堆栈跟踪解析性能,删除冗余逻辑。
    4. 文档更新:
      • 更新了 README.mdREADME.zh-CN.md,提供新的运行时参数使用示例,并详细说明了工具功能。
    5. Bug 修复:
      • 修正了上下文行处理逻辑问题,并改进了解析逻辑中的错误处理能力。

Full Changelog: v1.1.0...v1.2.1