Browse Source

Update version of command hooks since they didn't get released in 1.9.14 (#1019).

Dan Helfman 2 months ago
parent
commit
965740c778
3 changed files with 8 additions and 6 deletions
  1. 5 3
      NEWS
  2. 2 2
      docs/how-to/add-preparation-and-cleanup-steps-to-backups.md
  3. 1 1
      pyproject.toml

+ 5 - 3
NEWS

@@ -1,10 +1,12 @@
+2.0.0dev0
+ * #790: Deprecate all "before_*", "after_*" and "on_error" command hooks in favor of more flexible
+   "commands:". See the documentation for more information:
+   https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
+
 1.9.14
  * #409: With the PagerDuty monitoring hook, send borgmatic logs to PagerDuty so they show up in the
    incident UI. See the documentation for more information:
    https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#pagerduty-hook
- * #790: Deprecate all "before_*", "after_*" and "on_error" command hooks in favor of more flexible
-   "commands:". See the documentation for more information:
-   https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
  * #936: Clarify Zabbix monitoring hook documentation about creating items:
    https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#zabbix-hook
  * #1017: Fix a regression in which some MariaDB/MySQL passwords were not escaped correctly.

+ 2 - 2
docs/how-to/add-preparation-and-cleanup-steps-to-backups.md

@@ -17,7 +17,7 @@ points as it runs.
 feature](https://torsion.org/borgmatic/docs/how-to/backup-your-databases/)
 instead.)
 
-<span class="minilink minilink-addedin">New in version 1.9.14</span> Command
+<span class="minilink minilink-addedin">New in version 2.0.0</span> Command
 hooks are now configured via a list of `commands:` in your borgmatic
 configuration file. For example:
 
@@ -106,7 +106,7 @@ configuration files.
 
 ### Deprecated command hooks
 
-<span class="minilink minilink-addedin">Prior to version 1.9.14</span> The
+<span class="minilink minilink-addedin">Prior to version 2.0.0</span> The
 command hooks worked a little differently. In these older versions of borgmatic,
 you can specify `before_backup` hooks to perform preparation steps before
 running backups and specify `after_backup` hooks to perform cleanup steps

+ 1 - 1
pyproject.toml

@@ -1,6 +1,6 @@
 [project]
 name = "borgmatic"
-version = "1.9.14"
+version = "2.0.0dev0"
 authors = [
   { name="Dan Helfman", email="witten@torsion.org" },
 ]