Skip to content

V 1.0.0; June 6th 2022

Latest
Compare
Choose a tag to compare
@Descent098 Descent098 released this 06 Jun 06:28
· 1 commit to master since this release

The version was bumped to a major release because pre V0.5.0 configs have been fully deprecated, if you are using an old config see migration steps below

There are 3 primary focuses for this release:

  1. Improve developer/contributor documentation and infrastructure
  2. Add metadata to configs so you can review how you use ahd
  3. Finalize some features that make ahd more intuitive and simple to use

Features:

  • Added spell-check for suggestions when input is close to a valid command
  • Added additional metadata to config file for each entry:
    • updated: The datestamp when the command was updated (will update on re-registering)
    • created: The datestamp when the command was created (will not update on re-registering)
    • runs: The number of times a command has been run
    • last_run: The datestamp when the command was last run (initially "never")
  • Added -d flag to display command details
    • Added command metadata for usage details like how many times it's been run and when it was added (access using ahd <command> -d)
    • Also will provide details like the current config for a given command, similar to ahd list but for a single command
  • Updated testing to run on a schedule for quicker bug awareness
  • Updated testing for coverage of all modules
  • Allowed for globbing paths with files
    • for example you can run a command over all files by extension in a path using ahd register <command name> "<command>" "/path/*.<extension>"

Documentation:

  • Added documentation about removing migration for pre V0.5.0 configurations

Bug Fixes:

  • Fixed errors in testing pipeline
  • Fixed bugs with initializing a config file
  • Added missing reserved commands to autocomplete
  • Fixed bugs on *nix installs without bash
  • Fixed several bugs with escaping on *nix systems

Migrating old configs:

in order to migrate old configs install ahd v0.5.0 pip install --upgrade ahd==0.5.0 then follow guide here (ignore step 1): Migrating from Pre v0.5.0 configs - Ad-Hoc Dispatcher (ahd.readthedocs.io)

Once updated to new config reinstall latest version using pip install --upgrade ahd