Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to the upstream v2.12.1 #20

Open
wants to merge 42 commits into
base: jalexander/v2.10.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
18e61ee
Configurable json serializer (#446)
snewcomer Jan 13, 2019
843a4d1
Add Stripe Issuing (#493)
jcartwright May 28, 2019
6619277
Use Jason over Poison (#509)
maartenvanvliet Jun 3, 2019
b9861b4
Update Stripe version (#483)
snewcomer Jun 7, 2019
94d548b
Issues/add missing fields (#511)
maartenvanvliet Jun 14, 2019
4885c3d
Add missing fields (#537)
maartenvanvliet Aug 27, 2019
784bf32
2019-10-17 API update (#556)
snewcomer Dec 4, 2019
7c9c6cd
Update various stripe objects with missing fields, remove deprecated …
pwcsquared May 27, 2020
ad947ee
Adds header as an option to new_request (#654)
subsetpark Mar 6, 2021
40ec98d
Bump 2.10.0
snewcomer May 24, 2021
13611c6
CHANGELOG 2.10.0
snewcomer May 24, 2021
0792c44
bump ex_docs 0.24.2
snewcomer May 24, 2021
bbebee2
Update Stripe.Session line_item typespec (#670)
SamuelWillis May 28, 2021
5be7fec
add sepa debig (#674)
flowerett Jun 11, 2021
66b5a3d
Add missing PromotionCode.expires_at field (#675)
ascandella Jun 11, 2021
97e0015
Add Stripe.WebhookPlug for easier handling of webhook events (#658)
alexgleason Jun 14, 2021
b6eb943
Support klarna payments in sources better (#651)
stoyle Aug 10, 2021
614b6f7
2.11.0
snewcomer Aug 16, 2021
82125af
[CI]: actions instead of travisci (#677)
snewcomer Aug 16, 2021
869ff2c
2.12.0
snewcomer Aug 16, 2021
5945103
Add fields to Stripe.Session struct (#683)
thousandsofthem Aug 16, 2021
cc413f8
using non_neg_integer instead of float (#681)
AkhileshNegi Aug 16, 2021
5ce36e9
[bug]: extra applications exexec bad (#688)
snewcomer Aug 16, 2021
cb01017
2.12.1
snewcomer Aug 16, 2021
75d4743
Add the issuing field to Stripe.Balance (#689)
jfpedroza Aug 23, 2021
94157b2
Add application to webhook_endpoint (#691)
tylerwray Aug 23, 2021
d14f07d
Add customer field to PromotionCode (#676)
Aug 23, 2021
7b831da
Add stripe Identity endpoints (#692)
tylerwray Sep 17, 2021
b5c8899
Adds missing params and types for Stripe Checkout Sessions (#695)
jmnsf Sep 29, 2021
6f40940
Add missing opts to Stripe.ApplicationFee (#693)
esse Sep 29, 2021
07526e2
Update changelog (#696)
flowerett Oct 15, 2021
94e8208
updated specs on Price module (#699)
skylerparr Nov 1, 2021
af8533b
Added missing optional fields on create spec (#700)
skylerparr Dec 15, 2021
e547430
Fix typos (#705)
kianmeng Dec 16, 2021
0fe6dd6
Adds expiry feature (#702)
jekku Dec 16, 2021
abafc13
add future requirements (#707)
dhl1337 Dec 21, 2021
3f46e2e
fix: add product_data type to Price params (#708)
Dec 23, 2021
b65911b
Misc doc changes (#706)
kianmeng Jan 26, 2022
b57f748
sync "Products > Update a product" params typespec (#710)
erhlee-bird Jan 26, 2022
359fada
Update session.ex (#714)
balexand Feb 15, 2022
c245e24
Allow errors to be returned by webhook handler (#712)
deniskulicek Feb 15, 2022
c609f1f
updates to match v2.12.1
jalexander Nov 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Continuous Integration

on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- 'master'

jobs:
test:
env:
MIX_ENV: test
STRIPE_MOCK_VERSION: 0.116.0
STRIPE_SECRET_KEY: non_empty_string
SKIP_STRIPE_MOCK_RUN: true
runs-on: ubuntu-latest
name: Test (OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}})
strategy:
matrix:
elixir: ['1.12']
# All of the above can use this version. For details see: https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
otp: [24]
services:
stripe-mock:
image: stripe/stripe-mock:v0.116.0
ports:
- 12111:12111
- 12112:12112
steps:
- name: Clone code
uses: actions/checkout@v2
- name: Setup Elixir and Erlang
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
- name: Mix Dependencies
run: mix deps.get
- name: Test
run: mix test

lint:
runs-on: ubuntu-latest
name: Linting
strategy:
matrix:
elixir: ['1.12', '1.11', '1.10']
# All of the above can use this version. For details see: https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
otp: [24, 23, 22]
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- uses: actions/cache@v1
env:
cache-name: mix
with:
path: ~/.mix
key: cache-${{ runner.os }}-${{ env.cache-name }}-${{ matrix.otp }}-${{ matrix.elixir }}
restore-keys: |
cache-${{ runner.os }}-${{ env.cache-name }}-
- uses: actions/cache@v1
env:
cache-name: build
with:
path: _build
key: cache-${{ runner.os }}-${{ env.cache-name }}-${{ matrix.otp }}-${{ matrix.elixir }}
restore-keys: |
cache-${{ runner.os }}-${{ env.cache-name }}-
- run: mix deps.get
- run: mix compile --warnings-as-errors
- run: mix dialyzer --halt-exit-status
46 changes: 33 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,39 @@
/_build
/deps
# The directory Mix will write compiled artifacts to.
/_build/

# If you run "mix test --cover", coverage assets end up here.
/cover/

# The directory Mix downloads your dependencies sources to.
/deps/

# Where third-party dependencies like ExDoc output generated docs.
/doc/

# Ignore .fetch files in case you like to edit your project deps locally.
/.fetch

# If the VM crashes, it generates a dump, let's ignore it too.
erl_crash.dump

# Also ignore archive artifacts (built via "mix archive.build").
*.ez
config/config.secret.exs
/doc
.DS_Store
tags

# elixir LS files
# Ignore package tarball (built via "mix hex.build").
stripity_stripe-*.tar

/.elixir_ls
/.devcontainer
# IntelliJ IDEA files
# Temporary files, for example, from tests.
/tmp/

/.idea
# Elixir LS files.
.elixir_ls
.devcontainer

# IntelliJ IDEA files
.idea
*.iml
priv/plts/*
/cover

# Misc.
.DS_Store
config/config.secret.exs
tags
45 changes: 0 additions & 45 deletions .travis.yml

This file was deleted.

Loading
Loading