Skip to content

Commit

Permalink
chore(release): 9.9.0 [skip ci]
Browse files Browse the repository at this point in the history
# [9.9.0](v9.8.0...v9.9.0) (2020-03-02)

### Features

* move filters/tags to instances, fixes [#188](#188) ([df8a919](df8a919))
  • Loading branch information
semantic-release-bot committed Mar 2, 2020
1 parent df8a919 commit 3bf926b
Show file tree
Hide file tree
Showing 30 changed files with 1,343 additions and 425 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [9.9.0](https://github.com/harttle/liquidjs/compare/v9.8.0...v9.9.0) (2020-03-02)


### Features

* move filters/tags to instances, fixes [#188](https://github.com/harttle/liquidjs/issues/188) ([df8a919](https://github.com/harttle/liquidjs/commit/df8a919))

# [9.8.0](https://github.com/harttle/liquidjs/compare/v9.7.2...v9.8.0) (2020-02-20)


Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

114 changes: 71 additions & 43 deletions docs/classes/_liquid_.liquid.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/_parser_parse_stream_.parsestream.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ <h3>on</h3>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
<ul class="tsd-type-parameters">
<li>
<h4>T<span class="tsd-signature-symbol">: </span><a href="../interfaces/_template_itemplate_.itemplate.html" class="tsd-signature-type">ITemplate</a><span class="tsd-signature-symbol"> | </span><a href="_parser_token_.token.html" class="tsd-signature-type">Token</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span></h4>
<h4>T<span class="tsd-signature-symbol">: </span><a href="../interfaces/_template_template_.template.html" class="tsd-signature-type">Template</a><span class="tsd-signature-symbol"> | </span><a href="_parser_token_.token.html" class="tsd-signature-type">Token</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span></h4>
</li>
</ul>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -308,7 +308,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> trigger</h3>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
<ul class="tsd-type-parameters">
<li>
<h4>T<span class="tsd-signature-symbol">: </span><a href="_parser_token_.token.html" class="tsd-signature-type">Token</a><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_template_itemplate_.itemplate.html" class="tsd-signature-type">ITemplate</a></h4>
<h4>T<span class="tsd-signature-symbol">: </span><a href="_parser_token_.token.html" class="tsd-signature-type">Token</a><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_template_template_.template.html" class="tsd-signature-type">Template</a></h4>
</li>
</ul>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
4 changes: 2 additions & 2 deletions docs/classes/_parser_parser_.parser.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h2>Methods</h2>
<a name="parse" class="tsd-anchor"></a>
<h3>parse</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">parse<span class="tsd-signature-symbol">(</span>tokens<span class="tsd-signature-symbol">: </span><a href="_parser_token_.token.html" class="tsd-signature-type">Token</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_template_itemplate_.itemplate.html" class="tsd-signature-type">ITemplate</a><span class="tsd-signature-symbol">[]</span></li>
<li class="tsd-signature tsd-kind-icon">parse<span class="tsd-signature-symbol">(</span>tokens<span class="tsd-signature-symbol">: </span><a href="_parser_token_.token.html" class="tsd-signature-type">Token</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_template_template_.template.html" class="tsd-signature-type">Template</a><span class="tsd-signature-symbol">[]</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
Expand All @@ -164,7 +164,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>tokens: <a href="_parser_token_.token.html" class="tsd-signature-type">Token</a><span class="tsd-signature-symbol">[]</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_template_itemplate_.itemplate.html" class="tsd-signature-type">ITemplate</a><span class="tsd-signature-symbol">[]</span></h4>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_template_template_.template.html" class="tsd-signature-type">Template</a><span class="tsd-signature-symbol">[]</span></h4>
</li>
</ul>
</section>
Expand Down
4 changes: 2 additions & 2 deletions docs/classes/_render_render_.render.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h2>Methods</h2>
<a name="rendertemplates" class="tsd-anchor"></a>
<h3>render<wbr>Templates</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">render<wbr>Templates<span class="tsd-signature-symbol">(</span>templates<span class="tsd-signature-symbol">: </span><a href="../interfaces/_template_itemplate_.itemplate.html" class="tsd-signature-type">ITemplate</a><span class="tsd-signature-symbol">[]</span>, ctx<span class="tsd-signature-symbol">: </span><a href="_context_context_.context.html" class="tsd-signature-type">Context</a>, emitter<span class="tsd-signature-symbol">?: </span><a href="_render_emitter_.emitter.html" class="tsd-signature-type">Emitter</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature tsd-kind-icon">render<wbr>Templates<span class="tsd-signature-symbol">(</span>templates<span class="tsd-signature-symbol">: </span><a href="../interfaces/_template_template_.template.html" class="tsd-signature-type">Template</a><span class="tsd-signature-symbol">[]</span>, ctx<span class="tsd-signature-symbol">: </span><a href="_context_context_.context.html" class="tsd-signature-type">Context</a>, emitter<span class="tsd-signature-symbol">?: </span><a href="_render_emitter_.emitter.html" class="tsd-signature-type">Emitter</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
Expand All @@ -108,7 +108,7 @@ <h3>render<wbr>Templates</h3>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>templates: <a href="../interfaces/_template_itemplate_.itemplate.html" class="tsd-signature-type">ITemplate</a><span class="tsd-signature-symbol">[]</span></h5>
<h5>templates: <a href="../interfaces/_template_template_.template.html" class="tsd-signature-type">Template</a><span class="tsd-signature-symbol">[]</span></h5>
</li>
<li>
<h5>ctx: <a href="_context_context_.context.html" class="tsd-signature-type">Context</a></h5>
Expand Down
83 changes: 5 additions & 78 deletions docs/classes/_template_filter_filter_.filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,12 @@ <h3>Properties</h3>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_template_filter_filter_.filter.html#args" class="tsd-kind-icon">args</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_template_filter_filter_.filter.html#impl" class="tsd-kind-icon">impl</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_template_filter_filter_.filter.html#name" class="tsd-kind-icon">name</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-static"><a href="_template_filter_filter_.filter.html#impls" class="tsd-kind-icon">impls</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Methods</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_template_filter_filter_.filter.html#render" class="tsd-kind-icon">render</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_template_filter_filter_.filter.html#clear" class="tsd-kind-icon">clear</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_template_filter_filter_.filter.html#register" class="tsd-kind-icon">register</a></li>
</ul>
</section>
</div>
Expand All @@ -113,13 +110,13 @@ <h2>Constructors</h2>
<a name="constructor" class="tsd-anchor"></a>
<h3>constructor</h3>
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">new <wbr>Filter<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, args<span class="tsd-signature-symbol">: </span><a href="../modules/_template_filter_filter_.html#filterargs" class="tsd-signature-type">FilterArgs</a>, strictFilters<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_template_filter_filter_.filter.html" class="tsd-signature-type">Filter</a></li>
<li class="tsd-signature tsd-kind-icon">new <wbr>Filter<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, impl<span class="tsd-signature-symbol">: </span><a href="../modules/_template_filter_filter_impl_options_.html#filterimploptions" class="tsd-signature-type">FilterImplOptions</a>, args<span class="tsd-signature-symbol">: </span><a href="../modules/_template_filter_filter_.html#filterargs" class="tsd-signature-type">FilterArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_template_filter_filter_.filter.html" class="tsd-signature-type">Filter</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/template/filter/filter.ts#L14">template/filter/filter.ts:14</a></li>
<li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/template/filter/filter.ts#L13">template/filter/filter.ts:13</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -128,10 +125,10 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>name: <span class="tsd-signature-type">string</span></h5>
</li>
<li>
<h5>args: <a href="../modules/_template_filter_filter_.html#filterargs" class="tsd-signature-type">FilterArgs</a></h5>
<h5>impl: <a href="../modules/_template_filter_filter_impl_options_.html#filterimploptions" class="tsd-signature-type">FilterImplOptions</a></h5>
</li>
<li>
<h5>strictFilters: <span class="tsd-signature-type">boolean</span></h5>
<h5>args: <a href="../modules/_template_filter_filter_.html#filterargs" class="tsd-signature-type">FilterArgs</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="_template_filter_filter_.filter.html" class="tsd-signature-type">Filter</a></h4>
Expand Down Expand Up @@ -171,24 +168,6 @@ <h3>name</h3>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-static">
<a name="impls" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagPrivate">Private</span> impls</h3>
<div class="tsd-signature tsd-kind-icon">impls<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/template/filter/filter.ts#L14">template/filter/filter.ts:14</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
<h4>Type declaration</h4>
<ul class="tsd-parameters">
<li class="tsd-parameter-index-signature">
<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><a href="../modules/_template_filter_filter_impl_options_.html#filterimploptions" class="tsd-signature-type">FilterImplOptions</a></h5>
</li>
</ul>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Methods</h2>
Expand All @@ -202,7 +181,7 @@ <h3>render</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/template/filter/filter.ts#L24">template/filter/filter.ts:24</a></li>
<li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/template/filter/filter.ts#L20">template/filter/filter.ts:20</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -218,49 +197,6 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableI
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
<a name="clear" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagStatic">Static</span> clear</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
<li class="tsd-signature tsd-kind-icon">clear<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/template/filter/filter.ts#L35">template/filter/filter.ts:35</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
<a name="register" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagStatic">Static</span> register</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
<li class="tsd-signature tsd-kind-icon">register<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, filter<span class="tsd-signature-symbol">: </span><a href="../modules/_template_filter_filter_impl_options_.html#filterimploptions" class="tsd-signature-type">FilterImplOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/template/filter/filter.ts#L32">template/filter/filter.ts:32</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>name: <span class="tsd-signature-type">string</span></h5>
</li>
<li>
<h5>filter: <a href="../modules/_template_filter_filter_impl_options_.html#filterimploptions" class="tsd-signature-type">FilterImplOptions</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
Expand Down Expand Up @@ -293,18 +229,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="_template_filter_filter_.filter.html#name" class="tsd-kind-icon">name</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-static">
<a href="_template_filter_filter_.filter.html#impls" class="tsd-kind-icon">impls</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="_template_filter_filter_.filter.html#render" class="tsd-kind-icon">render</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
<a href="_template_filter_filter_.filter.html#clear" class="tsd-kind-icon">clear</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
<a href="_template_filter_filter_.filter.html#register" class="tsd-kind-icon">register</a>
</li>
</ul>
</li>
</ul>
Expand Down
Loading

0 comments on commit 3bf926b

Please sign in to comment.