Repository navigation
26.4.0
Highlights
The main code change is that psycache doesn't crash if SQLAlchemy integration is used without greenlet present on SQLAlchemy 2.1 and later.
The main clerical change is that the project has been promoted to stable and the usual backwards-compatibility rules apply!
Full changelog below!
Special thanks
This release would not be possible without my generous sponsors! Thank you to all of you making sustainable maintenance possible! If you would like to join them, go to https://github.com/sponsors/hynek and check out the sweet perks!
Above and beyond
Variomedia AG (@variomedia), Tidelift (@tidelift), Kraken Tech (@kraken-tech), Klaviyo (@klaviyo), Privacy Solutions GmbH (@privacy-solutions), FilePreviews (@filepreviews), Ecosystems (@ecosyste-ms), TestMu AI Open Source Office (Formerly LambdaTest) (@LambdaTest-Inc), Todoist Inc (@Doist), Daniel Fortunov (@asqui), and Kevin P. Fleming (@kpfleming).
Maintenance sustainers
Buttondown (@buttondown), Christopher Dignam (@chdsbd), Magnus Watn (@magnuswatn), David Cramer (@dcramer), Rivo Laks (@rivol), Polar (@polarsource), Mike Fiedler (@miketheman), Duncan Hill (@cricalix), Colin Marquardt (@cmarqu), Nick Libertini (@libertininick), Brian M. Dennis (@crossjam), Al Sweigart (@asweigart), Celebrity News AG (@celebritynewsag), The Westervelt Company (@westerveltco), Sławomir Ehlert (@slafs), Mostafa Khalil (@khadrawy), Filip Mularczyk (@mukiblejlok), Thomas Klinger (@thmsklngr), Andreas Poehlmann (@ap--), August Trapper Bigelow (@atbigelow), Carlton Gibson (@carltongibson), and Roboflow (@roboflow).
Full changelog
Changed
-
psycache is now considered stable and the usual backwards-compatibility promises apply.
-
The schema parameters of
init_db(),PostgresCache, andAsyncPostgresCacheand the--schemaoption ofinit-dbhave been replaced by table and--table. They take the name of the cache table, optionally schema-qualified with a dot (for example,app_cache.psycache).
Fixed
- sqlalchemy: Imports from
sqlalchemy.ext.asyncioare now protected usingif TYPE_CHECKING:. This fixes the runtime dependency on greenlet on SQLALchemy 2.1+, even ifpsycache.sqlalchemy.AsyncSQLAlchemyCachePoolis not used. #11
This release contains contributions from @hynek.