From 55da52fc4632ce841a88f87c79de677f593c31b1 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 19 Mar 2024 11:29:13 +0000 Subject: [PATCH] 4.9.0 release --- CHANGELOG.md | 22 ++++++++++++++++++++++ soupault.opam | 2 +- src/defaults.ml | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6d9959..dd312c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +# 4.9.0 (2024-03-19) + +## New features and improvements + +* New `startup` hook that runs before soupault processes any pages and can modify the `global_data` variable. + +### New plugin API functions + +New `Digest` module offers functions for calculating cryptographic hash sums of strings. +All those functions return hex digests. + +* `Digest.md5(str)` +* `Digest.sha1(str)` +* `Digest.sha256(str)` +* `Digest.sha512(str)` +* `Digest.blake2s(str)` +* `Digest.blake2b(str)` + +Other new functions: + +* `Sys.basename_url(str)` and `Sys.dirname_url(str)` — aliases for `Sys.basename_unix` and `Sys.dirname_unix`, respectively. + # 4.8.0 (2024-01-12) ## New features and improvements diff --git a/soupault.opam b/soupault.opam index bedfc51..4d740af 100644 --- a/soupault.opam +++ b/soupault.opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "soupault" -version: "4.8.0" +version: "4.9.0" synopsis: "Static website generator based on HTML rewriting" description: """ A website generator that works with page element tree rather than text diff --git a/src/defaults.ml b/src/defaults.ml index e7b8ea2..df2b518 100644 --- a/src/defaults.ml +++ b/src/defaults.ml @@ -347,7 +347,7 @@ let default_settings = { soupault_version = None; } -let version = (4, 8, 0, None) +let version = (4, 9, 0, None) let version_to_string v = let major, minor, patch, suffix = v in