Skip to content

Releases: EpocDotFr/staticjinjaplus

2.0.1

15 May 11:58
Compare
Choose a tag to compare

Fixed

  • Generated Markdown template URLs had the wrong suffix (.md) instead of .html when USE_HTML_EXTENSION was set to True

Changed

2.0.0

25 Apr 06:56
Compare
Choose a tag to compare

Removed

  • Remove icon() Jinja helper, replaced by embed()
  • Remove url() Jinja helper, replaced by absurl()
  • Remove LOCALE config value and associated code

Added

  • Add embed() Jinja helper, which replaces the less generic icon() one
  • Add absurl() Jinja helper which replaces url()
  • Add generic Markdown support (read more)
    • Add new dependency: markdown
    • Add new config values: MARKDOWN_EXTENSIONS and MARKDOWN_DEFAULT_PARTIAL
  • Add new Jinja global: collected
  • Add new USE_HTML_EXTENSION config value
  • Add -v/--version option to staticjinjaplus 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

16 Apr 07:40
Compare
Choose a tag to compare

Fixed

  • Enable Jinja autoescape on HTML, XML, RSS and Atom templates

1.1.1

11 Apr 14:50
Compare
Choose a tag to compare

Fixed

  • Fix shadow name from outer scope

1.1.0

11 Apr 08:45
Compare
Choose a tag to compare

Changed

  • Decrease minimum required Python version from 3.12 to 3.9

1.0.0

10 Apr 21:29
Compare
Choose a tag to compare

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 using SERVE_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

1.0.0b4

08 Apr 18:05
Compare
Choose a tag to compare
1.0.0b4 Pre-release
Pre-release

Changed

  • Update package's setup

Fixed

  • Build site prior publishing

Warning

Beta release: staticjinjaplus isn't considered stable yet.

1.0.0b3

08 Apr 16:12
Compare
Choose a tag to compare
1.0.0b3 Pre-release
Pre-release

Fixed

  • Fix publish rsync command: execute as shell (as per Python doc)

Warning

Beta release: staticjinjaplus isn't considered stable yet.

1.0.0b2

08 Apr 15:59
Compare
Choose a tag to compare
1.0.0b2 Pre-release
Pre-release

Changed

  • A lot of code refactoring, including (but not limited to) migrating stuff to more modern Python API, dispatching code to a couple modules, narrowing imports, simplifying stuff, etc
  • Require some env variables when publishing, also use environs to manage env variables
  • More documentation (still WIP)

Removed

  • Removed some unnecessarily configuration values

Fixed

  • Fix publish rsync command (fix #1)

Warning

Beta release: staticjinjaplus isn't considered stable yet.

1.0.0b1

05 Apr 09:38
Compare
Choose a tag to compare
1.0.0b1 Pre-release
Pre-release

This is the very first release of staticjinjaplus, no changelog is available.

Warning

Beta release: staticjinjaplus isn't considered stable yet.