Releases: getlago/lago-api
Releases · getlago/lago-api
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
v1.5.1
What's Changed
- fest(accounting-integrations): enable integration customers calls by @lovrocolic in #2054
- feat(integrations): Trigger invoices and sales orders syncs by @ivannovosad in #2050
- feat(integrations): Trigger credit notes sync by @ivannovosad in #2097
- feat(integrations): Trigger payments sync by @ivannovosad in #2123
- chore(deps): bump actionpack from 7.0.8.1 to 7.0.8.4 by @dependabot in #2131
- misc: Try to speed up group to filter migration by @vincent-pochet in #2130
- Reapply "misc: Add scheduler monitoring for sentry if enabled" (#2112) by @vincent-pochet in #2129
- feat(billing): Add billing_at arg to BillingService by @julienbourdeau in #2128
- fix(stripe): Add more ignore invoice not found error when in test mode by @vincent-pochet in #2137
- fix(service): Ignore current_user if it's not an instance of User by @julienbourdeau in #2134
- feat(xero): Add models by @ivannovosad in #2138
- chore(spec): Use
awesome_print
to debug tests by @julienbourdeau in #2140 - chore(invoice): Rename
Invoices::CreateService
toInvoices:CreateOneOffService
by @julienbourdeau in #2141 - feat(tax-integration): Add base logic for anrok customer and mapping by @lovrocolic in #2135
- fix(filters): Fix deleting filters by @ivannovosad in #2146
- feat(xero): Add integration services by @ivannovosad in #2142
- Revert "Reapply "misc: Add scheduler monitoring for sentry if enabled" (#2112) (#2129)" by @vincent-pochet in #2148
- feat(events): Refactor PayInAdvance Billable Metric validation by @julienbourdeau in #2143
Full Changelog: v1.5.0...v1.5.1
v1.5.0
What's Changed
- feat (tax-integrations): add anrok graphql type by @lovrocolic in #2102
- fix(integrations): Fix has_mappings_configured in netsuite GraphQL type by @ivannovosad in #2101
- fix(integrations): Add external_integration_id to CreditNote GraphQL type by @ivannovosad in #2104
- misc: Add a task to soft remove duplicated filters by @vincent-pochet in #2103
- feat (tax-integrations): add support for anrok create mutation by @lovrocolic in #2105
- fix(integrations): Add external_integration_id method to credit note … by @ivannovosad in #2106
- feat(tax-integrations): add GQL support for updating anrok connection by @lovrocolic in #2110
- misc: Enable TrailingCommaInArguments rubocop rule by @rsempe in #2108
- misc: Add scheduler monitoring for sentry if enabled by @vincent-pochet in #2109
- fix(pdf): Add read timeout for PDF service calls by @jdenquin in #2111
- Revert "misc: Add scheduler monitoring for sentry if enabled" by @jdenquin in #2112
- fix(pdf) : Pdf read timeout on multipart calls by @jdenquin in #2113
- fix: Rerun QuantifiedEvent migration into CachedAggregation by @vincent-pochet in #2114
- fix: Quantified Event migration by @vincent-pochet in #2115
- fix(tests): Clear enqueued jobs before each test run by @brunomiguelpinto in #2116
- feat(fees): Add billing_at arg to CreatePayInAdvance flow by @julienbourdeau in #2087
- feat(wallet): Add granted and paid credits on recurring transaction rule by @rsempe in #2065
- fix: Add migration to recompute weighted sum cached aggregation by @vincent-pochet in #2118
- fix(gql): Add credit note filter on query by @julienbourdeau in #2120
- fix(rbac): Adjust permissions by @julienbourdeau in #2107
- feat(integrations): Add should_sync_payment? to Payment by @ivannovosad in #2117
- feat(integrations): Add sync payment service by @ivannovosad in #2119
- feat(wallet): Extract wallet threshold top up by @rsempe in #2091
- feat(integrations): Sync payments job by @ivannovosad in #2122
- fix(stripe): Ignore invoice not found error when in test mode by @vincent-pochet in #2124
- fix(integrations): Fix payments sync when the invoice is not synced yet by @ivannovosad in #2125
- misc: Retry email jobs on Net::ReadTimeout error by @vincent-pochet in #2126
Full Changelog: v1.4.0...v1.5.0