Releases: getlago/lago-api
Releases · getlago/lago-api
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
v1.6.1
What's Changed
- feat(xero): Add services and payloads for contacts by @ivannovosad in #2211
- chore(factories): Don't use Faker names for random codes by @julienbourdeau in #2222
- misc: Prevent fetching non-authorized resources by @rsempe in #2227
- feat(anrok-integration): add support for customer shipping address on the API side by @lovrocolic in #2217
- misc(sidekiq): New approach for cron monitoring by @vincent-pochet in #2225
- misc(currency) add IRR by @vincent-pochet in #2230
- fix(bm): Handle colon in billable metric code by @vincent-pochet in #2234
- feat(export invoices): Create data export by @ancorcruz in #2226
- chore(schema): Commit fresh schema.rb by @julienbourdeau in #2237
- feat (netsuite-integration): Add BE support for netsuite TBA by @lovrocolic in #2238
- fix(wallet): Prevent from having duplicate Invoices::PrepaidCreditJob by @rsempe in #2243
- fix(trial): Handle timezone correct to bill subscription on billing day by @julienbourdeau in #2244
- fix(netsuite-integration): limit netsuite payload rate by @lovrocolic in #2242
- feat(fees): Invoice non-invoiceable fees at the end of the period by @julienbourdeau in #2171
- feat(event): Add view to allow caching of charge/filters for billable_metrics by @vincent-pochet in #2231
- feat(charges): Add
regroup_paid_fees
to Charge by @julienbourdeau in #2232 - Add all available filters to /api/v1/invoices endpoint by @ancorcruz in #2250
- feat: Add Discard Handling for AuthenticationError by @brunomiguelpinto in #2239
- chore(perf): Add missing frozen_string_literal comment by @julienbourdeau in #2251
- feat(papertrail): Add Lago Version to papertrail metadata by @julienbourdeau in #2240
- fix: Startup script does not always perform migrations by @vincent-pochet in #2246
- feat(event): Pre-aggregation grouped_by with charge filters by @vincent-pochet in #2255
- feat(export invoices): add mutation to request data export for invoices by @ancorcruz in #2245
- fix(signup): Use correct env var to check if signup is disabled by @jdenquin in #2256
- feat: Enable Regroup Fees Feature by @brunomiguelpinto in #2253
- feat(export invoices): CSV export by @ancorcruz in #2248
- feat (tax-integrations): Add anrok fetch services by @lovrocolic in #2247
- fix(grouped-usage): Fix graphql grouped usage when no display name by @jdenquin in #2259
- feat: add link to payment methods by @vincent-pochet in #2235
- feat(dx): Add
find
helper in Rails console by @julienbourdeau in #2258 - feat(deprecation): Add reset methods by @julienbourdeau in #2262
- fix: Ensure Consistent Return of
result
Object on Stripe Exceptions by @brunomiguelpinto in #2263 - feat: Add ability to soft delete fees by @brunomiguelpinto in #2233
- fix: Normalize CSV Comparison in Tests to Ignore Quotes by @brunomiguelpinto in #2264
- misc(events): Add option to remove event validations job by @jdenquin in #2266
- fix(dates-service): Fix terminated dates service for min commitment calculations by @ivannovosad in #2260
Full Changelog: v1.6.0...v1.6.1
v1.6.0
What's Changed
- feat(clickhouse): Introduce Events::Common for in advance aggregation by @vincent-pochet in #2144
- misc(logs): Add Organization ID to logs by @jdenquin in #2149
- fix(logs): Rescue current_organization errors by @jdenquin in #2156
- fix(stripe): Enable auto retry for APIConnectionError on payment job by @vincent-pochet in #2155
- fix(integrations): Fix flaky spec by @ivannovosad in #2157
- misc(stripe): Avoid dead jobs for register webhook errors by @vincent-pochet in #2154
- update aggregator invoice spec by @lovrocolic in #2158
- feat(clickhouse): Add event_transaction_id relation for pay_in_advance by @vincent-pochet in #2145
- Fix exception handling by @cstar in #2161
- misc: add extensive coupons integration test by @lovrocolic in #2151
- misc(payment_webhook): Improve result management by @vincent-pochet in #2162
- misc(billable_metric): preload filters and groups in index route by @vincent-pochet in #2153
- fix (integrations): enable optional code when creating mapping object by @lovrocolic in #2164
- fix(adyen): Retry payment creation on Faraday::ConnectionFailed by @vincent-pochet in #2165
- misc(stripe): Avoid dead job for invalid key when creating customers by @vincent-pochet in #2166
- feat(dunning): Add payment_overdue to invoice by @rsempe in #2147
- feat(xero): Add integration graphql resources by @ivannovosad in #2159
- feat(xero): Add models for mappings by @ivannovosad in #2160
- fix(invoice): make sure generating invoices are re-attached to the billing jobs by @vincent-pochet in #2167
- fix(subscriptions): Fix incorrect
error_details
when creating a subscription withoutexternal_customer_id
by @ancorcruz in #2169 - feat(pdf): Ensure Invoice PDF is created before sending emails and webhooks by @julienbourdeau in #2121
- chore(segment): Dedup track_invoice_created function by @julienbourdeau in #2170
- fix(pdf): Move GeneratePdfJob to new pdfs queue by @julienbourdeau in #2173
- fix(subscription): check terminated_at for invoicing_reason by @vincent-pochet in #2174
- feat(integrations): support array of integration customers by @lovrocolic in #2175
- Feat xero mappings services by @ivannovosad in #2168
- misc(kafka): Add key on message for partioning by @jdenquin in #2177
- feat (anrok-integration): add support for connection_id by @lovrocolic in #2180
- feat(xero): Add customer models and serializer by @ivannovosad in #2178
- fix(service): Use call_later for RetryAllJob and raise if error by @julienbourdeau in #2181
- feat(dunning): Add payment_overdue filter on invoices by @rsempe in #2183
- misc(sidekiq): Add new monitoring system for k8s liveness probe by @jdenquin in #2186
- feat(clickhouse): Refact in advance logic to handle non-PG events by @vincent-pochet in #2150
- fix(event): Return result in pay in advance service by @vincent-pochet in #2189
- fix (draft- invoices): refresh draft invoice only if there is active subscription by @lovrocolic in #2190
- misc: improve active job uniqueness's redlock server host generation by @mertindervish in #2192
- fix(draft-invoice): fix invoice reason logic for draft invoices by @lovrocolic in #2191
- feat(boundaries): Move charge_pay_in_advance_interval from Invoice to DatesService by @julienbourdeau in #2193
- Feat xero mappings graphql by @ivannovosad in #2188
- feat(xero): Add invoice services and payloads, refactor existing ones by @ivannovosad in #2187
- fix(integration-customers): fix incorrectly cached variables by @lovrocolic in #2194
- misc: extend redis timeout property by @lovrocolic in #2184
- misc: Add lago:version rake task by @vincent-pochet in #2198
- fix(integrations): Trigger full resync by @ivannovosad in #2200
- feat(dunning): Add overdue balance analytics endpoint by @rsempe in #2199
- bug: change netsuite trigger action_path by @ansmonjol in #2202
- feat(fees): Only allow payment status to be changed if not attached to invoice yet by @julienbourdeau in #2197
- feat (integration-customers): refactor integration customers handler by @lovrocolic in #2196
- fix(integrations): Fix creating an invoice when there's http error by @ivannovosad in #2205
- feat(lib): Move VersionService to LagoUtils and initialize at boot time by @julienbourdeau in #2204
- Feat xero creditnotes services by @ivannovosad in #2195
- feat(dunning): Add Resolvers::Analytics::OverdueBalancesResolver by @rsempe in #2201
- feat(export invoices): Extend InvoicesQuery with new filters by @ancorcruz in #2206
- misc: Update rails to v7.1.3 by @vincent-pochet in #2176
- misc: Enable yjit based on env variable by @rsempe in #2212
- bug: revert full sync for netsuite by @ansmonjol in #2214
- feat(fees): Create Recurring non invoiceable fees on billing day by @julienbourdeau in #2185
- misc: Add unique lock on refresh jobs by @rsempe in #2215
- misc: Do not raise ActiveJob::Uniqueness::JobNotUnique by @rsempe in #2216
- feat(export invoices): Add DataExport model by @ancorcruz in #2210
- misc: Upgrade Sentry gem and enable version tracking by @vincent-pochet in #2213
- feat(export invoices): Add GraphQL invoices filters by @ancorcruz in #2218
- feat (integration-customers): add external account id to the anrok GQL response by @lovrocolic in #2209
- hotfix(sentry): Use fallback for version number by @vincent-pochet in #2221
- fix (integrations-customers): scope integration customer under correct organization by @lovrocolic in #2223
New Contributors
- @cstar made their first contribution in #2161
- @ancorcruz made their first contribution in #2169
- @mertindervish made their first contribution in #2192
Full Changelog: v1.5.1...v1.6.0