Releases: EpocDotFr/staticjinjaplus
Releases · EpocDotFr/staticjinjaplus
3.0.0
Changed
- Replaced jsmin dependency by rjsmin
- Some docs updates
Added
- Added
staticjinjaplus watch
command
Removed
- The
staticjinjaplus publish
command no longer syncs anything (using rsync or any other manner), as it's out of scope of this package. This command is thus now usable on any OS- Removed
SSH_USER
,SSH_HOST
,SSH_PORT
andSSH_PATH
environment variables
- Removed
- The
--watch/-w
option of thestaticjinjaplus build
command has been removed. It has been replaced by the newstaticjinjaplus watch
command
2.0.2
2.0.1
Fixed
- Generated Markdown template URLs had the wrong suffix (
.md
) instead of.html
whenUSE_HTML_EXTENSION
was set toTrue
Changed
- Documentation has been moved from
README.md
to https://epocdotfr.github.io/staticjinjaplus/ along several improvements made on the way
2.0.0
Removed
- Remove
icon()
Jinja helper, replaced byembed()
- Remove
url()
Jinja helper, replaced byabsurl()
- Remove
LOCALE
config value and associated code
Added
- Add
embed()
Jinja helper, which replaces the less genericicon()
one - Add
absurl()
Jinja helper which replacesurl()
- Add generic Markdown support (read more)
- Add new dependency: markdown
- Add new config values:
MARKDOWN_EXTENSIONS
andMARKDOWN_DEFAULT_PARTIAL
- Add new Jinja global:
collected
- Add new
USE_HTML_EXTENSION
config value - Add
-v/--version
option tostaticjinjaplus
CLI staticjinjaplus serve
now serve RSS and Atom files with proper MIME types
Changed
- Refactor source code to be more readable and simpler (there isn't any backward-incompatible changes, because you're not supposed to use staticjinjaplus' API)
- Increase minimum required Python version from 3.9 to 3.10
- The following configuration values have been renamed:
ASSETS_BUNDLES
->WEBASSETS_BUNDLES
GLOBALS
->JINJA_GLOBALS
FILTERS
->JINJA_FILTERS
EXTENSIONS
->JINJA_EXTENSIONS
- Documentation has been updated
1.1.2
1.1.1
1.1.0
1.0.0
First stable release ever.
Added
- Minify ouput of RSS, Atom and JSON templates as well
- Allow to set Jinja globals, filters and extensions from configuration
Changed
- Allow to emulate any custom HTTP error page in
staticjinjaplus serve
- Make default
BASE_URL
value dynamic by usingSERVE_PORT
value staticjinjaplus serve
now listen to both IPv4 and IPv6 loopback addresses if possible (instead of IPv4 exclusively)- More documentation
Fixed
- Cleanup output directory prior building and publishing