Skip to content

Commit

Permalink
4.8.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbaturin committed Jan 15, 2024
1 parent 0cc58b3 commit d617889
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
# 4.8.0 (TBD)
# 4.8.0 (2024-01-12)

## New features and improvements

* `site_index` variable is now available to the post-build hook.
* `index_entry` variable (the site index entry for the current page) is now available to save and post-save hooks and to Lua index processors.
* `index_entry` variable (the complete site index entry for the current page) is now available to post-index, save and post-save hooks and to Lua index processors.
* New options for ignoring certain paths in the sire dir: `settings.ignore_path_regexes` and `settings.ignore_directories`.

### New plugin API functions

* `HTML.inner_text()` — returns the text nodes from inside a node, stripped of all HTML tags.

## Bug fixes

* In generator mode, page files are parsed as HTML fragments so `<style>` tags and similar no longer call issues
with duplicate `<body>` tag inserted in the page (#58, report by Delan Azabani).

# 4.7.0 (2023-09-19)

## New features and improvements
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Daniil Baturin et al.
Copyright (c) 2024 Daniil Baturin et al.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/defaults.ml
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ let default_settings = {
soupault_version = None;
}

let version = (4, 7, 0, None)
let version = (4, 8, 0, None)

let version_to_string v =
let major, minor, patch, suffix = v in
Expand Down
2 changes: 1 addition & 1 deletion src/soupault.ml
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ let process_asset_file settings src_path dst_path =
(* Prints a version message. *)
let print_version () =
Printf.printf "soupault %s\n\n" Defaults.version_string;
print_endline "Copyright 2023 Daniil Baturin et al.";
print_endline "Copyright 2024 Daniil Baturin et al.";
print_endline "soupault is free software distributed under the MIT license.";
print_endline "Visit https://www.soupault.app for news and documentation.";
print_newline ();
Expand Down

0 comments on commit d617889

Please sign in to comment.