Skip to content

Add news topics and filings#477

Merged
sunli829 merged 7 commits intolongbridge:mainfrom
wuxsoft:feat/add_news_and_filings
Mar 19, 2026
Merged

Add news topics and filings#477
sunli829 merged 7 commits intolongbridge:mainfrom
wuxsoft:feat/add_news_and_filings

Conversation

@wuxsoft
Copy link
Contributor

@wuxsoft wuxsoft commented Mar 18, 2026

No description provided.

@sunli829
Copy link
Collaborator

Review 问题已修复,详见最新提交 bcce76f

必须修复

  • 移除了误提交的二进制文件 liblongbridge_java.dylib
  • 修复 Java QuoteContext.javagetFilings() 方法错位及 Javadoc 结构错乱(原来插在 getSecurityList 的注释块中间,导致出现重复方法声明)
  • 修复 Node.js:filings() 方法的文档注释混入了 securityList 的注释块中;已将方法移到 security_list 之前并修正文档,重新运行 npm run build:debug 生成 index.d.ts / index.js

命名一致性

  • 将所有语言绑定中 FilingItempublish_at 统一改为 published_at(与 TopicItem/NewsItem 保持一致);Rust 侧加 #[serde(rename = "publish_at")] 保持与服务端 wire 格式兼容

其他

  • Python AsyncQuoteContext.filings 补加 #[pyo3(signature = (symbol))] 装饰器
  • 移除 java/src/content_context.rs 中未使用的 JString import

yuanzhanghong and others added 7 commits March 19, 2026 10:09
- Rename FilingItem.publish_at to published_at across all bindings (serde rename keeps wire compat)
- Fix Java QuoteContext.java: move getFilings() to correct position, remove duplicate Javadoc block
- Fix Node.js: move filings() before security_list() so docs are not mixed up; regenerate index.d.ts/index.js
- Add #[pyo3(signature = (symbol))] to AsyncQuoteContext.filings
- Remove unused JString import in java/src/content_context.rs
- Remove committed binary liblongbridge_java.dylib
@sunli829 sunli829 force-pushed the feat/add_news_and_filings branch from bcce76f to 92a9264 Compare March 19, 2026 02:09
@sunli829 sunli829 merged commit d85e572 into longbridge:main Mar 19, 2026
61 checks passed
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.

3 participants