Skip to content

Conversation

shinoburc
Copy link

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[Unreleased]

Changed

  • HTTP Implementation: Replaced HTTP/2 with HTTP/1.1 for improved stability
    • Migrated from http2 module to https/http modules
    • Removed complex HTTP/2 session management and connection pooling
    • Simplified request handling to use Node.js default global agents
    • Removed custom TCP optimization settings (TCP_NODELAY, window sizing)

Added

  • HTTP Proxy Support: Added HTTP proxy configuration via environment variables
    • Support for HTTPS_PROXY, https_proxy, HTTP_PROXY, http_proxy environment variables
    • Support for NO_PROXY, no_proxy environment variables to exclude specific hosts
    • Wildcard pattern support for NO_PROXY (e.g., *.example.com)

Fixed

  • Download Stability: Resolved issues where downloads would hang or stop
    • Simplified stream handling to prevent deadlocks
    • Improved error handling and timeout management
    • Added proper resource cleanup on download failures
    • Removed aggressive connection optimizations that caused stability issues

Removed

  • Verbose Logging: Removed excessive download progress logging
    • Removed "Starting download", "Download completed", and "Pipeline started" messages
    • Removed detailed HTTP request/response logging
    • Kept essential error logging for debugging

Technical Details

HTTP Request Adapter Changes

  • Removed HTTP/2 specific features (ping, session management, window size control)
  • Simplified to use standard HTTPS requests without custom agents
  • Maintained the same public interface for backward compatibility
  • Added basic timeout handling (5 minutes for streams, 1 minute for regular requests)

Download Process Improvements

  • Simplified stream pipeline error handling
  • Removed complex AbortController implementations
  • Added file cleanup on download failures
  • Maintained retry logic with conservative delays

Breaking Changes

  • None - all changes maintain backward compatibility with existing APIs

maskatsum and others added 10 commits November 8, 2024 14:44
v2.1.0

- @koswatana さんからOKが出ているので、マージ。
workflowが期待通りに動かないのを修正
run the tests step if the lint_and_build workflow is triggered by wor…
workflowが期待通りに動かないのを修正
いくつか修正できていない問題があるが、メモリリークに関しては改善が見られるのでリリースする。残る問題は今後に引き継ぐ。
@shinoburc shinoburc changed the base branch from main to develop June 16, 2025 00:27
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