Skip to main content

spring_boot_starter_cache 0.1.7 copy "spring_boot_starter_cache: ^0.1.7" to clipboard
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 #

  • @CacheConfig defaults apply like Spring's: keyGenerator only to operations without key and keyGenerator (a key next to @CacheConfig(keyGenerator:) no longer throws), cacheManager / cacheResolver only 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 / @CachePut on a method returning a Stream fail the build (generator) and the startup; return a Future<List<T>>.
  • cacheResolver: on @Cacheable, @CachePut, @CacheEvict and @CacheConfig; CacheResolver, SimpleCacheResolver, NamedCacheResolver, CacheOperationInvocationContext; public CacheOperation types (CacheableOperation, CachePutOperation, CacheEvictOperation) and AnnotationCacheOperationSource.
  • CachingConfigurer (default cache manager, cache resolver, key generator, error handler) and CacheErrorHandler (SimpleCacheErrorHandler, LoggingCacheErrorHandler).
  • The starter's cacheManager also backs off when a bean named cacheResolver exists, like Spring Boot.
  • CacheInterceptor takes cacheResolver: and errorHandler:; its keyGenerator / cacheManager defaults are resolved lazily (argument, else CachingConfigurer, else SimpleKeyGenerator / the CacheManager bean).

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.
0
likes
0
points
702
downloads

Publisher

verified publisherfarum-azula.org

Weekly Downloads

Cache starter for spring_boot_dart: @Cacheable, @CachePut, @CacheEvict and @Caching on bean methods, SpEL keys, a CacheManager with TTL and size limits.

Repository (GitHub)
View/report issues

Topics

#cache #caching #spring

License

unknown (license)

Dependencies

spring_boot_dart

More

Packages that depend on spring_boot_starter_cache