github erikjuhani/basalt basalt-core/v0.8.0

6 months ago

0.8.0 (Dec, 26 2025)

Added

  • affec53 Add rename_note function for renaming notes in vault

Implements rename_note function 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_dir and create_untitled_dir. The find_available_note_name
was changed to work with any kind of paths and was renamed to
find_available_path_name.

Add new error variant InvalidPathName to 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_to and move_dir_to functions 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.

Don't miss a new basalt release

NewReleases is sending notifications on new releases.