redash

Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.

BSD-2-CLAUSE License

Downloads
459
Stars
25.1K
Committers
499

Bot releases are hidden (Show)

redash - v10.1.0 Latest Release

Published by susodapop almost 3 years ago

Docker Tag: redash/redash:10.1.0.b50633

Summary

This release includes fixes for three security vulnerabilities (click the links for complete details to see whether your installation is affected):

  • Insecure default configuration affects installations where REDASH_COOKIE_SECRET is not set explicitly (CVE-2021-41192)
  • SSRF vulnerability affects installations that enabled URL-loading data sources (CVE-2021-43780)
  • Incorrect usage of state parameter in OAuth client code affects installations where Google Login is enabled (CVE-2021-43777)

It also incorporates several fixes from master that merged after the V10.0 release.

See CHANGELOG for the full release notes.

Huge thanks to Ian Carroll and another reporter who preferred to remain anonymous for responsibly disclosing these vulnerabilities.

Upgrading

From V10.0:

Follow our standard upgrade process (reproduced below).

  1. Make sure to backup your data. You only need to backup Redash’s PostgreSQL database (the database Redash stores metadata in, not the ones you might be querying) as the data in Redis is transient.
  2. Change directory to /opt/redash.
  3. Update /opt/redash/docker-compose.yml Redash image reference to redash/redash:10.1.0.b50633
  4. Stop Redash services: docker-compose stop server scheduler scheduled_worker adhoc_worker (you might need to list additional services if you updated your configuration)
  5. (No migrations are needed when upgrading from 10.0)
  6. Read the Impact segment at this link. If your installation is affected, follow the instructions under the Patches heading to secure the secret fields in your database.
  7. Start services with docker-compose up -d

From V9:

Follow the same steps as V10 but for step 5:

  1. Apply migration: docker-compose run --rm server manage db upgrade

From V8 or earlier

  1. Follow the complete steps outlined in the V10.0 release but use this Docker Tag in step 3: redash/redash:10.1.0.b50633
  2. Read the Impact segment at this link. If your installation is affected, follow the instructions under the Patches heading to secure the secret fields in your database.
redash - v10.0.0

Published by susodapop about 3 years ago

Docker Tag: redash/redash:10.0.0.b50363

See CHANGELOG for the full release notes.

How to Upgrade

Complete upgrade instructions for those coming from V8 -> V10 appear below.


Note: V10 is the first non-beta Redash release since V8. So we expect most users upgrading to V10 are coming from V8. The upgrade from V8->V10 is like any other, but since RQ replaced Celery in this version there are a couple extra modifications that need to be done in your docker-compose.yml.

If you already run the V9-beta release you already made these changes. You can use the standard upgrade instructions instead.


These steps are performed on the server that runs Docker.

  1. Make sure to backup your data. You only need to backup Redash’s PostgreSQL database (the database Redash stores metadata in, not the ones you might be querying) as the data in Redis is transient. Note: If you just deployed a Redash V8 AMI and have not used it, you can skip this step.
  2. cd /opt/redash
  3. Update opt/redash/docker-compose.yml to reference the docker image you want to upgrade to: redash/redash:10.0.0.b50363

142671233-76952fdb-1d0b-4f54-8825-a13cc4814874

  1. Under services.scheduler.environment omit QUEUES and WORKERS_COUNT and omit environment altogether if it is empty.

142671147-2b3d1755-01a0-4561-86d4-0fff2a3d6862
5. Under services, add a new service for general RQ jobs:

worker:
  <<: *redash-service
  command: worker
  environment:
    QUEUES: "periodic emails default"
    WORKERS_COUNT: 1

142671560-a8263e3b-0435-4327-ae46-c669f8a21b79

  1. Stop Redash services: docker-compose stop server scheduler scheduled_worker adhoc_worker (you might need to list additional services if you defined them in your docker-compose.yml previously)
  2. Force a recreation of your containers with docker-compose up --force-recreate --build
  3. Run the necessary migrations with docker-compose run --rm server manage db upgrade
  4. Restart the containers docker-compose up -d

Dashboard URL Changes

Dashboard URLs now include the dashboard id and slug.

