Skip to content

Releases: mhanberg/temple

v0.14.1

04 Mar 02:41
28e31ec

Choose a tag to compare

0.14.1 (2025-03-04)

Bug Fixes

Miscellaneous Chores

v0.14.0

20 Oct 23:19
24bbe6f

Choose a tag to compare

0.14.0 (2024-10-20)

Features

Bug Fixes

v0.13.1

20 Oct 22:32
39fceeb

Choose a tag to compare

0.13.1 (2024-10-20)

Bug Fixes

  • add mathml tags to formatter (4e8de14)
  • void foreign elements get self closing tags (#243) (4e8de14), closes #242

v0.13.0

17 Oct 11:50
67ee3fe

Choose a tag to compare

0.13.0 (2024-10-17)

Features

  • add missing and new HTML elements & MathML (#240) (209589e)

v0.12.1

20 Jun 12:39
58818b0

Choose a tag to compare

0.12.1 (2024-06-20)

Bug Fixes

  • relax constraint on phoenix_html (f28468e)

v0.12.0

13 Jun 03:49
a991e71

Choose a tag to compare

0.12.0 (2023-06-13)

⚠ BREAKING CHANGES

  • configure runtime attributes function (#202)

Features

  • configure runtime attributes function (#202) (dc57221)

Bug Fixes

v0.11.0

21 Jan 12:11
9a24ff8

Choose a tag to compare

What's Changed

Full Changelog: v0.10.0...v0.11.0

v0.10.0

20 Sep 00:39

Choose a tag to compare

What's Changed

Full Changelog: v0.9.0...v0.10.0

v0.9.0

12 Sep 02:40

Choose a tag to compare

Full Changelog: v0.8.0...v0.9.0

v0.9.0-rc.0

20 Apr 04:10

Choose a tag to compare

v0.9.0-rc.0 Pre-release
Pre-release

Breaking Changes

  • Requires Elixir 1.13+
  • Whitespace control is now controlled by whether you use do/end or :do syntax. The :do syntax will render "tight" markup.
  • Components are no longer module based. Any function can now be a component. Now to render a component, you pass a function reference c &my_component/1.
    • Temple.Component has been removed, which removes the render/1 macro for defining a component. Now all you need to do is define a function and have it take an assigns parameter and call the temple/1 macro that is imported from Temple.
    • The defcomp macro has been removed, since now all you need is a function.
  • All Phoenix related things and dependencies have been removed. If you are going to use Temple with Phoenix, now use the temple_phoenix package instead.
  • Config options have changed. Now all you can configure are the aliases (unchanged from before) and now you can configure the EEx.Engine to use. By default it uses EEx.SmartEngine.

Please see the guides for more in depth migration information.