Skip to content

Commit

Permalink
misc: Bump version to v1.20.0 (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pochet authored Jan 27, 2025
1 parent 52bd5d7 commit 1397f67
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion api
Submodule api updated 42 files
+63 −0 app/controllers/api/v1/invoices_controller.rb
+2 −2 app/controllers/webhooks_controller.rb
+1 −1 app/models/organization.rb
+1 −1 app/models/payment.rb
+14 −0 app/serializers/v1/invoice_serializer.rb
+1 −1 app/serializers/v1/invoices/applied_tax_serializer.rb
+1 −1 app/services/coupons/preview_service.rb
+17 −4 app/services/fees/charge_service.rb
+4 −3 app/services/invoices/calculate_fees_service.rb
+1 −1 app/services/invoices/customer_usage_service.rb
+3 −3 app/services/invoices/payments/adyen_service.rb
+5 −4 app/services/invoices/payments/cashfree_service.rb
+3 −3 app/services/invoices/payments/gocardless_service.rb
+3 −3 app/services/invoices/payments/stripe_service.rb
+3 −1 app/services/invoices/preview_context_service.rb
+3 −1 app/services/invoices/preview_service.rb
+1 −1 app/services/invoices/progressive_billing_service.rb
+3 −3 app/services/payment_requests/payments/adyen_service.rb
+3 −3 app/services/payment_requests/payments/cashfree_service.rb
+3 −3 app/services/payment_requests/payments/gocardless_service.rb
+3 −5 app/services/payment_requests/payments/stripe_service.rb
+1 −0 config/routes.rb
+43 −0 db/migrate/20250103124802_drop_zero_amount_fees.rb
+2 −0 schema.graphql
+12 −0 schema.json
+46 −0 spec/requests/api/v1/invoices_controller_spec.rb
+29 −5 spec/scenarios/invoices/adjusted_charge_fees_spec.rb
+36 −0 spec/scenarios/invoices/invoices_spec.rb
+176 −120 spec/services/fees/charge_service_spec.rb
+47 −16 spec/services/invoices/calculate_fees_service_spec.rb
+5 −2 spec/services/invoices/payments/adyen_service_spec.rb
+5 −2 spec/services/invoices/payments/cashfree_service_spec.rb
+5 −2 spec/services/invoices/payments/gocardless_service_spec.rb
+6 −2 spec/services/invoices/payments/stripe_service_spec.rb
+32 −0 spec/services/invoices/preview_service_spec.rb
+16 −1 spec/services/invoices/refresh_draft_and_finalize_service_spec.rb
+2 −3 spec/services/invoices/refresh_draft_service_spec.rb
+2 −2 spec/services/invoices/subscription_service_spec.rb
+6 −3 spec/services/payment_requests/payments/adyen_service_spec.rb
+6 −3 spec/services/payment_requests/payments/cashfree_service_spec.rb
+6 −3 spec/services/payment_requests/payments/gocardless_service_spec.rb
+7 −3 spec/services/payment_requests/payments/stripe_service_spec.rb
20 changes: 10 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:

migrate:
container_name: lago-migrate
image: getlago/api:v1.19.1
image: getlago/api:v1.20.0
depends_on:
db:
condition: service_healthy
Expand All @@ -63,7 +63,7 @@ services:

api:
container_name: lago-api
image: getlago/api:v1.19.1
image: getlago/api:v1.20.0
restart: unless-stopped
depends_on:
migrate:
Expand Down Expand Up @@ -132,7 +132,7 @@ services:

front:
container_name: lago-front
image: getlago/front:v1.19.1
image: getlago/front:v1.20.0
restart: unless-stopped
# Use this command if you want to use SSL with Let's Encrypt
# command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
Expand Down Expand Up @@ -172,7 +172,7 @@ services:

api-worker:
container_name: lago-worker
image: getlago/api:v1.19.1
image: getlago/api:v1.20.0
restart: unless-stopped
depends_on:
migrate:
Expand Down Expand Up @@ -229,7 +229,7 @@ services:
# It is recommendend if you have a high usage of events to not impact the other Sidekiq Jobs.
#api-events-worker:
# container_name: lago-events-worker
# image: getlago/api:v1.19.1
# image: getlago/api:v1.20.0
# restart: unless-stopped
# depends_on:
# api:
Expand Down Expand Up @@ -274,7 +274,7 @@ services:
# It is recommended if you have a high usage of invoices being created to not impact the other Sidekiq Jobs.
#api-pdfs-worker:
# container_name: lago-pdfs-worker
# image: getlago/api:v1.19.1
# image: getlago/api:v1.20.0
# restart: unless-stopped
# depends_on:
# api:
Expand Down Expand Up @@ -319,7 +319,7 @@ services:
# It is recommended if you have a high usage of invoices being created to not impact the other Sidekiq Jobs.
#api-billing-worker:
# container_name: lago-billing-worker
# image: getlago/api:v1.19.1
# image: getlago/api:v1.20.0
# restart: unless-stopped
# depends_on:
# api:
Expand Down Expand Up @@ -364,7 +364,7 @@ services:
# You can uncomment this if you want to use a dedicated Sidekiq worker for the clock jobs.
#api-clock-worker:
# container_name: lago-clock-worker
# image: getlago/api:v1.19.1
# image: getlago/api:v1.20.0
# restart: unless-stopped
# depends_on:
# api:
Expand Down Expand Up @@ -409,7 +409,7 @@ services:
# You can uncomment this if you want to use a dedicated Sidekiq worker for the webhook jobs.
#api-webhook-worker:
# container_name: lago-webhook-worker
# image: getlago/api:v1.19.1
# image: getlago/api:v1.20.0
# restart: unless-stopped
# depends_on:
# api:
Expand Down Expand Up @@ -453,7 +453,7 @@ services:

api-clock:
container_name: lago-clock
image: getlago/api:v1.19.1
image: getlago/api:v1.20.0
restart: unless-stopped
depends_on:
migrate:
Expand Down
2 changes: 1 addition & 1 deletion front

0 comments on commit 1397f67

Please sign in to comment.