Plift

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Perl extension Plift

0.15 2016-10-27T14:24:18Z

    * replaced Scalar::Util by Ref::Util
    * context get() method now tries to find a hash key when
      it doesn't find a method on blessed targets.
    * fixed the current path shown on error messages

0.14 2016-10-26T23:17:39Z

    * new context methods 'abort' and 'is_aborted'
      - call abort to stop any further processing

0.13 2016-10-17T18:30:10Z

    * enabled the JSON's 'convert_blessed' option
      - objects are now automatically converted to json if the support it

0.12 2016-10-04T16:56:34Z

    * made 'data-' prefix optional for data-remove-if/unless

0.11 2016-10-04T01:46:39Z

    * implemented special selector '.' to select the current DOM root
    * implemented methods 'hook($step, $callback) and run_hooks($step)'
      - implemented hook 'after_load_template'
      - implemented hook 'before_process_template'
      - implemented hook 'after_process_template'
      - implemented hook 'before_render_directives'
      - implemented hook 'after_render_directives'
    * implemented 'data-remove-if' and 'data-remove-unless'
      - conditionally remove HTML elements based on context data
      - runs via 'after_load_template' hook


0.10 2016-09-02T12:34:10Z

    [ NEW ]
    * new context method selector_for($element)
      - generate deterministic css selector for any html element,
        based on libxml node's unique_key

0.09 2016-09-01T21:52:45Z

    [ INCOMPATIBLE CHANGE ]
    * snippet action methods now receive the context and parameters as arguments
      - The signature is: sub ($self, $element, $c, $params);
    * the parameters hashref is also used as snippet constructor params

0.08 2016-08-15T16:11:18Z

    [ NEW ]
    * Plift::template() now supports the 'data' option
      - so you can set the data before calling render()
      - useful if you need a reference to the metadata hash before calling render()

0.07 2016-08-12T19:32:32Z

    [ NEW ]
    * implemented active_handlers/inactive_handlers options
    * implemented <x-meta/> handler
      - templates can now set simple key/value metadata



( run in 1.454 second using v1.01-cache-2.11-cpan-39bf76dae61 )