v1.27.1
getlago/lagov1.27.1May 13, 2025by jdenquin
AI Summary
Upgrades the Rails framework to 8.0.2 and implements extensive multi-tenancy improvements by adding organization_id references to various database tables.
Key Highlights
- Upgrade Rails version to 8.0.2
- Add organization_id to credits, invoices, customers, and other tables
- Add utils to push activity logs to Kafka
New Features
- Rails 8.0.2 upgrade
- Audit log Kafka utils
- Organization ID migrations
Full Release Notes
## API Changes * chore(organization): Add organization_id to credits table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3584 * misc: Upgrade Rails version to 8.0.2 by @ancorcruz in https://github.com/getlago/lago-api/pull/3358 * feat(audit_logs): Utils to push activity logs to kafka by @rsempe in https://github.com/getlago/lago-api/pull/3581 * fix(multientities): fulfil billing entities net_payment_term by @annvelents in https://github.com/getlago/lago-api/pull/3598 * Data API - Usages by @ivannovosad in https://github.com/getlago/lago-api/pull/3524 * chore(deps): bump rack-session from 2.1.0 to 2.1.1 by @dependabot in https://github.com/getlago/lago-api/pull/3607 * chore(deps): bump rack from 3.1.12 to 3.1.14 by @dependabot in https://github.com/getlago/lago-api/pull/3606 * feat(EUTax): retry Vies check until no error is returned by @nudded in https://github.com/getlago/lago-api/pull/3601 * fix: Output condition for populate organization_id jobs by @vincent-pochet in https://github.com/getlago/lago-api/pull/3608 * feat(Idempotency): Add values to error message by @nudded in https://github.com/getlago/lago-api/pull/3609 * fix: avoid failure with negative cache expiration by @vincent-pochet in https://github.com/getlago/lago-api/pull/3611 * fix(usages): Add billable_metric_code to usages resolver by @ivannovosad in https://github.com/getlago/lago-api/pull/3614 * Fix(multientities):do not set eu_tax_management if not provided by @annvelents in https://github.com/getlago/lago-api/pull/3603 * chore(organization): Add organization_id to credit_notes table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3587 * chore(organization): Add organization_id to customer_metadata table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3591 * chore(organization): Add organization_id to applied_invoice_custom_sections table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3588 * chore(organization): Add organization_id to applied_usage_thresholds table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3589 * feat(invoices): Add skip_payment params for One Off Invoice by @jdenquin in https://github.com/getlago/lago-api/pull/3586 * chore(organization): Add organization_id to billable_metric_filters table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3593 * chore(organization): Add organization_id to fees_taxes table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3594 * chore(organization): Add organization_id to invoices_payment_requests table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3596 * chore(organization): Add organization_id to invoice_metadata table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3597 * fix(wallets): add lock version to wallet transactions by @ancorcruz in https://github.com/getlago/lago-api/pull/3618 * Feat(multientities): payment generation switch to entity by @annvelents in https://github.com/getlago/lago-api/pull/3522 * fix: Fix organization_id migration job for fees_taxes table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3619 * fix(serializer): Dont serialize nil original_error by @julienbourdeau in https://github.com/getlago/lago-api/pull/3617 * misc: Bump ruby to 3.4.3 by @vincent-pochet in https://github.com/getlago/lago-api/pull/3595 * Feat(multientities): update invoice net term by @annvelents in https://github.com/getlago/lago-api/pull/3533 * chore(organization): Add organization_id to billing_entities_taxes table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3620 * feat(gql): add next_subscription attributes by @julienbourdeau in https://github.com/getlago/lago-api/pull/3627 * chore(organization): Add organization_id to credit_notes_taxes table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3621 * chore(organization): Add organization_id to customers_taxes table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3623 * chore(organization): Add organization_id to data_export_parts table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3624 * chore(organization): Add organization_id to dunning_campaign_thresholds table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3625 ## Front Changes * misc: show subscription table on loading by @ansmonjol in https://github.com/getlago/lago-front/pull/2170 * feat: Analytics - Invoices by @stephenlago99 in https://github.com/getlago/lago-front/pull/2171 * misc: add default cursor prompt by @ansmonjol in https://github.com/getlago/lago-front/pull/2173 * deps: fix some babel deps to fix CVE by @ansmonjol in https://github.com/getlago/lago-front/pull/2178 * misc: allow to re-connect a Xero connection from settings by @ansmonjol in https://github.com/getlago/lago-front/pull/2176 * bug: better invoice graph loading by @ansmonjol in https://github.com/getlago/lago-front/pull/2175 * misc: check avalara presence in one-off invoice form by @ansmonjol in https://github.com/getlago/lago-front/pull/2174 * chore(deps) Update dependency @types/lodash to v4.17.16 by @renovate in https://github.com/getlago/lago-front/pull/2180 * chore(deps) Update dependency @types/prismjs to v1.26.5 by @renovate in https://github.com/getlago/lago-front/pull/2181 * chore(deps) Update dependency @types/jest to v29.5.14 by @renovate in https://github.com/getlago/lago-front/pull/2179 * chore(deps) Update dependency autoprefixer to v10.4.21 by @renovate in https://github.com/getlago/lago-front/pull/2182 * chore(deps-major) Update dependency glob to v11 by @renovate in https://github.com/getlago/lago-front/pull/2188 * chore(deps-minor) Update testing-library monorepo by @renovate in https://github.com/getlago/lago-front/pull/2187 * chore(deps-minor) Update dependency @types/node to v22.15.17 by @renovate in https://github.com/getlago/lago-front/pull/2185 * chore(deps) Update dependency formik to v2.4.6 by @renovate in https://github.com/getlago/lago-front/pull/2183 * chore(deps) Update dependency prettier-plugin-tailwindcss to v0.6.11 by @renovate in https://github.com/getlago/lago-front/pull/2184 * chore(deps-major) Update peter-evans/repository-dispatch action to v3 by @renovate in https://github.com/getlago/lago-front/pull/2189 * chore(deps-minor) Update dependency typescript to v5.8.3 by @renovate in https://github.com/getlago/lago-front/pull/2186 * misc: migrate some styled components to tailwind by @ansmonjol in https://github.com/getlago/lago-front/pull/2190 * bug: use new attributes for subscription by @ansmonjol in https://github.com/getlago/lago-front/pull/2191 ## What's Changed * fix: ensure Redis healthcheck uses configured port by @andrebras in https://github.com/getlago/lago/pull/524 * misc(version): bump to v1.27.1 by @jdenquin in https://github.com/getlago/lago/pull/526 ## New Contributors * @andrebras made their first contribution in https://github.com/getlago/lago/pull/524 **Full Changelog**: https://github.com/getlago/lago/compare/v1.27.0...v1.27.1