0.9.0
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.validatorrenamed torunpod.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.downloadrenamed torunpod.serverless.utils.rp_download - Added single file downloader and extractor with improved object based return.
Upload Utility:
- (BREAKING CHANGE)
runpod.serverless.utils.upload renamed torunpod.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