Skip to content

Releases: hynek/svcs

23.3.0

20 Jul 12:19
23.3.0
0e1b71b
Compare
Choose a tag to compare

Added

  • Async method Container.aget(). This was necessary for generator-based cleanups. It works with sync factories too, so you can use it universally in async code.
  • Async method ServicePing.aping(). It works with sync factories and pings too, so you can use it universally in async code. #4

Changed

  • Switched the cleanup mechanism from passing a function to allowing the factory to be a generator that yields the resource and can clean up after the yield. Just like Pytest fixtures. #3

23.2.0

13 Jul 11:06
23.2.0
7eb5e29
Compare
Choose a tag to compare

Still totally in RFC mode, so I've activated discussions for this project: #1

Feel free to LMK what you think, the changes are here.

23.1.0

12 Jul 17:32
23.1.0
09f6f05
Compare
Choose a tag to compare

This is the first release and more of a RFC. I'm using it in production in conjunction with Flask for years, but I wonder where it could be taken.