Skip to content

Releases: BalconyJH/aioarxiv

v0.2.0

26 Jan 21:31
3d5365a
Compare
Choose a tag to compare

aioarxiv v0.2.0 Release Notes

Overview

Version 0.2.0 represents a major architectural overhaul of aioarxiv, focusing on performance, reliability, and developer experience. The key highlights include a complete rewrite of the ArxivClient, native XML parsing implementation replacing feedparser, and enhanced async download capabilities. This version introduces strict arXiv API compliance by default and significantly improves error handling and logging. The new configuration system using pydantic-settings provides better flexibility and validation, while comprehensive test coverage ensures reliability across Python versions 3.9-3.12.

Features

  • Migrated API response parser from feedparser to native XML parsing
  • Added native PDF download support with async download functionality
  • Added download tracking and progress reporting
  • Enhanced session management with improved rate limiting
  • Added timezone support using TZData
  • Upgraded to newest Pydantic (v2) models
  • Added configuration via environment variables with pydantic-settings
  • Completely rewritten ArxivClient with improved architecture and error handling
  • Default strict compliance with arXiv API request guidelines and rate limits

Improvements

  • Restructured project architecture for better organization
  • Enhanced logging system with Loguru
  • Added rich error messages with detailed context
  • Improved HTTP session management with retry and timeout handling
  • Added semaphore-based concurrency control
  • Added memory management optimizations
  • Improved request batching and pagination handling
  • Enhanced API response validation

Testing & Quality

  • Added comprehensive test suite with high coverage
  • Added CodeQL scanning
  • Added automated documentation builds
  • Added multiple Python versions testing (3.9-3.12)
  • Added GitHub Actions CI pipeline improvements
  • Enhanced pre-commit hooks configuration

Documentation

  • Added detailed configuration documentation
  • Added API reference documentation structure
  • Added user guide with examples
  • Added examples for batch operations and download handling

Full Changelog

For a complete list of changes, please visit:
v0.1.2...v0.2.0

v0.1.2

17 Nov 11:21
336e0e1
Compare
Choose a tag to compare

aioarxiv v0.1.2 Release Notes

Overview

This release resolves a critical issue related to import errors in specific configurations of the nonebot-plugin-paper package. Users encountering an ImportError like attempted relative import beyond top-level package will find this issue resolved in the current version.

Changelog

Full Changelog: v0.1.1...v0.1.2

v0.1.1

15 Nov 08:01
6b10653
Compare
Choose a tag to compare

aioarxiv v0.1.1 发布说明

更新日志

新增功能

  • ArxivClient - 主要客户端类,支持异步搜索和下载
  • Paper - 论文数据模型
  • ArxivConfig - 客户端配置类
  • 支持自定义并发请求数和速率限制
  • PDF文件异步下载功能