From d120c2ca8f2f41ec7fd32d8c7c1fa9469538c005 Mon Sep 17 00:00:00 2001 From: Andrew Woodlee Date: Tue, 19 Nov 2024 23:56:09 -0600 Subject: [PATCH] update changelog and add link in docs --- CHANGELOG.md | 24 ++++++++++++++++++++++++ docs/content/_index.md | 2 ++ 2 files changed, 26 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98313bc..93b09cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,30 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). +## v0.5.0 - 2024-11-19 +### Added +* Lists can now go in a file. See docs for more information. +* commands.[name].type: script now opens `scriptEnvFile`. +* Hooks for Commands.[name]. Error, success, and final. [#12] +### Changed +* GetKnownHosts is now a method of Host +### Fixed +* make command logger be used for errors, not just when running the command + +## v0.4.0 - 2023-09-08 + +### Added + +* Added `scriptEnvFile` to command object that allows one to specify an environment file (or any file really) when a `scriptFile` is run. Inspired by the practice of keeping environment variables and scripts or commands seperate. +* Basis for listing commands + +### Changed + +* BREAKING: Notifications object now takes the form of service.id, where service can be "mail" or "matrix" and id is a unique id for the service. +* BREAKING: Since the change to the notifications object, cmd-lists' inner map key 'notifications' must be of the form service.id. id must be defined for that service. See notifications docs for aviliable services. +* Config parser is now the simpler Koanf - Keys are now case-sensitive +* Log size limited to 50 Mb + ## v0.3.1 - 2023-07-20 ### Changed * If an SSH session failed to be created, the command would fail. This would be caused when restarting the SSH host. The SSH connection is attempted to be created again. If successful, the command is executed normally. diff --git a/docs/content/_index.md b/docs/content/_index.md index 803ad4d..035262a 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -7,6 +7,8 @@ Backy is a tool for automating data backup and remote command execution. It can Why the name Backy? Because I wanted an app for backups. +View the [changelog here](https://git.andrewnw.xyz/CyberShell/backy/src/branch/master/CHANGELOG.md). + {{% notice tip %}} Feel free to open a [PR](https://git.andrewnw.xyz/CyberShell/backy/pulls), raise an [issue](https://git.andrewnw.xyz/CyberShell/backy/issues "Open a Gitea Issue")(s), or request new feature(s). {{% /notice %}}