Skip to content

v0.5.1

Choose a tag to compare

@TTWShell TTWShell released this 06 Mar 10:09
· 179 commits to master since this release
148d2d2

Added

  • Cache: Support for synchronous functions in the @cached decorator. The decorated function becomes asynchronous and must be awaited by the caller, allowing cache reuse for both async and sync business logic.
  • Template: Integrated cache support into the standard-3tier project template, including optional dependency, configuration, initialization in main.py, and README usage notes.
  • Tests: Test cases for sync function support in the @cached decorator.

Changed

  • Docs: Cache API docs clarify that @cached supports both async and sync functions; add usage examples and note that caller must always await.