Skip to content

Lean logging across ops and standardized get() error handling

Choose a tag to compare

released this 16 Nov 00:01
· 27 commits to working since this release

This release reduces noisy debug output across read operations and streamlines retry/error handling in get(), with minor dependency updates.

Improvements

  • Trim verbose pre/post-request logger.debug blocks in read operations:
    • all(), find(), findOne(), one() no longer emit request/response/no-items debug logs (commit 4958751)
  • Standardize error log messages in get() (e.g., "CLIENT_API: Custom error handler failed", "CLIENT_API: get() failed after all retries") for clearer diagnostics (commit 4958751)

Error Handling

  • Simplify get() retry/error flow by removing detailed attempt/duration logging and related timing variables (commit 4958751)
  • Compute the final enhanced error via enhanceError before invoking any custom error handler, so handlers receive the enriched error context (commit 4958751)

Refactoring

  • all.ts and find.ts now assign utilities.processArray(...) to a const result before returning, aligning behavior across ops (commit 4958751)

Dependency Updates

  • @fjell/core: ^4.4.61 (from ^4.4.60) (commit 52c652c)
  • @fjell/http-api: ^4.4.51 (from ^4.4.50) (commit 52c652c)
  • @fjell/logging: ^4.4.58 (from ^4.4.57) (commit 52c652c)
  • @fjell/registry: ^4.4.66 (from ^4.4.65) (commit 52c652c)

Version

  • Bump package version to 4.4.54 (commit 7ada8be)