- Fix CI build smoke test by aligning ESM output extensions (
.mjs/.d.mts)
- Bump commander from 12.1.0 to 14.0.3
- Bump flatted from 3.3.3 to 3.4.2
- Bump the minor-and-patch group (5 updates)
- Full TypeScript rewrite — CoffeeScript removed entirely
- Node 24+ required — uses native
fetch, no polyfills - ESM + CJS dual output —
import { Syno } from 'syno'orrequire('syno') - Async/await only — callbacks removed, all methods return Promises
- Browser support dropped — Node.js only
- Default API version changed from
6.0.2to7.2 - DSM 5.x support dropped — only 6.x and 7.x definitions are included
- DSM 7.x support — new
definitions/7.x/_full.json(#72) - Synology Photos station —
SYNO.Foto.*/SYNO.FotoTeam.*for DSM 7.x (#41) - Two-factor authentication (OTP) — optional
otpCodeparam on login (#42) - Binary response handling — returns
ArrayBufferfor non-JSON responses like images (#40) - Per-request API version override — pass
versionin method params (#29) - QuickConnect support — follows redirects transparently via native
fetch(#48) - Session reuse — optional
sidparam to skip login (#39) - Proxy-based dynamic methods — replaces
new Function()+__proto__mutation - TypeScript types exported —
SynoConfig,SynoError, station types - Automated definition fetcher —
scripts/fetch-definitions.tsreplaces legacy shell scripts
- SurveillanceStation error resolver —
if api is 'X' or 'Y'always truthy (CoffeeScriptorbug) - CLI
execute— missingprocess.exit(1)on unknown method (process hangs) - CLI
program.parsecalled twice — restructured to singleparseAsync() - Session SID — stored raw string instead of object, causing re-auth every call
- Runtime:
commander^12,js-yaml^4,pluralize^8 (3 deps, down from 9) - Removed:
request,lodash,nconf,ospath,minimist - Build:
tsdown,vitest,eslint+@typescript-eslint
| API | Package version |
|---|---|
| DSM | 24922 |
| File Station | 24922 |
| Download Station | 3.8.12-3518 |
| Audio Station | 6.5.3-3363 |
| Video Station | 2.4.6-1594 |
| Video Station DTV | 2.4.6-1594 |
| Surveillance Station | 8.2.6-6009 |
| API | Package version |
|---|---|
| DSM | Based on 6.x definitions (pending SPK extraction) |
| File Station | Based on 6.x definitions (pending SPK extraction) |
| Download Station | Based on 6.x definitions (pending SPK extraction) |
| Audio Station | Based on 6.x definitions (pending SPK extraction) |
| Video Station | Based on 6.x definitions (pending SPK extraction) |
| Video Station DTV | Based on 6.x definitions (pending SPK extraction) |
| Surveillance Station | Based on 6.x definitions (pending SPK extraction) |
| Synology Photos | Initial definition set |
- Update libs
- Update dependencies
- Handling exception when a command is not found
| API | Package version |
|---|---|
| DSM | 5967 |
| File Station | 5967 |
| Download Station | 3.5-2988 |
| Audio Station | 5.4-2860 |
| Video Station | 1.6-0859 |
| Video Station DTV | 1.6-0859 |
| Surveillance Station | 7.1-4155 |
| API | Package version |
|---|---|
| DSM | 24922 |
| File Station | 24922 |
| Download Station | 3.8.12-3518 |
| Audio Station | 6.5.3-3363 |
| Video Station | 2.4.6-1594 |
| Video Station DTV | 2.4.6-1594 |
| Surveillance Station | 8.2.6-6009 |
- Update DSM Lib for 6.x. Now using 6.0.2-8451 package version
- Update VideoStation Lib for 6.x. Now using 2.2.0-1361 package version
- Update SurveillanceStation Lib for 6.x. Now using 8.0.0-5070 package version
- Update DownloadStation Lib for 6.x. Now using 3.8.1-3420 package version
- Update AudioStation Lib for 6.x. Now using 6.0.1-3092 package version
- Manage multiple sessions for logins fixing #28 & #15
- Take maxVersion by default instead minVersion
- Fix pluralizing for action name. Fixing #26. Thanks @shir
| API | Package version |
|---|---|
| DSM | 5967 |
| File Station | 5967 |
| Download Station | 3.5-2970 |
| Audio Station | 5.4-2860 |
| Video Station | 1.6-0858 |
| Video Station DTV | 1.6-0858 |
| Surveillance Station | 7.1-4141 |
| API | Package version |
|---|---|
| DSM | 8451 |
| File Station | 8451 |
| Download Station | 3.8.1-3420 |
| Audio Station | 6.0.1-3092 |
| Video Station | 2.2.0-1361 |
| Video Station DTV | 2.2.0-1361 |
| Surveillance Station | 8.0.0-5070 |
- Update dependencies
- CLI Fixes using no deprecated fs api
- Add support for 5.x and 6.x
- Add DSM API support
- Bug fixes
| API | Package version |
|---|---|
| DSM | 5967 |
| File Station | 5967 |
| Download Station | 3.5-2970 |
| Audio Station | 5.4-2860 |
| Video Station | 1.6-0858 |
| Video Station DTV | 1.6-0858 |
| Surveillance Station | 7.1-4141 |
| API | Package version |
|---|---|
| DSM | 7321 |
| File Station | 7321 |
| Download Station | 3.7.1-3282 |
| Audio Station | 5.5-2985 |
| Video Station | 2.1.0-1226 |
| Video Station DTV | 2.1.0-1226 |
| Surveillance Station | 7.2.1-4602 |
- Update dependencies
- Fix getMethods VideoStationDTV
- Add VideoStation and VideoStation DTV support
- Add AudioStation support
- Add FileStation and DownloadStation support to CLI
- First major release