For example, given a dashboard with the slug account-overview and an id of 251:

Before
https://redash.app/dashboards/account-overview

After
https://redash.app/dashboards/251-account-overview

The dashboard can also be reached using the new /dashboard (notice this is singular) endpoint. It accepts either an ID or a slug:

  • https://redash.app/dashboard/251
  • https://redash.app/dashboard/account-overview

Either of these will redirect to the After link above. Dashboard ID's are guaranteed to be unique. But dashboards can share the same slug. If a user visits /dashboard/<some slug> and more than one dashboard exists with that slug, they will be redirected to the earliest created dashboard with that slug.


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v10.0.0-beta

Published by susodapop over 3 years ago

Docker Tag: redash/redash:10.0.0-beta.b49597

See CHANGELOG for the full release notes.

Special instructions for upgrading from V8 or earlier

Typically, if you are running your own instance of Redash and wish to upgrade, you would simply modify the Docker tag in your docker-compose.yml file. 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.


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v9.0.0-beta

Published by arikfr over 4 years ago

Docker Tag: redash/redash:9.0.0-beta.b42121.

See CHANGELOG for the full release notes.

Upgrading

Typically, if you are running your own instance of Redash and wish to upgrade, you would simply modify the Docker tag in your docker-compose.yml file. 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.


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v8.0.0

Published by arikfr almost 5 years ago

Docker Tag: redash/redash:8.0.0.b32245.

See CHANGELOG for the full release notes.


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v8.0.0-beta.2

Published by arikfr about 5 years ago

Docker Tag: redash/redash:8.0.0-beta.2.b29352.

See CHANGELOG for the full release notes.


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v7.0.0

Published by arikfr over 5 years ago

Please read the following before upgrading:

  1. If you're using the tarball deployment and not Docker, you might need to manually update some of the dependencies. Compare your current Python dependencies with the ones in the requirements*.txt files.

  2. This release adds encryption of your data sources configuration. By default it will use the REDASH_COOKIE_SECRET as encryption key. But we recommend setting a new key for it using the REDASH_SECRET_KEY environment variable. Note that you need to set this before running migrations. Otherwise everything will be encrypted with REDSAH_COOKIE_SECRET.

See CHANGELOG for the full release notes.


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v6.0.0

Published by arikfr almost 6 years ago

Before upgrading to v6.0.0 make sure to clear out the Celery queue (unless upgrade from v6.0.0-beta).

This is the final release of v6.0.0. See v6.0.0-beta for details of what's new in v6.0.0. This release includes only fixes from regressions introduces in the beta version.

This release had contributions from 5 people: @rauchy, @denisov-vlad, @arikfr, @ariarijp, and @gabrieldutra. Thank you, everyone πŸ™


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v6.0.0-beta

Published by arikfr almost 6 years ago

