From 52eea5aaed4e44c9b11fc50d58668048b7884fcb Mon Sep 17 00:00:00 2001 From: Nikola Begedin Date: Tue, 5 Jun 2018 14:36:09 +0200 Subject: [PATCH 1/5] Update readme to release 1.6.2 --- README.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 260eb866..8ea44f49 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,29 @@ # Stripe for Elixir -[![Build Status](https://travis-ci.org/code-corps/stripity-stripe.svg?branch=master)](https://travis-ci.org/code-corps/stripity-stripe) [![Hex.pm](https://img.shields.io/hexpm/v/stripity_stripe.svg?maxAge=2592000)](https://hex.pm/packages/stripity_stripe) [![Hex Docs](https://img.shields.io/badge/hex-docs-9768d1.svg)](https://hexdocs.pm/stripity_stripe) [![Hex.pm](https://img.shields.io/hexpm/dt/stripity_stripe.svg?maxAge=2592000)](https://hex.pm/packages/stripity_stripe) [![Inline docs](http://inch-ci.org/github/code-corps/stripity-stripe.svg)](http://inch-ci.org/github/code-corps/stripity-stripe) [![Coverage Status](https://coveralls.io/repos/github/code-corps/stripity-stripe/badge.svg?branch=master)](https://coveralls.io/github/code-corps/stripity-stripe?branch=master) - An Elixir library for working with [Stripe](https://stripe.com/). +[![Hex.pm](https://img.shields.io/hexpm/v/stripity_stripe.svg?maxAge=2592000)](https://hex.pm/packages/stripity_stripe) [![Hex.pm](https://img.shields.io/hexpm/dt/stripity_stripe.svg?maxAge=2592000)](https://hex.pm/packages/stripity_stripe) + +## 2.x.x status + +[![Build Status](https://travis-ci.org/code-corps/stripity_stripe.svg?branch=master)](https://travis-ci.org/code-corps/stripity_stripe) [![Hex Docs](https://img.shields.io/badge/hex-docs-9768d1.svg)](https://hexdocs.pm/stripity_stripe) [![Inline docs](http://inch-ci.org/github/code-corps/stripity_stripe.svg?branch=master)](http://inch-ci.org/github/code-corps/stripity_stripe?branch=master) [![Coverage Status](https://coveralls.io/repos/github/code-corps/stripity_stripe/badge.svg?branch=master)](https://coveralls.io/github/code-corps/stripity_stripe?branch=master) + +## 1.x.x status + +[![Build Status](https://travis-ci.org/code-corps/stripity_stripe.svg?branch=1.x.x)](https://travis-ci.org/code-corps/stripity_stripe) [![Hex Docs](https://img.shields.io/badge/hex-docs-9768d1.svg)](https://hexdocs.pm/stripity_stripe/1.6.2) [![Inline docs](http://inch-ci.org/github/code-corps/stripity_stripe.svg?branch=1.x.x)](http://inch-ci.org/github/code-corps/stripity_stripe?branch=1.x.x) [![Coverage Status](https://coveralls.io/repos/github/code-corps/stripity_stripe/badge.svg?branch=1.x.x)](https://coveralls.io/github/code-corps/stripity_stripe?branch=1.x.x) + # Which version should I use? The old `1.x.x` line of releases has been kept and is being published separately for backwards compatibility, since `2.0` was a complete rewrite. To contribute to that line (bugfixes, mainly), create pull requests against the `1.x.x` branch. The actively developed line of releases is `2.x.x` and is contained within the `master` branch. New features are being added to this line of releases, so to develop this library further, create pull requests against the master branch. -# Documentation +# Documentation for 2.0.0 + +- [Latest HexDocs](https://hexdocs.pm/stripity_stripe/) - [1.x.x](https://hexdocs.pm/stripity_stripe/1.6.1/) -- [Latest](https://hexdocs.pm/stripity_stripe/) + ## Stripe API From 5025f6c30e8edca273aa2f01459ab70c5b4525ab Mon Sep 17 00:00:00 2001 From: Nikola Begedin Date: Tue, 5 Jun 2018 14:40:38 +0200 Subject: [PATCH 2/5] Make 1.x.x documentation collapsible --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ea44f49..65998d35 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,16 @@ The old `1.x.x` line of releases has been kept and is being published separately The actively developed line of releases is `2.x.x` and is contained within the `master` branch. New features are being added to this line of releases, so to develop this library further, create pull requests against the master branch. -# Documentation for 2.0.0 +# Documentation - [Latest HexDocs](https://hexdocs.pm/stripity_stripe/) - [1.x.x](https://hexdocs.pm/stripity_stripe/1.6.1/) +# Documentation for 1.x.x + +
Click to expand +

