Skip to content

Releases: open2b/scriggo

v0.59.0

22 Dec 09:37
Compare
Choose a tag to compare

This release introduces LiveReload functionality to the Scriggo Serve command, enabling automatic page reloads in the browser whenever the page’s template files are modified.

With LiveReload and the automatic template rebuild, changes are instantly reflected in the browser as soon as you save the files.

To disable LiveReload, use the --disable-livereload flag.

v0.58.1

16 Dec 14:54
Compare
Choose a tag to compare

This release focuses on bug fixes and updates dependencies. It addresses the following issues:

  • Resolved a race condition occurring when a function or macro was called indirectly.
  • Fixed issues causing empty output when invoking a macro, especially in cases of recursive calls.
  • Addressed template recompilation errors in the Scriggo serve command when a render operator was indirectly used within a show statement.

v0.58.0

04 Dec 14:50
Compare
Choose a tag to compare

This release fixes the following issues:

  • Fixed a panic in the Scriggo command when trying to import or extend a non-existent file.
  • Fixed rendering issues when a non-Markdown file is rendered inside a Markdown context.

Additionally, files with the ".mdx" extension are now treated as Markdown files by default.

We’ve added the MarkdownConverter method to native.Env. A function or method, whether passed globally or imported into a template, can now use this method to retrieve the Markdown converter passed when building the template.

Finally, the scriggo serve command now enables support for footnotes in Markdown parsing.

Changes

v0.57.1

22 Oct 13:32
Compare
Choose a tag to compare

This release only updates the GitHub Action files and the GoReleaser configuration for the release of Scriggo binaries.

v0.57.0

22 Oct 12:23
960446d
Compare
Choose a tag to compare

Support for Go Compiler Versions 1.22 or Higher

This release adds support for Go compiler versions 1.22 or later.

Note that support for Go versions 1.21 or earlier is therefore removed, as functionality of Scriggo is no longer guaranteed for these compiler versions.

Fixes

Dependency Updates

v0.56.1

04 Aug 13:28
Compare
Choose a tag to compare

v0.56.0

04 Aug 10:40
Compare
Choose a tag to compare

Support Go 1.19

This release officially supports Go 1.19.

Changes

v0.55.0

08 Jul 15:03
Compare
Choose a tag to compare

v0.54.0

28 Jun 08:01
Compare
Choose a tag to compare

Changes

  • compiler/checker: don't consider 'make(...)' a constant function call (breaking change)
  • runtime: implement range over channels
  • all: add 'else' statement to the 'for in' and 'for range' statements (breaking change)
  • scriggo: update dependencies

Optimizations

  • compiler/emitter, runtime: simplify 'for range' instruction with 'break'

Fixes

  • compiler/checker: fix terminating statements
  • ast: add '(*Block).String' method
  • ast/utils: don't panic '(*dumper).Visit' if a block has nil position

v0.53.5

07 Jan 13:10
Compare
Choose a tag to compare

Fixes

  • compiler/checker: fix const shift expression with untyped left operand

  • compiler/emitter: fix panic involving operations on pointer values

  • compiler/checker: return error in case of parenthesis around ident on :=

  • compiler/checker: fix call to 'setValue'

  • compiler/parser: fix error message on not existent path