It’s great that Notehub now supports notes on firmware. I recently updated our release and deployment workflow to add release notes from CHANGELOG.md to github releases, and include them when deploying to notehub.
But after re-releasing, the order of the firmware in the list was changed (using the default ordering.) Does the Firmware API allow a build date/release date to be provided? That would allow idempotent releases. (Notehub could still track created date and modified date.). The binaries do include the ::firmwre::info block used with IAP DFU updates.
Is it possible to patch an existing release, say by amending the notes, or metadata, without affecting the other fields and uploaded firmware?
Does the firmware API support DELETE? I don’t see it in the OpenAPI schema from notehub-js. Having that, with a mandatory confirmation query parameter might help prevent accidental deletes. I’ve had the deploy fail after uploading firmware, and wanted to delete the firmware as part of the workflow (especially if the failure was the wrong md5 returned.)
In this case, I just manually deleted the firmware in the UI. It would be helpful if the firmware delete UI included the details for the firmware that would be deleted (the same fields as shown in the firmware list.) It can be easy to mis-click, and then there’s no clue in the popup dialog which firmware was selected and will be deleted.
Does a particular firmware have a unique ID? I don’t see that in the API response. That would be useful for the DELETE and PATCH methods.
Thanks for reading!