Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

v1.4.2

@paularmstrong paularmstrong released this · 26 commits to master since this release

  • Added Report JS parse errors with template filenames. gh-492
  • Fixed Ensure block-level tags (set, etc) are parsed in correct order. gh-495
  • Fixed Ensure import tag uses current Swig instance's loader. gh-421, gh-503
  • Fixed Allow disabling cache on compile/render functions directly. gh-423
  • Fixed Ensure compilation does not leak global variables. gh-496
  • Fixed Fix for-loops to run on strings. gh-478, gh-479
  • Fixed Allow macro output to be assigned using set tag. gh-499, gh-502

Downloads

v1.4.1

@paularmstrong paularmstrong released this · 42 commits to master since this release

  • Fixed macro argument names colliding with context variable names. gh-457
  • Fixed filter chaining within tags. gh-441

Downloads

v1.4.0

@paularmstrong paularmstrong released this · 48 commits to master since this release

  • Changed Allow variable tokens to start with $. gh-455
  • Changed fs loader should take cwd as default base path. gh-419
  • Changed handle errors which occur at the time of rendering. gh-417
  • Changed default options in bin (varControls, tagControls, cmtControls). gh-415
  • Changed null should yield empty string when resolving variable. gh-408
  • Added Escape character for date filter argument. gh-427, gh-432
  • Added Make if and elseif throw a better error message when a tag body is omitted. gh-425
  • Fixed don't throw errors on accessing property of null object. gh-471
  • Fixed loop variables work correctly in nested loops. gh-433
  • Fixed Some IE8 compatibility (require es5). gh-428

Downloads

v1.3.2

@paularmstrong paularmstrong released this · 75 commits to master since this release

  • Fixed for loop variables on objects. gh-409
  • Fixed Misc. IE8 fixes. gh-410
  • Fixed include files when loaders have base paths. gh-407

Downloads

v1.3.0

@paularmstrong paularmstrong released this · 86 commits to master since this release

  • Changed Removed official node v0.8.x support
  • Added Custom template loader support. gh-377, gh-384, gh-382
  • Added Ability to set root path using template loaders. gh-382, gh-293
  • Added CLI now accepts custom filter and tag arguments. gh-391
  • Added Allow set tag to set keys on objects with bracket and dot-notation. gh-388
  • Added groupBy filter from swig-extras. gh-383
  • Fixed swig.run filepath arg is always optional. gh-402
  • Fixed Filters on non-empty functions apply correctly. gh-397
  • Fixed Filters applied to functions w/ & w/o dotkeys. gh-365
  • Fixed date filter N option returns correct number. gh-375
  • Fixed Ensure getting parent template checks cache if on. gh-378

Downloads

v1.2.2

@paularmstrong paularmstrong released this · 128 commits to master since this release

  • Fixed CTX var output in imported macros. gh-363

Downloads

v1.2.1

@paularmstrong paularmstrong released this · 130 commits to master since this release

  • Fix scoping for Express. gh-363

Downloads

v1.2.0

@paularmstrong paularmstrong released this · 133 commits to master since this release

  • Added Filepath parameter can be passed to swig.run to allow extends in-browser. gh-349
  • Changed Use local-context first for var lookups. gh-344, gh-347
  • Changed Allow DOTKEY after functions/objects/filters. gh-355
  • Changed Context of for-tags carries into includes. gh-356
  • Changed When a callback is passed into compileFile, catch all errors thrown by compile and pass the error to callback. gh-340
  • Fixed Instances of Swig retain their options properly. gh-351
  • Fixed Fix misc documentation issues. gh-359, gh-358

Downloads

v1.1.0

@paularmstrong paularmstrong released this · 151 commits to master since this release

  • Added Allow logic in default parsing. gh-326
  • Fixed Error when attempting to wrap spaceless tag around macro/function output. gh-336
  • Fixed Don't overwrite keys on the locals object. gh-337

Downloads

v1.0.0

@paularmstrong paularmstrong released this · 156 commits to master since this release

  • Fixed Allow parent and other tags to work correctly nested in other tags. gh-331
  • Fixed Prevent lexer from matching partial logic/words in variables. gh-330

Migrating from v0.x.x? View the Migration Guide

Downloads

Something went wrong with that request. Please try again.