Skip to content

Releases: LKF0402/hitran-mcp

HitranLab v1.5.4

Choose a tag to compare

@LKF0402 LKF0402 released this 16 Sep 05:05

HitranLab v1.5.4

Release Date: 2026-09-16


What's New

Bug Fixes

  • Fixed the layer manager falsely reporting "Q(T) / cross-section view" when deleting a curve
  • Fixed the duplicated "not configured (not configured)" API key status text
  • Fixed the download engine still showing "HAPI2 official API (with api_key)" after clearing the API key: hapi2_bootstrap(force=True) ignored force, and the stale key stayed in SETTINGS; the Clear button now actually revokes the key
  • Fixed the status panel never refreshing: it now refreshes when the tab is opened and immediately after saving/clearing the key
  • Cross-section API errors are now classified by HTTP status code instead of blaming the user for server-side failures (401/403 → key issue, 404 → not found, 5xx → server fault, URLError → network/proxy, timeout → timeout)
  • Fixed "Import spectrum" and "Compute spectrum" silently wiping each other's curves
  • Fixed hover readout mislabeling units in sigma mode; imported external data is no longer labeled as alpha
  • Fixed merged-CSV header unit mislabeling when the first dataset is imported external data
  • Fixed the NumPy 2 deprecation warning from np.trapz
  • Added an upper bound to the on-disk computation cache (bounded startup load; oldest entries evicted with their .npz)

