Update changelog + add back config.generate_feed in templates for now

This commit is contained in:
Vincent Prouillet 2024-06-24 22:20:20 +02:00 committed by Vincent Prouillet
parent 9774d761e3
commit b97f8a1fe2
7 changed files with 9 additions and 6 deletions

View file

@ -1,8 +1,9 @@
# Changelog
## 0.19.1 (unreleased)
## 0.19.1 (2024-06-24)
- Fix `config.generate_feeds` being still serialized as `config.generate_feed`
- Fix `config.generate_feeds` being still serialized as `config.generate_feed`. Both are available for now
- Fix `zola serve` not reacting to changes on some OSes
## 0.19.0 (2024-06-20)

2
Cargo.lock generated
View file

@ -5248,7 +5248,7 @@ dependencies = [
[[package]]
name = "zola"
version = "0.19.0"
version = "0.19.1"
dependencies = [
"clap 4.5.7",
"clap_complete",

View file

@ -1,6 +1,6 @@
[package]
name = "zola"
version = "0.19.0"
version = "0.19.1"
authors = ["Vincent Prouillet <hello@vincentprouillet.com>"]
edition = "2021"
license = "MIT"

View file

@ -108,6 +108,7 @@ pub struct SerializedConfig<'a> {
description: &'a Option<String>,
languages: HashMap<&'a String, &'a languages::LanguageOptions>,
default_language: &'a str,
generate_feed: bool,
generate_feeds: bool,
feed_filenames: &'a [String],
taxonomies: &'a [taxonomies::TaxonomyConfig],
@ -322,6 +323,7 @@ impl Config {
description: &options.description,
languages: self.languages.iter().filter(|(k, _)| k.as_str() != lang).collect(),
default_language: &self.default_language,
generate_feed: options.generate_feeds,
generate_feeds: options.generate_feeds,
feed_filenames: &options.feed_filenames,
taxonomies: &options.taxonomies,

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View file

@ -1,5 +1,5 @@
name: zola
version: 0.19.0
version: 0.19.1
summary: A fast static site generator in a single binary with everything built-in.
description: |
A fast static site generator in a single binary with everything built-in.
@ -21,7 +21,7 @@ parts:
zola:
source-type: git
source: https://github.com/getzola/zola.git
source-tag: v0.19.0
source-tag: v0.19.1
plugin: rust
rust-channel: stable
build-packages: