Skip to content

Recent Changes

Brett Terpstra edited this page Mar 7, 2023 · 3 revisions

2.1.0

2023-03-07 09:13

NEW

  • --hook command for macOS to copy a link to the build note to
  • --yes flag will answer yes to all prompts when executing
  • --force flag will continue executing directives after an error
  • Use TOPIC_TITLE (var1, var2) to have access to ${var1} ${var2} in text and scripts, populated with positional variables on the command line
  • Add a default (fallback) value to any variable placeholder with ${var_name:default value}

IMPROVED

  • Sort options in help output
  • Use os-agnostic copy function for --hook
  • Rename link title for --hook
  • Paginate output of --templates
  • Add ctrl-a/d bindings to fzf menu for select/deselect all
  • Code cleanup
  • If a topic runs multiple directives, stop processing them if one returns a non-zero exit status
  • A non-zero exit status on a run directive will stop processing additional directives
  • A little extra output formatting, more descriptive results logging
  • When using fzf chooser, make matching exact to avoid running multiple topics

FIXED

  • Error on --edit-config
  • Fzf preview empty
  • --templates attempting to create new build note
  • Fix handling of paths when the same as note_file
  • --grep function regression
  • Avoid reading upstream files multiple times
  • Template metadata inheritence
  • Formatting of --help and --version commands
  • Color template formatting of task output
  • Fail to partial match include commands after running fzf

2.0.18

2022-08-08 04:28

NEW

  • Config option and flag to determine how to handle multiple results (first, best, all, choose)
  • --config-get and --config-set flags for working with config options
  • Option to set :header_format: to block for alternate topic title appearance
  • Make any task optional when running by adding a ? (@open?(...))
  • Optional tasks default to yes when you hit enter, invert by using a ! (@open?!(...)) to make default "no"
  • --debug flag (shortcut for :log_level: 0)
  • --edit-template NAME will open a template in your editor, offering to create it if missing
  • Use --ask to require confirmation of all tasks when running a topic

IMPROVED

  • Code cleanup and refactoring
  • Replace ANSI escape codes with color template system
  • When @including an external file, if the file doesn't contain any level 2+ headers, import it as plain text.
  • Allow multiple selections when using fzf
  • Clean up newlines in output
  • Complete code refactoring
  • If a title is provided after an @command, display it instead of the contents when viewing
  • General code cleanup
  • Attempt at os agnostic @copy command, hopefully works on Windows and Linux systems
  • Ask to open new buildnote for editing after creation
  • Console output now gets log levels, so :log_level: config option and --quiet/verbose have more utility
  • Avoid error trace on interrupt
  • Better stty settings for y/n prompt
  • Better coloring of default options in dialogs
  • Provide more helpful feedback if no content is found in build note
  • Confirm whether the user wants to create a new note when one isn't found
  • Update fish completions with all current command line options
  • Show how many tasks will be included when requesting confirmation for an include? directive
  • Add tests for more ruby versions via Docker
  • -R can take an argument to filter results
  • Show a topic preview when using fzf to select from available topics
  • Paginate help output
  • Refactor Topic.run

FIXED

  • Missing spacing around topic titles when displaying multiple topics
  • Multiple includes of upstream files when templates are specified
  • Variables in topics not being replaced with metadata
  • Allow default response in yes/no prompt
  • Unwritable content property
  • --config-get returning non-default options
  • Positional arguments not rendering in tasks
  • Fix degradation where arguments are empty
  • Failure to create new notes file when one isn't found
  • Not displaying action if title is missing
  • Loop when creating new buildnote
  • Replace escaped newlines in task list output so that they don't trigger a newline in the shell
  • Bugfixes
  • Encoding issues with older ruby versions
  • Globbing for build notes was picking up files that contained "build" but not at the beginning of the filename
  • Travis CI fixes
  • Invalid options for more pager
  • Error running grep command
  • Show method not accepting paginate option
  • If --show-code is given (or :show_all_code: is set to true), show content of @directives instead of title
Clone this wiki locally