All Versions
25
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History
Page 1

  • v0.9.0-rc.0

  • v0.8.0 Changes

    โœจ Enhancements

    • ๐Ÿ‘ Better whitespace control

    You can now use a "bang" version of any nonvoid tag to forgo the internal whitespace.

      span do
        "So much room for activities!"
      end
    
      # <span>
      #   So much room for activities!
      # </span>
    
      span! do
        "It's a little cramped in here!"
      end
    
      # <span>It's a little cramped in here!</span>
    
  • v0.7.0 Changes

    โœจ Enhancements

    • [breaking] Attributes who values are boolean expressions will be emitted as boolean attributes.
    • Class "object" syntax. Conditionally add classes by passing a keyword list to the class attribute.
  • v0.6.2 Changes

    ๐Ÿ› Bug fixes

    • Compile void elements with zero attrs #135
  • v0.6.1 Changes

    ๐Ÿ› Bug fixes

    • Only collect slots in the root of a component instance #127
  • v0.6.0 Changes

    ๐Ÿ‘ Temple now is written to be fully compatible with Phoenix LiveView! This comes with substantial internal changes as well as a better component API.

    Phoenix LiveView

    Temple now outputs LiveView compatible EEx at compile time, which is fed right into the normal LiveView EEx engine (or the traditional HTML Engine if you are not using LiveView).

    Components

    Temple now has a more complete component API.

    Components work with anywhere, whether you are writing a little plug app, a vanilla Phoenix app, or a Phoenix LiveView app!

    ๐Ÿ‘€ Please see the documenation for more information.

    To migrate component from the 0.5.0 syntax to the 0.6.0 syntax, you can use the following as a guide

  • v0.6.0-rc.1 Changes

    โœจ Enhancements

    • Components can now use slots.
    • Markup is 100% live view compliant.

    ๐Ÿ’ฅ Breaking

    • ๐Ÿšš @inner_content is removed in favor of invoking the default slot.
    • ๐Ÿšš The compact reserved keyword for elements has been removed. This is not really intentional, just a side effect of getting slots to a usable place. I expect to add it back, or at least similar functionality in the future.
  • v0.6.0-rc.0 Changes

    • Can pass a keyword list to be evaluated at runtime as attrs/assigns to an element.
  • v0.6.0-alpha.4 Changes

    • ๐Ÿ›  Fix a bug where lists would not properly compile
  • v0.6.0-alpha.3 Changes

    • Compile functions/macros that take blocks that are not if/unless/for