Skip to content

Commit 3021cdc

Browse files
committed
Bump version to 1.10.0
1 parent 18cc56b commit 3021cdc

2 files changed

Lines changed: 25 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

7+
## [1.10.0](https://github.com/SocketDev/socket-sdk-js/releases/tag/v1.10.0) - 2025-10-04
8+
9+
### Added
10+
- Added `PromiseQueue` utility for controlled concurrency in async operations
11+
- HTTP retry logic with exponential backoff for improved reliability on transient failures
12+
- Added option type interfaces: `CreateDependenciesSnapshotOptions`, `CreateOrgFullScanOptions`, `CreateScanFromFilepathsOptions`, `StreamOrgFullScanOptions`, `UploadManifestFilesOptions`
13+
14+
### Changed
15+
- **BREAKING**: Refactored SDK methods to use options objects instead of positional parameters for better API clarity:
16+
- `createDependenciesSnapshot(filepaths, options)` - replaced `repo` and `branch` positional parameters with options object
17+
- `createOrgFullScan(orgSlug, filepaths, options)` - replaced positional parameters with options object
18+
- `createScanFromFilepaths(filepaths, options)` - replaced positional parameters with options object
19+
- `streamOrgFullScan(orgSlug, fullScanId, options)` - replaced positional parameters with options object
20+
- `uploadManifestFiles(orgSlug, filepaths, options)` - replaced positional parameters with options object
21+
- Improved type safety by replacing `any` types with `unknown` or `never` where appropriate
22+
- Enhanced code style with numeric separators for better readability of large numbers
23+
- Improved coverage reporting accuracy with c8 ignore comments
24+
- Updated `@socketsecurity/registry` dependency to 1.4.0
25+
26+
### Fixed
27+
- Fixed import assertion syntax for JSON imports to use standard import syntax
28+
- Fixed HTTP retry test mocks to correctly match PUT method requests
29+
730
## [1.9.2](https://github.com/SocketDev/socket-sdk-js/releases/tag/v1.9.2) - 2025-10-04
831

932
### Changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socketsecurity/sdk",
3-
"version": "1.9.2",
3+
"version": "1.10.0",
44
"license": "MIT",
55
"description": "SDK for the Socket API client",
66
"author": {
@@ -75,7 +75,7 @@
7575
"update:socket": "pnpm -r update '@socketsecurity/*' --latest"
7676
},
7777
"dependencies": {
78-
"@socketsecurity/registry": "1.3.10"
78+
"@socketsecurity/registry": "1.4.0"
7979
},
8080
"devDependencies": {
8181
"@biomejs/biome": "2.2.4",

0 commit comments

Comments
 (0)