Conversation
Major Features: - Add environment variable support for API token initialization (SOCKET_SECURITY_API_TOKEN, SOCKET_SECURITY_API_KEY, SOCKET_API_KEY, SOCKET_API_TOKEN) - Add 5 new endpoint modules: AlertFullScanSearch, Alerts, Fixes, SupportedFiles, Webhooks, Telemetry - Add archive upload functionality with support for .tar, .tar.gz, .tgz, and .zip files - Implement lazy file loading with FileDescriptorManager to prevent file descriptor exhaustion - Add full scan rescan and tar file download capabilities Enhancements: - Export: Add openvex_bom method for OpenVEX SBOM export - Historical: Add dependencies_trend method for historical dependency analysis - FullScans: Improve type safety with Optional types, fix integration_type handling, add archive/rescan/get_tar_files methods - Repos: Fix from_dict null handling for better robustness - Utils: Add create_tar_gz_from_files and prepare_archive_files_for_upload helper methods Bug Fixes: - Fix integration_type parameter handling to properly preserve None values - Fix dataclass from_dict methods to handle None data safely - Improve SocketArtifact deserialization with explicit field extraction - Add proper null checks in response parsing Developer Experience: - Make token parameter optional in socketdev constructor with automatic environment variable fallback - Add comprehensive error messages when token is missing - Improve file handling with lazy loading to support large workspaces
|
🚀 Preview package published! Install with: pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple socketdev==3.0.23.dev1 |
ahmadnassri
approved these changes
Jan 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add comprehensive SDK enhancements including new endpoint modules (AlertFullScanSearch, Alerts, Fixes, SupportedFiles, Webhooks, Telemetry), environment variable support for API token initialization, archive upload functionality with lazy file loading to prevent file descriptor exhaustion, and various bug fixes for improved type safety and null handling.
Public Changelog
Added
Fixed
Changed