Skip to content

Releases: akfamily/akshare

release-v1.18.94

Choose a tag to compare

@github-actions github-actions released this 21 Aug 05:17
0e7db00
fix(stock_board_concept_hist_em): 优化错误处理与空数据兜底逻辑 (#7406)

* fix(stock_board_concept_hist_em): 优化错误处理与空数据兜底逻辑

- 新增无效概念板块名称与代码校验,抛出明确异常
- 无历史数据时返回带固定列的空 DataFrame
- 更新接口文档、更新日志与版本号至 1.18.94

* fix: satisfy ruff format in stock_board_concept_em

Co-authored-by: albertandking <18234520+albertandking@users.noreply.github.com>

* chore(stock): 修正中文标点并简化错误提示代码

将README.md中的半角分号修正为全角中文分号,适配中文排版规范
合并stock_board_concept_em.py中的多行错误提示语句为单行,提升代码可读性

---------

Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

release-v1.18.93

Choose a tag to compare

@github-actions github-actions released this 21 Aug 03:39
e7d3e24
fix(fund): 修复fund_money_fund_info_em接口字段不匹配问题 (#7405)

修复东方财富网货币基金历史净值接口因返回体新增字段导致的列长度不匹配问题,改为按字段名映射所需列以保持兼容,同步更新版本号、相关文档与变更日志。

Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>

release-v1.18.92

Choose a tag to compare

@github-actions github-actions released this 18 Aug 09:57
8623219
fix(stock): 更新雪球token并完善接口登录态说明 (#7398)

- 更新stock/cons.py中的内置xq_a_token值
- 优化雪球个股接口的错误提示,明确匿名访问受限需传入有效token
- 补充多市场雪球公司信息接口的登录态依赖文档说明
- 更新项目文档的更新时间与变更日志

Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>

release-v1.18.91

Choose a tag to compare

@github-actions github-actions released this 13 Aug 17:43
8bfe862
docs: 发布1.18.91版本,优化文档解析器与结构 (#7393)

迁移文档Markdown解析器从recommonmark至myst-parser,移除sphinx-markdown-tables与markdown依赖
修正docs目录下文档的标题层级,确保每个页面拥有唯一一级标题且接口支持锚点链接
为dependabot配置依赖分组,避免多个拉取请求同时修改同一文件冲突
新增发布前版本校验脚本,完善CI发布流程
更新版本号并补充对应更新日志到changelog.md

Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>

release-v1.18.90

Choose a tag to compare

@github-actions github-actions released this 13 Aug 16:58
7614379
Dev (#7386)

* chore: 更新.gitignore规则并清理废弃设计文档

更新.gitignore中关于临时产物的注释,明确AI辅助流程的中间产物仅本地保留不入库;新增plans/和specs/目录的忽略配置。

* build: 提升最低支持Python版本至3.11

同步更新pyproject.toml配置,调整requires-python版本、Python分类器及ruff目标版本;修复uv.lock中为Python3.9保留的旧版本依赖分支引发的安全告警;新增GitHub Dependabot配置自动跟进uv和GitHub Actions依赖更新;同步更新所有文档中的Python最低版本要求,更新版本号至1.18.89并补充对应更新日志。

* build: 移除qmt/full依赖并自动维护__all__列表

移除pyproject.toml和uv.lock中的qmt/full可选依赖配置,删除akshare/__init__.py中的akqmt导入代码。新增build_registry脚本的逻辑,自动生成并维护公开API的__all__列表,避免from akshare import *导入多余子模块污染用户命名空间,同时更新akshare/__init__.py的__all__为自动生成的完整公开API清单。

* build: 发布v1.18.90,移除akqmt集成并声明__all__

- 为akshare模块声明__all__,修复`from akshare import *`导出额外子模块的问题
- 移除akqmt集成及full、qmt两个附加依赖组,清理相关依赖配置
- 修正README中的Python版本要求、失效的仓库徽章与代码风格描述
- 更新测试用例以适配__all__相关的校验逻辑

---------

Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>

release-v1.18.88

Choose a tag to compare

@github-actions github-actions released this 13 Aug 14:16
02f358a
fix(interface): 修复 fund_portfolio_hold_em 接口 (#7383)

- 升级项目版本至1.18.88,同步更新变更日志与包初始化文件
- 优化stock_hot_xq.py异常处理格式与stock_margin_bse.py列名排版
- 更新pre-commit配置,升级ruff至0.16.2并调整hook命令
- 重构pyproject.toml依赖管理,采用PEP 735依赖分组规范
- 优化GitHub CI工作流,拆分lint与test任务并调整uv配置
- 清理.gitignore,移除对uv.lock的追踪
- 更新文档依赖说明与配置文件

Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>

release-v1.18.87

Choose a tag to compare

@github-actions github-actions released this 13 Aug 09:05
f0c49b4
fix(tools&docs): 统一全库中文标点规范,优化标点检查工具 (#7382)

- 升级版本号至1.18.87
- 修复全库内文档、代码注释与字符串中的半角/全角标点混用问题
- 优化check_punctuation工具,避免误修改纯英文内容的标点
- 更新pre-commit配置与变更日志,完善CI检查流程

Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>

release-v1.18.86

Choose a tag to compare

@github-actions github-actions released this 13 Aug 06:15
4771e6e
style: 规范中文标点符号并更新版本至1.18.86 (#7381)

- 升级包版本从1.18.85至1.18.86
- 在变更日志中添加1.18.86版本的更新记录
- 修正所有代码注释、文档字符串以及Markdown文档中的半角冒号为全角冒号(根据pre-commit配置排除变更日志文件)
- 新增pre-commit钩子以强制执行中文标点使用规范

Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>

release-v1.18.85

Choose a tag to compare

@github-actions github-actions released this 13 Aug 03:54
c5142cc
Dev (#7380)

* docs(spec): 新增接口检索层设计文档

* docs(spec): 修正 baseline 存量为 85 并明确非数据接口排除清单

* docs(plan): 新增接口检索层实施计划

* chore: 忽略 superpowers SDD 本地工作区

* docs(plan): 修正 ruff 范围与集成测试文件拆分

* feat(registry): 新增文档表格解析器

* test(registry): 覆盖 parse_table 的 2/4 列容错分支

* feat(registry): 新增接口条目解析

* docs: 修正接口条目统计为冒号容错后的准确值

* fix(registry): 接口边界冒号容错全角并补充 collect_doc_records 测试

* feat(registry): 新增导出表静态解析

从 akshare/__init__.py 静态解析出接口名到模块路径的映射,显式排除
版本号/pro_api/token 相关/异常类等 11 个非数据接口。

* feat(registry): 生成接口元数据产物

* test(registry): 强化确定性测试的回归捕获力

* feat(registry): 新增 --check 门禁与 baseline 棘轮

* test(registry): 覆盖 baseline 陈旧孤儿项的棘轮分支

* feat(registry): 新增运行期数据加载与打分函数

* test(registry): 钉住 category 权重在打分体系中的相对次序

* feat(registry): 新增 search/interface_info/list_categories 接口

* fix(registry): 修正精确名匹配排序并加固检索接口健壮性

* test(registry): 覆盖 interface_info 深拷贝隔离缓存的行为

* feat(registry): 导出检索接口至公开 API

* fix(registry): 将检索层自身 API 排除在数据接口清单之外

* test(registry): 为不变量集成测试补空集守卫

* ci(registry): 新增接口一致性门禁并同步版本文档

* fix(registry): 检索匹配空白归一化并修正精确名判定一致性

* docs(registry): 同步 llms.txt 与延后项清单并校正 changelog 措辞

* docs(registry): 归档空白归一化引入的跨词假匹配延后项

* docs(registry): 新增接口检索文档并同步 README 与快速入门

---------

Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>

release-v1.18.84

Choose a tag to compare

@github-actions github-actions released this 10 Aug 08:26
1a0c07c
fix(index): 修复index_all_cni和sw_index_third_cons接口 (#7379)

修复index_all_cni接口因国证指数返回字段新增引发的Length mismatch错误,修复sw_index_third_cons接口因乐咕乐股表头变化及噪声数据导致的解析异常,新增表头清洗逻辑,同步更新版本号与相关文档

Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>