Releases: getlago/lago-api
Releases · getlago/lago-api
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
v1.11.1
What's Changed
- feat(customer-type): Update anrok and xero payloads with new fields by @ivannovosad in #2563
- Feat(invoice): Add finalize zero invoice to GraphQL by @brunomiguelpinto in #2526
- misc: Remove months restriction from gross revenues by @rsempe in #2565
- feat(customer-type): Update stripe customer name with new fields by @brunomiguelpinto in #2564
- add new WF to build arm64 image by @nudded in #2567
- Feat: anrok <> credit_notes model changes by @annvelents in #2558
- bug(Cache) - Only take the column names present on Fee when creating one from cache by @nudded in #2568
- chore(Release) - Run release workflow on github hosted arm runner by @nudded in #2569
Full Changelog: v1.11.0...v1.11.1
v1.11.0
What's Changed
- Fix(permissions): Allow Finance Role to View and Update Organization’s Tax ID by @brunomiguelpinto in #2525
- feat(dunning): Process PSPs event for payment requests payment status update by @ancorcruz in #2528
- feat(ProgressiveBilling): expose SubscriptionLifetimeUsage in GraphQL by @vincent-pochet in #2519
- feat(tax-integrations): change anrok license from add-on to premium by @lovrocolic in #2527
- misc: prevent applying taxes for current usage where it is not necessary by @lovrocolic in #2532
- feat(dunning): Include payment link to payment request email when available by @ancorcruz in #2530
- feat(dunning): Drop lago_invoice_ids from PSPs metadata payloads by @ancorcruz in #2533
- Feat precise amounts services by @ivannovosad in #2524
- feat(precise_amount): Add precise amounts to fee serializer by @ivannovosad in #2529
- feat(ProgressiveBilling) - Add LifetimeUsages::UsageThresholdsCompletionService by @nudded in #2531
- misc(DB) - add annotate --frozen to the GH workflow by @nudded in #2535
- bug(ProgressiveBilling) - make sure usage_thresholds are present by @nudded in #2537
- misc(ProgressiveBilling): Add missing specs for lifetime usage by @vincent-pochet in #2538
- chore: Upgrade Gems to latest minor version by @julienbourdeau in #2458
- fix: Compare terminated_at to timestamp for terminated subscription by @rsempe in #2539
- misc: Fix some warning in specs by @vincent-pochet in #2540
- feat(tax-integrations): adapt progressive billing invoice with tax provider changes by @lovrocolic in #2534
- fix(wallet): Exclude pay in advance fees from the ongoing balance by @rsempe in #2542
- feat(dunning): Fix Spanish translation for payment requested email by @ancorcruz in #2541
- fix(wallet): Add validation rule on rate_amount by @vincent-pochet in #2547
- fix(taxes): tax_error handling must target ValidationFailure by @vincent-pochet in #2548
- feat: Add customer_type to Customers by @brunomiguelpinto in #2544
- feat(customer-type): Add new customer fields to serializer by @ivannovosad in #2550
- feat: Add customer type to services by @brunomiguelpinto in #2551
- Feat customer type graphql by @ivannovosad in #2552
- feat: Add firstname and last name to queries by @brunomiguelpinto in #2553
- feat(dunning): Add permission to analytics overdue balances by @rsempe in #2555
- feat(customer-type): Whitelist new params in customer controller by @ivannovosad in #2554
- feat(customer-type): Replace customer name with display_name in templates by @ivannovosad in #2556
- feat(customer_type): Gocardless add firstname and lastname by @brunomiguelpinto in #2557
- feat(customer-type): Update netsuite payload with new fields by @ivannovosad in #2559
- bug - Order fees by created_at, id to ensure consistent ordering by @nudded in #2560
- fix(subscription): Make sure terminated invoice always comes with the right boundaries by @vincent-pochet in #2561
Full Changelog: v1.10.0...v1.11.0
v1.10.0
What's Changed
- feat(ProgressiveBilling): Usage threshold should be soft deleted by @vincent-pochet in #2429
- fix(anrok): renamed field error_details to details on error_details object by @annvelents in #2430
- Fix(anrok): no fallback_item mapping is found by @annvelents in #2428
- Fix: fix flaky test for eu_auto_taxes_service_spec by @annvelents in #2436
- feat: add email validation by @brunomiguelpinto in #2431
- feat(dunning): Add skeleton for creating a payment request by @rsempe in #2426
- misc(devex) - Add annotations to model files by @nudded in #2349
- feat(tresholds): Add GraphQL for usage thresholds by @ivannovosad in #2397
- feat(ProgressiveBilling): Update PDF template by @vincent-pochet in #2432
- feat(ProgressiveBilling) - add Clock::RefreshLifetimeUsagesJob + LifetimeUsages::RecalculateAndCheckService by @nudded in #2435
- Fix progressive billing spec by @nudded in #2438
- feat(ProgressiveBilling) - add negative_amount_cents to invoices by @nudded in #2427
- feat(ProgressiveBilling): Apply credit notes, coupons and prepaid credits to invoice by @vincent-pochet in #2433
- feat(ProgressiveBilling): Add progressive billing invoice relation to credit by @vincent-pochet in #2440
- misc(build): Update internal build action by @jdenquin in #2442
- misc: add scenario test that covers subscription upgrade and termination case by @lovrocolic in #2444
- Implement Credits::ProgressiveBillingService and add it to Invoices::CalculateFeesService by @nudded in #2443
- feat(dunning): Create payment request by @rsempe in #2441
- feat(netsuite): Add shipping and billing address to create contact payload by @ivannovosad in #2439
- feat(progressive-billing): Add progressive_billing to IntegrationTypeEnum by @ivannovosad in #2447
- 🐛 bug(ProgressiveBilling) Don't set recalculation flags to true when creating LifetimeUsage by @nudded in #2448
- Revert "feat(netsuite): Add shipping and billing address to create contact by @ivannovosad in #2450
- feat(dunning): Prevent creating payment request when not overdue by @rsempe in #2445
- fix: Remove conflict with a built-in method on graphql by @rsempe in #2452
- misc(graphql): Update dependencies by @jdenquin in #2451
- 🐛 bug(ProgressiveBilling) - Set refreshed_at timestamps for LifetimeUsage by @nudded in #2449
- 🐛 bug(ProgressiveBilling) - Only perform calculations for active subscriptions by @nudded in #2454
- feat(ProgressiveBilling) - rename Fees::ChargeService.create to .call by @nudded in #2446
- Feat (anrok): display special provider rules in pdf by @annvelents in #2425
- feat(ProgressiveBilling) - Add historical_usage_amount_cents to LifetimeUsage by @nudded in #2457
- chore: Upgrade our
clickhouse-activerecord
fork by @julienbourdeau in #2437 - feat(dunning): Refactor payment_requests and remove payable_groups by @rsempe in #2456
- feat(ProgressiveBilling) - Add support for LAGO_LIFETIME_USAGE_REFRESH_INTERVAL_SECONDS by @nudded in #2460
- Add shipping and billing address to create contact with a fix by @ivannovosad in #2455
- feat(ProgressiveBilling): Bill current usage by @vincent-pochet in #2461
- feat: Unify Email Validation Across the Application by @brunomiguelpinto in #2464
- chore(deps): bump rexml from 3.3.3 to 3.3.6 by @dependabot in #2467
- feat(ProgressiveBilling): Apply credit to progressive billing invoices by @vincent-pochet in #2463
- feat(ProgressiveBilling): Update PDF template by @vincent-pochet in #2465
- chore(DB) - Add strong_migrations gem and annotate existing migrations by @nudded in #2466
- feat(dunning): Prevent creation of payment request by @rsempe in #2459
- feat(netsuite): Cleanup email and phone in contact payloads by @ivannovosad in #2470
- feat(billing): Delay job retry on billing day by @julienbourdeau in #2363
- feat(ProgressiveBilling): Improvements on PDF and APIs by @vincent-pochet in #2469
- feat(dunning): Create stripe payment by @ancorcruz in #2471
- feat(dunning): Create Adyen payment by @ancorcruz in #2474
- Feat(anrok): add fields to graphql response on applied taxes by @annvelents in #2473
- feat(ProgressiveBilling): Add invocing reason on the progressive billing invoice template by @vincent-pochet in #2472
- feat(dunning): Create GoCardLess payment by @ancorcruz in #2481
- feat(ProgressiveBilling) - automated CreditNote generation at the periodic invoice if needed by @nudded in #2475
- feat(ProgressiveBilling) - take draft invoices into account for LifetimeUsage refreshing by @nudded in #2477
- feat(ProgressiveBilling): Use draft invoices and previous subscriptions by @vincent-pochet in #2480
- feat: fix email validation by @brunomiguelpinto in #2483
- fix (tax-integrations): Update flow for syncing Anrok customer by @lovrocolic in #2484
- Increase default pool size to 10 for staging databases by @nudded in #2487
- feat(dunning): Create payment on payment request creation by @ancorcruz in #2485
- fix(tax-integrations): condition for displaying sync action by @lovrocolic in #2490
- Fix(anrok): include error details when serializing drafted invoice to webhook by @annvelents in #2492
- misc(netsuite): Process payload errors by @ivannovosad in #2489
- Fix(anrok): return only number of failed invoices by @annvelents in #2496
- feat(dunning): Send email reminder when creating a payment request by @rsempe in #2491
- fix (tax-integrations): expose external account id on anrok customer by @lovrocolic in #2494
- feat(dunning): Generate Payment url for stripe and adyen by @ancorcruz in #2495
- fix(tax-integrations): update anrok error webhook attributes by @lovrocolic in #2497
- feat(dunning): Extend payment request response by @rsempe in #2498
- Feat(anrok): GraphQL add enum type for tax codes that are applicable on whole invoice by @annvelents in #2499
- feat(dunning): Add payment_request.payment_failure webhook by @ancorcruz in #2501
- Fix(anrok): Paginate collections in graphQL mutations when sending collection_type by @annvelents in #2502
- feat(dunning): Generate PDF files for payment request invoices by @rsempe in #2500
- update all invoice types with new tax views by @annvelents in #2503
- feat(dunning): complete test setting expectations of the payloads sent to stripe and adyen PSPs by @ancorcruz in #2504
- feat(dunning): Add dunning to premium integrations by @rsempe in #2505
- feat (tax-integrations): Use Anrok taxes for one off invoices by @lovrocolic in #2478
- feat (tax-integrations): handle current usage with tax provider by @lovrocolic in #2468
- feat(ProgressiveBilling) - Fix QA remarks by @nudded in #2493
- feat (tax-integrations): Use Anrok taxes in subscription invoices flow by @lovrocolic in #2486
- Fix(PDF): align text in one-off invoice table the same way as in subscription invoice by @annvelents in #2507
- Fix(anrok): make tax object on applied tax optional by @annvelents in https://github.com/getl...
v1.9.0
What's Changed
- feat(tresholds): Add create and update services by @ivannovosad in #2380
- feat(tax-integration): add failed invoices count by @lovrocolic in #2382
- fix(anrok): add error_details include to invoice serialization by @annvelents in #2381
- misc(release): adding arm macos runner by @jdenquin in #2385
- feat(tresholds): Add usage tresholds params to controllers by @ivannovosad in #2384
- feat (tax-integrations): add new service for syncing void invoice with anrok by @lovrocolic in #2386
- feat (tax-integrations): add support for negate action by @lovrocolic in #2389
- feature(ProgressiveBilling) - Add lifetime usage model by @nudded in #2387
- Fix: add kept default scope to error_details by @annvelents in #2392
- feat (tax-integrations): add support for tax integration generic error webhook by @lovrocolic in #2393
- misc(release): Release workflow by @jdenquin in #2390
- perf(active_storage) - add index that went missing when the record_id column changed type by @nudded in #2402
- fix: Prevent creating subscription fee in advance for yearly plan started in the past by @rsempe in #2388
- feat (tax-integrations): dispatch webhook for all failed responses by @lovrocolic in #2403
- fix: incorrect country on credit note template by @vincent-pochet in #2404
- fix: Correct computation for paid in advance events by @rsempe in #2405
- fix(plan): Add presence validation for plan interval by @ivannovosad in #2408
- fix(bulk_events) - Add #blank? check to
Events::CreateBatchService
by @nudded in #2409 - misc: allow finance role to create invoices by @ansmonjol in #2400
- perf - fix N+1 queries on #index actions by @nudded in #2410
- fix(data-exports): Improve CSV export memory usage by @ancorcruz in #2399
- Feat(Wallet): Add metadata to wallet transactions by @brunomiguelpinto in #2406
- Remove casting in Event.{from|to}_datetime scopes by @nudded in #2415
- feat(ProgressiveBilling) - add
LifetimeUsages::CalculateService
by @nudded in #2401 - fix(export-invoices): fix finalized data export email subject typo by @ancorcruz in #2416
- feat(dunning): Introduce PayableGroup model by @rsempe in #2346
- feat(vat): Support EU VAT Exceptions by @jdenquin in #2412
- feat(dunning): Introduce PaymentRequest entity by @rsempe in #2417
- fix (tax-integrations): fix mutation for fetching one-off invoice taxes by @lovrocolic in #2423
- feat(dunning): Ability to fetch payment requests from API by @rsempe in #2420
- feat(ProgressiveBilling): Flag invoiced lifetime usage for refresh by @vincent-pochet in #2394
- feat(ProgressiveBilling): Add new threshold reached webhook by @vincent-pochet in #2407
- feat(ProgressiveBilling): Flag usage refresh for event by @vincent-pochet in #2395
- feat(ProgressiveBilling) add
LifetimeUsages::UsageThresholds::CheckService
by @nudded in #2419 - feat(dunning): Add resolver for payment requests by @rsempe in #2424
- feat (tax-integrations): add flow for syncing void/dispute lost invoices by @lovrocolic in #2414
- feat(ProgressiveBilling): create an invoice for a threshold by @vincent-pochet in #2413
- Feat(anrok): allow to save special provider tax types by @annvelents in #2421
Full Changelog: v1.8.2...v1.9.0