v1.1.1

getlago/lagov1.1.1Apr 8, 2024by jdenquin

AI Summary

Focused on observability and billing logic improvements, this release introduces OpenTelemetry for monitoring, automatic topup for prepaid credits, and a dedicated service for handling free trial billing.

Key Highlights

  • Added OpenTelemetry observability support
  • Automatic topup for prepaid credit
  • Subscription trial period logic
  • Payment dispute webhooks
  • Deprecation of QuantifiedEvents

New Features

  • OpenTelemetry
  • Prepaid topup
  • Trial billing
  • Disputes
  • Observability

Full Release Notes

# API Changes

* fix(prepaid-credit): Automatic topup without any usage by @rsempe in https://github.com/getlago/lago-api/pull/1816
* misc(observability): Add OpenTelemetry support by @jdenquin in https://github.com/getlago/lago-api/pull/1817
* feat(model): Introduce Subscription.in_trial_period? by @julienbourdeau in https://github.com/getlago/lago-api/pull/1820
* feat(disputes): Add dispute columns to invoices by @ivannovosad in https://github.com/getlago/lago-api/pull/1818
* feat(disputes): Add payment_dispute_lost_at to analytics queries by @ivannovosad in https://github.com/getlago/lago-api/pull/1822
* feat(disputes): Add route, controller action and service for lost disputes by @ivannovosad in https://github.com/getlago/lago-api/pull/1823
* misc: Prevent duplications of at_time_zone methods by @rsempe in https://github.com/getlago/lago-api/pull/1827
* feat(trial): Introduce Subscriptions::FreeTrialBillingService by @julienbourdeau in https://github.com/getlago/lago-api/pull/1821
* misc: Extract pending subscription factory into a trait by @rsempe in https://github.com/getlago/lago-api/pull/1830
* feat(disputes): Add graphql mutation for lost disputes by @ivannovosad in https://github.com/getlago/lago-api/pull/1828
* misc(unique-count): Remove deprecated QuantifiedEvents by @vincent-pochet in https://github.com/getlago/lago-api/pull/1825
* feat(filter): Handle adjusted fees and improve ignored filters by @vincent-pochet in https://github.com/getlago/lago-api/pull/1831
* feat(disputes): Add payment_dispute_lost webhook by @ivannovosad in https://github.com/getlago/lago-api/pull/1832
* feat(filter): GraphQL and BillableMetricFilter improvements by @vincent-pochet in https://github.com/getlago/lago-api/pull/1833
* misc(sidekiq): use JSON Sidekiq Logger by @jdenquin in https://github.com/getlago/lago-api/pull/1826
* fix: allow display name edition for all types of fees in draft invoice by @lovrocolic in https://github.com/getlago/lago-api/pull/1837
* chore(env): define ActiveRecord encryption config by @julienbourdeau in https://github.com/getlago/lago-api/pull/1839
* poc(billing): Refactor first invoice when pay plan.in_advance by @julienbourdeau in https://github.com/getlago/lago-api/pull/1836
* fix(invoice): prevent NaN error while refreshing invoice by @lovrocolic in https://github.com/getlago/lago-api/pull/1841
* fix(invoices): Fix boundaries when in advance anniversary by @vincent-pochet in https://github.com/getlago/lago-api/pull/1840
* fix(grace-period): Avoid multiple finalize call when grace period is the same by @jdenquin in https://github.com/getlago/lago-api/pull/1843
* feat (integrations): add base model and db setup for integrations by @lovrocolic in https://github.com/getlago/lago-api/pull/1842
* fix(customer-editable): Fix Customer#editable? by @ivannovosad in https://github.com/getlago/lago-api/pull/1844
* feat(filter): last mergeable changes before release by @vincent-pochet in https://github.com/getlago/lago-api/pull/1848
* feat(accounting-integrations): add support for integrations graphql queries by @lovrocolic in https://github.com/getlago/lago-api/pull/1849

# Front Changes

* chore(deps) Update dependency babel-loader to v9.1.3 by @renovate in https://github.com/getlago/lago-front/pull/1449
* chore(deps-major) Update typescript-eslint monorepo to v7 (major) by @renovate in https://github.com/getlago/lago-front/pull/1450
* chore(deps) Update dependency @testing-library/dom to v9.3.4 by @renovate in https://github.com/getlago/lago-front/pull/1447
* chore(deps) Update dependency @testing-library/user-event to v14.5.2 by @renovate in https://github.com/getlago/lago-front/pull/1448
* chore(deps-minor) Update sentry-javascript monorepo to v7.108.0 by @renovate in https://github.com/getlago/lago-front/pull/1451
* chore: copy fix and udpate by @ansmonjol in https://github.com/getlago/lago-front/pull/1443
* chore(deps) Update dependency @types/jsonwebtoken to v9.0.6 by @renovate in https://github.com/getlago/lago-front/pull/1457
* chore(deps) Update dependency @types/jest to v29.5.12 by @renovate in https://github.com/getlago/lago-front/pull/1456
* chore(deps-minor) Update dependency @dittowords/cli to v4.4.1 by @renovate in https://github.com/getlago/lago-front/pull/1312
* chore(deps-minor) Update typescript-eslint monorepo to v7.4.0 by @renovate in https://github.com/getlago/lago-front/pull/1458
* External contribution by @ansmonjol in https://github.com/getlago/lago-front/pull/1455

**Full Changelog**: https://github.com/getlago/lago/compare/v1.1.0...v1.1.1