Temporary-Script-Storage

Sets a maximum age (minimum one day) for script storage values, after which they are deleted

These are versions of this script where the code was updated. Show all versions.

  • v1.0.4 2026-07-21
    • improved error handling and documented @throw if lock acquisition times out; i.e., if storage is very busy
  • v1.0.3 2026-07-14
    • fixed bug preventing sweeps (the action that deletes expired data)
    • added console output for begin and end of sweep
  • v1.0.2 2026-01-11
    • made the default lifetime more clear
  • v1.0.1 2026-01-11
    • forgot @grants and associated documentation
  • v1.0.0 2026-01-11
    • updated @homepageURL and @supportURL once the script was posted and I knew what the URL was
  • v1.0.0 2026-01-11