Releases: getlago/lago-api
Releases · getlago/lago-api
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
v1.8.2
What's Changed
- chore(services): Rename FinalizeService to RefreshDraftAndFinalizeService by @julienbourdeau in #2302
- misc(devex) - Add support for asdf. expand .gitignore with .zed/ and config/master.key by @nudded in #2328
- feat(invoices): Add open status by @julienbourdeau in #2330
- Fix export invoices query object filters by @ancorcruz in #2327
- feat(anrok): add model for error_details by @annvelents in #2311
- Feat(anrok): create integration error details service by @annvelents in #2316
- Feat: anrok - add error detail to invoice serialization by @annvelents in #2329
- misc: change format of error_details description we send to FE by @annvelents in #2333
- fix: GoCardless payment creation exception when no mandate available by @ancorcruz in #2331
- refactor(wallet): change ApplyPaidCreditsService argument by @julienbourdeau in #2325
- fix: invoices query payment_dispute_lost filter by @ancorcruz in #2339
- fix(tax-integrations): add small improvements to the retry service by @lovrocolic in #2337
- feat(wallet): Add
invoice_require_successful_payment
attributes on wallet-related models by @julienbourdeau in #2326 - fix: invoices query payment_overdue filter by @ancorcruz in #2340
- feat: Add Migration Scripts for Separate Migration Docker Container by @brunomiguelpinto in #2304
- fix(db): Rename
invoice_require_successful_payment
to add S by @julienbourdeau in #2343 - fix: Serialize nested collections with a symbol key by @ancorcruz in #2344
- misc: refactor query object to align with new design by @ancorcruz in #2313
- misc(events): Add new optimized index by @jdenquin in #2345
- misc(migrations) - Add extra check to make sure schema.rb is up to date. by @nudded in #2347
- Feat(anrok): add handling discarded errors when retrying invoice by @annvelents in #2341
- feat(netsuite): Add lago customer link to netsuite by @ivannovosad in #2350
- feat(netsuite): Add lago invoice link to netsuite by @ivannovosad in #2353
- feat(netsuite): Add due date to netsuite invoice by @ivannovosad in #2356
- Fix: Event ingestions when using a non default schema by @roeeklinger in #2314
- fix: invoices query search and filtering by customer external id by @ancorcruz in #2355
- fix(export invoices): Re arrange CSV column order, add new columns and fix row order by issuing date by @ancorcruz in #2348
- misc - Bump ruby version to 3.3.4 by @nudded in #2354
- feat(netsuite): Do not send line items with 0 amount cents by @ivannovosad in #2359
- misc(events) - Setup more aggressive autovacuum_vacuum_scale_factor setting for events by @nudded in #2360
- misc - Missing gemfile.lock update after ruby upgrade by @nudded in #2365
- fix(redis) - set redlock_options even if REDIS_PASSWORD is not provided by @nudded in #2367
- feat (tax-integration): add new webhook type for fee tax failure by @lovrocolic in #2351
- feat(billing): Retry finalize jobs on Sequence error by @julienbourdeau in #2364
- fix(netsuite): Do not send taxes columns if tax not mapped by @ivannovosad in #2369
- Feat(anrok): add finalize_all_invoices job and service by @annvelents in #2358
- misc(tracing) - Add custom spans to Services & GraphQLController by @nudded in #2357
- misc(tracing) - add trace_id and span_id to lograge custom_options by @nudded in #2370
- feat(tresholds): Add models by @ivannovosad in #2368
- misc(tracing) - Capture and pass context inside Parallel execution blocks by @nudded in #2372
- feat(wallet): Finalized open topup invoice only after payment successful by @julienbourdeau in #2336
- fix(export invoice fees): reshuffle column order, add missing ones and change some headers in the CSV export by @ancorcruz in #2352
- chore(deps): bump rexml from 3.2.8 to 3.3.3 by @dependabot in #2361
- fix(wrong-month-abbreviation): use month full names instead by @ancorcruz in #2373
- feat(tresholds): Add serializers by @ivannovosad in #2371
- fix(wrong-month-abbreviation): Change abbreviation month names by @rsempe in #2375
- fix(wrong-month-abbreviation): Do not prepend day number by 0 for fr and es locales by @rsempe in #2376
- misc(tresholds): Rename progressive_billing_tresholds to usage_tresholds by @ivannovosad in #2379
New Contributors
- @nudded made their first contribution in #2328
- @roeeklinger made their first contribution in #2314
Full Changelog: v1.8.1...v1.8.2
v1.6.5
v1.8.1
What's Changed
- feat (tax-integrations): Add invoice retry service by @lovrocolic in #2312
- feat (tax-integration): add mutation for retrying failed invoice by @lovrocolic in #2317
- feat: Add Upgrade Verification Task by @brunomiguelpinto in #2289
- fix(invoices): Add index on status by @jdenquin in #2320
- feat (tax-integration): add gql support for retrying all failed invoices by @lovrocolic in #2318
- feat (tax-integrations): add api support for failed invoice retry by @lovrocolic in #2322
- feat(anrok): add migration for IntegrationErrorDetails by @annvelents in #2305
- deps: bump sidekiq from 7.1.4 to 7.1.5 by @willymwai in #2321
- feat(invoice): Introduce visible/invisible invoice status by @julienbourdeau in #2315
- feat(console): Hard delete invoice in console by @julienbourdeau in #2319
- feat(webhook): Always dispatch webhook job by @julienbourdeau in #2297
- fix: Set ready_to_be_refreshed only when updating a plan by @rsempe in #2323
New Contributors
- @willymwai made their first contribution in #2321
Full Changelog: v1.8.0...v1.8.1
v1.8.0
What's Changed
- feat(gql): Add regroup_paid_fees to ChargeInput by @julienbourdeau in #2292
- fix(redis): Timeout error on unique jobs by @jdenquin in #2291
- fix(fees): Add pay_in_advance_event_transaction_id index with deleted_at by @jdenquin in #2294
- fix(subscriptions): Add missing index on previous_subscription_id and… by @jdenquin in #2295
- Feat(invoice.payment_status): add prefix to invoice payment status enum by @annvelents in #2299
- feat(event): Add pay_in_advance flag in grouped charges view by @vincent-pochet in #2300
- feat(analytics): Ability to expire cache when fetching customer analytics by @rsempe in #2301
- fix(xero): Fix syncing xero accounts by @ivannovosad in #2290
- misc: Stop tracking clickhouse schema by @vincent-pochet in #2309
- feat(event): Compute aggregation using Clickhouse pre-aggregation by @vincent-pochet in #2286
- feat(anrok): Add failed status to invoice by @annvelents in #2296
- feat(tax-integrations): update provider tax core logic by @lovrocolic in #2306
- misc: add prefix to payment status enum on fee by @annvelents in #2303
- misc: Cleanup remaining group logic by @vincent-pochet in #2310
- feat(xero): Add payments services by @ivannovosad in #2207
- fix(export invoices): multi value invoices filters and improve graphql type name by @ancorcruz in #2308
- fix(export-invoices): allow no pagination for Query objects by @ancorcruz in #2307
New Contributors
- @annvelents made their first contribution in #2299
Full Changelog: v1.7.0...v1.8.0
v1.7.0
What's Changed
- feat(event): Add clickhouse pre-aggregation config by @vincent-pochet in #2252
- misc: Remove deprecated group handling by @vincent-pochet in #2257
- misc: Remove deprecated API fields by @vincent-pochet in #2261
- misc: Force external_subscription_id when creating events by @rsempe in #2270
- feat(applied-taxes): add logic for creating applied taxes based on external provider by @lovrocolic in #2267
Full Changelog: v1.6.4...v1.7.0
v1.6.4
What's Changed
- fix(stripe): Add invoice description to payment url payload by @ivannovosad in #2278
- fix: Fix flaky test for commitment fees amount sort by @brunomiguelpinto in #2284
- fix(analytics): Prevent fetching deleted customer analytics by @rsempe in #2285
- feat: Add partial index to fees on charge_id and invoice_id by @brunomiguelpinto in #2283
Full Changelog: v1.6.3...v1.6.4
v1.6.3
What's Changed
- fix(stripe): nil result on small amount by @vincent-pochet in #2279
- feat(dunning): Add customer portal analytics resources by @rsempe in #2236
- misc: remove groups from event post validation by @vincent-pochet in #2280
- misc: Add LAGO_CLICKHOUSE_MIGRATIONS_ENABLED env by @vincent-pochet in #2281
Full Changelog: v1.6.2...v1.6.3
v1.6.2
What's Changed
- fix(integrations): Fix creating a deleted customer by @ivannovosad in #2265
- fix (integration-customers): adapt integration customer queries by @lovrocolic in #2269
- feat(events): Track event sent without external_subscription_id for /estimate_fees by @julienbourdeau in #2271
- fix: disable transaction on migration by @brunomiguelpinto in #2273
- fix: add disable_ddl_transaction by @brunomiguelpinto in #2274
- feat(export-invoice-fees): Export invoice fees to CSV by @ancorcruz in #2268
- fix(export-invoices): Namespace DataExports graphQL enum types by @ancorcruz in #2275
- fix(migrations): Split add_column and index by @julienbourdeau in #2276
- fix(migrations): Split add_column and index by @julienbourdeau in #2277
Full Changelog: v1.6.1...v1.6.2