Files
lib-privatebin/CHANGELOG.md

1.7 KiB

v0.1.1.3 (2025-08-28)

New Features

  • File Upload Functionality: New upload_file() function added
  • Binary Files: Support for uploading arbitrary file types
  • Enhanced Security: Same end-to-end encryption as text pastes
  • File Upload Example: New example program file_upload_example demonstrates the functionality

Technical Improvements

  • File Processing: Binary files are correctly read and processed
  • Size Limitation: Maximum file size limited to 100MB
  • Compression: Automatic zlib compression before encryption
  • Metadata: Files are stored as encrypted binary pastes

Documentation

  • FILE_UPLOAD_README.md: Detailed documentation of file upload functionality
  • README.md: Updated with file upload information and examples
  • English Localization: All documentation and examples in English

Compatibility

  • PrivateBin v1.3+: Full compatibility with current API version
  • Cross-Platform: Support for Windows and Linux
  • Backward Compatible: Existing text paste functionality remains unchanged

v0.1.1.2 (2024-XX-XX)

Bugfixes

  • Improved error handling for network issues
  • Fixed memory leaks in JSON processing

Improvements

  • Updated dependencies (Crypto++, nlohmann/json)
  • Better Windows compatibility

v0.1.1.1 (2024-XX-XX)

Features

  • First stable version of PrivateBin API Library
  • Support for PrivateBin v1.3 JSON-API
  • End-to-end encryption with AES-256-GCM
  • Cross-platform support (Windows/Linux)

API Functions

  • create_paste() - Create encrypted text pastes
  • get_paste() - Retrieve and decrypt pastes
  • delete_paste() - Delete pastes with deletion tokens
  • free_string() - Memory management