basalt-core/v0.8.0
0.8.0 (Dec, 26 2025)
Added
- affec53 Add rename_note function for renaming notes in vault
Implements
rename_notefunction that renames a note within its current
directory. The function handles both plain names and names with .md
extensions, and will strip the extension suffix internally if provided.
Breaking
- 851733c Add functions for creating folders under obsidian vault
Introduces directory creation functions to the vault API with
create_dirandcreate_untitled_dir. Thefind_available_note_name
was changed to work with any kind of paths and was renamed to
find_available_path_name.Add new error variant
InvalidPathNameto represents error cases where
the path is invalid. This currently happens for example if the OsStr is
not valid unicode.
- 90ded80 Add move functions for notes and directories in vault
Implements
move_note_toandmove_dir_tofunctions for relocating vault
filesystem entries between directories.Add TryFrom implementations for Note and Directory structs to validate
that paths correspond to their expected filesystem types when
constructing these structs and changed the visibility of the struct
fields to ensure correctness related to filesystem type. Is it a dir or
file, which is now governed by the TryFrom implementation.The name and path fields can now be accessed by the corresponding name()
and path() accessor methods.