Skip to content

Commit

Permalink
prep for stable 0.7.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Mar 29, 2019
1 parent a813bf5 commit f077be5
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 27 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Change Log

### v. 0.7.0.beta9
### v. 0.7.0

Stable API release. Future API updates will be wait for the 0.8.x release.

**Fix**: (`fio`, `fiobj`) fixed some `gcc` and `clang` compatibility issues and warnings.

Expand Down
19 changes: 14 additions & 5 deletions docs/0.7.x/http.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,11 @@ <h3 id="miscellaneous">Miscellaneous</h3>
<li>
<a href="#http_gmtime"><code>http_gmtime</code></a>
</li>
</ul>
</li>
<li>
<a href="#http_date2rfc7231"><code>http_date2rfc7231</code></a>
<ul>
<li>
<a href="#http_date2str"><code>http_date2str</code></a>
</li>
Expand Down Expand Up @@ -1626,25 +1631,29 @@ <h4 id="http_gmtime"><code>http_gmtime</code></h4>

<p>Falls back to <code>gmtime_r</code> for dates before epoch.</p>

<h4 id="http_date2str"><code>http_date2str</code></h4>
<div class="highlight"><pre class="highlight c"><code><span class="kt">size_t</span> <span class="n">http_date2str</span><span class="p">(</span><span class="kt">char</span> <span class="o">*</span><span class="n">target</span><span class="p">,</span> <span class="k">struct</span> <span class="n">tm</span> <span class="o">*</span><span class="n">tmbuf</span><span class="p">);</span>
<h3 id="http_date2rfc7231"><code>http_date2rfc7231</code></h3>
<div class="highlight"><pre class="highlight c"><code><span class="kt">size_t</span> <span class="n">http_date2rfc7231</span><span class="p">(</span><span class="kt">char</span> <span class="o">*</span><span class="n">target</span><span class="p">,</span> <span class="k">struct</span> <span class="n">tm</span> <span class="o">*</span><span class="n">tmbuf</span><span class="p">);</span>
</code></pre></div>
<p>Writes an HTTP date string to the <code>target</code> buffer.</p>
<p>Writes an RFC 7231 date representation (HTTP date format) to the <code>target</code> buffer.</p>

