David Jennes
42e415a9bf
Version 0.13.0
2018-09-26 00:38:40 +02:00
David Jennes
2760843236
Update some old refs
2018-09-26 00:38:40 +02:00
Ilya Puchka
fce3dc5e48
Added method to register boolean filters ( #160 )
...
* added method to register boolean filters
* parametrised negative filter name
* Update Extension.swift
* Update CHANGELOG.md
* renamed registerBooleanFilter to registerFilter
* updated docs
2018-09-25 23:29:21 +01:00
Ilya Puchka
d238c25eef
Allow using collection accessors on strings ( #245 )
...
* allow using collection accessors on strings
* refactored resolving collection accessors
* refactored to fileprivate function
* Update Variable.swift
* Update templates.rst
2018-09-22 16:41:45 +03:00
Ilya Puchka
2c3962a3de
Added support for brackets in boolean expressions ( #165 )
...
* added support for brackets in boolean expressions
* more descriptive error messages
* use array slices
* added test for nested expressions
* removed brackets validation step
* address code review comments
* added doc comment
* simplify expression spec
* fixed docs
2018-09-21 22:07:28 +03:00
David Jennes
2ed5763fe4
Release 0.12.1
2018-08-30 13:47:19 +02:00
David Jennes
fc404b25d8
Update the docs version number
2018-08-26 23:27:37 +02:00
David Jennes
2e18892f4c
Subscript syntax for Variables ( #215 )
...
* Implement variable indirect resolution
* Add some tests
* Changelog entry
* Update documentation
* Rework the syntax to use brackets instead of a $
* Move the lookup parser into it's own file
* Add invalid syntax tests
* Swift 3 support
* Rename some things + extra test
2018-05-19 21:03:51 +01:00
Yonas Kolb
1e77f1e85f
document new include param
2018-05-07 18:47:18 +10:00
Ilya Puchka
eb8c875853
docs: Update documentation ( #213 )
...
* Update documentation
* Update builtins.rst
2018-05-05 15:33:11 -07:00
Ole Begemann
88e54ab4ba
docs: Fix typo of precedence ( #212 )
2018-04-17 11:25:15 -07:00
Kyle Fuller
000e9a7f1a
feat: Add DictionaryLoader to load templates from dictionary
...
Closes #97
2017-09-07 18:40:34 +01:00
Kyle Fuller
7b9817ed50
feat(for tag): Provide the counter 0 indexed to the context
...
Closes #121
2017-09-07 18:21:16 +01:00
Anton
86bfbf215f
docs: Fix typo in Custom Template Tags and Filters ( #131 )
2017-08-10 13:20:00 -07:00
Paul Melnikow
039bf4b7cb
docs: Fix example code in getting started ( #130 )
2017-08-10 13:18:43 -07:00
Ian Dundas
793773f191
docs: Added example to show use of forloop.xin a for loop ( #123 )
2017-07-12 11:46:43 +02:00
Gustavo Barbosa
e217a9c873
fix: Typo of Manager in installation docs ( #122 )
2017-06-07 18:23:47 +02:00
Kyle Fuller
89256b96f4
feat(for): Allow iterating over dictionary key and value
...
Closes #94
2017-04-19 00:03:47 +01:00
Ilya Puchka
d1717df6ff
feat(for tag): Support where expressions ( #96 )
2017-04-11 11:39:00 +01:00
Kyle Fuller
dc8759ba34
feat(if): Support elif tags
2017-03-03 09:56:41 +00:00
Kyle Fuller
20b9476e4b
chore: Release 0.8.0
2017-02-18 12:43:22 +00:00
Kyle Fuller
8f6b403aa9
fix(join): Dont force strings
2016-12-08 16:15:57 +00:00
Kyle Fuller
d7b152089e
feat: New extensions API ( #78 )
2016-12-07 21:27:31 +00:00
Kyle Fuller
d75db241ac
feat(block): Support rendering parent block
2016-12-02 00:59:01 +00:00
Kyle Fuller
6d05832997
chore(docs): Add installation instructions for Carthage
...
Closes #27
Closes #65
2016-12-01 18:26:44 +00:00
Kyle Fuller
6871387671
feat(docs): Document template inheritence
2016-12-01 16:20:28 +00:00
Kyle Fuller
f90597fba1
refactor: Revamp docs to separate template writers/devs
2016-12-01 01:33:59 +00:00
Kyle Fuller
9e2a061795
refactor: Introducing Environments
2016-12-01 01:29:48 +00:00
Kyle Fuller
2be672c6a5
feat(filter): Support filter tag
2016-11-30 18:44:44 +00:00
Kyle Fuller
98edad3566
chore: Release 0.7.0
2016-11-29 12:26:22 +00:00
Kyle Fuller
679344f53b
refactor(if): Deprecate ifnot tag
2016-11-28 19:24:27 +00:00
Kyle Fuller
c59b263446
feat(if): Support >, >=, < and <= operators
...
Closes #52
2016-11-28 19:24:26 +00:00
Kyle Fuller
ab6f1a032d
feat(if): Support inequality operator
2016-11-28 19:24:26 +00:00
Kyle Fuller
e989317929
feat(if): Support equatable operator
2016-11-28 19:24:26 +00:00
Kyle Fuller
111306fb60
fix(if): Empty strings should be falsy
2016-11-28 19:24:26 +00:00
Kyle Fuller
38d7ec87f6
feat(variable): Allow Swift type introspection
2016-11-28 19:24:26 +00:00
Kyle Fuller
1975cfd627
feat(context): Add flatten method
2016-11-28 19:24:25 +00:00
Kyle Fuller
429290e0b7
refactor: TemplateLoader to protocol, follow Swift API guidelines
2016-11-28 19:24:17 +00:00
Kyle Fuller
9b6ee14aa3
feat(docs): Add custom tags and filters to documentation
2016-11-28 03:11:38 +00:00
Kyle Fuller
e84f8a41d4
feat(if): Support and, or and not during if expressions
...
Closes #73
2016-11-28 02:56:04 +00:00
Kyle Fuller
9fdbbc99e9
feat(filters): Add a join filter
2016-11-27 19:47:50 +00:00
Kyle Fuller
dfd57e9571
feat: Add a default filter
2016-11-27 18:27:30 +00:00
Kyle Fuller
3293d8a526
feat: Add documentation
2016-11-27 18:03:39 +00:00