Skip to content

Commit

Permalink
This is 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rossmacarthur committed Jul 23, 2023
1 parent e2ed68f commit 40f1b47
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "upon"
version = "0.7.0"
version = "0.7.1"
authors = ["Ross MacArthur <[email protected]>"]
edition = "2021"
rust-version = "1.60"
Expand Down
31 changes: 25 additions & 6 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,41 @@
# Releases

## 0.7.1

*July 23rd, 2023*

### Features

- [Add `.template(name)` function to engine][240edee8] This function is a
shorthand for `get_template` that panics if the template does not exist.

### Fixes

- [Fix integer overflow when parsing index access][e2ed68f4]

[e2ed68f4]: https://github.com/rossmacarthur/upon/commit/e2ed68f4aa93ff0769d23acf690bd4edef48130a
[240edee8]: https://github.com/rossmacarthur/upon/commit/240edee8592a2a6ff503013f66b325d889aec00b

## 0.7.0

*Unreleased*
*July 23rd, 2023*

### Features

- [Redesign the render API.][51d011b] This improvement allows us to add more
- [Redesign the render API][51d011b] This improvement allows us to add more
configuration to the rendering process in the future. It also prevents the
need for a proliferation of rendering functions. The new public `Renderer`
struct is created using one of the three functions: `render`, `render_from`,
or `render_from_fn`. And then the renderer can be consumed using
`.to_string()` or `.to_writer(..)`.
- [Support `?.` optional chaining operator.][5f4f345]
- [Allow values to be fetched lazily.][fb2a904] This allows you to provide
the global context from an outside source during rendering.
- [Replace ValueCow::as_bool with truthiness function.][a4d3c59] This change
- [Support `?.` optional chaining operator][5f4f345]
- [Allow values to be fetched lazily][fb2a904] This allows you to provide the
global context from an outside source during rendering.
- [Replace ValueCow::as_bool with truthiness function][a4d3c59] This change
implements a truthiness function for evaluating conditionals. `None`, `false`,
`0` integer and `0.0` float, empty string, list, and map as falsy. Everything
else is truthy.

*Contributed by [**@lunabunn**](https://github.com/lunabunn)*

[51d011b]: https://github.com/rossmacarthur/upon/commit/51d011b49e70817e9cf2c42b907a0661bd65700b
Expand Down

0 comments on commit 40f1b47

Please sign in to comment.