tag:github.com,2008:https://github.com/galaxy3000/freegeoip/releasesRelease notes from freegeoip2016-03-17T15:22:28Ztag:github.com,2008:Repository/60613934/v3.1.42016-03-17T15:22:28Zv3.1.4<p>Fix default listen adress, update version</p>fiorixtag:github.com,2008:Repository/60613934/v3.1.32016-03-15T13:36:02Zv3.1.3: Make log timestamps optional; new version<p>On systemd we had duplicated timestamps so they're optional now.</p>fiorixtag:github.com,2008:Repository/60613934/v3.1.22016-03-15T05:25:21Zv3.1.2<p>Fix for lat/long</p>fiorixtag:github.com,2008:Repository/60613934/v3.1.12016-03-15T05:01:25Zv3.1.1<p>Update version</p>fiorixtag:github.com,2008:Repository/60613934/v3.1.02016-03-15T00:47:05Zv3.1.0<p>Update to version 3.1.0, add memcached</p>fiorixtag:github.com,2008:Repository/60613934/v3.0.112016-01-27T10:50:24Zv3.0.11<p>Fix for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="128939839" data-permission-text="Title is private" data-url="https://github.com/fiorix/freegeoip/issues/154" data-hovercard-type="issue" data-hovercard-url="/fiorix/freegeoip/issues/154/hovercard" href="https://github.com/fiorix/freegeoip/issues/154">fiorix#154</a></p>fiorixtag:github.com,2008:Repository/60613934/v3.0.102015-12-11T18:35:28Zv3.0.10<p>Fix redis quota expiration</p>fiorixtag:github.com,2008:Repository/60613934/v3.0.92015-12-05T23:56:13Zv3.0.9: Fix for Windows users<p>Closes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="120590972" data-permission-text="Title is private" data-url="https://github.com/fiorix/freegeoip/issues/152" data-hovercard-type="issue" data-hovercard-url="/fiorix/freegeoip/issues/152/hovercard" href="https://github.com/fiorix/freegeoip/issues/152">fiorix#152</a>.</p>fiorixtag:github.com,2008:Repository/60613934/v3.0.82015-11-21T06:53:10Zv3.0.8<p>Add helper script for binary releases</p>fiorixtag:github.com,2008:Repository/60613934/v3.0.72015-11-16T20:05:57Zv3.0.7: Move freegeoip daemon code to its own package<p>Moving contents from cmd/freegeoip/main.go to apiserver package for<br>
better test coverage.</p>
<p>This change updates the -addr command line flag and its behavior,<br>
and is backwards incomplatible. People using -addr must switch over<br>
to using -http now. In order to enable HTTPS, one must use -https<br>
and the server might listen on both HTTP and HTTPS.</p>
<p>The -pprof flag changed to -internal-server and serves not only pprof<br>
but also metrics for prometheus (<a href="http://prometheus.io" rel="nofollow">http://prometheus.io</a>). These are<br>
under /debug/pprof (<a href="https://golang.org/pkg/net/http/pprof/" rel="nofollow">https://golang.org/pkg/net/http/pprof/</a>) and<br>
/metrics accordingly.</p>
<p>Bringing back the -read-timeout and -write-timeout command line flags<br>
for server tuning.</p>
<p>Fixed a race condition bug in the redis quota algorithm, at the<br>
exchange of 1 redis incr per request following advice from<br>
pattern <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1914879" data-permission-text="Title is private" data-url="https://github.com/fiorix/freegeoip/issues/2" data-hovercard-type="issue" data-hovercard-url="/fiorix/freegeoip/issues/2/hovercard" href="https://github.com/fiorix/freegeoip/issues/2">fiorix#2</a> from <a href="http://redis.io/commands/incr" rel="nofollow">http://redis.io/commands/incr</a>.</p>
<p>Also added rate limit response headers for all HTTP and HTTPS requests,<br>
inspired by GitHub's API:</p>
<p>X-RateLimit-Limit: number of requests allowed per interval (def. 1h)<br>
X-RateLimit-Remaining: number of requests remaining, per user<br>
X-RateLimit-Reset: time in seconds before resetting the limit</p>
<p>Added the -logtostdout command line flag to close <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="113828357" data-permission-text="Title is private" data-url="https://github.com/fiorix/freegeoip/issues/146" data-hovercard-type="issue" data-hovercard-url="/fiorix/freegeoip/issues/146/hovercard" href="https://github.com/fiorix/freegeoip/issues/146">fiorix#146</a>.</p>
<p>Minor fix to the background database download back off algorithm,<br>
added -api-prefix and -cors-origin command line flags, and tests.</p>fiorix