Changelog fixes.

This commit is contained in:
Ferdinand Majerech 2014-08-06 16:58:14 +02:00
parent f1eab6a5da
commit 6ead027e51
2 changed files with 19 additions and 36 deletions

View file

@ -347,36 +347,19 @@ ul.auto-toc {
<h2>Breaking changes</h2> <h2>Breaking changes</h2>
<p>As many people have been using D:YAML from git master since the 0.4 release, each change <p>As many people have been using D:YAML from git master since the 0.4 release, each change
is prefixed by the year the change was introduced.</p> is prefixed by the year the change was introduced.</p>
<ul> <ul class="simple">
<li><dl class="first docutils"> <li><tt class="docutils literal">2014</tt> The <tt class="docutils literal">cdc.d</tt> build script has been removed; dub is now the only 'official'
<dt><tt class="docutils literal">2014</tt> The <tt class="docutils literal">cdc.d</tt> build script has been removed; dub is now the only 'official'</dt> way to build D:YAML.</li>
<dd><p class="first last">way to build D:YAML.</p> <li><tt class="docutils literal">2014</tt> Broke compatibility with all DMD versions before 2.066</li>
</dd> <li><tt class="docutils literal">2014</tt> <tt class="docutils literal">Loader</tt> API depending on <tt class="docutils literal">std.stream</tt> is now deprecated and will be
</dl> removed in the next release.</li>
</li> <li><tt class="docutils literal">2014</tt> <tt class="docutils literal">Loader.fromString(string)</tt> is now deprecated and replaced by
<li><p class="first"><tt class="docutils literal">2014</tt> Broke compatibility with all DMD versions before 2.066</p> <tt class="docutils literal"><span class="pre">Loader.fromString(char[])</span></tt>, which will reuse and overwrite the input during
</li> parsing. The string overload will be removed in the next release.</li>
<li><dl class="first docutils"> <li><tt class="docutils literal">2012</tt> Values in D:YAML are less 'dynamic-typed'. E.g. removing <tt class="docutils literal">&quot;42&quot;</tt> won't
<dt><tt class="docutils literal">2014</tt> <tt class="docutils literal">Loader</tt> API depending on <tt class="docutils literal">std.stream</tt> is now deprecated and will be</dt> also remove <tt class="docutils literal">42</tt>. Such automatic conversion still happens e.g. in a foreach
<dd><p class="first last">removed in the next release.</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt><tt class="docutils literal">2014</tt> <tt class="docutils literal">Loader.fromString(string)</tt> is now deprecated and replaced by</dt>
<dd><p class="first last"><tt class="docutils literal"><span class="pre">Loader.fromString(char[])</span></tt>, which will reuse and overwrite the input during
parsing. The string overload will be removed in the next release.</p>
</dd>
</dl>
</li>
<li><dl class="first docutils">
<dt><tt class="docutils literal">2012</tt> Values in D:YAML are less 'dynamic-typed'. E.g. removing <tt class="docutils literal">&quot;42&quot;</tt> won't</dt>
<dd><p class="first last">also remove <tt class="docutils literal">42</tt>. Such automatic conversion still happens e.g. in a foreach
over a mapping with a string key. The <tt class="docutils literal">Node.as()</tt> method has a template over a mapping with a string key. The <tt class="docutils literal">Node.as()</tt> method has a template
parameter to disable automatic conversion from strings to other types.</p> parameter to disable automatic conversion from strings to other types.</li>
</dd>
</dl>
</li>
</ul> </ul>
</div> </div>
<div class="section" id="api-improvements"> <div class="section" id="api-improvements">

View file

@ -10,17 +10,17 @@ As many people have been using D:YAML from git master since the 0.4 release, eac
is prefixed by the year the change was introduced. is prefixed by the year the change was introduced.
- ``2014`` The ``cdc.d`` build script has been removed; dub is now the only 'official' - ``2014`` The ``cdc.d`` build script has been removed; dub is now the only 'official'
way to build D:YAML. way to build D:YAML.
- ``2014`` Broke compatibility with all DMD versions before 2.066 - ``2014`` Broke compatibility with all DMD versions before 2.066
- ``2014`` ``Loader`` API depending on ``std.stream`` is now deprecated and will be - ``2014`` ``Loader`` API depending on ``std.stream`` is now deprecated and will be
removed in the next release. removed in the next release.
- ``2014`` ``Loader.fromString(string)`` is now deprecated and replaced by - ``2014`` ``Loader.fromString(string)`` is now deprecated and replaced by
``Loader.fromString(char[])``, which will reuse and overwrite the input during ``Loader.fromString(char[])``, which will reuse and overwrite the input during
parsing. The string overload will be removed in the next release. parsing. The string overload will be removed in the next release.
- ``2012`` Values in D:YAML are less 'dynamic-typed'. E.g. removing ``"42"`` won't - ``2012`` Values in D:YAML are less 'dynamic-typed'. E.g. removing ``"42"`` won't
also remove ``42``. Such automatic conversion still happens e.g. in a foreach also remove ``42``. Such automatic conversion still happens e.g. in a foreach
over a mapping with a string key. The ``Node.as()`` method has a template over a mapping with a string key. The ``Node.as()`` method has a template
parameter to disable automatic conversion from strings to other types. parameter to disable automatic conversion from strings to other types.
^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
API improvements API improvements