v2.2.0

umami-software/umamiv2.2.0Apr 26, 2023by mikecao

AI Summary

Introduces country flags for regions, leverages Vercel geo-headers for performance, and separates environment variable behaviors.

Key Highlights

  • Country flags now appear for Countries and Regions sections
  • Vercel users benefit from improved performance via geo-location headers
  • Environment variables `CLOUD_MODE` and `DISABLE_LOGIN` now act separately
  • Fixed tracker checks for page title and parent element

New Features

  • Country flags display
  • Performance optimization for Vercel deployments
  • Improved environment variable handling

Full Release Notes

## Changes
- We've got flags! 🎏 Country flags now appear for the **Countries** and **Regions** section.

![image](https://user-images.githubusercontent.com/477975/234475583-8dec336c-5826-47eb-afd9-331454d7306c.png)


- For users who deploy to Vercel, we are now leveraging the geo location headers they provide on their platform. Therefore there is no longer a need to bundle and use the geo database. This should significantly improve the performance of collecting stats.

- The environment variables `CLOUD_MODE` and `DISABLE_LOGIN` now act separately.

## Fixes
- Fixed check for page title (tracker).
- Fixed check for parent element (tracker).

## Updates
- Language translation updates.

A huge thanks to all the contributors on this release! @RikoDEV @atmonshi @juangacovas @Truimo