Skip to content

Commit

Permalink
chore(release): 1.13.0 [skip ci]
Browse files Browse the repository at this point in the history
# [1.13.0](v1.12.0...v1.13.0) (2020-06-02)

### Features

* ssrOnly, see [#59](#59) ([ccca8e9](ccca8e9))
* 支持根元素为组件,[#58](#58) ([0602a77](0602a77))
  • Loading branch information
semantic-release-bot committed Jun 2, 2020
1 parent ccca8e9 commit 89c3d85
Show file tree
Hide file tree
Showing 61 changed files with 672 additions and 545 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# [1.13.0](https://github.com/baidu/san-ssr/compare/v1.12.0...v1.13.0) (2020-06-02)


### Features

* ssrOnly, see [#59](https://github.com/baidu/san-ssr/issues/59) ([ccca8e9](https://github.com/baidu/san-ssr/commit/ccca8e96e6db3ce001e2915d53881ac247309004))
* 支持根元素为组件,[#58](https://github.com/baidu/san-ssr/issues/58) ([0602a77](https://github.com/baidu/san-ssr/commit/0602a7746c827951b83c8939df15c488727613b6))

# [1.12.0](https://github.com/baidu/san-ssr/compare/v1.11.2...v1.12.0) (2020-05-29)


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

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/_loaders_common_js_.commonjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/loaders/common-js.ts#L30">loaders/common-js.ts:30</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/loaders/common-js.ts#L30">loaders/common-js.ts:30</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -142,7 +142,7 @@ <h3>cache</h3>
<div class="tsd-signature tsd-kind-icon">cache<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> =&nbsp;new Map()</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/loaders/common-js.ts#L30">loaders/common-js.ts:30</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/loaders/common-js.ts#L30">loaders/common-js.ts:30</a></li>
</ul>
</aside>
</section>
Expand All @@ -152,7 +152,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> modules</h3>
<div class="tsd-signature tsd-kind-icon">modules<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/baidu/san-ssr/blob/dbb9213/src/loaders/common-js.ts#L29">loaders/common-js.ts:29</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/loaders/common-js.ts#L29">loaders/common-js.ts:29</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -170,7 +170,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> read<wbr>File<wbr>Impl<
<div class="tsd-signature tsd-kind-icon">read<wbr>File<wbr>Impl<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/loaders/common-js.ts#L28">loaders/common-js.ts:28</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/loaders/common-js.ts#L28">loaders/common-js.ts:28</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -214,7 +214,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> read<wbr>Module<wbr>Con
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/loaders/common-js.ts#L61">loaders/common-js.ts:61</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/loaders/common-js.ts#L61">loaders/common-js.ts:61</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -243,7 +243,7 @@ <h3>require</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/loaders/common-js.ts#L38">loaders/common-js.ts:38</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/loaders/common-js.ts#L38">loaders/common-js.ts:38</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
8 changes: 4 additions & 4 deletions docs/classes/_loaders_common_js_.module.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/loaders/common-js.ts#L15">loaders/common-js.ts:15</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/loaders/common-js.ts#L15">loaders/common-js.ts:15</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -135,7 +135,7 @@ <h3>content</h3>
<div class="tsd-signature tsd-kind-icon">content<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/loaders/common-js.ts#L14">loaders/common-js.ts:14</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/loaders/common-js.ts#L14">loaders/common-js.ts:14</a></li>
</ul>
</aside>
</section>
Expand All @@ -145,7 +145,7 @@ <h3>exports</h3>
<div class="tsd-signature tsd-kind-icon">exports<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/baidu/san-ssr/blob/dbb9213/src/loaders/common-js.ts#L15">loaders/common-js.ts:15</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/loaders/common-js.ts#L15">loaders/common-js.ts:15</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -160,7 +160,7 @@ <h3>filepath</h3>
<div class="tsd-signature tsd-kind-icon">filepath<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/loaders/common-js.ts#L13">loaders/common-js.ts:13</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/loaders/common-js.ts#L13">loaders/common-js.ts:13</a></li>
</ul>
</aside>
</section>
Expand Down
34 changes: 24 additions & 10 deletions docs/classes/_models_component_info_.componentinfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ <h3>Properties</h3>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_models_component_info_.componentinfo.html#componentclass" class="tsd-kind-icon">component<wbr>Class</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_models_component_info_.componentinfo.html#computed" class="tsd-kind-icon">computed</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_models_component_info_.componentinfo.html#filters" class="tsd-kind-icon">filters</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_models_component_info_.componentinfo.html#rootanode" class="tsd-kind-icon">rootANode</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_models_component_info_.componentinfo.html#template" class="tsd-kind-icon">template</a></li>
</ul>
</section>
Expand All @@ -134,7 +135,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-info.ts#L35">models/component-info.ts:35</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-info.ts#L36">models/component-info.ts:36</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -182,7 +183,7 @@ <h3>child<wbr>Component<wbr>Classes</h3>
<div class="tsd-signature tsd-kind-icon">child<wbr>Component<wbr>Classes<span class="tsd-signature-symbol">:</span> <a href="../modules/_models_component_.html#components" class="tsd-signature-type">Components</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-info.ts#L34">models/component-info.ts:34</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-info.ts#L34">models/component-info.ts:34</a></li>
</ul>
</aside>
</section>
Expand All @@ -192,7 +193,7 @@ <h3>children</h3>
<div class="tsd-signature tsd-kind-icon">children<span class="tsd-signature-symbol">:</span> <a href="_models_component_info_.componentinfo.html" class="tsd-signature-type">ComponentInfo</a><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-info.ts#L32">models/component-info.ts:32</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-info.ts#L32">models/component-info.ts:32</a></li>
</ul>
</aside>
</section>
Expand All @@ -202,7 +203,7 @@ <h3>cid</h3>
<div class="tsd-signature tsd-kind-icon">cid<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-info.ts#L29">models/component-info.ts:29</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-info.ts#L29">models/component-info.ts:29</a></li>
</ul>
</aside>
</section>
Expand All @@ -212,7 +213,7 @@ <h3>component</h3>
<div class="tsd-signature tsd-kind-icon">component<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_models_compiled_component_.compiledcomponent.html" class="tsd-signature-type">CompiledComponent</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-info.ts#L35">models/component-info.ts:35</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-info.ts#L35">models/component-info.ts:35</a></li>
</ul>
</aside>
</section>
Expand All @@ -222,7 +223,7 @@ <h3>component<wbr>Class</h3>
<div class="tsd-signature tsd-kind-icon">component<wbr>Class<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ComponentConstructor</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-info.ts#L30">models/component-info.ts:30</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-info.ts#L30">models/component-info.ts:30</a></li>
</ul>
</aside>
</section>
Expand All @@ -232,7 +233,7 @@ <h3>computed</h3>
<div class="tsd-signature tsd-kind-icon">computed<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_models_component_.computed.html" class="tsd-signature-type">Computed</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-info.ts#L27">models/component-info.ts:27</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-info.ts#L27">models/component-info.ts:27</a></li>
</ul>
</aside>
</section>
Expand All @@ -242,7 +243,17 @@ <h3>filters</h3>
<div class="tsd-signature tsd-kind-icon">filters<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_models_component_.filters.html" class="tsd-signature-type">Filters</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-info.ts#L26">models/component-info.ts:26</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-info.ts#L26">models/component-info.ts:26</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="rootanode" class="tsd-anchor"></a>
<h3>rootANode</h3>
<div class="tsd-signature tsd-kind-icon">rootANode<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ANode</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-info.ts#L36">models/component-info.ts:36</a></li>
</ul>
</aside>
</section>
Expand All @@ -252,7 +263,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> template</h3>
<div class="tsd-signature tsd-kind-icon">template<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-info.ts#L28">models/component-info.ts:28</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-info.ts#L28">models/component-info.ts:28</a></li>
</ul>
</aside>
</section>
Expand All @@ -269,7 +280,7 @@ <h3>get<wbr>Child<wbr>Component<wbr>Class</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-info.ts#L47">models/component-info.ts:47</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-info.ts#L49">models/component-info.ts:49</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -329,6 +340,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="_models_component_info_.componentinfo.html#filters" class="tsd-kind-icon">filters</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="_models_component_info_.componentinfo.html#rootanode" class="tsd-kind-icon">rootANode</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="_models_component_info_.componentinfo.html#template" class="tsd-kind-icon">template</a>
</li>
Expand Down
12 changes: 6 additions & 6 deletions docs/classes/_models_component_tree_.componenttree.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-tree.ts#L12">models/component-tree.ts:12</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-tree.ts#L12">models/component-tree.ts:12</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -147,7 +147,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> nodes</h3>
<div class="tsd-signature tsd-kind-icon">nodes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ComponentConstructor</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">__type</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><a href="_models_component_info_.componentinfo.html" class="tsd-signature-type">ComponentInfo</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> =&nbsp;new Map&lt;ComponentConstructor&lt;{}, {}&gt;, ComponentInfo&gt;()</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-tree.ts#L11">models/component-tree.ts:11</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-tree.ts#L11">models/component-tree.ts:11</a></li>
</ul>
</aside>
</section>
Expand All @@ -157,7 +157,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> parser</h3>
<div class="tsd-signature tsd-kind-icon">parser<span class="tsd-signature-symbol">:</span> <a href="_parsers_component_parser_.componentparser.html" class="tsd-signature-type">ComponentParser</a><span class="tsd-signature-symbol"> =&nbsp;new ComponentParser()</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-tree.ts#L12">models/component-tree.ts:12</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-tree.ts#L12">models/component-tree.ts:12</a></li>
</ul>
</aside>
</section>
Expand All @@ -167,7 +167,7 @@ <h3>root</h3>
<div class="tsd-signature tsd-kind-icon">root<span class="tsd-signature-symbol">:</span> <a href="_models_component_info_.componentinfo.html" class="tsd-signature-type">ComponentInfo</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-tree.ts#L10">models/component-tree.ts:10</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-tree.ts#L10">models/component-tree.ts:10</a></li>
</ul>
</aside>
</section>
Expand All @@ -184,7 +184,7 @@ <h3>add<wbr>Component<wbr>Class</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-tree.ts#L20">models/component-tree.ts:20</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-tree.ts#L20">models/component-tree.ts:20</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -210,7 +210,7 @@ <h3>pre<wbr>Order</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/dbb9213/src/models/component-tree.ts#L35">models/component-tree.ts:35</a></li>
<li>Defined in <a href="https://github.com/baidu/san-ssr/blob/ccca8e9/src/models/component-tree.ts#L35">models/component-tree.ts:35</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
Loading

0 comments on commit 89c3d85

Please sign in to comment.