Redash v6 beta is now available! πŸ™Œ This release was 2 months in the making and it is full with good stuff!

  • We have 5 new data sources: Databricks, IBM DB2, Kylin, Druid and Rockset. βŒ—
  • There are fixes and improvements to 11 existing data sources (MySQL, Redshift, Postgres, MongoDB, Google BigQuery, Vertica, TreasureData, Presto, ClickHouse, Google Sheets and Google Analytics).
  • The Query Results data source can now load cached results, just use the cached_query_ prefix instead of query_.
  • On the visualizations front we added a Heatmap visualization and did updated the table and counter visualizations.
  • Alerts got some fixes and a new destination: PagerDuty.
  • If the live autocomplete in the code editor annoys you, you can disable it now (although we're working to make it better, see #3092).
  • Fast queries will now load faster. πŸƒβ€β™‚οΈ
  • We improved the layout of visualizations and content on smaller screen sizes. πŸ“±
  • For those of you who like sharing, you can now enable the ability to share ownership of queries and dashboards and let others to edit them. Check the Settings page to enable this feature.

There were also important changes to the code and infrastructure:

  • More components moved to React.
  • We switched to Webpack 4 with the help of @dmonego.
  • We upgraded to Celery 4 with the help of @emtwo, @jezdez, @mashrikt and @atharvai.
  • We started moving towards Python 3 for our backend. The first step was to make sure our code pass basic sanity tests with Flake 8, which was implemented by @cclauss.
  • We improved our testing on the frontend by adding setup for Jest tests and E2E testing using Cypress (@gabrieldutra).
  • Each pull request now gets a deploy preview using Netlify to easily test frontend changes.

This is just a summary, you're welcome to review the full CHANGELOG.

This release had contributions from 38 people: @arikfr, @kravets-levko, @jezdez, @kyoshidajp, @kocsmy, @alison985, @gabrieldutra, @washort, @GitSumito, @emtwo, @rauchy, @alexanderlz, @denisov-vlad, @ariarijp, @yoavbls, @zhujunsan, @sjakthol, @koooge, @SakuradaJun, @dmonego, @Udomomo, @cclauss, @combineads, @zaimy, @Trigl, @ralphilius, @jodevsa, @deecay, @igorcanadi, @pashaxp, @hoangphuoc25, @toph, @burnash, @wankdanker, @Yossi-a, @Rovel, @kadrach, and @nicof38. Thank you, everyone πŸ™


  • Before doing an upgrade, please make sure you have a backup.
  • Because of the Celery upgrade, before upgrading to this version please make sure to clear out your Celery queues.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide .
  • If the upgrade guide doesn’t help, you can ask for help on the forum .

Happy querying πŸ€“

redash - v5.0.2

Published by arikfr almost 6 years ago

v5.0.2:

  • Fix: prevent Open Redirect vulnerability.

  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v5.0.1

Published by arikfr about 6 years ago

V5.0.1:

  • Upgraded Celery version to 3.1.26 to make upgrade to Celery 4 easier.
  • Added support for JWT authentication (for services like Cloudflare Access or Google IAP).

  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v5.0.0

Published by arikfr about 6 years ago

Final release for V5. Most of the changes were already in the beta release of V5, but this includes several fixes along with UI improvements.

πŸ™ Thanks to @arikfr, @jezdez, @kravets-levko, @alison985, @kocsmy, @yossi-a, @tdsmith, @nasmithan, @jrbenny35, @sjakthol, @ariarijp and @combineads who contributed to this release.


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v4.0.2

Published by arikfr about 6 years ago

This is a security release for V4 users. You can find full details on what it fixes and its importance in the release blog post.


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v5.0.0-beta

Published by arikfr about 6 years ago

This is the first beta of the V5 release (and hopefully the last one). This version includes a lot of exciting new additions along with bug fixes and other changes.

Some notable changes:

  • Extensive work on parameters UI:
    • New Date Range parameter type.
    • UI for creating new parameters.
    • Support for Now/Today as default value of date/time parameter.
  • Tagging and favorites ⭐️ support for queries and dashboards.
  • Users list page was improved (search, additional information) and you can now disable users.
  • Query editor improvements: additional keyboard shortcuts and support for searching in query text.
  • Visualizations improvements: option to select colors of pie chart sectors, X Axis type auto detect and option to format values, labels and tooltips.
  • Data Sources:
    • Support for Yandex Metrika and AppMetrika.
    • BigQuery: location property support and schema will load all tables now.
    • Elasticsearch: stop sending source_content_type parameter which wasn't supported in older versions.
  • Started migrating the frontend codebase to React.

And much more!

πŸ™ Thanks to @kravets-levko, @arikfr, @ariarijp, @alison985, @kyoshidajp, @kocsmy, @denisov-vlad, @deecay, @yuua, @emtwo, @Pablohn26, @sieben, @atharvai, @matsumo, @tdawber, @innovia, @gabrieldutra, @coreyhuinker, @maxv, @sjakthol, @mtrbean and @washort who contributed to this release!


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.

Docker image and updated tarball will be ready soon.


Happy querying πŸ€“

redash - v4.0.1

Published by arikfr over 6 years ago

v4.0.1 is a recommended upgrade that includes several bug fixes, small changes and improved dashboard refresh UX.

As always huge thanks to everyone who contributed to this release. πŸ™


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.

Happy querying πŸ€“

redash - v4.0.0

Published by arikfr over 6 years ago

V4 is finally out. 🎁 We used the feedback from RC1 and our hosted customers to fix some performance issues in the RC1 release. @kravets-levko worked hard so you will get smooth performance with the new dashboards layout editor.

This release includes 35 changes, features and bug fixes from @alon710, @arikfr, @deecay, @fmy, @idalin, @kravets-levko, @tnetennba3, @toru and @valentin2105. πŸ™ πŸ™ πŸ™ This includes new Choropleth map visualization, Mattermost support and more.


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.

Docker image and updated tarball will be ready soon.


Happy querying πŸ€“

redash - v4.0.0-rc.1

Published by arikfr over 6 years ago

This is a follow up release to the v4.0.0-beta and hopefully the last release before the full release of v4.0.0. It includes fixes to some bugs introduced in the beta version (like public dashboards or embeds not rendering), but also new features like the funnel visualization and more (CHANGELOG).

This is a beta release, to upgrade to this release from an existing deployment run sudo bin/upgrade --channel beta. If you use a Docker based deployment you do not need to use this script, but rather update your image reference.

As always this wouldn't be possible without the help of all the people who contributed code in this release: @kravets-levko, @arikfr, @kocsmy, @jezdez, @benmanns, @ariarijp, @tonyjiangh and @jubel-han. πŸ™πŸ™πŸ™


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v4.0.0-beta

Published by arikfr over 6 years ago

This is a very exciting release 🀩 that was a long time in the making πŸ‘·. It includes a fully updated user interface that should provide a much nicer experience, along with many new features and improvements:

  • Table visualization customization along with new column types (image, JSON & URL).
  • Dashboard layout editing (full control over widget height/width).
  • Updated chart visualization (mostly bug fixes) and settings for the cohort visualization.
  • BigQuery and Athena queries now show the amount of data scanned, so you know how much the query costs you. On top of that we have new data sources (MapD & CockroachDB) and improvements to other data sources (MongoDB, Salesforce, Redshift, Oracle and Elasticsearch).

This is only the tip of the iceberg, see the full list of changes in the CHANGELOG.

This is a beta release, to upgrade to this release from an existing deployment run sudo bin/upgrade --channel beta. If you use a Docker based deployment the Docker tag is 4.0.0-beta.b3690.

As always this wouldn't be possible without the help of all the people who contributed code in this release: @arikfr, @kravets-levko, @kyoshidajp, @ariarijp, @sjakthol, @kocsmy, @jezdez, @deecay, @kakakakakku, @bamboo-yujiro, @tonyjiangh, @washort, @jasonsmithj, @shinji19, @arjan, @gramakri, @doddjc21, @cdessanti, @yershalom, @miketheman, @crooy, @alexdrans, @javier-sanz, @negibouze, @mayconbordin and @rgjodekerken. πŸ™πŸ™πŸ™


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v3.0.0

Published by arikfr almost 7 years ago

Great things in this version like the long awaited Select All for filters, query based parameters, improvements to existing data sources (MongoDB, Redshift, MySQL) but and new data sources (Prometheus, Azure SQL Data Warehouse) and some more.

This release wouldn’t be possible without the contributions of @myouju, @jezdez, @hhamalai, @atharvai, @kitsuyui, @yershalom, @fan-t-endo, @TylerBrock, @deecay, @rohithmenon, @Posnet, @amarjayr, @kyoshidajp, @meinac, @muddydixon, @cclauss, @alexmuller, @akiray03, @aterreno, @44px, @alison985, @isomura, @sylvain, @cyriac, @yutannihilation, @kravets-levko and @queeno. πŸ‘ πŸ‘


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
redash - v2.0.1

Published by arikfr almost 7 years ago

This is a patch release, that adds support for Redshift ACM certificates (see #2044 for details).


  • Before doing an upgrade, please make sure you have a backup.
  • If you have any issues, please refer to the troubleshooting section in the upgrade guide.
  • If the upgrade guide doesn't help, you can ask for help on the forum.
Package Rankings
Top 3.6% on Proxy.golang.org
Top 2.85% on Npmjs.org
Badges
Extracted from project README's
Documentation GitHub Build