Skip to content

v3.3.1

Latest
Compare
Choose a tag to compare
@Blaumaus Blaumaus released this 30 Jan 01:49
· 88 commits to main since this release

Warning

This release contains some breaking changes that require migrations, so please read these instructions carefully.

What changed:

🔥 Major updates

  • Added native support for hostname tracking - now you can properly track multiple websites in a single project and see what domain the data is coming from using the Host panel.

🙂 Minor changes

  • Improved live visitors tracking.
  • Refactored dashboard and analytics pages to be more robust and faster.
  • Added skeleton loader for project cards on the dashboard page.

🔧 Fixes

  • (?) Fixed Minified React error #31 thrown when logging into account.

Upgrading to Swetrix v3.3.1 (from v3.3.0)

Important

You will need to perform a database migration. Please make sure you read these instructions through to the end to make sure you've updated properly and to avoid losing any data.

1. Run database migration scripts

Warning

Please make sure you always back up your data! Especially before migrating, to prevent data loss if something goes wrong.

In order to upgrade to Swetrix v3.3.1, you will need to run database migrations scripts. But first, your compose.yaml file should be set to the latest Swetrix versions and they are already installed on your machine.

To perform the migrations, you need to run the following commands in your selfhosting folder:

docker compose exec swetrix-api node migrations/clickhouse/2025_01_09.js

If you don't see any Query ERROR messages written to your console, this indicates that the migrations went well and Swetrix v3.3.1 is ready to use.

After performing the migration, you can run docker compose restart and Swetrix should be good to go!

🎉 That's it, enjoy selfhosting Swetrix! Let us know if you find any bugs or have any feedback for us and join our Discord.

Our work would not be possible without your support, and we hope you will love this release!