- Add generate_qr_code() function for creating QR codes from PrivateBin links - Implement SVG output format for scalable QR code generation - Add qr_generator.h/cpp with self-contained QR code implementation - Update CMakeLists.txt to include new QR code source files - Integrate QR code documentation into README.md - Update example program to demonstrate QR code generation - Update CHANGELOG.md with v0.1.1.6 release notes - Remove separate README_QR_CODE.md file The implementation provides simplified QR code generation with: - Position detection patterns for QR code recognition - Configurable size and border parameters - No external dependencies - Comprehensive error handling - Memory management using existing free_string() function
99 lines
4.1 KiB
Markdown
99 lines
4.1 KiB
Markdown
## v0.1.1.6 (2025-08-28)
|
|
|
|
### New Features
|
|
- **QR Code Generation**: New `generate_qr_code()` function for creating QR codes from PrivateBin links
|
|
- **SVG Output**: Generates QR codes in scalable SVG format for easy viewing and sharing
|
|
- **Configurable QR Codes**: Customizable size and border parameters
|
|
- **Self-Contained Implementation**: No external dependencies for QR code generation
|
|
|
|
### Technical Improvements
|
|
- **QR Code Implementation**: Simplified QR code generation with recognizable patterns
|
|
- **Position Detection Patterns**: Standard corner patterns for QR code recognition
|
|
- **Memory Management**: Proper allocation and cleanup using existing `free_string()` function
|
|
- **Error Handling**: Comprehensive error handling following existing API patterns
|
|
|
|
### API Functions
|
|
- `generate_qr_code()` - Generate QR codes for PrivateBin URLs
|
|
- Enhanced `free_string()` - Now used for QR code data cleanup
|
|
|
|
### Documentation
|
|
- **README.md**: Integrated QR code documentation with examples and usage instructions
|
|
- **API Reference**: Updated to include new QR code function
|
|
- **Examples**: Example program now demonstrates QR code generation and SVG file saving
|
|
|
|
### Compatibility
|
|
- **PrivateBin v1.3+**: Full compatibility with current API version
|
|
- **Cross-Platform**: QR code generation works on Windows and Linux
|
|
- **Backward Compatible**: All existing functionality remains unchanged
|
|
|
|
## v0.1.1.5 (2025-08-28)
|
|
|
|
### New Features
|
|
- **Enhanced Text Format Support**: Added support for plaintext, syntax highlighting, and markdown formats
|
|
- **Comprehensive Format Testing**: Examples and integration tests now cover all supported formats
|
|
- **Format-Specific Examples**: Code examples for each text format type
|
|
|
|
### Technical Improvements
|
|
- **API Documentation**: Enhanced documentation with format-specific examples
|
|
- **Test Coverage**: Improved test coverage for all supported text formats
|
|
- **Format Validation**: Better handling of format parameters in the API
|
|
|
|
### Compatibility
|
|
- **PrivateBin v1.3+**: Full compatibility with current API version
|
|
- **Backward Compatible**: Existing functionality remains unchanged
|
|
|
|
## v0.1.1.4 (2025-08-28)
|
|
- **NEW**: Automated release creation script (`scripts/create_release.ps1`)
|
|
- **NEW**: Build scripts moved to `scripts/` directory for better organization
|
|
- **IMPROVED**: Enhanced build documentation with platform-specific instructions
|
|
- **IMPROVED**: Better project structure and organization
|
|
|
|
## 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
|
|
|