Releases: getlago/lago-api
Releases · getlago/lago-api
v0.57.1-beta
What's Changed
- fix: Add Net::HTTPBadResponse in the webhook error retry list by @vincent-pochet in #1714
- Syncronize with db/schema.rb generated by rails db:migrate by @dorianmariecom in #1718
- Add arm64-darwin-23 platform to Gemfile.lock by @dorianmariecom in #1716
- feat(minimum-spending): Add graphql commitment type by @ivannovosad in #1640
- fix(stripe): Handle validation error in PaymentProviders::Stripe::HandleEventJob by @vincent-pochet in #1722
- misc: Add ruby-lsp-rails in the gemfile by @vincent-pochet in #1723
- Fix flaky test for invoice finalize service by @dorianmariecom in #1720
- require a SEGMENT_WRITE_KEY by @dorianmariecom in #1717
- fix(groupe-by): Ensure all groups appears on invoice by @vincent-pochet in #1724
- fix(webhook): retry Errno::EPIPE errors by @vincent-pochet in #1725
- feat(filter): Discard filter and its values by @vincent-pochet in #1727
- misc(currency) add JOD by @ansmonjol in #1729
- build(deps): bump rails from 7.0.8 to 7.0.8.1 by @dependabot in #1731
- fix (credit-notes): handle NaN issue in draft invoice refresh part by @lovrocolic in #1733
- feat(unique-count): Refactor UniqueCountService and event ingestion by @vincent-pochet in #1709
- feat(edit-plan-amount-cents): Allow editing plan amount cents by @lovrocolic in #1726
- feat(filter): Add validations for charge filters and values by @vincent-pochet in #1728
- feat(filter): Add creation and update logic for charge filters by @vincent-pochet in #1730
- fix(credit-notes): recalculate credit note item upon draft invoice refresh by @lovrocolic in #1734
- fix: Deliver email with SendEmailJob by @vincent-pochet in #1736
- misc: fix flaky test by @lovrocolic in #1737
New Contributors
- @dorianmariecom made their first contribution in #1718
Full Changelog: v0.57.0-beta...v0.57.1-beta
v0.57.0-beta
What's Changed
- feat(unique-count): Implement basic unique count for PostgresStore by @rsempe in #1692
- misc: Fix typo sanitized_property_name by @rsempe in #1693
- feat(unique-count): Add prorated unique count method by @rsempe in #1694
- feat(unique-count): Add unique count to ClickhouseStore by @vincent-pochet in #1697
- feat(unique-count): Add grouped unique count to PostgresStore by @rsempe in #1696
- feat(unique-count): Add grouped prorated unique count to PostgresStore by @rsempe in #1698
- feat(unique-count): Add prorated unique count to ClickhouseStore by @vincent-pochet in #1700
- feat(unique-count): Add grouped_unique_count to ClickhouseStore by @rsempe in #1701
- fix (charge models): adjust volume charge model logic by @lovrocolic in #1699
- feat(unique-count): Add grouped_prorated_unique_count to ClickhouseStore by @rsempe in #1702
- feat(unique-count): Prorated unique count queries by @vincent-pochet in #1704
- fix (jobs-inside-transaction): add setup for after commit everywhere and fix customer.vies_check webhook by @lovrocolic in #1703
- feat (plan-changes): Adjust boundaries upon subscription upgrade by @lovrocolic in #1695
- fix(fees): Fix creating yearly in-arrears subscription fee by @ivannovosad in #1707
- feat(unique_count): Reafact queries and add prorated breakdown by @vincent-pochet in #1708
- fix: Updating plan with new charge by @rsempe in #1706
- feat(unique_count): Add active_unique_property to event stores by @vincent-pochet in #1710
- fix(subscriptions): fix edit subscription attached to parent plan by @lovrocolic in #1711
- fix (invoices): group invoices upon downgrade and upgrade by @lovrocolic in #1712
- fix: Fix a small edge case with datetime diff computation by @vincent-pochet in #1713
Full Changelog: v0.56.0-beta...v0.57.0-beta
v0.56.0-beta
What's Changed
- feat(payment-url): generate payment url for stripe and adyen by @lovrocolic in #1628
- feat(grouped_by): Add support for unique count by @vincent-pochet in #1668
- build(deps): bump nokogiri from 1.15.4 to 1.16.2 by @dependabot in #1673
- test(subscriptions): more list-subscriptions tests by @stephentgrammer in #1663
- fix (invoice-number): use organization timezone in per org numbering by @lovrocolic in #1671
- fix(one-off-invoices): support string as well for one-off units by @lovrocolic in #1675
- feat(grouped-by): Fix unique count aggregation by @vincent-pochet in #1679
- fix(clickhouse): Fix clickhouse strings by @jdenquin in #1680
- fix: Group scope for clickhouse store by @rsempe in #1681
- fix(invoice-pdf): handle invoice pdf template issues by @lovrocolic in #1677
- feat(grouped-by): Prorated unique count aggregation by @vincent-pochet in #1670
- feat(minimum-spending): Add support for plan overrides by @ivannovosad in #1629
- feat(grouped-by): Quantified event processing after event creation by @vincent-pochet in #1672
- fix(customers): Fix provider emails by @jdenquin in #1682
- fix(invoice-pdf): add new PDF template updates by @lovrocolic in #1684
- misc(html-invoices): Add route for showing invoices as html by @ivannovosad in #1667
- misc(puma): Upgrade to 6.x by @jdenquin in #1683
- fix: add guard operators to prevent fail if email is not defined by @lovrocolic in #1686
- fix(currency): Add missing KWD currency by @vincent-pochet in #1687
- feat(grouped_by): Filter charge models properties by @vincent-pochet in #1678
- feat(grouped-by): Cleanup and fixes to finalize the feature by @vincent-pochet in #1685
- fix(weighted-sum): Turn kafka timestamp into a string by @vincent-pochet in #1690
- misc: small refactoring regarding caching and event stores by @vincent-pochet in #1691
- fix(graphql): Fix potential travers on memberships by @jdenquin in #1688
- fix(payment): Fix Adyen invoice payment by @ivannovosad in #1689
New Contributors
- @stephentgrammer made their first contribution in #1663
Full Changelog: v0.55.0-beta...v0.56.0-beta
v0.55.0-beta
What's Changed
- Update Dockerfile to fix health check reliant on curl binary by @zeeshanmuhammad in #1621
- feat(group-by): handle group for in pay in advance charges by @vincent-pochet in #1620
- feat(filter): Add grouped_by logic on events aggregation by @vincent-pochet in #1624
- feat(group-by): Change grouped_by type for fees and cached_aggregation by @vincent-pochet in #1626
- fix: decrease adyen chekout url expiration time by @lovrocolic in #1627
- feat(minimum-spending): Add controllers for plan commitments by @ivannovosad in #1622
- feat(grouped-by) Refact AdjustedFees for grouped by by @vincent-pochet in #1630
- fix(clickhouse): Refact clickhouse grouped_max to prevent flaky tests by @vincent-pochet in #1631
- feat(clickhouse): Configure Kafka topic with env var by @jdenquin in #1632
- fix(payment-methods): Fix updating payment provider payment methods by @ivannovosad in #1633
- fix(grouped-by): Current usage for grouped charges by @vincent-pochet in #1636
- feat(grouped-by) Adapt sum aggregation to return grouped aggregation by @vincent-pochet in #1634
- feat(grouped-by): Current usage for in advance aggregation by @vincent-pochet in #1637
- feat(grouped-by): Add grouped count aggregation by @vincent-pochet in #1638
- feat(grouped-by): Add grouped prorated sum logic by @vincent-pochet in #1639
- feat(grouped-by): Adapt max aggregation to return grouped aggregation by @vincent-pochet in #1641
- feat(grouped-by): Adapt latest aggregation to return grouped aggregation by @vincent-pochet in #1642
- fix(grouped-by): GraphQL current usage was invalid by @vincent-pochet in #1645
- fix(event): Add missing organization scope to event stores by @vincent-pochet in #1647
- feat(clickhouse): Clickhouse migration paths by @jdenquin in #1646
- fix(grouped-by): Fix usage API when a group is set by @vincent-pochet in #1650
- Add database check by @odnobit in #1643
- feat(grouped-by): Add full logic on weighted sum aggregation by @vincent-pochet in #1649
- misc: Add started_at value to the default subscription factory by @rsempe in #1651
- feat(organizations): Add Show endpoint by @jdenquin in #1654
- feat (document-template): Adjust credit note and invoice templates by @lovrocolic in #1653
- misc: add scenario that checks boundaries in February for leap year by @lovrocolic in #1655
- feat(minimum-spending): Calculate minimum commitment amount cents by @ivannovosad in #1648
- fix(grouped-by): Current usage with in advance aggregation by @vincent-pochet in #1652
- feat(grouped-by): Basic refactoring for unique count aggregation by @vincent-pochet in #1656
- misc(ruby): update to 3.2.3 by @jdenquin in #1657
- feat(events) Modify events batch length limit by @odnobit in #1659
- fix: update scenario billing specs by @lovrocolic in #1658
- fix: update grouped_by display helper by @lovrocolic in #1661
- feat(prepaid-credits): Add service for refreshing wallets by @rsempe in #1618
- fix(grouped-by): temporary fallback for unique-count until it is finalized by @vincent-pochet in #1662
- misc: update ruby-version file by @lovrocolic in #1660
- fix: remove zero units fees from PDF template by @lovrocolic in #1664
- fix: Set organization_sequential_id only on invoice creation by @rsempe in #1665
- fix: Ensure subscription activation clock job cannot be enqueued twice by @vincent-pochet in #1666
New Contributors
- @zeeshanmuhammad made their first contribution in #1621
- @odnobit made their first contribution in #1643
Full Changelog: v0.54.2-beta...v0.55.0-beta
v0.54.2-beta
What's Changed
- feat(edit-draft-invoice): Apply adjusted fee on subscription fee by @lovrocolic in #1574
- feat(edit-draft-invoice): Apply adjusted fee on charge fee by @lovrocolic in #1586
- feat (edit-draft-invoice): add adjusted fee bool field in fee graphql object by @lovrocolic in #1587
- misc: Clean migration data task by @rsempe in #1623
Full Changelog: v0.54.1-beta...v0.54.2-beta
v0.54.1-beta
What's Changed
- misc(configuration): configure log level by @jdenquin in #1614
- fix: Initial migration is broken with missing task by @vincent-pochet in #1615
- feat(minimum-spending): Add serializers by @ivannovosad in #1613
- feat(filter): Discard filters with billable metrics by @vincent-pochet in #1608
- feat(filter): Handle billable metric filters in GraphQL and API by @vincent-pochet in #1609
- feat(group-by): add grouped_by_value logic to event stores by @vincent-pochet in #1617
- feat(group-by): Expose grouped_by for fees in GraphQL API by @vincent-pochet in #1616
- feat(filter): Create or update service for billable metric filters by @vincent-pochet in #1606
Full Changelog: v0.54.0-beta...v0.54.1-beta
v0.54.0-beta
What's Changed
- fix(invoices): Fix money rounding by @jdenquin in #1577
- fix: Prevent from having NaN precise_coupons_amount_cents by @rsempe in #1578
- fix(charge-usage): Fix sorting by group name by @ivannovosad in #1579
- feat(edit-draft-invoice): add adjusted fee destroy mutation by @lovrocolic in #1573
- feat(edit-draft-invoice): add group_id to adjusted fees table by @lovrocolic in #1581
- fix(invoice): Quarterly boundaries with anniversary on the 31st by @vincent-pochet in #1569
- misc: Remove unused code by @rsempe in #1582
- misc(bullet): Install bullet gem and fix some N+1 queries by @ivannovosad in #1584
- Make it possible to configure when subscription termination alert is sent by setting env var by @edwardmp in #1575
- misc: Add ready_to_be_refreshed to invoices by @rsempe in #1588
- fix: Migration should perform when starting the api by @vincent-pochet in #1589
- fix: Migration amount details rate by @rsempe in #1590
- build(deps): bump puma from 5.6.7 to 5.6.8 by @dependabot in #1591
- misc: refactor money with precision helper method by @lovrocolic in #1592
- fix(subscription): Add missing validation rule for billing time by @vincent-pochet in #1593
- feat(unit-price): Add unit price to prepaid credit fees by @rsempe in #1594
- feat(unit-price): Add unit price to pay in advance charge fees by @rsempe in #1595
- feat(unit-price) add amount_details attribute to Fee object by @ansmonjol in #1580
- misc: Improve clickhouse migration filter task by @vincent-pochet in #1596
- feat(unit-price): Update title for subscriptions on invocie template by @rsempe in #1599
- feat(psp-accounts): Connect several PSP accounts in Lago by @ivannovosad in #1527
- fix(credit-note-email): adapt mail delivery for credit note created by @lovrocolic in #1603
- feat(prepaid-credits): Add clock for refreshing wallets credits by @rsempe in #1602
- misc: Rename CustomerUsage#usage to CustomerUsage#call by @rsempe in #1604
- feat(filter): Add new models and relations by @vincent-pochet in #1600
- fix(analytics): Fix invoiced usage query by @ivannovosad in #1597
- feat(events): Batch Event endpoint by @jdenquin in #1598
- feat(minimum-spending): Add models by @ivannovosad in #1605
- fix(webhook): Fix payment provider webhook. by @ivannovosad in #1610
- fix(invoice-pdf): Refactor invoice PDF template by @lovrocolic in #1611
- feat(high-usage): Configure kafka topic by @jdenquin in #1612
Full Changelog: v0.53.3-beta...v0.54.0-beta
v0.53.3-beta
What's Changed
- feat(event): Plug invoice create generating invoice for in advance aggregation by @vincent-pochet in #1561
- feat(invoices): Do not send invoice when amount is zero by @jdenquin in #1559
- fix(invoice): Monthly boundaries with aniversary on the 31st by @vincent-pochet in #1567
- fix(taxes): Remove GB from EU taxes by @jdenquin in #1570
- feat (edit-draft-invoice): add adjusted fee mutation by @lovrocolic in #1568
- feat(stripe): do not mark invoice as failed when amount is too small by @jdenquin in #1571
- feat(taxes): Add EU VAT terms by @jdenquin in #1572
Full Changelog: v0.53.2-beta...v0.53.3-beta
v0.53.2-beta
What's Changed
- fix(webhooks): Handle Errno::ECONNREFUSED error class for retry by @vincent-pochet in #1562
- hotfix(invoice): Add missing return condition in BillPaidCreditJob by @vincent-pochet in #1564
- fix(webhooks): Handle OpenSSL::SSL::SSLError error class for retry by @vincent-pochet in #1563
- fix(unit-price): Fix true-up fees on pdf template by @rsempe in #1565
Full Changelog: v0.53.1-beta...v0.53.2-beta
v0.53.1-beta
What's Changed
- feat(event): Enable clickhouse per organization by @vincent-pochet in #1522
- feat(event): Add clickhouse sum aggregation by @vincent-pochet in #1492
- feat(billable-metric): Remove deprecated recurring_count_agg by @vincent-pochet in #1524
- misc(fee) expose description in type by @ansmonjol in #1529
- fix(stripe): Fix stripe update without payment provider by @ivannovosad in #1530
- feat(event): Weighted sum aggregation at clickhouse level by @vincent-pochet in #1511
- feat(unit-price): PDF invoice template version 4 by @rsempe in #1531
- fix(invoice): Finalize each invoice in a single job by @vincent-pochet in #1533
- fix(invoice): Do not update payment status of draft invoices by @ivannovosad in #1534
- misc: Minor changes on prepaid credit invoice template by @rsempe in #1535
- fix(event): Pay in advance with missing or invalid group by @vincent-pochet in #1536
- feat(taxes): Customer EU VAT autodetection by @jdenquin in #1532
- Fix in advance group events by @vincent-pochet in #1537
- feat(event): Use event stores for unique count aggregation by @vincent-pochet in #1517
- misc: Cleanup base aggregation service by @vincent-pochet in #1538
- fix(unit-price): Standard charge model with dimensions by @rsempe in #1541
- fix(invoice): Add missing unique index on invoice sequential ids by @vincent-pochet in #1542
- feat(taxes): Add Vies check webhook by @jdenquin in #1539
- misc: Enable clickhouse CI by @vincent-pochet in #1525
- Add ability to set Google Cloud Storage credentials file path by environment variable by @edwardmp in #1545
- fix: date intervals in invoice template and fee payload by @lovrocolic in #1540
- fix(invoice): Add missing unique index on invoice organization_sequential ids by @vincent-pochet in #1543
- feat(invoice): Add new generating status to invoices by @vincent-pochet in #1544
- feat(invoice): Add invoice create generating service by @vincent-pochet in #1546
- misc: generate organization sequential id only when this numbering type is selected by @lovrocolic in #1547
- fix(invoice): Fix specs with organization sequential id initial value by @vincent-pochet in #1549
- fix: revert invoice numbering per org fix by @lovrocolic in #1550
- fix: change logic for generating organization sequential id by @lovrocolic in #1551
- fix(plan): cancel pending subscription on destroy by @vincent-pochet in #1556
- feat(event): Plug invoice create generating invoice for in advance aggregation by @vincent-pochet in #1548
- feat(event): Use generating invoice service for prepaid credit invoices by @vincent-pochet in #1552
- feat(one-off-invoices): use new invoice generation service for creating one-off invoices by @lovrocolic in #1553
- fix(events): Negative event values should not be flagged as invalid by @vincent-pochet in #1555
- feat (invoices): add db changes for edit draft invoice feature by @lovrocolic in #1560
- fix: update index for organization_sequential_id by @lovrocolic in #1558
- feat(unit-price): Add rate to percentage amount details by @rsempe in #1557
Full Changelog: v0.53.0-beta...v0.53.1-beta