Skip to content

Commit

Permalink
Update to version 0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljones committed Oct 23, 2022
1 parent 7623900 commit ed04087
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.16.0

- Support `{> fn` and `{> pub fn` syntax for declaring private and public functions within the
template file. This allows better locality of helper functions and easy access to template
behaviour.

Template files which only have function declarations and no meaningful template content will not
have the `render` and `render_builder` methods so they can be used library modules with just
helper functions.

## 0.15.0

- **Breaking change**: No longer includes `gleam/list` import for templates that don't use the `for`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "matcha"
version = "0.15.0"
version = "0.16.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit ed04087

Please sign in to comment.