Releases: getlago/lago-api
Releases · getlago/lago-api
v1.15.2
What's Changed
- feat(hubspot): Sync subscriptions by @brunomiguelpinto in #2753
- chore(currencies): Add BHD support by @jdenquin in #2758
- feat(cascade-plan-changes): add api and GQL support for cascade feature by @lovrocolic in #2726
- feat(InvoiceError) - Add InvoiceError by @nudded in #2763
- bug(InvoiceError) - Fix BillSubscriptionJob arguments by @nudded in #2765
- fix(bug): invoicing reason nil when calling from RetryGeneratingSubscriptionInvoicesJob by @annvelents in #2768
- bug(InvoiceError) - Timestamp needs to be an integer by @nudded in #2769
- misc(daily_usage): fix flacky test by @vincent-pochet in #2772
- feat(InvoiceError) - Improve create_for handling by @nudded in #2770
Full Changelog: v1.15.1...v1.15.2
v1.15.1
What's Changed
- misc(clickhouse): Use official clickhouse-activerecord gem by @vincent-pochet in #2750
- fix(netsuite): Change params in the invoice payload by @ivannovosad in #2752
- bug(PayInAdvance) - Add dedicated lock_key_arguments for pay in advance jobs by @nudded in #2755
- feat(api key management) Extract api key model by @floganz in #2734
- feat(api-key-management) Add Graphql types and queries for ApiKey model by @floganz in #2743
- bug(caching) - Add cache key version to Subscriptions::ChargeCacheService by @nudded in #2756
New Contributors
Full Changelog: v1.15.0...v1.15.1
v1.15.0
What's Changed
- fix(customer): Fix create/update via API when finalize_zero_amount_invoice is nil by @vincent-pochet in #2707
- fix(stripe): Handle authentication errors for checkout URL by @vincent-pochet in #2705
- feat(fee): Allow filtering fees on event transaction id by @rsempe in #2709
- fix(subscription): Prevent creating subscription with same external id by @rsempe in #2708
- feat(fee): Expose charge_id in REST API by @vincent-pochet in #2710
- feat(cascade-plan-updates): cascade subscription fee update by @lovrocolic in #2701
- fix(payment_request): Create jobs outside of DB transaction by @vincent-pochet in #2711
- feat(plan-cascade): add logic for cascading charge creation by @lovrocolic in #2712
- fix(adyen): Improve webhook handling with missing code by @vincent-pochet in #2714
- feat(dunning): update dunning campaign as applied to organization by @ancorcruz in #2713
- misc(usage): Scope usage caching to the charge filter level by @vincent-pochet in #2678
- Feat: credit note on credit invoice - estimate service by @annvelents in #2687
- Feat hubspot customers services by @ivannovosad in #2674
- feat (cascade-plan-updates): add logic for cascading charge removal by @lovrocolic in #2715
- fix(clickhouse): event_enriched model annotation by @vincent-pochet in #2716
- Feat: credit note on credit - update void credits service by @annvelents in #2694
- Feat: credit note on credit - create service by @annvelents in #2700
- Feat hubspot customers graphql by @ivannovosad in #2673
- add a field to invoice graphql object by @annvelents in #2697
- fix(clickhouse): Uniq count should count uniq values... by @vincent-pochet in #2721
- feat(daily_usage): Add DailyUsage model by @vincent-pochet in #2718
- bug(PastUsage) - Filter fees by external subscription id by @nudded in #2723
- feat(dunning): Filter dunning campaigns by threshold currency by @ancorcruz in #2719
- feat(dunning): Update dunning campaign config for customers by @ancorcruz in #2717
- fix(clickhouse): pay in advance handling by @vincent-pochet in #2724
- feat: Add redis pool size by @brunomiguelpinto in #2727
- bug(Adyen) - Also send webhook for missing payment provider code by @nudded in #2728
- fix(netsuite): Fix invoice payload - add missing fields by @ivannovosad in #2729
- bug(Clock::SubscriptionsToBeTerminatedJob) - Make sure we only send the webhook once per subscription by @nudded in #2730
- feat(hubspot): Sync invoices by @ivannovosad in #2720
- feat(cascade-plan-charges): add logic for cascading charge update by @lovrocolic in #2725
- Feat credit note fixes by @annvelents in #2722
- feat(hubspot) Add graphql for syncing invoices by @ivannovosad in #2732
- feat(hubspot): Modify models for syncing subscriptions by @ivannovosad in #2736
- fix(netsuite): Add tranid to netsuite create invoice payload by @ivannovosad in #2739
- misc: Avoid reloading charge filter if already loaded by @vincent-pochet in #2742
- chore(specs): Remove a warning from specs by @ivannovosad in #2740
- feat(events): Support clickhouse store for events listing by @jdenquin in #2744
- Hubspot subscription services by @ivannovosad in #2741
- use UNION to perform faster query for 'from_organization' scope by @nudded in #2745
- feat(DataExport) Parallelize data export by splitting it into parts by @nudded in #2737
- feat(hubspot): Add subscription jobs by @ivannovosad in #2746
- fix(events): Fix clickhouse events id by @jdenquin in #2747
- chore(deps): bump rexml from 3.3.6 to 3.3.9 by @dependabot in #2749
- feat(daily_usage): Add clock to refresh all daily usage by @vincent-pochet in #2735
- feat(dunning): update customer to fallback to organization dunning by @ancorcruz in #2733
- feat(dunning): process dunning campaign attempt by @ancorcruz in #2748
Full Changelog: v1.14.0...v1.15.0
What's Changed
- fix(customer): Fix create/update via API when finalize_zero_amount_invoice is nil by @vincent-pochet in #2707
- fix(stripe): Handle authentication errors for checkout URL by @vincent-pochet in #2705
- feat(fee): Allow filtering fees on event transaction id by @rsempe in #2709
- fix(subscription): Prevent creating subscription with same external id by @rsempe in #2708
- feat(fee): Expose charge_id in REST API by @vincent-pochet in #2710
- feat(cascade-plan-updates): cascade subscription fee update by @lovrocolic in #2701
- fix(payment_request): Create jobs outside of DB transaction by @vincent-pochet in #2711
- feat(plan-cascade): add logic for cascading charge creation by @lovrocolic in #2712
- fix(adyen): Improve webhook handling with missing code by @vincent-pochet in #2714
- feat(dunning): update dunning campaign as applied to organization by @ancorcruz in #2713
- misc(usage): Scope usage caching to the charge filter level by @vincent-pochet in #2678
- Feat: credit note on credit invoice - estimate service by @annvelents in #2687
- Feat hubspot customers services by @ivannovosad in #2674
- feat (cascade-plan-updates): add logic for cascading charge removal by @lovrocolic in #2715
- fix(clickhouse): event_enriched model annotation by @vincent-pochet in #2716
- Feat: credit note on credit - update void credits service by @annvelents in #2694
- Feat: credit note on credit - create service by @annvelents in #2700
- Feat hubspot customers graphql by @ivannovosad in #2673
- add a field to invoice graphql object by @annvelents in #2697
- fix(clickhouse): Uniq count should count uniq values... by @vincent-pochet in #2721
- feat(daily_usage): Add DailyUsage model by @vincent-pochet in #2718
- bug(PastUsage) - Filter fees by external subscription id by @nudded in #2723
- feat(dunning): Filter dunning campaigns by threshold currency by @ancorcruz in #2719
- feat(dunning): Update dunning campaign config for customers by @ancorcruz in #2717
- fix(clickhouse): pay in advance handling by @vincent-pochet in #2724
- feat: Add redis pool size by @brunomiguelpinto in #2727
- bug(Adyen) - Also send webhook for missing payment provider code by @nudded in #2728
- fix(netsuite): Fix invoice payload - add missing fields by @ivannovosad in #2729
- bug(Clock::SubscriptionsToBeTerminatedJob) - Make sure we only send the webhook once per subscription by @nudded in #2730
- feat(hubspot): Sync invoices by @ivannovosad in #2720
- feat(cascade-plan-charges): add logic for cascading charge update by @lovrocolic in #2725
- Feat credit note fixes by @annvelents in #2722
- feat(hubspot) Add graphql for syncing invoices by @ivannovosad in #2732
- feat(hubspot): Modify models for syncing subscriptions by @ivannovosad in #2736
- fix(netsuite): Add tranid to netsuite create invoice paylo...
v1.14.0
What's Changed
- chore: Add GitHub release badge to the repository by @electrosenpai in #2637
- feat(hubspot): Add associations, attributes to customer models to support hubspot integration by @ivannovosad in #2667
- fix(credit-notes): submit credit note to tax provider after transaction ends by @lovrocolic in #2665
- feat(cp-improve): Customer portal update customer's customer_type by @ancorcruz in #2666
- misc: move invoice numbering outside DB transaction by @lovrocolic in #2621
- fix (wallets): improve handling rc upon wallet update by @lovrocolic in #2669
- fix(invoice-numbering): cover draft invoice number when tax error by @lovrocolic in #2671
- feat(dunning): Add DunningCampaign and DunningCampaignThreshold by @rsempe in #2670
- fix: Generate invoice for paid instant charges on subscription termination by @ancorcruz in #2675
- feat(clickhouse): Improve clickhouse store by @jdenquin in #2677
- chore(deps): bump webrick from 1.8.1 to 1.8.2 by @dependabot in #2679
- Feat: issue credit note on credit invoice - db change by @annvelents in #2676
- fix(credit_note): Make sure credit notes jobs are processed outside of DB transactions by @vincent-pochet in #2680
- fix(invoice) Skip ActiveRecord::RecordNotUnique for periodic invoices by @vincent-pochet in #2681
- feat(dunning): Add DunningCampaigns::Create graphql mutation by @rsempe in #2672
- fix (invoice-numbering): revert draft case for new invoice numbering by @lovrocolic in #2683
- fix (invoice-numbering): revert moving invoice numbering outside DB transaction by @lovrocolic in #2684
- feat(wallet): Improve how we're refreshing wallet's ongoing balance by @rsempe in #2682
- fix(wallet): Send wallet transaction webhooks outside of DB transactions by @vincent-pochet in #2685
- fix(integration): Fix rate limit handling by @vincent-pochet in #2686
- fix(wallet): Save wallet transaction using floor for credits by @rsempe in #2688
- misc: Retry RefreshOngoingBalanceJob if stale object by @rsempe in #2691
- fix(clickhouse): Fix timestamp precision by @jdenquin in #2689
- perf(Filters) - increase performance of updating charge filters by @nudded in #2696
- feat (cascading): add DB changes for charge cascading by @lovrocolic in #2693
- feat(stripe): Improve support of Indian card by @jdenquin in #2690
- fix(gocardless): Treat Gocardless webhooks events in separate jobs by @vincent-pochet in #2695
- feat(clickhouse): new column for clickhouse events store on org by @jdenquin in #2699
- feat(dunning): Add DunningCampaignsResolver by @rsempe in #2692
- fix(netsuite): Fix the customer update payload by @ivannovosad in #2702
- fix(gocarless): Refund metadata can contains 3 keys at max by @vincent-pochet in #2703
- fix(wallet): Send wallet transaction webhooks outside of DB transactions by @rsempe in #2706
- feat(dunning): Add dunning campaign to customer, database changes by @ancorcruz in #2698
New Contributors
- @electrosenpai made their first contribution in #2637
Full Changelog: v1.13.1...v1.14.0
v1.13.1
What's Changed
- Fix: misspelled resource on credit note graphQL serializer by @annvelents in #2626
- Feat netsuite taxes payloads by @ivannovosad in #2622
- feat(netsuite-taxes): Add new tax attributes to GraphQL types and inputs by @ivannovosad in #2616
- feat(dunning): Add subscriptions resolver to customer portal by @rsempe in #2627
- feat(customer-portal): Add current billing dates to subscription object by @rsempe in #2629
- feat(cp-improv): Customer Portal expose and edit customer info by @ancorcruz in #2599
- feat(event): Add event list API by @earthpyy in #2601
- feat(cp-improv): Customer portal - expose wallet info and top up workflow by @ancorcruz in #2630
- Fix: credit notes sorting by @annvelents in #2632
- feat: added translations by @brunomiguelpinto in #2634
- feat(customer_portal): Add usage resolver to customer portal by @rsempe in #2636
- feat(tax-integrations): Cover tax deduction case for tax integrations by @lovrocolic in #2628
- feat(DynamicPricing) - Add dynamic charge model & validator by @nudded in #2613
- fix(vat-rates): Update Finnish VAT by @ivannovosad in #2638
- misc: Refact some services to the call pattern by @vincent-pochet in #2641
- feat(PreciseAmountRounding) - format precise numbers with 6 significant digits by @nudded in #2639
- feat(customer-portal): Add Subscription graphql resolver by @rsempe in #2644
- misc: Refactor Customer::UpdateService by @vincent-pochet in #2645
- fix(okta): Fix okta auth url by @jdenquin in #2647
- feat(customer-portal): Extract organization type and add premium integrations by @rsempe in #2648
- Fix: closed invoices with generated number by @annvelents in #2646
- fix(invoice-template): Fix grouped_by_display helper method by @ivannovosad in #2649
- fix(okta): fix auth URL by @jdenquin in #2651
- Feat: Add price breakdown for pay in advance percentage charge by @annvelents in #2605
- fix(payment-provider-code): Fix payment provider code change by @ivannovosad in #2640
- fix(webhook): Handle Errno::EHOSTUNREACH by @vincent-pochet in #2654
- Don't execute RefreshDraft service when the ready_to_be_refreshed is not true by @nudded in #2655
- misc: Refactor more pre-call era services by @vincent-pochet in #2653
- fix(intergrations): Fix fees in invoices payload by @ivannovosad in #2656
- fix(membership): Ensure membership is in current organization when revoking by @vincent-pochet in #2658
- feat(customer-portal): Add applicable timezone to customer portal customer by @rsempe in #2652
- misc: Remove the need for BaseService current user argument by @vincent-pochet in #2660
- fix(pdf): Fix credit note generating pdf and webhook by @ivannovosad in #2659
- misc: Update cache format version by @vincent-pochet in #2661
- feat(clickhouse): Rework tables configuration by @jdenquin in #2657
- feat(PreciseAmountCents) Show pay in advance units with same precision as other fees by @nudded in #2663
- Fix: adjust tax precise amount when issuing credit notes by @annvelents in #2643
- feat(hubspot): Add new attributes to hubspot integration model by @brunomiguelpinto in #2662
- fix (wallet-race-condition): Retry wallet update upon race condition by @lovrocolic in #2664
New Contributors
Full Changelog: v1.12.2...v1.13.1
v1.12.3
v1.12.2
What's Changed
- misc(event): Remove ordering of event queries when not required by @vincent-pochet in #2618
- misc: Revert graphql schemas split by @rsempe in #2625
Full Changelog: v1.12.1...v1.12.2
v1.12.1
What's Changed
- misc: Align env variables with documentation by @vincent-pochet in #2620
- feat(hubspot): add hubspot to Integrations types by @brunomiguelpinto in #2623
- Feat(anrok): add identification that we synced credit note by @annvelents in #2619
- bug - Update payment_provider_code in more cases by @nudded in #2624
- Feat(anrok): call report credit note job when creating a credit note by @annvelents in #2617
Full Changelog: v1.12.0...v1.12.1
v1.12.0
What's Changed
- feat(dunning): Fix webhooks events processing and payment request email triggering on PSPs payment attempts by @ancorcruz in #2546
- misc: Disable GraphQL introspection by @vincent-pochet in #2575
- feat (tax-integrations): support endpoint for reporting credit notes in tax provider by @lovrocolic in #2571
- fix(invoice): avoid failure on error not related to taxes by @vincent-pochet in #2576
- feat(customer_portal): Remove premium restriction by @rsempe in #2574
- fix: Do not display organization email if empty by @rsempe in #2579
- Revert "misc: Disable GraphQL introspection" by @nudded in #2580
- misc: refactor tax provider inheritance for the aggregator scope by @lovrocolic in #2578
- Fix: save fees with taxes_rate when creating one off invoice by @annvelents in #2583
- fix(customer-type): Do not add empty firstname and lastname to xero payload by @ivannovosad in #2573
- feat(tax-integration): add logic for reporting credit note to the tax provider by @lovrocolic in #2577
- Feat(anrok<>credit_notes) refactor CreditNotes::AppliedTax to search taxes by tax_code by @annvelents in #2536
- Feat(anrok<>cn): update serializers with error_details by @annvelents in #2585
- feat (tax-integrations): add mutation for credit note sync retry by @lovrocolic in #2586
- fix(subscription): fix tax error digging in all the places by @vincent-pochet in #2584
- misc: create a random id on generated plain object by @ansmonjol in #2566
- fix(subscription): Fix generating invoice with pending downgrade by @vincent-pochet in #2581
- bug(LifetimeUsage) - delegate total_usage_amount_cents to total_amount_cents by @nudded in #2589
- feat(hubspot): Add hubspot integration models by @ivannovosad in #2588
- misc(cleanup) Fix billing service call & introduce rubocop ensuring code consistency by @nudded in #2543
- fix: change gcl customer payload by @lovrocolic in #2593
- feat(dunning): update FR email copy by @ancorcruz in #2587
- bug - Move rubocop to dev folder and only load it in test & development by @nudded in #2596
- feat(dunning): Remove dunning feature from premium addon by @rsempe in #2595
- feat: add hubspot connection services by @brunomiguelpinto in #2597
- feat(hubspot): Add GraphQL for hubspot connection by @ivannovosad in #2591
- feat(DynamicPricing) - Add precise_total_amount_cents to Event by @nudded in #2594
- misc(group): Remove legacy group_properties validation in charge by @vincent-pochet in #2592
- fix (accounting-integrations): send webhook for incomplete payload by @lovrocolic in #2600
- chore(deps): bump google-protobuf from 3.25.4 to 3.25.5 by @dependabot in #2604
- feat(tax-invoices): add required invoice title for some countries by @lovrocolic in #2602
- misc: Split graphql definitions into two schemas by @rsempe in #2603
- Fix: change default value for WalletTransaction metadata by @annvelents in #2609
- misc: Fix graphql routes by @rsempe in #2607
- fix default metadata by @annvelents in #2611
- chore(deps): bump puma from 6.4.2 to 6.4.3 by @dependabot in #2614
- feat(netsuite-taxes): Add new model attributes by @ivannovosad in #2606
- Fix invoice status when choosing final status for the invoice by @annvelents in #2615
- feat(netsuite-taxes): Add new tax attributes to collection mapping services by @ivannovosad in #2612
- feat(DynamicPricing): Accept precise_total_amount_cents when creating an event by @vincent-pochet in #2610
Full Changelog: v1.11.2...v1.12.0
v1.11.2
What's Changed
- fix(integration): Add more auto retries for reuqest limit errors by @vincent-pochet in #2570
- bug - Fix check for invoice.closed? in
Invoices::AdvanceChargesService
by @nudded in #2572
Full Changelog: v1.11.1...v1.11.2