Highlights
-
Add
prepareUploadwith byte limits and file or directory destinations, File inputs with extension filters and authoritative upload metadata,prepareDownload, and File action results with optional cleanup. This SDK requires StartOS 0.4.2 or newer; File inputs require a prepareduploadId. -
Fixed services hanging when a daemon captures only stdout or stderr and fills the other stream. Rebuild packages with this SDK version to receive the fix.
Important
- When upgrading a package that uses
Value.fileorValue.dynamicFile, prepare its destination during form construction withsdk.prepareUploadand pass the returneduploadIdto the field. Custom clients upload the bytes first, then submit that ID as the field value. See File Upload. - Install StartOS 0.4.2 or later before installing packages built with SDK 4.1.0.
Full changelog
[4.1.0]
Added
- Add
prepareUploadwith byte limits and file or directory destinations, File inputs with extension filters and authoritative upload metadata,prepareDownload, and File action results with optional cleanup. This SDK requires StartOS 0.4.2 or newer; File inputs require a prepareduploadId.
Fixed
-
Numeric action fields enforce their inclusive bounds and integer constraints during SDK validation, including CLI and direct API submissions.
-
Fixed services hanging when a daemon captures only stdout or stderr and fills the other stream. Rebuild packages with this SDK version to receive the fix.
-
A health check reporting
loadingwhile it starts shows its next status within seconds, and a daemon thatrequiresit starts soon after it passes. -
Build packages on the first attempt after removing an image build directory or local dependency input from the manifest.