Releases: getlago/lago-api
Releases · getlago/lago-api
v0.49.1-beta
What's Changed
- fix: Fix charge boundaries for terminated subscription by @vincent-pochet in #1370
- fix(stripe): Prevent issue when refreshing payment method on deleted stripe customer by @vincent-pochet in #1371
- fix(webhook): Handle Net::OpenTimeout in auto-retry by @vincent-pochet in #1372
- fix(stripe): Retry not found payment intent update by @vincent-pochet in #1373
- misc(sidekiq): Add sidekiq events worker by @jdenquin in #1368
- fix(stripe): Turn off duplicated payement errors when retries from webhooks by @vincent-pochet in #1374
- feat(customer): expose external salesforce id by @sarkissianraffi in #1375
- fix(current_usage): fix charge serializer id by @jdenquin in #1376
- fix(current_usage): Fix billable metric id by @jdenquin in #1377
- fix(past-usage): Fix for invoiceable payd in advance charges by @vincent-pochet in #1378
New Contributors
- @sarkissianraffi made their first contribution in #1375
Full Changelog: v0.49.0-beta...v0.49.1-beta
v0.49.0-beta
What's Changed
- misc: Add config for a test database on API by @vincent-pochet in #1343
- feat(override-plan): Remove parent_id from graphql by @rsempe in #1321
- feat(override-plan): Take into consideration children for customers_count by @rsempe in #1338
- feat(override-plan): Ability to update plan overrides by @rsempe in #1340
- feat(override-plan): Discard plan and children by @rsempe in #1342
- feat(override-plan): Include overridden plans to plan's counters by @rsempe in #1345
- misc: Refact aggregation query to speedup field presence check by @vincent-pochet in #1344
- feat(override-plan): Minor fixes by @rsempe in #1347
- misc: Add granular caching for current usage by @vincent-pochet in #1346
- misc(events): Improve DB schema for better performances by @vincent-pochet in #1337
- misc(version): Update newrelic-rpm to 9.5.0 by @jdenquin in #1348
- misc(version): Update sentry by @jdenquin in #1350
- fix(event): Error webhook delivery by @vincent-pochet in #1353
- feat(event): Add logical separation between application and events databases by @vincent-pochet in #1349
- feat(event): Refact event queries by @vincent-pochet in #1352
- feat(event): Add external customer_id and external_subscription_id by @vincent-pochet in #1354
- feat(past_usage): Add base query to fetch past usage by @vincent-pochet in #1359
- fix: update draft invoice net_payment_term on customer update by @ansmonjol in #1358
- feat(event): Add migration to fill external ids by @vincent-pochet in #1355
- feat(past_usage): Refact current usage by @vincent-pochet in #1361
- feat(past_usage): Add route to fetch past usage by @vincent-pochet in #1362
- refactor(plan): expose parent object instead of only it's ID by @ansmonjol in #1367
- hotfix: Subscription upgrade by @vincent-pochet in #1366
- feat(invoice display name fees): Add custom invoice display names by @ivannovosad in #1310
Full Changelog: v0.48.0-beta...v0.49.0-beta
v0.48.0-beta
What's Changed
- chore(deps): bump sidekiq from 7.0.8 to 7.1.3 by @dependabot in #1315
- feat(weighted-sum): Update invoice PDF template by @vincent-pochet in #1301
- feat(weighted-sum): Finalize the feature by @vincent-pochet in #1316
- feat(invoice_display_name_plan): Add invoice display name to plan by @ivannovosad in #1298
- fix(stripe): Prevent new payment attempt when invoice is not in the right status by @vincent-pochet in #1317
- fix (charges): refactor paid in advance processing by @lovrocolic in #1314
- fix(customer): prevent updating provider customer on partial update by @vincent-pochet in #1318
- fix(coupon): Add missing coupons#terminated_at in serializer by @vincent-pochet in #1319
- feat(event): Improve indexes to speed up current usage computation by @vincent-pochet in #1320
- feat(override-plan): Services for overriding a plan by @rsempe in #1323
- misc: Add GIN index to events properties by @vincent-pochet in #1325
- feat(override-plan): Add GET single subscription endpoint by @rsempe in #1324
- misc: Add concurrently algo to new indexes by @vincent-pochet in #1326
- fix: Remove duplicated attribute on billable metric serializer by @vincent-pochet in #1327
- fix: Run migration without a transaction by @rsempe in #1328
- fix: Fix true_up_fee template by @vincent-pochet in #1331
- fix: concurent nmigrations should not be transactional by @vincent-pochet in #1332
- fix: migration fix by @vincent-pochet in #1333
- feat(weighted-sum): Fix aggregation computation by @vincent-pochet in #1322
- fix: Ignore unexpected stripe webhook messages by @vincent-pochet in #1330
- feat(override-plan): Ability to override plan on API subscription creation by @rsempe in #1329
- misc: Rename customer_count to customers_count on GraphQL by @rsempe in #1334
- misc: Prevent duplicated events#transaction_id error from poluting the dead job queue by @vincent-pochet in #1335
- misc: Speedup subscription activation by @vincent-pochet in #1336
- fix (invoice): bill correctly termination on billing day case by @lovrocolic in #1308
- feat (subscriptions): update termination alert webhook by @lovrocolic in #1341
Full Changelog: v0.47.0-beta...v0.48.0-beta
v0.47.0-beta
What's Changed
- misc: Add sidekiq config to increase max dead job limit by @vincent-pochet in #1284
- feat(add_on): Remove routes and services for applied add on creation by @vincent-pochet in #1282
- fix(subscription): Activate should take care of past pending subscription and timezone by @vincent-pochet in #1285
- misc(grpc): Update grpc token by @jdenquin in #1286
- misc: remove Segment logs by @vincent-pochet in #1288
- misc: Add versioning on PaymentProvider and PaymentProviderCustomer by @vincent-pochet in #1289
- feat(group): Ability to edit groups for a billable metric by @rsempe in #1278
- feat(group): Refresh draft invoices on groups edition by @rsempe in #1281
- misc(ci): Update docker compose ci conf by @jdenquin in #1294
- misc(ci): Use docker network by @jdenquin in #1295
- feat (subscriptions): add ending_at field add support it in API context by @lovrocolic in #1272
- feat (localization): fix translations for italian by @binc0 in #1300
- feat(weighted-sum): Add new aggregation type to billable metric by @vincent-pochet in #1290
- feat(weighted-sum): Expose new fields into GraphQL by @vincent-pochet in #1291
- feat(weighted-sum): Expose weighted interval in API by @vincent-pochet in #1303
- feat(weighted-sum): Add charge validation rule preventing pay_in_advance by @vincent-pochet in #1302
- feat (billable metrics): Add setup for latest aggregation BM by @lovrocolic in #1293
- misc: Add unique index to applied taxes tables by @rsempe in #1304
- fix(invoice): Align fees#item and credits#item seializers by @vincent-pochet in #1305
- fix (billble metrics): fix aggregation type order by @lovrocolic in #1306
- fix graphql schema by @lovrocolic in #1307
- misc(fix-pronto) Pin rugged gem version to 1.6.3 by @ivannovosad in #1309
- feat(events): Accept milliseconds precision timestamps for event creation by @vincent-pochet in #1287
- feat(weighted-sum): Add aggregation logic by @vincent-pochet in #1292
- fix(groups): Update logic for groups in pay in advance scenario by @lovrocolic in #1311
- feat(weighted-sum): Add missing weighted interval for BM update in GraphQL by @vincent-pochet in #1312
- fix(tax): Taxes should not be reapplied to fee if it already has taxes by @vincent-pochet in #1313
New Contributors
Full Changelog: v0.46.1-beta...v0.47.0-beta
v0.46.1-beta
What's Changed
- fix: update scope for count unique prorated charges with groups by @lovrocolic in #1273
- misc: Do not enqueue Invoices::RefreshDraftInvoices without arguments by @rsempe in #1275
- misc: Delete credit note items on fee by @rsempe in #1276
- feat(group): Remove status from groups by @rsempe in #1279
Full Changelog: v0.46.0-beta...v0.46.1-beta
v0.46.0-beta
What's Changed
- feat(charge): Add per transaction min/max amounts to GraphQL percentage charge model fields by @vincent-pochet in #1258
- feat(billable metric): Refact aggregator initializers by @vincent-pochet in #1261
- feat(charge): Add validation for min/max per transaction amount on percentage charge model by @vincent-pochet in #1257
- feat(webhooks): Add subscription.started webhook by @jdenquin in #1267
- feat (localization): add translations for italian by @lovrocolic in #1265
- fix: retry failed jobs due to ActiveJob::DeserializationError by @lovrocolic in #1268
- fix (invoices): update condition when to bill charges by @lovrocolic in #1266
- fix: update quarterly interval boundaries calculation for current usage case by @lovrocolic in #1270
- feat(group): Populate default properties on existing charges by @rsempe in #1251
- misc: Remove some TODO on customer usage cache management by @vincent-pochet in #1271
- feat(charge): Add per_event_aggregation to aggregators by @vincent-pochet in #1264
- feat(charge): Apply per transaction min/max in percentage charge model by @vincent-pochet in #1269
Full Changelog: v0.45.0-beta...v0.46.0-beta
v0.45.0-beta
What's Changed
- feat(charge): Plug graduated percentage into charge computation by @vincent-pochet in #1249
- chore(deps): bump puma from 5.6.4 to 5.6.7 by @dependabot in #1256
- misc(rails): Update Rails to 7.0.7 by @jdenquin in #1259
- feat(organizations): Add gRPC token endpoint by @jdenquin in #1263
Full Changelog: v0.44.1-beta...v0.45.0-beta
v0.44.1-beta
What's Changed
- fix (invoice): add charges in advance interval by @lovrocolic in #1243
- feat(charge): Allow creation of graduated percentage charges by @vincent-pochet in #1238
- feat(subscriptions): integrate quarterly billing period by @lovrocolic in #1235
- fix(timezone): Correct calculation for true-up fee with timezone by @rsempe in #1246
- bug(error) fix typo in error name by @ansmonjol in #1247
- feat(charge): Graduated charge model logic by @vincent-pochet in #1245
- feat(charge): GrapgQL types for graduated percentage by @vincent-pochet in #1248
- feat(customers): Add external_salesforce_id by @jdenquin in #1250
- misc(cves): Update to ransack 4.0.0 by @jdenquin in #1252
- fix: Quarterly anniversary current usage should take care of the month by @vincent-pochet in #1253
- fix: fees coupon amount migration by @vincent-pochet in #1254
Full Changelog: v0.44.0-beta...v0.44.1-beta
v0.44.0-beta
What's Changed
- feat (subscriptions): add quarterly dates service by @lovrocolic in #1226
- feat(tax): Ability to override taxes on one-off creation by @rsempe in #1230
- feat(plans): add destroy dependent on children by @jdenquin in #1236
- fix (migration): fix failing migration by @lovrocolic in #1237
- feat(charge): Add graduated percentage charge model validation by @vincent-pochet in #1234
- feat(tax): Populate missing pro-rated coupon taxes amounts by @rsempe in #1232
- fix: Migration precise coupons amount cents by @rsempe in #1239
- misc: Recurring count migration is missing ruby extenssion by @vincent-pochet in #1240
- fix(stripe): Add new filter for missing stripe payment webhooks by @vincent-pochet in #1241
- fix(tax): Last fix for fees#precise_coupons_amount_cents migration by @vincent-pochet in #1242
Full Changelog: v0.43.0-beta...v0.44.0-beta
v0.43.0-beta
What's Changed
- fix(invoice): Ensure mailer can be sent for deleted charges/plans by @vincent-pochet in #1219
- fix(webhook): Handle auto retry with EOFError by @vincent-pochet in #1220
- feat(tax): Add taxes to graphql add_ons create/update by @rsempe in #1221
- misc: Rename Invoices::OneOffService to Invoices::CreateService by @rsempe in #1222
- fix(stripe): handle processing payment status by @vincent-pochet in #1223
- feat(tax): Apply taxes to add on fees by @rsempe in #1224
- fix(invoice): revert changes for payment_due_date on templates by @vincent-pochet in #1225
- feat(webhooks): Add HMAC signature by @jdenquin in #1186
- fix(subscription): Charge to date boundaries for yearly plan by @vincent-pochet in #1227
- Migrate payment due date by @vincent-pochet in #1229
- feat: update net payment term on customer and organization by @ansmonjol in #1205
- fix (charges): fix condition that determines when to bill charges by @lovrocolic in #1228
- fix(stripe): Add new filter for missing stripe customer in strip webhooks by @vincent-pochet in #1231
Full Changelog: v0.42.0-beta...v0.43.0-beta