Skip to content

Trim debug logging and update hook deps; bump Fjell packages

Choose a tag to compare

released this 16 Nov 00:19
· 26 commits to working since this release

This release focuses on reducing log noise in cache/query and primary adapter code and adjusting hook dependencies, along with patch-level dependency updates.

Improvements

  • Logging adjustments in cache/query hook (commit c8c2940):
    • src/hooks/useCacheQuery.ts: add LibLogger instance and remove numerous logger.debug/error calls from loadItems, query invalidations refetch, and the refetch function; retain console.error for failures.
  • Logging cleanup in primary adapter (commit c8c2940):
    • src/primary/PItemAdapter.tsx: remove start/end timing and debug logs from create, get, update, and find methods; keep logger.trace calls.
  • Hook dependency updates (commit c8c2940):
    • src/primary/PItemAdapter.tsx: expand useCallback dependency arrays to include name for create/get/update/find (from [ensureCache] to [ensureCache, name]).

Dependency Updates

  • Bump Fjell dependencies to latest patch versions (commit 29448c4):
    • @fjell/cache: ^4.7.43 -> ^4.7.44
    • @fjell/client-api: ^4.4.53 -> ^4.4.54
    • @fjell/core: ^4.4.60 -> ^4.4.61
    • @fjell/logging: ^4.4.57 -> ^4.4.58