Skip to content

Commit a11c582

Browse files
committed
Updated changelog.
1 parent 5e648e1 commit a11c582

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ LuaWebGen uses this [folder structure](https://github.com/ReFreezed/LuaWebGen/wi
149149
my-website/ -- Root of the website project.
150150
content/ -- All website content, including pages, images, CSS and JavaScript files.
151151
index.(html|md) -- Homepage/root index page.
152-
data/ -- Optional data folder. Can contain Lua, TOML and XML files.
152+
data/ -- Optional data folder. Can contain Lua, TOML, JSON and XML files.
153153
layouts/ -- All HTML layout templates.
154154
page.html -- Default page layout template.
155155
output/ -- Where the built website ends up.

build/Changelog.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
Changelog
22
LuaWebGen
33

4+
v1.3 (2021-05-24)
5+
- Added JSON as a supported data format.
6+
- Added "xml" as a new template file type (for e.g. RSS feeds and sitemaps).
7+
- Added commands 'new feed' and 'new sitemap'
8+
- Added site.description .
9+
- Added page.description and page.dateModified .
10+
- Added global 'utf8' module.
11+
- Added global 'scripts' object (similar to 'data').
12+
- Added functions: summarize(), getGeneratedPages(), echoSmart(), isValueHtml(), clampArray(), gmatchAndBetween(), json.parse(), toml.parse().
13+
- Added --date option for specifying the date to build for.
14+
- subpages() can now take a path prefix as an argument.
15+
- Trying to access page.content too early or in an invalid situation will now raise an error.
16+
- Improved some error messages.
17+
- Fixed subpages() including pages in sibling folders whose name begins with the same name (e.g. '/blog/index.md' included pages under '/blogosphere/').
18+
- XML module: All functions now work both on the library object and as methods on elements.
19+
- XML module: Added functions: xml.contentsToXml(), xml.contentsToHtml(), xml.getHtmlText().
20+
- XML module: xml.walk() now supports traversal actions by returning a value from the callback.
21+
422
v1.2 (2021-05-18)
523
- Added config.dataTextParsers and config.dataBinaryParsers for defining custom data file parsers.
624
- Added getDataTextParsers() and getDataBinaryParsers().

build/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.0
1+
1.3.0

0 commit comments

Comments
 (0)