From a8d477f9ad33d7790f94ffc563e2205823e62515 Mon Sep 17 00:00:00 2001 From: Greg Slepak Date: Sat, 5 Sep 2015 14:34:16 -0700 Subject: [PATCH] 0.5.3 - added optional CORS support for clientside JS API access - __New Features:__ + Optional CORS support from [Michael Bumann](https://twitter.com/bumi) (thanks!). - __Improvements:__ + Bumped `hiredis` to 0.4.1 for latest iojs compat. Although DNSChain isn't intended to be used from JavaScript within the web browser (unless it's via a browser extension), this releases makes that possible. Doing so allows client-side JavaScript to access blockchain data via the RESTful API, and "secured" (not really) by X.509 and HTTPS. To enable this, add the following to your DNSChain config: ``` [http] cors=true ``` Keep in mind that enabling this on a public web server means that anyone on the Internet can use it to access blockchain data. You may therefore want to test and adjust the request rate limiting settings as necessary. Thanks to Michael Bumann for this addition! --- README.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 18e3aa8..1e7fcc9 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,13 @@ _Approximate chronological order._ __[Blog post for 0.5 release.](https://blog.okturtles.com/2015/03/dnschain-0-5-released-https-openname-resolver-api-more/)__ +###### 0.5.3 - September 5, 2015 + +- __New Features:__ + + Optional CORS support from [Michael Bumann](https://twitter.com/bumi) (thanks!). +- __Improvements:__ + + Bumped `hiredis` to 0.4.1 for latest iojs compat. + ###### 0.5.2 - March 11, 2015 - __Improvements:__ diff --git a/package.json b/package.json index 64ce008..d61bcb3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dnschain", - "version": "0.5.2", + "version": "0.5.3", "description": "A blockchain-based DNS + HTTPS server that fixes HTTPS security, and more!", "homepage": "https://github.com/okTurtles/dnschain", "bugs": "https://github.com/okTurtles/dnschain/issues",