## Stripe API @@ -174,6 +178,9 @@ First, log in your account. Then go to the following url: https://dashboard.stri Create a connect standalone account. Grab your development `client_id`. Put it in your config file. Enter a redirect url to your endpoint. Capture the "code" request parameter. Pass it to `Stripe.Connect.oauth_token_callback` or `Stripe.Connect.get_token`. +

+
+ # Contributing Feedback, feature requests, and fixes are welcomed and encouraged. Please make appropriate use of [Issues](https://github.com/code-corps/stripity-stripe/issues) and [Pull Requests](https://github.com/code-corps/stripity-stripe/pulls). All code should have accompanying tests. From fac560a216d4a0dc28f054c40566e2ef95027592 Mon Sep 17 00:00:00 2001 From: Nikola Begedin Date: Tue, 5 Jun 2018 14:42:38 +0200 Subject: [PATCH 3/5] Add basic instructions for 2.0 --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 65998d35..591e5882 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,24 @@ The actively developed line of releases is `2.x.x` and is contained within the ` - [1.x.x](https://hexdocs.pm/stripity_stripe/1.6.1/) +## Installation + +Install the dependency: + +```ex +{:stripity_stripe, "~> 2.0"} +``` + +Next, add to your applications: + +_Not necessary if using elixir >= 1.4_ + +```ex +defp application do + [applications: [:stripity_stripe]] +end +``` + # Documentation for 1.x.x
Click to expand @@ -38,7 +56,7 @@ Works with API version 2015-10-16 Install the dependency: ```ex -{:stripity_stripe, "~> 1.6.1"} +{:stripity_stripe, "~> 1.6"} ``` Next, add to your applications: From 534d06398815d5cf332b227ce10c2e81bb918ffd Mon Sep 17 00:00:00 2001 From: Nikola Begedin Date: Tue, 5 Jun 2018 14:47:51 +0200 Subject: [PATCH 4/5] Update CHANGELOG.md --- CHANGELOG.md | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7eecd79..ea2b34d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,27 +1,42 @@ -## 1.6.0 (2017-07-06) +# Latest + +## 2.0.0 + +- official full release after -alpha and -beta releases +- Readme updates related to releasing 2.0 - [#376] +- See the [latest documentation](https://hexdocs.pm/stripity_stripe/api-reference.html) to track what's supported + +This is a huge release and we are likely to have missed bugs. Feel free to provide feedback, create issues and contribute with pull requests. + +# 1.x.x + +## 1.6.2 (2018-06-05) + +- Readme updates related to releasing 2.0 - [#372], [#373], [#375] -Changes: +## 1.6.1 (2018-04-03) -- Added support to update invoices (`&Stripe.Invoices.change/2`, `&Stripe.Invoices.change/3`) - - https://github.com/code-corps/stripity_stripe/pull/241 +- We now return {:error, data} on request errors, instead of just raising errors - [#343](https://github.com/code-corps/stripity_stripe/pull/343) + +## 1.6.0 (2017-07-06) + +- Added support to update invoices (`&Stripe.Invoices.change/2`, `&Stripe.Invoices.change/3`) - [#241](https://github.com/code-corps/stripity_stripe/pull/241) - credit to https://github.com/TakteS ## 1.5.0 (2017-07-04) -Changes: - -- Added basic webhook support - https://github.com/code-corps/stripity_stripe/pull/244 +- Added basic webhook support - [#244](https://github.com/code-corps/stripity_stripe/pull/244) ## 1.0.0 to 1.4.0 -- Added support to generate connect button URLs - https://github.com/code-corps/stripity_stripe/pull/231 -- Sadly, other changes have not been properly tracked here. We will compile a list -as soon as we are able -## 1.0.0 (2015-12-22) +- Added support to generate connect button URLs - [#231](https://github.com/code-corps/stripity_stripe/pull/231) +- Remaining changes have not been tracked, too many to list. -Changes: +## 1.0.0 (2015-12-22) - Bumped version to 1.0.0 as it has become quite feature full and it has a slight breakage factor. - Stripe Connect standalone account support. All modules were refactored to allow api key to flow thru - Refactored all subscriptions/invoices to their own modules. Expect a few rough edges there. - Improved the README + +- From fe5972623313be6a331e1deeb8f764a586c921fa Mon Sep 17 00:00:00 2001 From: Nikola Begedin Date: Tue, 5 Jun 2018 14:48:11 +0200 Subject: [PATCH 5/5] Update mix.exs --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 1dea220e..228a8c5c 100644 --- a/mix.exs +++ b/mix.exs @@ -3,7 +3,7 @@ defmodule Stripe.Mixfile do def project do [ app: :stripity_stripe, - version: "1.6.1", + version: "1.6.2", description: description(), package: package(), deps: deps(),