v1.38.0
umami-software/umamiv1.38.0Sep 6, 2022by mikecao
AI Summary
This update streamlines database migrations by moving them to the build step for Vercel and Netlify deployments, and lays groundwork for the cloud offering with support for ClickHouse, Kafka, and Redis.
Key Highlights
- Database migrations moved to build step to prevent bugs during deployment.
- Added support for ClickHouse, Kafka, and Redis.
- New 'Yesterday' option added to the date picker.
- Admins can now reassign websites to other users.
Breaking Changes
- Removed cascading deletes from the database; commands now run in a transaction.
New Features
- Date picker 'Yesterday' option.
- Query parameters for theme and locale.
- Website reassignment by admins.
Full Release Notes
## News We have made lots of updates to how database migrations work. Hopefully this will provide a much smoother process going forward. We've moved the `check-db` script which performs migrations to the build step. Now when you deploy to a host like Vercel or Netlify, your database will be upgraded before the app ever starts. This should cut down on a lot of the migration related bugs people have been running into. For Docker users, the `check-db` can't be run during build because the images are pre-built. It will run before starting the application just like before. We have also made major database changes to get ready for our hosted cloud offering, adding support for Clickhouse, Kafka and Redis. Any changes we make will of course be open-sourced so you will get the same performance benefits we gain. If you are interested in joining our free beta program before we launch, you can sign up at https://umami.is/pricing. ## Features - Added `Yesterday` option to the date picker - You can now default the theme and locale using query parameters. - For the theme you can use `?theme=dark` or `?theme=light`. - For locale you can use `?locale=en-US`. - Admins can now reassign websites to other users - Removed cascading deletes from the database. We now run all commands in a transaction. ## Fixes - Fixed issue with `Edit Dashboard` not working when a website is deleted - Fixed deployment issue with Netlify - Fixed country lookup returning Unknown in some cases - Fixed issue with `+` sign disappearing in the metrics display ## Updates - Updated Next to `12.2.5` - Updated Prisma to `4.3.1` - Language translation updates A huge thanks to all the contributors on this release! @zx900930 @the-lazy-fox @guigrpa @aidanm1999 @wangyang0210 @Dhravya @Maxime-J @briancao @franciscao633 @AkashRajpurohit