Version 1.12.0
Fixes
- Fixed a bug with the LRU cache. We now raise a
ValueError
at construction time if a caching template loader is given a cache size less than 1. Previously, in such cases, anIndexError
would have been raised when attempting to write to the cache. See #148.
Features
- Added
make_choice_loader()
, a factory function that returns aChoiceLoader
orCachingChoiceLoader
depending on its arguments. (docs, source) - Added
make_file_system_loader()
, a factory function that returns aFileSystemLoader
,FileExtensionLoader
orCachingFileSystemLoader
depending on its arguments. (docs, source)