Skip to content

Releases: kaliop/twig-express

2.1.3

03 May 18:53
Compare
Choose a tag to compare
  • Fix main download by removing test-specific config in twigexpress.json.
  • Update Twig lib to 1.35.3.

2.1.2

03 May 18:52
Compare
Choose a tag to compare
  • Remove separate 'download' branch, in favour of 'master'.
  • Remove .htaccess, see doc/apache.md.
  • Update highlight.js to 9.12.0.
  • php twigexpress.phar prints a short message and the release version.

2.1.1

03 May 18:51
Compare
Choose a tag to compare
  • Update Twig lib to 1.35.0.

2.1.0

31 May 13:31
Compare
Choose a tag to compare

Mostly a rewrite of the twigexpress_layout() template and its styles. No new features.

TwigExpress v2

29 May 11:49
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Dropped support Apache when serving in a subfolder (e.g. http://localhost/my-twigexpress-prototype/); use VirtualHosts, or run TwigExpress from the command line.
  • Removed the _base global variable; if you need it, redeclare it in the global_vars config in twigexpress.json.
  • Removed the _get, _post and _cookie global variables; use the param() function instead.
  • The autoescape and strict_variables config keys have been moved inside a twig_options object; see doc/config.md for details.
  • Removed the second parameter for the files() and folders() functions.

New features:

  • Automatic Markdown previews for files ending in .md.
  • Config: allow_only - whitelist of file patterns to serve.
  • Config: debug_mode - disable folder listings, source views, debug pages.
  • Twig: param() function for getting GET, POST and cookie values.
  • Twig: create pages using the TwigExpress design (with automatic breadcrumbs), with {% extends twigexpress_layout() %}.

Now with directory listings

20 Oct 07:20
Compare
Choose a tag to compare

New features:

  • For requests matching a directory, TwigExpress will show a file list if there is no index.twig or index.html.twig file in a folder.
  • Ability to define Twig namespaces in twigexpress.json.

Non-feature (and hopefully non-breaking) changes: big code and documentation refactoring.

Tagging a first public release

19 Sep 12:43
Compare
Choose a tag to compare
1.0.0

doc(readme): php --server option is easier to read and memorize