Releases

Added

  • Allow yolk adopt to edit yolk.rhai and run sync
  • add adopt command that moves config into egg dir and prints config
  • improved parser diagnostics

Fixed

  • correctness fixes for adopt, stale symlink cleanup, and parser keywords
  • several small correctness risks regarding sync
  • improve symlink escalation flow

Ci

  • pin mdbook version to 0.4

Fixed

  • tests not referencing /tmp files properly on MacOS
  • SYSTEM variable not usable in functions (fixes #71)
  • (docs) Links in docs for YolkPaths::active_yolk_git_dir

Added

  • add pre_deploy and pre_undeploy hook
  • Add yolk exec-canonical subcommand

Ci

  • remove homebrew temporarily

Fixed

  • fix documentation of eval command (fixes #65)

Ref

  • remove unnecessary parentheses around closure body

BREAKING

  • Move back to yolk git git wrapper based solution, because git filters sadly don't quite work out for all of our needs. See #42, for example. To ensure your repository is compatible with the latest version of yolk, simply rerun yolk init once.

Added

  • Allow empty targets map in egg config
  • Add further validation of yolk.rhai

Fixed

  • Fix path handling on windows when interacting with git
  • Allow accessing variables and imports in template tags

BREAKING

  • [breaking] run canonicalization for git through git filters: Yolk no longer expects a .yolk_git directory rather than the typical .git dir. Instead, yolk now installs a git filter in the .git/config file, and specifies it to run through .gitattributes. To automatically apply these changes to your local dotfile repository, simply run yolk init again, it will automatically update the file structure.

Added

  • Clean up stale symlinks by caching deployment targets
  • Allow for both .config and standard ~/Library/... dir on mac

Fixed

  • Fix windows symlink deletion again
  • simplify multi error output
  • inconsistent tests, failing symlink deletion on windows
  • compile error on windows

Added

  • Add support for importing files in yolk.rhai
  • support multiline tags
  • Add a few more comment symbols

Fixed

  • Yolk not removing dead symlinks when deploying in put mode
  • Prevent yolk from comitting inconsistent state when syncing fails

Added

  • [breaking] Add explicit deployment strategies, default to put
  • add main_file config for smarter yolk edit command
  • Add more flexible loglevel configuration

Fixed

  • Yolk not removing dead symlinks when deploying eggs

Added

  • [breaking] Add --no-sync to yolk watch
  • don't canonicalize templates when running yolk git push
  • support globs in templates-declaration
  • [breaking] Rename yolk.lua to yolk.luau

Other

  • Add link to docs to readme
  • Update cargo dist, fix clippy warnings
  • Update dependencies
  • Fix autodocs being local path dependency
  • Add test for default rhai file
  • Fix is_deployed() not working
  • Add TODO comment
  • Cleanup
  • Load yolk.rhai as module
  • Generate documentation for rhai API via rhai-autodocs
  • Add yolk docs command to generate documentation
  • Fix clippy warnings
  • Fix systeminfo getters
  • Fix watch not properly reading templates
  • Move back to rhai
  • move build-setup.yaml out of workflows dir
  • Various cleanups
  • Start work on declarative egg deployment config
  • Move back to global-artifacts-jobs for man

Added

  • Implement yolk watch command
  • add a few hex color utility functions

Fixed

  • Improve parser error message for missing end tag

Other

  • Try harder to make @druskus20 happy
  • Slightly clean up parser code
  • Improve error message for empty tag
  • Update cargo dist to 0.26, try to use include and build-setup for man (#9)
  • Use different font for docs headings to make @druskus20 happy
  • he animated now
  • Try to fix theme
  • Setup matching mdbook theme
  • (release) build man page as part of release process

Added

  • add yolk edit command
  • Add to_json and from_json lua functions
  • ensure template expressions are sandboxed
  • add contains_key, contains_value, regex_captures functions

Fixed

  • join lines in parser where possible

Other

  • fix clippy warnings
  • ensure that yolk_templates can deal with missing files
  • Document inspect.lua library
  • Add new utility functions to docs
  • document yolk safeguard and how to clone
  • simplify parser slightly
  • enable tagging in release-plz
  • Update references to replace function

Added

  • [breaking] rename replace to replace_re (r -> rr)
  • add replace_quoted, replace_value functions
  • add replace_number tag function

Fixed

  • rename mktmpl to make-template
  • show proper errors for yolk eval
  • show source in errors in yolk.rhai
  • parser not preserving newline after conditional end tag

Other

  • add more tests to lua functions
  • disable dependency updates in release-plz config