v1.19.1

getlago/lagov1.19.1Jan 24, 2025by annvelents

AI Summary

This release focuses on invoice preview capabilities, self-billed invoice features, and updates the frontend to a secure version of Vite.

Key Highlights

  • Added invoice preview context service
  • Added taxes to recurring fees
  • Fixed invoice filtering by metadata
  • Updated Vite to v6.0.9 for security
  • Added unique index on event transaction ID

New Features

  • Invoice preview context service
  • Taxes for recurring fees
  • Vite security update

Full Release Notes

## What's Changed
* misc(docker): Uses migrate service instead of api by @jdenquin in https://github.com/getlago/lago/pull/428
* fix: change codegen api path by @brunomiguelpinto in https://github.com/getlago/lago/pull/454

## Back Changes
* chore(fees): Add unique index on event transaction id by @jdenquin in https://github.com/getlago/lago-api/pull/3079
* Feat(revshare): self billed invoices numbering by @annvelents in https://github.com/getlago/lago-api/pull/3078
* Fix: add validation on transaction_metadata type for recurring transaction rules by @annvelents in https://github.com/getlago/lago-api/pull/3087
* feat(revshare): self billed invoice pdf/html template by @ancorcruz in https://github.com/getlago/lago-api/pull/3089
* feat(revshare): missing bits of the feature... by @ancorcruz in https://github.com/getlago/lago-api/pull/3090
* Add ability to filter invoice by absence of metadata by @floganz in https://github.com/getlago/lago-api/pull/3082
* fix: adapt nango status code checks by @lovrocolic in https://github.com/getlago/lago-api/pull/3093
* feat(invoice-preview): Add invoices preview context service by @floganz in https://github.com/getlago/lago-api/pull/3091
* feat(invoice-preview): add preview support for wallet and credit note credits by @lovrocolic in https://github.com/getlago/lago-api/pull/3084
* feat(revshare): missing bits to complete the feature by @ancorcruz in https://github.com/getlago/lago-api/pull/3094
* feat(preview-invoice): add tax provider support for preview invoice by @lovrocolic in https://github.com/getlago/lago-api/pull/3095
* Chore: add validation on credit note creation and estimate to have items as an array by @annvelents in https://github.com/getlago/lago-api/pull/3096
* Chore: delete invoice errors for sequential number generation when finishing invoice generation by @annvelents in https://github.com/getlago/lago-api/pull/3092
* fix(invoice-filtering): Wrong total count when filter invoices by metadata by @floganz in https://github.com/getlago/lago-api/pull/3097
* fix(webhook): Fix specs when webhook worker is enabled by @vincent-pochet in https://github.com/getlago/lago-api/pull/3099
* fix(payment): Handle payment and invoice status update by @vincent-pochet in https://github.com/getlago/lago-api/pull/3088
* fix(Fee) - make sure organization_id is stored by @nudded in https://github.com/getlago/lago-api/pull/3100
* fix(tasks): Fix signup task env var by @jdenquin in https://github.com/getlago/lago-api/pull/3101
* fix: filter payments based on visible invoices by @brunomiguelpinto in https://github.com/getlago/lago-api/pull/3102
* add rescue when failing to update charge filters and charges by @annvelents in https://github.com/getlago/lago-api/pull/3103


**Full Changelog**: https://github.com/getlago/lago-api/compare/v1.19.0...v1.19.1

## Front Changes
* chore(deps) Update dependency vite to v6.0.9 [SECURITY] by @renovate in https://github.com/getlago/lago-front/pull/1998
* bug: define allowedHosts in vite config by @ansmonjol in https://github.com/getlago/lago-front/pull/1999
* chore: prevent dependabot auto merge by @ansmonjol in https://github.com/getlago/lago-front/pull/2000


**Full Changelog**: https://github.com/getlago/lago/compare/v1.19.0...v1.19.1