Releases: getlago/lago-api
Releases · getlago/lago-api
v1.20.2
What's Changed
- fix(current usage): fix current usage taxes by @lovrocolic in #3115
- feat(data): Add premium integrations enabled methods by @rsempe in #3118
- chore(valvalt): Update valvat version by @jdenquin in #3116
- Fix(revshare): add self billed credit note pdf by @annvelents in #3113
- feat(api): Add GET /api/v1/wallet_transactions/:id endpoint by @julienbourdeau in #3119
- misc(adjusted_fee): Allow fee adjustement without pre-existing fee by @vincent-pochet in #3083
- feat(InstantEstimate) - Standard charges by @nudded in #3120
- feat(boleto): Introduce Boleto as a valid Stripe Payment Method by @julienbourdeau in #3111
- Allow to override existing customer attributes by @floganz in #3124
- fix(invoice-preview): disable preview feature for freemium users by @lovrocolic in #3126
Full Changelog: v1.20.1...v1.20.2
v1.20.1
What's Changed
- feat: Support for Multiple Date Formats in Manual Payments Service by @brunomiguelpinto in #3110
- chore(deps): Bump lago-expression to v0.1.3 by @nudded in #3114
- feat(stripe): Save Payment Method in Customer when paying invoice with checkout url by @julienbourdeau in #3107
- Feat(InstantEstimate) - estimate instant fees by @nudded in #3033
Full Changelog: v1.20.0...v1.20.1
v1.20.0
What's Changed
- fix(payment): Ensure payment status is checkd as a string by @vincent-pochet in #3104
- fix(cashfree): Fix webhook and payment flow by @AyushChothe in #3106
- feat(preview-invoice): add route and controller action by @lovrocolic in #3108
- Reapply "feat(invoice): Avoid generating 0 amount charge fees (#3032)" (#3059) by @vincent-pochet in #3068
- misc(fee): Delete zero amount finalized fees by @vincent-pochet in #3020
New Contributors
- @AyushChothe made their first contribution in #3106
Full Changelog: v1.19.1...v1.20.0
v1.19.1
What's Changed
- chore(fees): Add unique index on event transaction id by @jdenquin in #3079
- Feat(revshare): self billed invoices numbering by @annvelents in #3078
- Fix: add validation on transaction_metadata type for recurring transaction rules by @annvelents in #3087
- feat(revshare): self billed invoice pdf/html template by @ancorcruz in #3089
- feat(revshare): missing bits of the feature... by @ancorcruz in #3090
- Add ability to filter invoice by absence of metadata by @floganz in #3082
- fix: adapt nango status code checks by @lovrocolic in #3093
- feat(invoice-preview): Add invoices preview context service by @floganz in #3091
- feat(invoice-preview): add preview support for wallet and credit note credits by @lovrocolic in #3084
- feat(revshare): missing bits to complete the feature by @ancorcruz in #3094
- feat(preview-invoice): add tax provider support for preview invoice by @lovrocolic in #3095
- Chore: add validation on credit note creation and estimate to have items as an array by @annvelents in #3096
- Chore: delete invoice errors for sequential number generation when finishing invoice generation by @annvelents in #3092
- fix(invoice-filtering): Wrong total count when filter invoices by metadata by @floganz in #3097
- fix(webhook): Fix specs when webhook worker is enabled by @vincent-pochet in #3099
- fix(payment): Handle payment and invoice status update by @vincent-pochet in #3088
- fix(Fee) - make sure organization_id is stored by @nudded in #3100
- fix(tasks): Fix signup task env var by @jdenquin in #3101
- fix: filter payments based on visible invoices by @brunomiguelpinto in #3102
- add rescue when failing to update charge filters and charges by @annvelents in #3103
Full Changelog: v1.19.0...v1.19.1
v1.19.0
What's Changed
- feat(invoices): Add new filters by @floganz in #3046
- fix(validations): Fix subscriptions validate service by @ivannovosad in #3052
- feat(payment_providers): Add Cashfree by @vincent-pochet in #2767
- feat(invoice): Avoid generating 0 amount charge fees by @vincent-pochet in #3032
- Feat manual payments controller by @ivannovosad in #3045
- Revert "feat(invoice): Avoid generating 0 amount charge fees (#3032)" by @vincent-pochet in #3059
- fix(terminate-relations): Fix terminate relations service by @ivannovosad in #3061
- feat(revshare): Add db columns for partners and self_billed invoices by @ancorcruz in #3062
- feat(revshare): Skip self billed invoices in analytics by @ancorcruz in #3066
- feat(revshare): Create customers with partner as account_type by @ancorcruz in #3065
- feat: Expose billing periods in invoice serializer by @vincent-pochet in #3064
- feat(invoice-preview): add base preview service by @lovrocolic in #3056
- Add taxes to recreated recurring pay in advance fees by @floganz in #3069
- feat(revshare): self billed invoice creation and skip payments by @ancorcruz in #3067
- feat(segment): Remove 8 unused events by @julienbourdeau in #3075
- feat(revshare): update customer account_type by @ancorcruz in #3074
- chore(spec): Rename shared example file by @julienbourdeau in #3076
- Feat(revshare): self billed invoices - do not trigger integrations by @annvelents in #3072
- chore: Use enum with positional arguments by @julienbourdeau in #3077
- fix(migration): Payment status migration by @vincent-pochet in #3080
- fix(stripe): Idem-potency errors should keep the payment pending by @vincent-pochet in #3063
- chore(gems): Upgrade gems to latest patch version by @julienbourdeau in #3081
- feat(invoice-preview): add logic for applying coupons on preview invoice by @lovrocolic in #3073
- misc(stripe): Improve payment create specs by @vincent-pochet in #3086
Full Changelog: v1.18.0...v1.19.0
v1.18.0
What's Changed
- fix: Retry when getting stale wallet error for pay in advance events by @rsempe in #3027
- feat: Add payment type and reference by @brunomiguelpinto in #3003
- Fix invoice grace period saving with null values by @nudded in #3015
- fix: Update provider taxes rescue logic by @lovrocolic in #3028
- fix(invoice): Use BigDecimal rather than float for amount details by @vincent-pochet in #3030
- feat(manual-payments): Add payment serializer by @ivannovosad in #3031
- feat(manual-payments): Add service to create manual payments by @ivannovosad in #3029
- misc(Github) - Do not use secrets when hardcoded values suffice by @nudded in #3038
- fix(event): retrieve clickhouse events by @vincent-pochet in #3039
- fix: Recurring fee not displayed on invoices after upgrade by @ancorcruz in #3012
- fix: Use succeeded_at to select fees for regrouping by @rsempe in #3034
- Feat (invoice_custom_sections): customer update service by @annvelents in #2960
- misc(wallet): Refactor wallet transaction related jobs queuing by @vincent-pochet in #3040
- Feat (invoice_custom_sections): refactor invoice_custom_sections inclusion by @annvelents in #3006
- fix(stripe): Payment failing with requires_payment_method should be marked as failed by @vincent-pochet in #3042
- misc(BillingWorker) - Move Invoices::RefreshDraftJob to billing queue by @nudded in #3043
- fix: Cast filters to string on ingestion by @rsempe in #3044
- Propagate StaleObjectErrors so PayInAdvance jobs retry by @justinberry in #3036
- fix(migrations): support pg databases with unaccent installed by @sanchezcarlosjr in #3048
- misc(invoice): Add integration_customers to the invoice payload by @ivannovosad in #3050
- fix(one-off-invoice): Fix create one off invoice service by @ivannovosad in #3051
- misc(PaymentRequest): Apply payment idempotency refactor by @vincent-pochet in #2986
- Feat(invoice_custom_sections): api controllers by @annvelents in #3007
New Contributors
- @justinberry made their first contribution in #3036
- @sanchezcarlosjr made their first contribution in #3048
Full Changelog: v1.17.5...v1.18.0
v1.17.5
What's Changed
- fix(data): Populate daily usages by @rsempe in #3000
- fix(data): Handle last day for timezone with positive offset by @rsempe in #3001
- misc: Add more tests by @floganz in #3004
- fix(data): Handle last day for timezone with positive offset by @rsempe in #3005
- fix: Ensure Plans::DestroyJob are queued only once by @ancorcruz in #3010
- feat(anrok): make api calls async in dedicated service by @lovrocolic in #3002
- fix (tax-integrations): change queue for the job that apply taxes on pending invoice by @lovrocolic in #3011
- feat(payments): Add payment permissions by @ivannovosad in #2922
- feat: add concurrency limit by @brunomiguelpinto in #3014
- fix(broken-test): DailyUsages::ComputeService test by @ancorcruz in #3016
- fix(locks): Stop enqueuing duplicates job because of default lock TTL by @jdenquin in #3017
- feat: Add Conditional Integration Customers to use on resync webhook by @brunomiguelpinto in #3018
- fix: Persist inbound stripe webhooks by @ancorcruz in #2972
- fix(jobs): Increase the RefreshDraftJob Lock TTL by @jdenquin in #3019
- perf(DraftService) - shortcut timestamp fetching if there are invoice subscriptions by @nudded in #3021
- fix(customer): avoid duplicated fields in customer response by @vincent-pochet in #3022
- bug(PullTaxesAndApplyService) use call! instead of call by @nudded in #3023
- perf(PullAndApplyTaxes) - remove ordering by @nudded in #3024
- fix(fee): Charge pay in advance interval without any day-shift by @rsempe in #3025
- fix(fee): Prevent creating fee for an incorrect billing period by @rsempe in #3026
Full Changelog: v1.17.4...v1.17.5
v1.17.4
What's Changed
- chore(scalability): Add webhook worker script by @jdenquin in #2980
- feat(salesforce): Sync with provider always true by @brunomiguelpinto in #2976
- feat(credit-note-export): Add new filter options to credit note query by @floganz in #2977
- fix(scripts): Fix start scripts permissions by @jdenquin in #2981
- fix(payment): Fix handling of processing payment by @vincent-pochet in #2983
- fix(payment): Handling of amount_too_small - stripe webhooks by @vincent-pochet in #2985
- Misc: queries optimisation for refresh service by @annvelents in #2969
- fix(payment): Avoid creating duplicated Payment record for one time invoices by @vincent-pochet in #2988
- Misc(events): add timestamp validation for create event by @annvelents in #2978
- feat (anrok integration): add pull taxes service that is used in async mode by @lovrocolic in #2984
- feat: centralize determine payment status by @brunomiguelpinto in #2990
- feat(data): Add usage_date to daily_usages by @rsempe in #2987
- feat(credit-note-export): Add more credit notes filter options and export to graphql by @floganz in #2991
- feat(credit-note-export): Add new filters options to credit notes list endpoint by @floganz in #2982
- misc(payment): Avoid error webhooks on small amount failure by @vincent-pochet in #2994
- Chore(charge_filters): add check on filter properties to be compliant with charge.charge_model by @annvelents in #2989
- Feat: invoice custom sections - customer resolvers by @annvelents in #2957
- Fix clean duplicate payments by @brunomiguelpinto in #2995
- fix: fix all pending states by @brunomiguelpinto in #2996
- feat: mark all failed on the new column by @brunomiguelpinto in #2997
- fix(credit-note-export): Ambiguous column raised when several filters applied by @floganz in #2998
- misc(CachedAggregation): Add index with external_subscription_id by @vincent-pochet in #2992
- fix(wallet): Validate currency by @vincent-pochet in #2999
- feat(data): Use usage_date instead of refreshed_at for daily usage by @rsempe in #2993
Full Changelog: v1.17.3...v1.17.4
v1.17.3
What's Changed
- chore(ruby): Bump ruby & rails version by @jdenquin in #2953
- fix: Ensure consistent order of results on list responses (frontend and API) by @ancorcruz in #2934
- feat(netsuite): Add fees period dates to invoice payload by @ivannovosad in #2956
- fix (pdf): add succeeded at on percentage charge details in pdf by @lovrocolic in #2954
- fix (grace_period): refactor how issuing date is set by @lovrocolic in #2928
- fix: Add created_at and updated_at to invoice serializer by @rsempe in #2958
- Feat: invoice_custom_sections query resolver by @annvelents in #2920
- Add InvoiceCustomSections::UpdateService by @annvelents in #2924
- Feat: invoice custom sections - update mutation by @annvelents in #2927
- feat(netsuite): add issuing date to NetSuite trandate payload by @sarkissianraffi in #2899
- Fix net_payment_term update not updating draft invoices by @nudded in #2955
- misc: Remove Fee#{charge|subscription|commitment}_kind scope by @rsempe in #2948
- misc: Extract stripe webhook handler into its own service by @ancorcruz in #2965
- misc(export-credit-notes): Refactor services and tests by @floganz in #2963
- fix: Ability to create fee with negative units or amount by @rsempe in #2966
- Feat: invoice custom sections - discard service by @annvelents in #2931
- Feat: invoice custom sections discard mutation by @annvelents in #2939
- misc(invoice): Bypass aggregation queries when no event in period by @vincent-pochet in #2967
- misc: Add longer lock for Invoices::FinalizeJob by @vincent-pochet in #2970
- feat(anrok): add new tax related statuses on invoice by @lovrocolic in #2964
- misc(payment): Refactor payment creation on provider by @vincent-pochet in #2959
- misc(payment): Rely on payment provider idempotency by @vincent-pochet in #2962
- feat(credit-notes-export): Add services for simple credit note export by @floganz in #2973
- feat (anrok): add error that indicates that tax is unknown by @lovrocolic in #2968
- bug(Billing) - When running the BillingService for a date in the past, ignore subscriptions that have started in the future. by @nudded in #2923
- misc: Prevent overriding set by test example aggregate_failures flag by @floganz in #2975
- feat(credit-note-export): Add services for credit note item export by @floganz in #2974
- chore(scalability): Add dedicated clock worker by @jdenquin in #2971
- chore(scalability): Add dedicated webhook worker by @jdenquin in #2979
Full Changelog: v1.17.2...v1.17.3
v1.17.2
What's Changed
- misc(logs): Add logs to integration invoice create service by @ivannovosad in #2940
- fix misspelling in fee validation by @annvelents in #2943
- fix: update regrouped invoice pdf with percentage details on fees by @lovrocolic in #2941
- fix(daily_usage): Compute usage from periodic or terminating invoices by @vincent-pochet in #2945
- Fix: progressive billing amount cents reset when refresh inovice by @annvelents in #2946
- fix(daily_usage): targets only charge fees by @vincent-pochet in #2947
- misc(logging): Refactor logging of integration invoice. by @ivannovosad in #2944
- feat(deployment) - use exec so that spawned child processes receive the right signals by @nudded in #2942
- fix(daily_usage): Set thread safe config for daily_usage history job by @vincent-pochet in #2950
- feat: Increase metadata max value length by @brunomiguelpinto in #2952
Full Changelog: v1.17.1...v1.17.2