render_workflows 0.1.3
render_workflows: ^0.1.3 copied to clipboard
Unofficial Dart client for Render Workflows: start, watch and cancel task runs.
0.1.3 #
- The
Render()example said// reads RENDER_API_KEYwithout saying from where. Now// token from the RENDER_API_KEY env var, in the README and in the library doc comment pub.dev renders on the API page.
0.1.2 #
- Clean up README
0.1.1 #
- Adds
example/example.dart, and formats the package withdart format. Together these take the pub.dev score from 140/160 to 160/160 — the two deductions were a missing example and formatting, both found withpanabefore publishing rather than after. - README now names
render-darton npm, for writing task bodies in Dart.
0.1.0 #
Initial release.
- Start, watch, list and cancel Render Workflows task runs.
- Method names mirror Render's official TypeScript SDK —
startTask,runTask,getTaskRun,cancelTaskRun,listTaskRuns,taskRunEvents— so its documentation carries over. waitForpolls a run's own terminal status, which is what makes it correct: an attempt reaches a terminal state before the run does.listTaskRunsStreamwalks cursors for you.- Render's 4 MB input limit is checked locally, so an oversized payload fails by name rather than as a generic rejection.
TaskRunStatustreats terminality as data, because the API defines bothcompletedandsucceeded.- Builds on
package:render_apirather than duplicating transport, errors and pagination.