Skip to content

Releases

26.5.0

Choose a tag to compare

@hynek hynek released this 23 Nov 14:17
Immutable release. Only release title and notes can be modified.
26.5.0
1364a15

Highlights

This release upgrades Sentry instrumentation to sentry-sdk 3.0. Don't upgrade if you're stuck with 2.x. The download numbers currently do not justify adding support for both version.

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), TestMu AI Open Source Office (Formerly LambdaTest) (@LambdaTest-Inc), Todoist Inc (@todoist), Daniel Fortunov (@asqui), and Kevin P. Fleming (@kpfleming).

Maintenance sustainers

Buttondown (@buttondown), Christopher Dignam (@chdsbd), Magnus Watn (@magnuswatn), David Cramer (@dcramer), Rivo Laks (@rivol), Mike Fiedler (@miketheman), Duncan Hill (@cricalix), Colin Marquardt (@cmarqu), August Trapper Bigelow (@atbigelow), Nick Libertini (@libertininick), Brian M. Dennis (@crossjam), Al Sweigart (@asweigart), Celebrity News AG (@celebritynewsag), Sławomir Ehlert (@slafs), Mostafa Khalil (@khadrawy), Filip Mularczyk (@mukiblejlok), Thomas Klinger (@thmsklngr), Andreas Poehlmann (@ap--), Carlton Gibson (@carltongibson), and Roboflow (@roboflow).

Full changelog

Changed

  • psycache.instrumentation.sentry.SentryInstrumentation now requires sentry-sdk 3.0 or later. The span data are now span attributes, and the operation is the sentry.op attribute. #12

This release contains contributions from @hynek.

26.4.0

Choose a tag to compare

@hynek hynek released this 29 Sep 11:37
Immutable release. Only release title and notes can be modified.
26.4.0
bab973e

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, and AsyncPostgresCache and the --schema option of init-db have 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.asyncio are now protected using if TYPE_CHECKING:. This fixes the runtime dependency on greenlet on SQLALchemy 2.1+, even if psycache.sqlalchemy.AsyncSQLAlchemyCachePool is not used. #11

This release contains contributions from @hynek.

26.3.0

Choose a tag to compare

@hynek hynek released this 26 Jun 20:19
Immutable release. Only release title and notes can be modified.
26.3.0
4cb893b

Highlights

Schemas! Self-service SQL generation!

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), GitHub (@github), Doist (@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), Pieter Swinkels (@swinkels), 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

Added

  • Support for PostgreSQL schemas for keeping multiple cache tables in one database. #5

  • python -Im psycache init-db now prints the initialization SQL to stdout if no DSN is passed. #6


This release contains contributions from @hynek.

Artifact Attestations

You can verify this release's artifact attestions using GitHub's CLI tool by downloading the sdist and wheel from PyPI and running:

$ gh attestation verify --owner hynek psycache-26.3.0.tar.gz

and

$ gh attestation verify --owner hynek psycache-26.3.0-py3-none-any.whl

26.2.0

Choose a tag to compare

@hynek hynek released this 25 Jun 12:59
Immutable release. Only release title and notes can be modified.
26.2.0
6eca5cb

Highlights

Second release already! Mostly about adding versioned docs and making stuff private that was public because it was an internal project.

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), GitHub (@github), Doist (@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), Pieter Swinkels (@swinkels), 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

Added

Changed

  • Replaced attrs by hand-written classes. Sadly, the documentation ecosystem is not ready and dataclasses are not fit for public APIs. This means psycopg is the only dependency. #3

This release contains contributions from @hynek.

Artifact Attestations

You can verify this release's artifact attestions using GitHub's CLI tool by downloading the sdist and wheel from PyPI and running:

$ gh attestation verify --owner hynek psycache-26.2.0.tar.gz

and

$ gh attestation verify --owner hynek psycache-26.2.0-py3-none-any.whl

26.1.0

Choose a tag to compare

@hynek hynek released this 24 Jun 13:46
Immutable release. Only release title and notes can be modified.
26.1.0
290a3e6

Everyone and their dog have implemented a caching layer on top of Postgres, so why not add another one? It's been in production for years but now we've extracted it for everyone.

The most interesting feature is probably the very deep support for instrumentation.

Enjoy!