Security & Privacy

  • Credential redaction: the official v2 API puts the API key in the request URL path, so exception text could leak it into MCP responses, log fields, GUI messages and Hitran_Data/error.log; now scrubbed at all three exits
  • Self-update hardening: https-only asset URL, basename-only filename, %% escaping for install paths containing %
  • Release privacy gate: numba on-disk caches (.nbc, which embed the builder's absolute path) are stripped before packaging, and the whole artifact is rescanned

Improvements

  • Fetch errors are classified: network failures are no longer conflated with "this window has no HITRAN lines"
  • Network precheck now validates proxy reachability and reports the exact proxy address

Download

  • Portable: HitranLab-windows-x64.zip
  • Auto-update: v1.5.3 and earlier -> Help -> Check for Updates

新增内容

问题修复

  • 修复「图层管理」删除曲线误报"当前为 Q(T)/截面视图"
  • 修复「运行状态」API key 显示"未配置(未配置)"
  • 修复取消 API key 后「下载引擎」仍显示 HAPI2 官方 API(两个根因:force 被短路 + key 残留);「清除」现在真正取消 key
  • 修复「运行状态」面板不刷新(切到该页自动刷新;保存/清除 key 后立即刷新)
  • 截面接口报错按 HTTP 状态码区分,不再把官方服务端故障栽给用户
  • 修复「导入光谱」与「计算光谱」互相清空曲线
  • 修复悬停读数在 sigma 模式谎标单位;外部导入数据不再谎标 alpha
  • 修复合并导出 CSV 表头单位谎标
  • 修复 NumPy 2 下 np.trapz 弃用告警
  • 磁盘计算缓存加上限(启动只加载最新若干条,按时间淘汰最旧)

安全与隐私

  • 凭据脱敏:官方 v2 API 把 key 放在 URL 路径中,异常文本可能把 key 带进 MCP 响应 / log / GUI 提示 / error.log;现已在三处出口统一脱敏
  • 自更新加固:强制 https、文件名只取 basename、对含 % 的安装路径做 %% 转义
  • 发布隐私闸门:打包前清除会内嵌构建机绝对路径的 numba 磁盘缓存,并回扫全产物

优化改进

  • 取数错误分类:联网失败不再与"该窗口无 HITRAN 收录线"并列
  • 网络预检纳入代理连通性,并给出具体代理地址

下载

  • 免安装版:HitranLab-windows-x64.zip
  • 自动更新:v1.5.3 及更早版本 → 帮助 → 检查更新

HitranLab v1.5.3

Choose a tag to compare

@LKF0402 LKF0402 released this 12 Sep 07:56

What's Changed

Bug Fixes

  • Introduced task generation checks: stale messages from cancelled worker threads no longer pollute the new task's UI state
  • Fixed cross-section file import failure from arbitrary paths: files are now auto-copied into xsc_data/ before import
  • Fixed silent isotopologue selection override: line strength mode now correctly passes the isotopologue parameter
  • Fixed UI freezing when saving API key: hapi2_bootstrap is now executed on a background thread
  • Fixed UI freezing when importing large spectrum files: switched to numpy.loadtxt for batch reading
  • Fixed progress bar being updated by cancelled background tasks: progress callbacks now include generation checks

本次更新

问题修复

  • 引入任务世代校验机制:停止计算后旧线程的残留消息不再污染新任务 UI
  • 修复浏览截面文件导入失败:选完文件自动复制到 xsc_data/ 目录
  • 修复非主同位素被静默忽略:线强模式正确传递同位素参数
  • 修复 API key 保存时阻塞 UI:hapi2_bootstrap 移到后台线程执行
  • 修复导入大文件光谱卡死 UI:改用 numpy.loadtxt 批量读取
  • 修复进度条被已取消任务继续刷新

HitranLab v1.5.2

Choose a tag to compare

@LKF0402 LKF0402 released this 11 Sep 14:34

HitranLab v1.5.2

Release Date: 2026-09-11


What's New

Bug Fixes

  • Fixed auto-updater hang on Windows
  • Added real-time progress display during updates
  • Added automatic retry (up to 3 attempts)
  • Fixed Chinese character garbling in UTF-8 terminals

Download

  • Portable: HitranLab-windows-x64.zip
  • Auto-update: v1.5.1 and earlier → Help → Check for Updates

新增内容

问题修复

  • 修复自动更新器卡死问题
  • 更新过程显示实时进度
  • 自动重试机制(最多 3 次)
  • 修复 UTF-8 终端下中文乱码

下载

  • 免安装版:HitranLab-windows-x64.zip
  • 自动更新:v1.5.1 及更早版本 → 帮助 → 检查更新

HitranLab v1.5.1

Choose a tag to compare

@LKF0402 LKF0402 released this 11 Sep 13:57

HitranLab v1.5.1

Release Date: 2026-09-11


What's New

License Change

  • Changed license from MIT to GNU GPLv3

Bug Fixes

  • Fixed cross-section download selection not registering
  • Fixed bottom control bar being squeezed off-screen on small displays
  • Eliminated duplicate cross-section queries
  • Centralized checkbox state management

Download

  • Portable: HitranLab-windows-x64.zip
  • Auto-update: v1.5.0 and earlier → Help → Check for Updates

新增内容

许可证变更

  • 许可证由 MIT 改为 GNU GPLv3

问题修复

  • 修复截面下载勾选失效问题
  • 修复小屏幕下底栏按钮被挤出可视区
  • 消除重复截面查询
  • 统一勾选状态管理

下载

  • 免安装版:HitranLab-windows-x64.zip
  • 自动更新:v1.5.0 及更早版本 → 帮助 → 检查更新

HitranLab v1.5.0

Choose a tag to compare

@LKF0402 LKF0402 released this 11 Sep 13:43

HitranLab v1.5.0

Release Date: 2026-09-11


What's New

New Features

  • Cross-section database online search and one-click download (600+ heavy molecules)
  • Chinese/chemical formula molecule search (no need to memorize English names)
  • HAPI2 official API integration for line list downloads
  • Support for native HITRAN .xsc file format

Improvements

  • Reduced startup memory usage (225 MB → 137 MB)
  • Added network retry with exponential backoff
  • Enhanced error logging and diagnostics

Bug Fixes

  • Fixed silent data corruption during chunked computation
  • Fixed line list truncation detection
  • Fixed dialog focus issues (API key / preferences / about)
  • Fixed molecular search input lag

Download

  • Portable: HitranLab-windows-x64.zip
  • Auto-update: v1.4.x and earlier → Help → Check for Updates

新增内容

新功能

  • 截面数据库在线检索与一键下载(600+ 重分子)
  • 中文/化学式分子搜索(无需记忆英文名)
  • HAPI2 官方 API 线表下载接入
  • 支持 HITRAN 原生 .xsc 文件格式

优化改进

  • 降低启动内存占用(225 MB → 137 MB)
  • 网络请求指数退避重试
  • 增强错误日志与诊断能力

问题修复

  • 修复分块计算时静默数据篡改
  • 增强线表截断检测
  • 修复弹窗焦点问题(API key / 首选项 / 关于)
  • 修复分子搜索框输入卡顿

下载

  • 免安装版:HitranLab-windows-x64.zip
  • 自动更新:v1.4.x 及更早版本 → 帮助 → 检查更新

HitranLab v1.4.2

Choose a tag to compare

@LKF0402 LKF0402 released this 11 Sep 10:21

HitranLab v1.4.2

Release Date: 2026-09-11


What's New

Critical Fixes

  • Fixed engine crash on startup (all computation failed)
  • Fixed chunked computation point count inconsistency
  • Added truncated line list file detection and auto-re-download

Improvements

  • Error dialog now supports text selection and copy
  • All errors automatically logged to Hitran_Data/error.log

Download

  • Portable: HitranLab-windows-x64.zip
  • Auto-update: v1.4.0 and earlier → Help → Check for Updates

新增内容

关键修复

  • 修复启动时引擎崩溃(所有计算功能失效)
  • 修复分块计算点数不一致
  • 新增线表截断检测与自动重下

优化改进

  • 错误对话框支持文本选中与复制
  • 所有错误自动记录到 Hitran_Data/error.log

下载

  • 免安装版:HitranLab-windows-x64.zip
  • 自动更新:v1.4.0 及更早版本 → 帮助 → 检查更新

HitranLab v1.4.1

Choose a tag to compare

@LKF0402 LKF0402 released this 11 Sep 09:11

HitranLab v1.4.1

Release Date: 2026-09-11

Note: This release had a source code bug and is deprecated. Users are recommended to upgrade to v1.4.2 or later.


What's New

This patch version contains minor bug fixes and UI improvements.


Download

  • Recommended: Upgrade to v1.4.2 or later
  • Auto-update: Help → Check for Updates

新增内容

本补丁版本包含若干 bug 修复与 UI 改进。

注意: 本版本存在源码 bug,已废弃。建议升级到 v1.4.2 或更高版本。


下载

  • 推荐: 升级到 v1.4.2 或更高版本
  • 自动更新:帮助 → 检查更新

HitranLab v1.4.0

Choose a tag to compare

@LKF0402 LKF0402 released this 10 Sep 16:53

HitranLab v1.4.0

Release Date: 2026-09-10


What's New

New Features

  • Molecular alias search (166 aliases, supports English names, chemical formulas, and M-numbers)
  • Enhanced legend with English molecule names (55 species)
  • Extended configuration persistence (molecule, isotope, path length, cutoff, etc.)
  • HAPI2 compatibility layer framework
  • Numba capability detection

Download

  • Portable: HitranLab-windows-x64.zip
  • Auto-update: v1.3.0 and earlier → Help → Check for Updates

新增内容

新功能

  • 分子别名搜索(166 条别名,支持英文名/化学式/M 编号)
  • 图例增强(55 种分子英文名显示)
  • 配置持久化扩展(分子/同位素/光程/截断等)
  • HAPI2 兼容层框架
  • Numba 能力检测

下载

  • 免安装版:HitranLab-windows-x64.zip
  • 自动更新:v1.3.0 及更早版本 → 帮助 → 检查更新

HitranLab v1.3.0

Choose a tag to compare

@LKF0402 LKF0402 released this 10 Sep 13:06

HitranLab v1.3.0

Release Date: 2026-09-10


What's New

New Features

  • Light/Dark mode toggle (View → Light Mode / Dark Mode)
  • iOS-inspired light color scheme (soft, low-saturation)
  • Optional HAPI2 support (auto-detect, auto-fallback to HAPI1)

Architecture

  • Refactored color configuration to dynamic retrieval system
  • Extended RoundedButton for runtime color updates

Download

  • Portable: HitranLab-windows-x64.zip
  • Auto-update: v1.2.3 and earlier → Help → Check for Updates

新增内容

新功能

  • 浅色/深色模式切换(视图 → 浅色模式 / 深色模式)
  • iOS 风格浅色配色(柔和低饱和)
  • HAPI2 可选支持(自动检测,自动回退 HAPI1)

架构改进

  • 重构颜色配置为动态检索系统
  • 扩展圆角按钮支持运行时颜色更新

下载

  • 免安装版:HitranLab-windows-x64.zip
  • 自动更新:v1.2.3 及更早版本 → 帮助 → 检查更新

HitranLab v1.2.3

Choose a tag to compare

@LKF0402 LKF0402 released this 10 Sep 12:50

HitranLab v1.2.3

Release Date: 2026-09-10


What's New

New Features

  • Menu: Tools → Clear Line Cache (one-click cache cleanup)

UI Fixes

  • Fixed dark mode button color confusion
  • Improved listbox selected text readability

Download

  • Portable: HitranLab-windows-x64.zip
  • Auto-update: v1.2.2 and earlier → Help → Check for Updates

新增内容

新功能

  • 工具菜单新增:清理线表缓存(一键删除)

UI 修复

  • 修复深色模式按钮颜色混淆
  • 提升列表选中文字可读性

下载

  • 免安装版:HitranLab-windows-x64.zip
  • 自动更新:v1.2.2 及更早版本 → 帮助 → 检查更新