 HarttleandJun Yang
|
e347e603d7
|
feat: precise line/col for tokenization Error, #613
|
2023-06-04 02:06:42 +08:00 |
|
 HarttleandJun Yang
|
c6cde9cd10
|
chore: migrate test cases from Chai to Jest
|
2023-03-20 00:41:06 +08:00 |
|
Jun Yang
|
fb6a9f8717
|
fix: type compatible with v9 tag definition, support Context as scope in various render APIs, #570
|
2022-12-18 12:48:06 +08:00 |
|
 HarttleandHarttle
|
d24655887f
|
docs: update docs and demo for Value usage, fixes #568
|
2022-12-14 02:14:03 +08:00 |
|
 HarttleandHarttle
|
0f4916bc5a
|
fix: support Context as evalValue parameter, #568
|
2022-12-12 19:41:29 +08:00 |
|
Jun Yang
|
e6db371519
|
feat: support disable outputEscape for specific filters, #565
|
2022-12-12 02:17:18 +08:00 |
|
Jun Yang
|
1380ac931a
|
refactor: more consistent tags to make it easier to iterate over, #524
|
2022-11-27 17:29:44 +08:00 |
|
Jun Yang
|
4e1a30a20c
|
refactor: _evalToken renamed to evalToken
BREAKING CHANGE: `evalToken` now returns a generator (LiquidJS async), which is different from `evalToken` in previous LiquidJS versions.
|
2022-11-27 14:04:02 +08:00 |
|
Jun Yang
|
92992689cd
|
refactor: Tag class support in registerTag()
|
2022-11-27 14:04:01 +08:00 |
|
Jun Yang
|
bb58d3e549
|
refactor: delay creation of operatorsTrie and hide this implementation
BREAKING CHANGE: use `operators` instead of `operatorsTrie` as Tokenizer constructor argument, #500
|
2022-11-27 14:04:01 +08:00 |
|
 HarttleandHarttle
|
bbf00f37bf
|
feat: promise in expression & nested property, #533 #276
|
2022-08-27 23:19:16 +08:00 |
|
Harttle
|
f88490cd3c
|
feat: automatic output escaping, closes #500
|
2022-04-22 02:19:36 +08:00 |
|
Harttle
|
dbc0497386
|
fix: sort filter unexpectedly modifies original array, #475
|
2022-02-20 13:03:40 +08:00 |
|
 HarttleandHarttle
|
388d0fbbc4
|
feat: support Jekyll-like include syntax, see #441
|
2022-01-19 23:07:25 +08:00 |
|
 HarttleandHarttle
|
95fc705b5d
|
chore: upgrade typescript
|
2021-12-11 20:23:09 +08:00 |
|
 HarttleandJun Yang
|
10e8c8ff7e
|
feat: orderedFilterParameters, closes #312
|
2021-09-30 22:15:09 +08:00 |
|
 HarttleandJun Yang
|
9012133e07
|
feat: stream rendering, closed #361 fixes #360
|
2021-09-30 22:15:09 +08:00 |
|
harttle
|
2f059f6a25
|
feat: support filters in if/unless/case, see #287
|
2021-02-12 22:22:41 +08:00 |
|
 Jason EtcovitchandJun Yang
|
befc33c4eb
|
feat: create trie programmatically in options
|
2021-02-04 09:11:28 +08:00 |
|
 Alex de WergifosseandJun Yang
|
6a0ad102a8
|
fix: address refactor comments
|
2020-12-16 10:20:10 +08:00 |
|
 Alex de WergifosseandJun Yang
