Skip to content

v1.0.0-Alpha33 🦝 πŸ—οΈ

Pre-release
Pre-release
Compare
Choose a tag to compare
@oldratlee oldratlee released this 25 Jan 14:56
· 37 commits to main since this release

shifu

Note

🦝 Cffu has arrived at v1.0 Alpha series~ πŸŽ‰

  • Development tries to keep the compatibility for main API.
  • The incompatible changes are marked with ⚠️.

Welcome to try out cffu. πŸ’•

πŸ’— Happy with cffu! 🦝 and be a "shifu"~ πŸ˜†

☘️ Features

  • make more LLCF methods public πŸ—οΈ
    • add new method toNonMinCfCopyArray0
  • support attachments parameter for handle methods in SwallowedExceptionHandleUtils 🦒
  • change swallowed exception logging level to WARN 🦒

🐞 Bug Fixes

  • fix(cffu-core): add missing package eh exports directives to module-info.java πŸ“¦

πŸ›  Refactor/Improvements

  • ⚠️ rename reset* API methods to with* πŸ”  ✨ (suggestion by @linzee1)
    • more conventional method names for unmodifiable/immutable objects, e.g. LocalDate#withDayOfMonth
  • ⚠️ rename class, methods and fields in eh package 🦒
  • optimize memory usage in allResultsOf* methods πŸ“
    • does not retain cf results that will never be used
    • reduce redundant writes to results array πŸš… (by @linzee1)
  • refactor(eh package): rename and refactor internal method unreferenced 🦒
  • use Arrays.setAll of stdlib instead of for loop

πŸ“š Documentation

  • improve wording of doc and javadoc πŸ“šπŸ’•

🚜 Build/Chore

  • chore: fix duplicate dependency warning of maven pom πŸ€–
  • bump org.jetbrains:annotations from 26.0.1 to 26.0.2 (#293)

πŸ”Œ API Doc

cffu Java API doc: https://foldright.io/api-docs/cffu/1.0.0-Alpha33/

πŸͺ Maven dependencies

cffu core lib, including cffu enhancement for Java CompletableFuture:

<dependency>
    <groupId>io.foldright</groupId>
    <artifactId>cffu</artifactId>
    <version>1.0.0-Alpha33</version>
</dependency>

cffu executor wrapper SPI implementation for πŸ“Œ TransmittableThreadLocal(TTL):

<dependency>
  <groupId>io.foldright</groupId>
  <artifactId>cffu-ttl-executor-wrapper</artifactId>
  <version>1.0.0-Alpha33</version>
  <scope>runtime</scope>
</dependency>