github mozilla/nunjucks v1.1.0

latest releases: v3.2.4, v3.2.3, v3.2.2...
9 years ago

User visible changes:

  • Fix a bug in urlize that would remove periods
  • custom tag syntax (like {% and %}) was made Environment-specific internally. Previously they were global even though you set them through the Environment.
  • Remove aggressive optimization that only emitted loop variables when uses. It introduced several bugs and didn't really improve perf.
  • Support the regular expression syntax like /foo/g.
  • The replace filter can take a regex as the first argument
  • The call tag was implemented
  • for tags can now take an else clause
  • The cycler object now exposes the current item as the current property
  • The chokidar library was updated and should fix various issues

Dev changes:

  • Test coverage now available via istanbul. Will automatically display after running tests.

Don't miss a new nunjucks release

NewReleases is sending notifications on new releases.