v1.20.0

getlago/lagov1.20.0Jan 27, 2025by vincent-pochet

AI Summary

A major release introducing invoice preview functionality, fixing the Cashfree payment provider, and updating frontend code generation.

Key Highlights

  • Added preview invoice route and controller
  • Fixed Cashfree webhook and payment flow
  • Fixed payment status checks
  • Updated frontend codegen
  • Removed zero amount finalized fees

New Features

  • Invoice preview feature
  • Cashfree integration fixes
  • Payment status string validation

Full Release Notes

:warning: Please read https://doc.getlago.com/guide/migration/migration-to-v1.20.0 before upgrading to this version


## Front changes
* misc: get last codegen by @ansmonjol in https://github.com/getlago/lago-front/pull/2002


**Full Changelog**: https://github.com/getlago/lago-front/compare/v1.19.1...v1.20.0

## API changes
* fix(payment): Ensure payment status is checkd as a string by @vincent-pochet in https://github.com/getlago/lago-api/pull/3104
* fix(cashfree): Fix webhook and payment flow by @AyushChothe in https://github.com/getlago/lago-api/pull/3106
* feat(preview-invoice): add route and controller action by @lovrocolic in https://github.com/getlago/lago-api/pull/3108
* Reapply "feat(invoice): Avoid generating 0 amount charge fees (#3032)" (#3059) by @vincent-pochet in https://github.com/getlago/lago-api/pull/3068
* misc(fee): Delete zero amount finalized fees by @vincent-pochet in https://github.com/getlago/lago-api/pull/3020

## New Contributors
* @AyushChothe made their first contribution in https://github.com/getlago/lago-api/pull/3106

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

## What's Changed
* misc: Bump version to v1.19.1 by @annvelents in https://github.com/getlago/lago/pull/457
* misc: Bump version to v1.20.0 by @vincent-pochet in https://github.com/getlago/lago/pull/458


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