|
cd92e77726
|
feat: add option for keeping variable type in output
|
2020-12-16 10:20:10 +08:00 |
|
harttle
|
ef43120d6e
|
test: fix test cases after rebase
|
2020-12-08 00:20:43 +08:00 |
|
harttle
|
f9f595f0f4
|
feat: passing liquid to FilterImpl, closes #277
|
2020-12-08 00:17:27 +08:00 |
|
harttle
|
a492d8e23d
|
fix: raw block not ignoring {% characters, fixes #263
|
2020-12-08 00:12:20 +08:00 |
|
 sschuldenzuckerandJun Yang
|
768fb79e32
|
Implement lenientIf option (resolve #265; default off)
See description of the option in liquid-options.ts.
|
2020-12-06 22:58:08 +08:00 |
|
harttle
|
2e5ab98bfc
|
feat: export toPromise and toValue, see #158
|
2020-08-05 00:46:01 +08:00 |
|
harttle
|
e36f3ff291
|
feat: async filters, closes #232
|
2020-06-25 12:30:56 +08:00 |
|
harttle
|
c923598b40
|
fix: coerce to Array in map and where filter
|
2020-04-01 02:22:44 +08:00 |
|
harttle
|
8daf281fca
|
fix: throw an error if : omitted unintentionally, #212, #208
|
2020-03-31 14:05:38 +08:00 |
|
harttle
|
3e42d6b1b0
|
docs: website for LiquidJS
|
2020-03-28 17:21:07 +08:00 |
|
harttle
|
d2d6a38235
|
perf: introduce AST to avoid reparse
|
2020-03-15 02:51:25 +08:00 |
|
harttle
|
3dfdf982c9
|
perf: remove transient strings to reduce memory
|
2020-03-14 19:04:18 +08:00 |
|
harttle
|
6ea6881f08
|
feat: with & for in render tag, closes #195
|
2020-03-04 07:08:54 +08:00 |
|
harttle
|
df8a919f71
|
feat: move filters/tags to instances, fixes #188
|
2020-03-03 00:02:29 +08:00 |
|
harttle
|
ba5ff3f41c
|
feat: full syntax for strftime, close #177
- strftime syntax: <flags><width><modifier><conversion>
- new conversions: %n, %t
- fixed conversions: %N
- flags: _ ^ - 0 # :
- modifiers: E, O (ignored)
|
2019-12-15 02:28:33 +00:00 |
|
harttle
|
60ec74f55d
|
feat: nested property for the where filter, #178
|
2019-12-13 01:15:29 +08:00 |
|
harttle
|
b82fa9ed2b
|
pref: remove await/async from internal async calls
|
2019-10-26 08:57:33 -05:00 |
|
harttle
|
7fb01ad69a
|
feat: renderSync, parseAndRenderSync and renderFileSync, see #48
|
2019-08-26 10:15:43 -05:00 |
|
harttle
|
8028f82499
|
refactor: return value of Tag#render is no longer used
BREAKING CHANGE: Tag#render now returns void, use emitter argument
to write rendered html.
|
2019-08-26 10:15:43 -05:00 |
|
harttle
|
76019e9e18
|
refactor: rewrite expression evaluation, fix #130
|
2019-08-26 10:15:43 -05:00 |
|
harttle
|
ae45c4622e
|
fix: break/continue omitting output before them, #123
BREAKING CHANGE: remove default export, now should be used like import
{Liquid} from 'liquidjs'
|
2019-08-26 10:15:43 -05:00 |
|
harttle
|
854e12ba53
|
refactor: add emitter for code generation
|
2019-08-26 10:15:43 -05:00 |
|
 Joonas MertanenandJun Yang
|
9956c53b09
|
Correctly tokenize quotation marks within single token
|
2019-08-08 08:08:18 -05:00 |
|
harttle
|
88c89fe3b3
|
style: introduce @typescript-eslint/recommended
|
2019-07-06 14:33:34 +08:00 |
|
harttle
|
bef290923c
|
fix: pass drops directly to filters/tags
|
2019-05-12 20:03:32 +08:00 |
|
harttle
|
6c5dc336e7
|
chore: fix linting, working on #120
|
2019-04-17 10:45:02 +08:00 |
|
harttle
|
00bc1efe6a
|
feat: pass context to filters
|
2019-04-17 10:24:55 +08:00 |
|
harttle
|
82d7673554
|
perf: use polymophism instead duck test
|
2019-03-25 20:11:23 +08:00 |
|
harttle
|
45e3c2bb8e
|
refactor: switch Context <-> Scope concepts
|
2019-03-25 10:36:23 +08:00 |
|
Jun Yang
|
64e0c876e9
|
refactor: use camelCase for JavaScript APIs
BREAKING CHANGE: Options and method names in JavaScript API are now renamed to cammelCase, for a complete list see #109
|
2019-03-10 19:21:09 +08:00 |
|