v1.26.0

umami-software/umamiv1.26.0Feb 17, 2022by mikecao

AI Summary

This release introduces new language support, configuration environment variables for advanced setups, and a significant architectural change to the authentication mechanism.

Key Highlights

  • Added Lithuanian and Urdu languages
  • New environment variables for URL handling and login disabling
  • Authentication switched from cookies to bearer tokens

Breaking Changes

  • Authentication for the app now uses bearer tokens instead of cookies

New Features

  • Lithuanian and Urdu language support
  • REMOVE_TRAILING_SLASH environment variable
  • TRACKER_SCRIPT_NAME environment variable
  • DISABLE_LOGIN environment variable

Full Release Notes

## Features
- New languages: Lithuanian and Urdu! 🌟 
- Added environment variable `REMOVE_TRAILING_SLASH` which forces the removal of trailing slashes from all incoming urls.
- Added environment variable `TRACKER_SCRIPT_NAME` to allow you to name the tracker script to something instead of `umami.js`.
- Added environment variable `DISABLE_LOGIN` to allow disabling the webapp login page.

## Updates
- Authentication for the app now uses bearer tokens instead of cookies. See https://umami.is/docs/api
- Added active user count to Realtime page.
- Language translations are now pre-built instead of generating at build time.
- CSS updates for mobile
- Update Next.js to `12.0.10`
- Updated Prisma to `3.9.2`

## Fixes
- Fixed issue with setting custom date range.
- Fixed check for `className` in tracking script.

A huge thanks to all the contributors on this release! 🙏 @0xflotus @leits @alrico88 @adilj13 @ym-project @kiprasmel @lxndrblz @nfn @TszHong0411 @rogerclotet