Releases: CrystallineCore/Fylex
v1.2.4 - Minor bug fixes
Version 1.2.4
-
Bug Fixes
-
FYLEX_HOMEdirectory was created on disk at import time (inside the class body), breaking environments where~/.fylexshould not be created eagerly. It is now created lazily on first use via_ensure_fylex_home(). -
fast_movecalled.unlink()directly on itssrcargument without first casting it toPath, causing anAttributeErrorcrash whensrcwas passed as a string. -
try_removehad the same uncastPath | strbug, also crashing withAttributeErrorwhen passed a string path. -
In
copy_with_conflict_resolution, the skip-branch formoveoperations constructed the deprecated-file destination by treatingsrc(a file path) as a directory, producing nonsensical paths like/path/to/file.txt/fylex.deprecated/…. The destination is now correctly built from thebackupdirectory. -
undoandredoboth silently returned aValueErrorinstance as a value instead of raising it. The deadexcept ValueErrorblock (which could never be triggered bydict.get()) has been removed and the entries are now assigned directly. -
redoreturnedFalsewhen no JSON record was found for a process ID, while the symmetricundofunction returned-1for the same condition.redonow returns-1for consistency. -
redologged a[UNDO]prefix in its dry-run skip warning. The prefix has been corrected to[REDO]. -
After a
replace-mode conflict resolution,dupe_candidateswas updated with the hash and size ofsave_as(the backup path holding the old file) rather thandest_file(the path where the new file was actually written). Future duplicates of the newly copied file therefore went undetected. The hash tracking now correctly referencesdest_file.
-