<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://code.secondbit.org/trout/</link>
    <language>en-us</language>

    <title>trout Changelog</title>
    <description>trout Changelog</description>
    <item>
    <title>[default] Add Router prefix.</title>
    <guid isPermaLink="true">http://code.secondbit.org/trout/rev/07a9b501d6b5</guid>
             <link>http://code.secondbit.org/trout/rev/07a9b501d6b5</link>
    <description>
              <![CDATA[
	<table>
	<tr>
		<th style="text-align:left;">changeset</th>
		<td>07a9b501d6b5</td>
              </tr>
              <tr>
                              <th style="text-align:left;">branch</th>
                              <td>default</td>
              </tr>
              <tr>
                              <th style="text-align:left;">bookmark</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;">tag</th>
		<td>tip</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">user</th>
		<td>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#105;&#109;&#112;&#114;&#97;&#99;&#116;&#105;&#99;&#97;&#108;&#46;&#99;&#111;&#62;</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">description</th>
		<td>Add Router prefix.<br/>
<br/>
Make the Router use a prefix that will be stripped before matching URLs against<br/>
Endpoints, so we can ignore the prefix that http.Handle is matching against,<br/>
instead of duplicating it, which can lead to confusing 404s.</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">files</th>
		<td>route.go<br /></td>
	</tr>
	</table>
	]]></description>
    <author>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#105;&#109;&#112;&#114;&#97;&#99;&#116;&#105;&#99;&#97;&#108;&#46;&#99;&#111;&#62;</author>
    <pubDate>Thu, 21 Jan 2016 15:37:00 -0800</pubDate>
</item>
<item>
    <title>Fix bug in handling of finding closest match for params.</title>
    <guid isPermaLink="true">http://code.secondbit.org/trout/rev/3df515f0cec5</guid>
             <link>http://code.secondbit.org/trout/rev/3df515f0cec5</link>
    <description>
              <![CDATA[
	<table>
	<tr>
		<th style="text-align:left;">changeset</th>
		<td>3df515f0cec5</td>
              </tr>
              <tr>
                              <th style="text-align:left;">branch</th>
                              <td></td>
              </tr>
              <tr>
                              <th style="text-align:left;">bookmark</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;">tag</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">user</th>
		<td>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#105;&#109;&#112;&#114;&#97;&#99;&#116;&#105;&#99;&#97;&#108;&#46;&#99;&#111;&#62;</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">description</th>
		<td>Fix bug in handling of finding closest match for params.<br/>
<br/>
We had a bug that finding the closest match for params would only work if the<br/>
parent was also a param. This lead to problems where multiple methods declared<br/>
on a single endpoint as follows were treated as multiple endpoints:<br/>
<br/>
router.Endpoint(&quot;/{id}&quot;).Methods(&quot;GET&quot;).Handler(handleGet)<br/>
router.Endpoint(&quot;/{id}&quot;).Methods(&quot;POST&quot;).Handler(handlePost)<br/>
<br/>
This caused erroneous Method Not Allowed errors, as the POST method would be<br/>
part of an Endpoint that could never be routed to.<br/>
<br/>
We also discovered that Method Not Allowed errors weren't returning the required<br/>
Allow header with a list of acceptable methods, so this has been fixed.</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">files</th>
		<td>route.go<br /></td>
	</tr>
	</table>
	]]></description>
    <author>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#105;&#109;&#112;&#114;&#97;&#99;&#116;&#105;&#99;&#97;&#108;&#46;&#99;&#111;&#62;</author>
    <pubDate>Sat, 02 Jan 2016 15:42:57 -0800</pubDate>
</item>
<item>
    <title>Publish under MIT license.</title>
    <guid isPermaLink="true">http://code.secondbit.org/trout/rev/b966f38379dd</guid>
             <link>http://code.secondbit.org/trout/rev/b966f38379dd</link>
    <description>
              <![CDATA[
	<table>
	<tr>
		<th style="text-align:left;">changeset</th>
		<td>b966f38379dd</td>
              </tr>
              <tr>
                              <th style="text-align:left;">branch</th>
                              <td></td>
              </tr>
              <tr>
                              <th style="text-align:left;">bookmark</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;">tag</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">user</th>
		<td>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#105;&#109;&#112;&#114;&#97;&#99;&#116;&#105;&#99;&#97;&#108;&#46;&#99;&#111;&#62;</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">description</th>
		<td>Publish under MIT license.<br/>
<br/>
Add a license so this package can officially be used by any project, basically.</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">files</th>
		<td>LICENSE<br /></td>
	</tr>
	</table>
	]]></description>
    <author>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#105;&#109;&#112;&#114;&#97;&#99;&#116;&#105;&#99;&#97;&#108;&#46;&#99;&#111;&#62;</author>
    <pubDate>Sun, 13 Dec 2015 20:48:26 -0800</pubDate>
</item>
<item>
    <title>Fix some crashes.</title>
    <guid isPermaLink="true">http://code.secondbit.org/trout/rev/bf38b050b6c4</guid>
             <link>http://code.secondbit.org/trout/rev/bf38b050b6c4</link>
    <description>
              <![CDATA[
	<table>
	<tr>
		<th style="text-align:left;">changeset</th>
		<td>bf38b050b6c4</td>
              </tr>
              <tr>
                              <th style="text-align:left;">branch</th>
                              <td></td>
              </tr>
              <tr>
                              <th style="text-align:left;">bookmark</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;">tag</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">user</th>
		<td>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">description</th>
		<td>Fix some crashes.<br/>
<br/>
When adding a branch, make sure that it has any characters at all before<br/>
checking if it's a variable.<br/>
<br/>
Change the Router methods to be on the *Router pointer. We were having some<br/>
problems with Router methods not setting properties correctly, but this fixed<br/>
it.<br/>
<br/>
Check that the Endpoint.methods map is set before trying to map methods to<br/>
Handlers.<br/>
<br/>
With these changes, trout is complete enough that it can run the benchmarks.</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">files</th>
		<td>route.go<br />trie.go<br /></td>
	</tr>
	</table>
	]]></description>
    <author>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Mon, 16 Mar 2015 09:39:10 -0400</pubDate>
</item>
<item>
    <title>First pass at a router library.</title>
    <guid isPermaLink="true">http://code.secondbit.org/trout/rev/6c6ea726570a</guid>
             <link>http://code.secondbit.org/trout/rev/6c6ea726570a</link>
    <description>
              <![CDATA[
	<table>
	<tr>
		<th style="text-align:left;">changeset</th>
		<td>6c6ea726570a</td>
              </tr>
              <tr>
                              <th style="text-align:left;">branch</th>
                              <td></td>
              </tr>
              <tr>
                              <th style="text-align:left;">bookmark</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;">tag</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">user</th>
		<td>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">description</th>
		<td>First pass at a router library.<br/>
<br/>
First pass at a router library and, incidentally, implementing a trie. I could<br/>
probably optimise the search for the right branch somehow, but I honestly just<br/>
can't be bothered right now.<br/>
<br/>
I also haven't tested this at all or even tried to run it, so who knows if my<br/>
code even works. But it compiles, go vet and golint have found nothing to<br/>
complain about, it has documentation, and it's properly formatted.<br/>
<br/>
So it's already better than most software out there.<br/>
<br/>
&lt;/ba dump tiss&gt;</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">files</th>
		<td>doc.go<br />route.go<br />trie.go<br /></td>
	</tr>
	</table>
	]]></description>
    <author>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Mon, 16 Mar 2015 00:10:38 -0400</pubDate>
</item>

  </channel>
</rss>