Skip to content

Start SDK v4.1.0

Choose a tag to compare

@dr-bonez dr-bonez released this 10 Nov 02:07
· 43 commits to master since this release
727b6c6

Highlights

  • Add prepareUpload with 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 prepared uploadId.

  • 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.file or Value.dynamicFile, prepare its destination during form construction with sdk.prepareUpload and pass the returned uploadId to 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 prepareUpload with 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 prepared uploadId.

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 loading while it starts shows its next status within seconds, and a daemon that requires it starts soon after it passes.

  • Build packages on the first attempt after removing an image build directory or local dependency input from the manifest.