Skip to content

v0.20.1

Choose a tag to compare

@michaelaye michaelaye released this 18 Sep 22:33
· 50 commits to main since this release

Fixed

  • resolve_kernel no longer returns a different filename than the one asked for (#9). find_by_filename joins on sha256, so two byte-identical files under different names share one kernels row and either name matches both of their locations rows. The winner was whichever path the scanner walked last, so resolve juice_crema_5_2.tm could hand back juice_crema_5_2_v473_20260819_001.tm. A location actually named as requested now always wins.

    No caller could ever have loaded different data than it asked for: the join is on content, so every path returned was byte-identical to the file requested. What was wrong was the name, which matters for recording which file a run used.

    The content match is kept as the documented fallback — jup365.bsp resolving to a location named jup365_19900101_20500101.bsp when no file of the requested name is registered — and now adds a warning naming the file used.

Full changelog: https://github.com/michaelaye/spice-kernel-db/blob/main/CHANGELOG.md