jinja 0.1.0 copy "jinja: ^0.1.0" to clipboard
jinja: ^0.1.0 copied to clipboard

outdated

Jinja2 server-side template engine for Dart. Variables, expressions, control structures and template inheritance.

0.1.0 on work #

  • little speed up
  • new statements:
    • filter
    • set
    • raw
  • add namespace
  • environment
    • add leftStrip and trimBlocks
    • add extensions
    • rename:
      • stmtOpen to blockStart
      • stmtClose to blockEnd
      • varOpen to variableStart
      • varClose to variableEnd
      • commentOpen to commentStart
      • commentClose to commentEnd
    • move autoReload to FileSystemLoader
    • remove getFilter and getTest
  • update context and parser
  • parser:
    • parsing *args, **kwargs in calls (not in filters and tests)
    • custom tags support
    • context
    • onParseName
  • template:
    • add renderWr function to Template: renderWr(kv1: ..., kv2: ...) calls render({'kv1': ..., 'kv2': ...})
    • add simple module
    • add self.blockName callback ref in context
  • removed filters:
    • batch
    • filesizeformat
  • more ...

0.0.8+1 #

  • Fixes

0.0.8 #

  • Add and update filters
  • Update escaping
  • Update package tests
  • Formatting & fixes

0.0.7+1 #

  • Set (one variable assign statement)
  • Recursive For-Loop
  • Unpacking argument expression
  • Formatting & fixes

0.0.7 #

  • Add global namespace to env and update context
  • Add all missing builtin tests
  • Fix expression group parsing
  • Update package tests
  • Formatting & fixes

0.0.6 #

  • Add undefined & env.finalize
  • Add and switch to env call template, filter, test methods
  • Add is and in expressions
  • Add sum filter
  • Formatting & fixes

0.0.5 #

  • Add batch and escape filters
  • Template and context required env
  • Environment fromSource can store template
  • Formatting & fixes

0.0.4 #

  • Add test for for-loop & if-condition
  • Add defined filter
  • Immutable context
  • Little Docs
  • Formatting & fixes

0.0.3 #

  • Fixes & formatting
  • More filters & tests, package tests

0.0.2 #

  • Fixes & formatting

0.0.1 #

  • Base statements, variables, inheritance, filters & tests and example
32
likes
0
pub points
86%
popularity

Publisher

unverified uploader

Jinja2 server-side template engine for Dart. Variables, expressions, control structures and template inheritance.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta, path, string_scanner

More

Packages that depend on jinja