spring_boot_starter_cache 0.1.7
spring_boot_starter_cache: ^0.1.7 copied to clipboard
Cache starter for spring_boot_dart: @Cacheable, @CachePut, @CacheEvict and @Caching on bean methods, SpEL keys, a CacheManager with TTL and size limits.
0.1.7 #
@CacheConfigdefaults apply like Spring's:keyGeneratoronly to operations withoutkeyandkeyGenerator(akeynext to@CacheConfig(keyGenerator:)no longer throws),cacheManager/cacheResolveronly to operations without either.- Breaking: cache annotations are validated when a proxied bean is created (every member, at startup) instead of at the first call: invalid combinations now fail the start.
- Breaking:
@Cacheable/@CachePuton a method returning aStreamfail the build (generator) and the startup; return aFuture<List<T>>. cacheResolver:on@Cacheable,@CachePut,@CacheEvictand@CacheConfig;CacheResolver,SimpleCacheResolver,NamedCacheResolver,CacheOperationInvocationContext; publicCacheOperationtypes (CacheableOperation,CachePutOperation,CacheEvictOperation) andAnnotationCacheOperationSource.CachingConfigurer(default cache manager, cache resolver, key generator, error handler) andCacheErrorHandler(SimpleCacheErrorHandler,LoggingCacheErrorHandler).- The starter's
cacheManageralso backs off when a bean namedcacheResolverexists, like Spring Boot. CacheInterceptortakescacheResolver:anderrorHandler:; itskeyGenerator/cacheManagerdefaults are resolved lazily (argument, elseCachingConfigurer, elseSimpleKeyGenerator/ theCacheManagerbean).
0.1.6 #
- update road map
- ci: release with a button on main, skip new packages when publishing; shorter pubspec descriptions
0.1.5 #
- add feign runner + web socket runner
- add web core + faign starter for http calling
0.1.4 #
- feat: ObjectMapper in core — JSON on generated metadata (@Introspected, @JsonProperty/@JsonIgnore/@JsonInclude/@JsonCreator/@JsonValue), spring.jackson.* in Boot
0.1.3 #
- Initial version: @Cacheable, @CachePut, @CacheEvict, @Caching; CacheManager.