Browse Source

Bump version to 2.0.0

Tim Fletcher 4 years ago
parent
commit
bdd3a80026
4 changed files with 25 additions and 9 deletions
  1. 13 0
      CHANGELOG.md
  2. 9 8
      README.md
  3. 2 0
      THANKS.txt
  4. 1 1
      ebin/oauth.app

+ 13 - 0
CHANGELOG.md

@@ -1,3 +1,16 @@
+# 2.0.0
+
+  * **Erlang/OTP 21 or greater now required**
+
+  * Added support for crypto:mac/4 in OTP 22+
+
+  * Added delete/3, delete/5, and delete/6 functions
+
+  * Removed uri_params_encode/1 function (use uri_string:compose_query/1 instead)
+
+  * Removed uri_params_decode/1 function (use uri_string:dissect_query/1 instead)
+
+
 # 1.6.0
 
   * Switched to using crypto:hmac/3

+ 9 - 8
README.md

@@ -1,26 +1,27 @@
 # erlang-oauth
 
-An Erlang OAuth 1.0 implementation. Includes functions for generating signatures
-(client side), verifying signatures (server side), and some convenience functions
-for making OAuth HTTP requests (client side).
+An Erlang implementation of [The OAuth 1.0 Protocol](https://tools.ietf.org/html/rfc5849).
+
+Functions for generating signatures (client side), verifying signatures (server side),
+and some convenience functions for making OAuth HTTP requests (client side).
 
-## Erlang/OTP compatibility
 
-Erlang/OTP R16B03 or greater.
+## Erlang/OTP compatibility
 
+Erlang/OTP 21 or greater.
 
-## Rebar compatibility
 
-This implementation should be fully compatible with [rebar](https://github.com/rebar/rebar) and [rebar3](https://github.com/erlang/rebar3).
+## Rebar3 compatibility
 
 Add erlang-oauth as a dependency to your rebar.config file like this:
 
     {deps, [
-      {oauth, ".*", {git, "https://github.com/tim/erlang-oauth.git"}}
+      {oauth, {git, "https://github.com/tim/erlang-oauth.git"}}
     ]}.
 
 Consult the rebar docs for more information.
 
+
 ## Quick start (client usage)
 
     $ make

+ 2 - 0
THANKS.txt

@@ -20,6 +20,8 @@ Thanks to the following for patches and suggestions:
 
 * Ryan Flynn <github.com/rflynn>
 
+* Sebastian Borrazas <github.com/sborrazas>
+
 * naoya_t <github.com/naoyat>
 
 * narugami <github.com/narugami>

+ 1 - 1
ebin/oauth.app

@@ -1,6 +1,6 @@
 {application, oauth, [
   {description, "An Erlang OAuth 1.0 implementation"},
-  {vsn, "1.6.0"},
+  {vsn, "2.0.0"},
   {modules, [oauth]},
   {registered, []},
   {applications, [kernel, stdlib, crypto, public_key, inets]}