harttle
5ffc904f80
fix: named params for filters, working on #113
2019-03-06 01:30:47 +08:00
semantic-release-bot
08646f75b0
chore(release): 7.5.0 [skip ci]
...
# [7.5.0](https://github.com/harttle/liquidjs/compare/v7.4.0...v7.5.0 ) (2019-03-01)
### Features
* tablerowloop object ([3647305 ](https://github.com/harttle/liquidjs/commit/3647305 ))
v7.5.0
2019-03-01 22:06:31 +00:00
Jun Yang
3647305dcf
feat: tablerowloop object
...
See: https://www.rubydoc.info/gems/liquid/Liquid/TablerowloopDrop
2019-03-02 06:00:30 +08:00
Jun Yang
cca0306f5b
chore: fix mocha pattern for windows
...
See: https://github.com/mochajs/mocha/issues/2895
2019-03-02 03:57:38 +08:00
Jun Yang
eeeacc4492
chore: fix rollup.config.ts
2019-03-02 03:42:57 +08:00
Jun Yang
d44e1d727a
chore: fix test on windows 10
2019-03-02 03:36:33 +08:00
semantic-release-bot
f960904df4
chore(release): 7.4.0 [skip ci]
...
# [7.4.0](https://github.com/harttle/liquidjs/compare/v7.3.1...v7.4.0 ) (2019-02-28)
### Bug Fixes
* math filters now return number, resolves [#110 ](https://github.com/harttle/liquidjs/issues/110 ) ([b4acdb4 ](https://github.com/harttle/liquidjs/commit/b4acdb4 ))
### Features
* exported Drop interface for [#107 ](https://github.com/harttle/liquidjs/issues/107 ) ([7bee9fc ](https://github.com/harttle/liquidjs/commit/7bee9fc )), closes [#109 ](https://github.com/harttle/liquidjs/issues/109 )
v7.4.0
2019-02-28 05:13:55 +00:00
harttle
b4acdb463a
fix: math filters now return number, resolves #110
...
* fix linting
* numbers are no longer fixed:
i.e. {{0.3 | minus 0.1}} now renders as 0.19999
Stick to JavaScript number behavior, see: 8.0.0
2019-02-28 13:02:51 +08:00
harttle
21d674e22b
chore: fix benchmark npm script
2019-02-28 00:05:37 +08:00
harttle
7bee9fc92d
feat: exported Drop interface for #107
...
Deprecate snake_cased options and APIs, sed #109
2019-02-28 00:05:08 +08:00
harttle
b69c3a3203
refactor: IDrop interface => abstract method
2019-02-28 00:05:08 +08:00
harttle
d5b9916b2f
refactor: Drop.prototype.value => valueOf
2019-02-28 00:05:08 +08:00
semantic-release-bot
d0118402e4
chore(release): 7.3.1 [skip ci]
...
## [7.3.1](https://github.com/harttle/liquidjs/compare/v7.3.0...v7.3.1 ) (2019-02-25)
### Bug Fixes
* **#108:** remove absolute path in emitted d.ts ([53a835a ](https://github.com/harttle/liquidjs/commit/53a835a )), closes [#108 ](https://github.com/harttle/liquidjs/issues/108 )
v7.3.1
2019-02-25 17:03:07 +00:00
harttle
31bc71d472
chore: fix linting
2019-02-26 00:56:12 +08:00
harttle
53a835ab54
fix( #108 ): remove absolute path in emitted d.ts
2019-02-26 00:43:30 +08:00
harttle
75b3e15ca9
chore: fix rollup.config.ts types
2019-02-25 00:12:31 +08:00
harttle
f34573ee21
chore: stick with es6 for testing
2019-02-24 23:42:44 +08:00
harttle
875f71d5f2
chore: a simple liquid_method_missing case for #97
2019-02-24 23:08:53 +08:00
harttle
407ac6d0a4
refactor: remove /dist from repo
2019-02-24 23:03:12 +08:00
semantic-release-bot
f9f35ebd6c
chore(release): 7.3.0 [skip ci]
...
# [7.3.0](https://github.com/harttle/liquidjs/compare/v7.2.2...v7.3.0 ) (2019-02-24)
### Features
* nil/null/empty/blank literals, resolves [#102 ](https://github.com/harttle/liquidjs/issues/102 ) ([88c9e96 ](https://github.com/harttle/liquidjs/commit/88c9e96 ))
v7.3.0
2019-02-24 13:55:31 +00:00
harttle
88c9e96392
feat: nil/null/empty/blank literals, resolves #102
2019-02-24 21:50:01 +08:00
semantic-release-bot
54b2adce12
chore(release): 7.2.2 [skip ci]
...
## [7.2.2](https://github.com/harttle/liquidjs/compare/v7.2.1...v7.2.2 ) (2019-02-23)
### Bug Fixes
* filters break when argument contains [()|, fixes [#89 ](https://github.com/harttle/liquidjs/issues/89 ) ([e977669 ](https://github.com/harttle/liquidjs/commit/e977669 ))
v7.2.2
2019-02-23 22:32:04 +00:00
harttle
542968e133
refactor: remove unused lexical regexps
2019-02-24 06:26:33 +08:00
harttle
3b7351d9a0
chore: fix linting
2019-02-24 05:03:59 +08:00
harttle
e977669118
fix: filters break when argument contains [()|, fixes #89
2019-02-24 04:48:42 +08:00
harttle
279458c670
test: add benchmark
2019-02-23 21:57:02 +08:00
semantic-release-bot
37d12a14eb
chore(release): 7.2.1 [skip ci]
...
## [7.2.1](https://github.com/harttle/liquidjs/compare/v7.2.0...v7.2.1 ) (2019-02-22)
### Bug Fixes
* default length for truncate and truncatewords ([56c7992 ](https://github.com/harttle/liquidjs/commit/56c7992 ))
v7.2.1
2019-02-22 19:56:16 +00:00
harttle
3cf01603e8
chore: fix linting
2019-02-23 03:50:45 +08:00
harttle
56c7992b76
fix: default length for truncate and truncatewords
2019-02-23 03:11:07 +08:00
harttle
5b6100d12b
refactor: strictly typed
2019-02-23 00:49:54 +08:00
Jun Yang and GitHub
51f7e66f60
Update CHANGELOG.md
2019-02-21 01:19:25 +08:00
Jun Yang and GitHub
952ab6e73b
Update CHANGELOG.md
2019-02-21 01:16:32 +08:00
semantic-release-bot
4171b2e023
chore(release): 7.2.0 [skip ci]
...
# [7.2.0](https://github.com/harttle/liquidjs/compare/v7.1.0...v7.2.0 ) (2019-02-20)
### Features
* override output/tag delimiter, fixes [#54 ](https://github.com/harttle/liquidjs/issues/54 ) ([d20a043 ](https://github.com/harttle/liquidjs/commit/d20a043 ))
v7.2.0
2019-02-20 17:12:01 +00:00
harttle
d20a043fbb
feat: override output/tag delimiter, fixes #54
2019-02-21 01:07:32 +08:00
harttle
3dbab238ae
BREAKING CHANGE: trim_value_* -> trim_output_*
2019-02-21 01:07:32 +08:00
semantic-release-bot
d7d00421e2
chore(release): 7.1.0 [skip ci]
...
# [7.1.0](https://github.com/harttle/liquidjs/compare/v7.0.2...v7.1.0 ) (2019-02-20)
### Features
* throw an Error if delimiter not matched ([c33d8f6 ](https://github.com/harttle/liquidjs/commit/c33d8f6 ))
v7.1.0
2019-02-20 14:45:44 +00:00
harttle
c33d8f6828
feat: throw an Error if delimiter not matched
2019-02-20 22:40:09 +08:00
harttle
c13a16fdd6
7.0.2
v7.0.2
2019-02-20 10:02:10 +08:00
harttle
4bd35de867
chore: use white list to publish npm
2019-02-20 10:01:09 +08:00
harttle
29f53304bc
7.0.1
v7.0.1
2019-02-19 23:55:38 +08:00
harttle
cbebb00ef1
fix: unit test on Node.js 6
2019-02-19 23:25:08 +08:00
harttle
64a9eb79c5
style: fix unused vars in unit test
2019-02-19 23:01:59 +08:00
harttle
852c6ad453
refactor: remove mock-fs from dev dependency
2019-02-19 22:28:27 +08:00
harttle
f432aade6a
chore(TypeScript): remove mock-fs
2019-02-17 21:37:13 +08:00
harttle
aa49b4f117
chore(TypeScript): fix unit tests and coverage
2019-02-17 20:46:33 +08:00
harttle
fc9ebdb90f
chore(TypeScript): fix linting and generate .d.ts
2019-02-17 18:20:04 +08:00
harttle
7ee87008c7
chore(TypeScript): demo for typescript
2019-02-17 14:22:13 +08:00
harttle
677e8511e6
chore(TypeScript): refactor objects into classes
...
fix: `Nil`(null, undefined) now renders as empty string
change: `parser.parseValue()` renamed to `parser.parseOutput`
change: registered tags/filters become static and shared across different liquid instances
2019-02-17 04:55:30 +08:00
semantic-release-bot
b51b0dabca
chore(release): 7.0.0 [skip ci]
...
# [7.0.0](https://github.com/harttle/liquidjs/compare/v6.4.3...v7.0.0 ) (2019-02-14)
### chore
* **TypeScript:** ship Liquid to class ([1cc7249 ](https://github.com/harttle/liquidjs/commit/1cc7249 ))
### BREAKING CHANGES
* **TypeScript:** calling `Liquid()` without `new` now becomes invalid
v7.0.0
2019-02-14 16:02:23 +00:00
harttle
1cc7249a71
chore(TypeScript): ship Liquid to class
...
BREAKING CHANGE: calling `Liquid()` without `new` now becomes invalid
2019-02-14 23:53:40 +08:00