V9 Beta is ready! 📦

We just released the beta version of the v9 release. Along with various improvements and bug fixes, this version brings few important behind the scenes changes:

  • The backend codebase was updated to support Python 3. For those of you who are using our Docker images, this is a transparent update for you. Those who don’t use Docker, will need to install Python 3.7 on their hosts to run the new codebase.
  • Also on the backend we replaced Celery with RQ. This will require some adjustments to your setup (see instructions below), but we hope it will bring better stability to queries execution. We are still learning and improving our operational knowledge around RQ, but so far their codebase was much easier to understand and maintain than the Celery one.
  • The frontend migration from Angular to React is done and this release has only React dependencies.

We been running the backend codebase with Python 3 and RQ for a few months in production now with little issues. The frontend codebase was running in smaller production environments for 2-3 months with little issues and in our production environment for about a week.

We did find an issue with dashboards that have many parameters (a fix is being implemented here), but other than that it was mostly stable.

Beyond these behind the scenes changes, you will notice an updated Query Results page, new visualizations options for tables and charts, 4 new Data Sources (Amazon Cloudwatch, Amazon CloudWatch Logs Insights, Azure Kusto, Exasol) and multiple improvements to existing ones. Including a new ODBC based connector for Databricks that results in better performance and stability.

For a full list of changes, we encourage you to checkout the CHANGELOG.

As always this release wouldn’t be possible without the help of our community. This version had contributions from over 50 people :pray:

Upgrading

Typically, if you are running your own instance of Redash and wish to upgrade, you would simply follow the Upgrade Process. Since RQ has replaced Celery in this version, there are a couple extra modifications that need to be done in your docker-compose.yml:

  1. Under services/scheduler/environment, omit QUEUES and WORKERS_COUNT (and omit environment altogether if it is empty).
  2. Under services, add a new service for general RQ jobs:
worker:
  <<: *redash-service
  command: worker
  environment:
    QUEUES: "periodic emails default"
    WORKERS_COUNT: 1

Following that, force a recreation of your containers with docker-compose up --force-recreate --build and you should be good to go.

8 Likes

:clap: great stuff!

Is https://github.com/getredash/setup going to have a v9 branch too?

Definitely, once we have a final release of v9.

Great news!
When do you expect to announce v9 as stable-release?

Definitely, once we have a final release of v9.

I’d happily roll it out internally and do some testing, but the changelog doesn’t line up with the compose file in the redash repo (and “This configuration file is for the development setup. For a production example please refer to getredash/setup repository on GitHub.”)