<p>This requires ~32 bytes of space to be available at the target buffer (unless
it&#39;s a super funky year, 32 bytes is about 3 more than you need).</p>

<p>Returns the number of bytes actually written.</p>

<h4 id="http_date2str"><code>http_date2str</code></h4>

<p>Alias for <a href="#http_date2rfc7231"><code>http_date2rfc7231</code></a>.</p>

<h4 id="http_date2rfc2109"><code>http_date2rfc2109</code></h4>
<div class="highlight"><pre class="highlight c"><code><span class="kt">size_t</span> <span class="n">http_date2rfc2109</span><span class="p">(</span><span class="kt">char</span> <span class="o">*</span><span class="n">target</span><span class="p">,</span> <span class="k">struct</span> <span class="n">tm</span> <span class="o">*</span><span class="n">tmbuf</span><span class="p">);</span>
</code></pre></div>
<p>An alternative, RFC 2109 date representation. Requires </p>
<p>Writes an RFC 2109 date representation to the <code>target</code> buffer. See <a href="#http_date2rfc7231"><code>http_date2rfc7231</code></a>.</p>

<h4 id="http_date2rfc2822"><code>http_date2rfc2822</code></h4>
<div class="highlight"><pre class="highlight c"><code><span class="kt">size_t</span> <span class="n">http_date2rfc2822</span><span class="p">(</span><span class="kt">char</span> <span class="o">*</span><span class="n">target</span><span class="p">,</span> <span class="k">struct</span> <span class="n">tm</span> <span class="o">*</span><span class="n">tmbuf</span><span class="p">);</span>
</code></pre></div>
<p>An alternative, RFC 2822 date representation. </p>
<p>Writes an RFC 2822 date representation to the <code>target</code> buffer. See <a href="#http_date2rfc7231"><code>http_date2rfc7231</code></a>.</p>

<h4 id="http_time2str"><code>http_time2str</code></h4>
<div class="highlight"><pre class="highlight c"><code><span class="kt">size_t</span> <span class="n">http_time2str</span><span class="p">(</span><span class="kt">char</span> <span class="o">*</span><span class="n">target</span><span class="p">,</span> <span class="k">const</span> <span class="kt">time_t</span> <span class="n">t</span><span class="p">);</span>
Expand Down
8 changes: 4 additions & 4 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<p>Please choose the relevant facil.io version to read it&#39;s documentation:</p>

<ul>
<li><p><a href="/0.7.x/index">0.7.x</a> (edge)</p></li>
<li><p><a href="/0.6.x/index">0.6.x</a> (stable)</p></li>
<li><p><a href="/0.7.x/index">0.7.x</a> (stable)</p></li>
<li><p><a href="/0.6.x/index">0.6.x</a> (legacy)</p></li>
</ul>

<h2 id="versions">Versions</h2>
Expand All @@ -13,8 +13,8 @@ <h2 id="versions">Versions</h2>

<ul>
<li><p><a href="changelog">Change Log</a></p></li>
<li><p><strong>Latest (beta)</strong>: 0.7.0.beta8</p></li>
<li><p><strong>Latest stable</strong>: 0.6.4</p></li>
<li><p><strong>Latest (stable)</strong>: 0.7.0</p></li>
<li><p><strong>Previous</strong>: 0.6.4</p></li>
</ul>
</nav><div id="md_container"><div class='toc'><ul>
<li>
Expand Down
8 changes: 4 additions & 4 deletions docs/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<p>Please choose the relevant facil.io version to read it&#39;s documentation:</p>

<ul>
<li><p><a href="/0.7.x/index">0.7.x</a> (edge)</p></li>
<li><p><a href="/0.6.x/index">0.6.x</a> (stable)</p></li>
<li><p><a href="/0.7.x/index">0.7.x</a> (stable)</p></li>
<li><p><a href="/0.6.x/index">0.6.x</a> (legacy)</p></li>
</ul>

<h2 id="versions">Versions</h2>
Expand All @@ -13,8 +13,8 @@ <h2 id="versions">Versions</h2>

<ul>
<li><p><a href="changelog">Change Log</a></p></li>
<li><p><strong>Latest (beta)</strong>: 0.7.0.beta8</p></li>
<li><p><strong>Latest stable</strong>: 0.6.4</p></li>
<li><p><strong>Latest (stable)</strong>: 0.7.0</p></li>
<li><p><strong>Previous</strong>: 0.6.4</p></li>
</ul>
</nav><div id="md_container"><div class='toc'><ul>
<li>
Expand Down
8 changes: 4 additions & 4 deletions docs/_SOURCE/_versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

Please choose the relevant facil.io version to read it's documentation:

* [0.7.x](/0.7.x/index) (edge)
* [0.7.x](/0.7.x/index) (stable)

* [0.6.x](/0.6.x/index) (stable)
* [0.6.x](/0.6.x/index) (legacy)

## Versions

Review the [change-log](changelog) when migrating between versions.

* [Change Log](changelog)

* **Latest (beta)**: 0.7.0.beta8
* **Latest (stable)**: 0.7.0

* **Latest stable**: 0.6.4
* **Legacy**: 0.6.4


19 changes: 15 additions & 4 deletions docs/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<p>Please choose the relevant facil.io version to read it&#39;s documentation:</p>

<ul>
<li><p><a href="/0.7.x/index">0.7.x</a> (edge)</p></li>
<li><p><a href="/0.6.x/index">0.6.x</a> (stable)</p></li>
<li><p><a href="/0.7.x/index">0.7.x</a> (stable)</p></li>
<li><p><a href="/0.6.x/index">0.6.x</a> (legacy)</p></li>
</ul>

<h2 id="versions">Versions</h2>
Expand All @@ -13,8 +13,8 @@ <h2 id="versions">Versions</h2>

<ul>
<li><p><a href="changelog">Change Log</a></p></li>
<li><p><strong>Latest (beta)</strong>: 0.7.0.beta8</p></li>
<li><p><strong>Latest stable</strong>: 0.6.4</p></li>
<li><p><strong>Latest (stable)</strong>: 0.7.0</p></li>
<li><p><strong>Previous</strong>: 0.6.4</p></li>
</ul>
</nav><div id="md_container"><div class='toc'><ul>
<li>
Expand All @@ -23,6 +23,9 @@ <h2 id="versions">Versions</h2>
<li>
<ul>
<li>
<a href="#v-0-7-0">v. 0.7.0</a>
</li>
<li>
<a href="#v-0-7-0-beta8">v. 0.7.0.beta8</a>
</li>
<li>
Expand Down Expand Up @@ -262,6 +265,14 @@ <h2 id="versions">Versions</h2>
</ul>
</div><h1 id="change-log">Change Log</h1>

<h3 id="v-0-7-0">v. 0.7.0</h3>

<p><strong>Fix</strong>: (<code>fio</code>, <code>fiobj</code>) fixed some <code>gcc</code> and <code>clang</code> compatibility issues and warnings.</p>

<p><strong>Fix</strong>: (<code>http</code>) fixed HTTP date format to force the day of the month to use two digits. Credit to @ianks (Ian Ker-Seymer) for exposing this issue (iodine#64).</p>

<p><strong>Compatibility</strong>: (<code>http</code>) updated time-zone compile-time tests with a safer fall-back.</p>

<h3 id="v-0-7-0-beta8">v. 0.7.0.beta8</h3>

<p><strong>Security</strong>: (<code>fio</code>) Slowloris mitigation is now part of the core library, where <code>FIO_SLOWLORIS_LIMIT</code> pending calls to <code>write</code> (currently 1,024 backlogged calls) will flag the connection as an attacker and either close the connection or ignore it. This protocol independent approach improves security.</p>
Expand Down
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<p>Please choose the relevant facil.io version to read it&#39;s documentation:</p>

<ul>
<li><p><a href="/0.7.x/index">0.7.x</a> (edge)</p></li>
<li><p><a href="/0.6.x/index">0.6.x</a> (stable)</p></li>
<li><p><a href="/0.7.x/index">0.7.x</a> (stable)</p></li>
<li><p><a href="/0.6.x/index">0.6.x</a> (legacy)</p></li>
</ul>

<h2 id="versions">Versions</h2>
Expand All @@ -13,8 +13,8 @@ <h2 id="versions">Versions</h2>

<ul>
<li><p><a href="changelog">Change Log</a></p></li>
<li><p><strong>Latest (beta)</strong>: 0.7.0.beta8</p></li>
<li><p><strong>Latest stable</strong>: 0.6.4</p></li>
<li><p><strong>Latest (stable)</strong>: 0.7.0</p></li>
<li><p><strong>Legacy</strong>: 0.6.4</p></li>
</ul>
</nav><div id="md_container"><h1 id="facil-io-the-c-web-application-framework">facil.io - The C Web Application Framework</h1>

Expand Down
2 changes: 1 addition & 1 deletion lib/facil/fio.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Version and helper macros
#define FIO_VERSION_MAJOR 0
#define FIO_VERSION_MINOR 7
#define FIO_VERSION_PATCH 0
#define FIO_VERSION_BETA 9
#define FIO_VERSION_BETA 0

/* Automatically convert version data to a string constant - ignore these two */
#define FIO_MACRO2STR_STEP2(macro) #macro
Expand Down

0 comments on commit f077be5

Please sign in to comment.