Skip to content

pico-caching v0.1.1

Latest

Choose a tag to compare

@dperezcabrera dperezcabrera released this 04 Jul 15:59

pico-caching v0.1.1

Config prefix consistency release. No functional changes.

Changed

  • The configuration prefix is now caching (was cache), matching the ecosystem rule that the prefix equals the package name suffix (pico-actuator -> actuator:, pico-resilience -> resilience:, pico-caching -> caching:). A uniform rule is guessable-correct; with zero-config defaults, a wrongly guessed prefix is silently ignored rather than an error, so the exception was a misconfiguration trap.
# before (0.1.0)          # after (0.1.1)
cache:                    caching:
  default_ttl_seconds: 60   default_ttl_seconds: 60

Compatibility

  • Breaking only for application.yaml files written against 0.1.0 (published minutes earlier): rename the block.
  • Python 3.11+ · pico-ioc >= 2.2.0

Install

pip install --upgrade pico-caching==0.1.1