Skip to content

0.5.5

Choose a tag to compare

@sqla-tester sqla-tester released this 20 Sep 19:10

0.5.5

Released: Wed Jan 21 2015

  • [feature] Added new arguments
    CacheRegion.cache_on_arguments.function_key_generator and
    CacheRegion.cache_multi_on_arguments.function_multi_key_generator
    which serve as per-decorator replacements for the region-wide
    CacheRegion.function_key_generator and
    CacheRegion.function_multi_key_generator parameters,
    respectively, so that custom key production schemes can be applied
    on a per-function basis within one region.
    Pull request courtesy Hongbin Lu.

    References: pull request 26

  • [bug] Fixed bug where sending -1 for the
    CacheRegion.get_or_create.expiration_time parameter to
    CacheRegion.get_or_create() or
    CacheRegion.get_or_create_multi()
    would fail to honor the setting as "no expiration time". Pull request
    courtesy Hongbin Lu.

    References: #71, pull request 25

  • [bug] The wrap argument is now propagated when calling
    CacheRegion.configure_from_config(). Pull request courtesy
    Jonathan Vanasco.

    References: #41, pull request 28

  • [bug] Fixed tests under py.test, which were importing a symbol from
    pytest itself is_unittest which has been removed.