Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 1.7 KB

File metadata and controls

28 lines (26 loc) · 1.7 KB

New on dev

  • (perf) use a cheaper api call for auth token validity verification
  • (perf) skip auth check if last authentication was within the last 15 min
  • (chore:internal) rename the auth cache functions to better disambiguate btwn auth cache and data cache methods (BREAKING for api)
  • (perf) add TTL (15min) cache for podcasts/notes/music/devices/tools
    • encrypted at rest, keyed off the session token
    • off by default. light cache enable/disable/status, --cache/--no-cache, $LIGHT_CACHE to control it
    • mutating commands invalidate whatever they change
    • music reorder updates the cache in place instead of invalidating
    • risks of data changing externally:
      • all music position-patching operations force a fresh data fetch to avoid working off stale info
      • delete/rename lookups can still theoretically act on a stale data within the TTL window, but lower risk since it fails loudly. so whatever
  • (feat) expose music capacity api/cli methods
  • (feat) contacts: list all, add one, edit one, delete one, export
  • (feat) settings: developer mode get/set
  • (fix) potential fix for endless hang
  • (fix) dependency mismatch between CLI/TUI and API
  • (fix) auto-discover available tools instead of hardcoding them
  • (feat) yes/dry-run/json to tools
  • (feat) include playlist ID in LightTrack (there's only one playlist for now, but... future-proofing!)
  • (feat) music playlists list command (there is only ONE playlist but... also future-proofing !)
  • (refactor) clean up inconsistent import locations

to do

  • ahh fuck. there is no real support for multi-device accounts. this is a much larger lift
  • device id: add method to change the target device
  • ffmpeg is an implicit dependency