Skip to content

0.9.0

Choose a tag to compare

@justinmerrell justinmerrell released this 21 Feb 20:59
· 2208 commits to main since this release

New Feature:

  • Returning "refresh_worker" in the output will trigger the worker to terminate at the end of the job.

Validation Utility:

  • (BREAKING CHANGE) runpod.serverless.utils.validator renamed to runpod.serverless.utils.rp_validator
  • (BREAKING CHANGE) The validator utility now returns an object with "errors" that contains the list of errors or "validated_input" with a cleaned input based on the provided schema.

Download Utility:

  • (BREAKING CHANGE) runpod.serverless.utils.download renamed to runpod.serverless.utils.rp_download
  • Added single file downloader and extractor with improved object based return.

Upload Utility:

  • (BREAKING CHANGE) runpod.serverless.utils.upload renamed to runpod.serverless.utils.rp_upload`
  • Added single file upload functionality

Improvement:

  • Errors that are raised by the handler are marked. Additionally, traceback is also provided.
  • Tips have been introduced to assist users in developing their endpoints.

Refactor:

  • Heartbeat ping mechanism consolidated to a single callable function.

Full Changelog: 0.8.4...0.9.0