From bd830f59cf359724e89cbd60f5f3bd3ce54f6642 Mon Sep 17 00:00:00 2001 From: Arik Fraimovich Date: Sun, 17 Mar 2019 13:52:55 +0200 Subject: [PATCH 1/4] Update v7 CHANGELOG and version --- CHANGELOG.md | 681 +++++++++++++++++++++++++-------------------- package-lock.json | 2 +- package.json | 2 +- redash/__init__.py | 2 +- 4 files changed, 377 insertions(+), 310 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9341e1c32d..5379f24b7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,55 +1,132 @@ # Change Log +## v7.0.0 - 2019-03-17 + +We're trying a new format for the CHANGELOG in this release. Focusing on the bigger changes, but for whoever interested, you can see all the changes [here](https://github.com/getredash/redash/compare/v6.0.0...master). + +Besides all the features, bug fixes and improvements listed below we managed to convert a large portion of Redash's frontend code from Angular.js to React. You can see status in #3071. + +This release was made possible with the help of 34 contributors. 🙇‍♂️ + +### Data Sources + +- **All data source options are now encrypted in the database.** By default the encryption uses the `REDASH_COOKIE_SECRET` value (`redash.settings.COOKIE_SECRET`), but you can specify a different value by setting the `REDASH_SECRET_KEY` environment variable value. Note that you need to set this _before_ doing the upgrade. +- New Data Sources: Uptycs and Apache Drill. +- Snowplow: is now enabled by default & supports region setting. +- Elasticsearch: add support for Amazon Elasticsearch IAM authentication (with IAM profile or key/secret pair). +- PostgreSQL: add support for serializing range values. +- Redshift: remove duplicate column information for late-binding views. +- Athena: load all databases (using pagination). +- BigQuery: correctly handle temp tables with no schema field. +- Jira (JQL): support for fetching all records with pagination. +- Prometheus: fix schema loading and add support for query range. + +### In-app Help + +You can now open the [Knowledge Base](https://redash.io/help) inside the application. We also added a few "help triggers" in the app, that will open the Knowledge Base in context of what you're currently doing. + +### Parameters + +- **Dashboard Parameters**: We improved the flow of adding queries with parameters to dashboards and now give you full control over how parameters are mapped. You no longer have to make sure all parameters have the same name or use the `Global` checkbox. We also added new options, like keeping the parameter local to the widget or setting a static value. [Read more in our Knowledge Base →](https://redash.io/help/user-guide/querying/query-parameters#Parameter-Mapping-on-Dashboards) +- We added server side validation of parameter values for all parameter types, except for parameters of `text` type. All validated parameter types are considered safe. When a query is using safe parameters (or no parameters at all), View Only users can refresh it. +- Refresh of safe queries is done using the new results API endpoint, which takes only a query ID (and optionally parameter values) and does not need the query text. + +### Query Editor Improvements + +- Run only the highlighted query text: hit Execute after highlighting a portion of your query and only the selected portion will be sent to the database. This is useful for testing sub-SELECT statements and CTE's. +- Improved auto complete: add a dot . after a table name in the query editor and auto complete will only suggests columns on that table. +- Autosave parameter configuration changes. +- YAML syntax support (for data sources like Yandex Metrica). + +### Improved Query Scheduler + +The Query Scheduler got a face lift and some new options: you can pick the day a weekly schedule runs on and also set an end date after which the query will no longer execute on schedule. + +### Data Sources + +We added Apache Drill, Uptycs and a new JSON data source. Also fixed a few bugs in Athena's query runner and others. + +### Users Management + +The users page got revamped with a new look and feel and new features: + +- An indication when the user was last active. +- Show if an invited user hasn't finished the setup process yet (Pending Invitations section). +- You can now generate a new API key for users, if there's a concern it was compromised. + +### Admin + +- New Celery queues status screens to replace the old Queries Status, which should better reflect the status of running queries. +- Make the queue name for schema refresh job configurable. The default used to be hard coded `schemas`, which is not available on all setups. Now it's `celery`. +- The `gevent` library is installed by default, and you can setup gunicorn to use `gevent` based workers. +- New Docker entrypoint command to do a health check for a worker process. +- Flask-Admin is no longer setup or supported. + +### Other Changes + +- New Alert destination: Google Hangouts Chat. +- When downloading results from the results API it will set a user friendly filename for the downloaded file. +- Add Archived Queries section to queries list. + +### Bug Fixes + +- Fixed: fork query does not fork tables but instead adds default table. +- Fixed: when deleting a visualization, any widget using it was left empty on the dashboard. +- Fixed: issues with Query Editor resizing on new versions of Chrome. +- Fixed: issues with exporting dictionaries to Excel. +- Fixed: Cohort visualization gets stuck when passing string values. +- Fixed: use series name for Pie chart label. +- Make sure Flask app created in Celery's worker process (could cause some query runners to get stuck while running queries). + ## v6.0.0 - 2018-12-16 -v6.0.0 release version. Mainly includes fixes for regressions from the beta version. +v6.0.0 release version. Mainly includes fixes for regressions from the beta version. This release had contributions from 5 people: @rauchy, @denisov-vlad, @arikfr, @ariarijp, and @gabrieldutra. Thank you, everyone 🙏 ### Changed -* #3183 Make refresh_queries less noisey in logs. @arikfr +- #3183 Make refresh_queries less noisey in logs. @arikfr ### Fixed -* #3163 Include correct version in production builds. @rauchy -* #3161 Clickhouse: fix int() conversion error. @denisov-vlad -* #3166 Directly using record_event task requires timestamp. @arikfr -* #3167 Alert.evaluate failing when the column is missing. @arikfr -* ##3162 Remove API permissions for users who have been disabled. @rauchy -* #3171 Reject empty query name. @ariarijp -* #3175, #3186 Fix disable error message. @rauchy, @gabrieldutra -* #3182 [Redshift] support for schema names with dots. @arikfr -* #3187 Safely create_app in Celery code (try to fetch current_app first). @arikfr +- #3163 Include correct version in production builds. @rauchy +- #3161 Clickhouse: fix int() conversion error. @denisov-vlad +- #3166 Directly using record_event task requires timestamp. @arikfr +- #3167 Alert.evaluate failing when the column is missing. @arikfr +- ##3162 Remove API permissions for users who have been disabled. @rauchy +- #3171 Reject empty query name. @ariarijp +- #3175, #3186 Fix disable error message. @rauchy, @gabrieldutra +- #3182 [Redshift] support for schema names with dots. @arikfr +- #3187 Safely create_app in Celery code (try to fetch current_app first). @arikfr ### Other -* #3155 Add DB Seed to Cypress and setup Percy. @gabrieldutra -* #3180 Remove coverage from pytest terminal output. @rauchy - +- #3155 Add DB Seed to Cypress and setup Percy. @gabrieldutra +- #3180 Remove coverage from pytest terminal output. @rauchy ## v6.0.0-beta - 2018-12-03 -This release was 2 months in the making and it is full with good stuff! +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. +- 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: +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. +- 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 list below. ⬇ @@ -57,226 +134,220 @@ This release had contributions from 38 people: @arikfr, @kravets-levko, @jezdez, ### Added -* #2747, #3143 Add a new Databricks query runner. @alison985, @jezdez, @arikfr -* #2767 Add ability to add viz to dashboard from query edit page. @alison985, @jezdez -* #2780 Add a query autocomplete toggle. @alison985, @jezdez, @arikfr -* #2768 Add authentication via JWT providers. @SakuradaJun -* #2790 Add the ability to sort favorited queries, paginate the dashboard list and improve UI inconsistencies. @jezdez -* #2681 Add ability to search table column names in schema browser. @alison985 -* #2855 Add option to query cached results. @yoavbls -* #2740 Add ability for extensions to add periodic tasks. @emtwo -* #2924 Google Spreadsheets: Add support for opening by URL. @alexanderlz -* #2903 Add PagerDuty as an Alert Destination. @alexanderlz -* #2824 Add support for expanding dashboard visualizations. @sjakthol -* #2900 Add ability to specify a counter label. @ralphilius -* #2565 Add frontend extension capabilities. @emtwo -* #2848 Add IBM Db2 as a data source using the ibm-db Python package. @nicof38 -* #2959 Add option to auto reload widget data in shared dashboards. @arikfr -* #2993 Add page size settings. @kyoshidajp -* #2080 New Heatmap chart visualization with Plotly. @deecay -* #2991 Show users in CLI group list. @GitSumito -* #2342 New SQLPARSE_FORMAT_OPTIONS setting to configure query formatter. @ariarijp -* #3031 Add some tests for Query Results. @ariarijp -* #2936 Add Kylin data source. @Trigl -* #3047 Add Druid data source. @rauchy -* #3077 New user interface for the feature flag of the share edit permissions feature. @arikfr -* #3007 Add permissions to the result of "manage.py groups list" command. @Udomomo -* #3088 Add get_current_user() fuction for the Python query runner. @kyoshidajp -* #3114 Add event tracking to autocomplete toggle. @arikfr -* #3068 Add Rockset query runner. @igorcanadi, @arikfr -* #3105 Display frontend version. @rauchy +- #2747, #3143 Add a new Databricks query runner. @alison985, @jezdez, @arikfr +- #2767 Add ability to add viz to dashboard from query edit page. @alison985, @jezdez +- #2780 Add a query autocomplete toggle. @alison985, @jezdez, @arikfr +- #2768 Add authentication via JWT providers. @SakuradaJun +- #2790 Add the ability to sort favorited queries, paginate the dashboard list and improve UI inconsistencies. @jezdez +- #2681 Add ability to search table column names in schema browser. @alison985 +- #2855 Add option to query cached results. @yoavbls +- #2740 Add ability for extensions to add periodic tasks. @emtwo +- #2924 Google Spreadsheets: Add support for opening by URL. @alexanderlz +- #2903 Add PagerDuty as an Alert Destination. @alexanderlz +- #2824 Add support for expanding dashboard visualizations. @sjakthol +- #2900 Add ability to specify a counter label. @ralphilius +- #2565 Add frontend extension capabilities. @emtwo +- #2848 Add IBM Db2 as a data source using the ibm-db Python package. @nicof38 +- #2959 Add option to auto reload widget data in shared dashboards. @arikfr +- #2993 Add page size settings. @kyoshidajp +- #2080 New Heatmap chart visualization with Plotly. @deecay +- #2991 Show users in CLI group list. @GitSumito +- #2342 New SQLPARSE_FORMAT_OPTIONS setting to configure query formatter. @ariarijp +- #3031 Add some tests for Query Results. @ariarijp +- #2936 Add Kylin data source. @Trigl +- #3047 Add Druid data source. @rauchy +- #3077 New user interface for the feature flag of the share edit permissions feature. @arikfr +- #3007 Add permissions to the result of "manage.py groups list" command. @Udomomo +- #3088 Add get_current_user() fuction for the Python query runner. @kyoshidajp +- #3114 Add event tracking to autocomplete toggle. @arikfr +- #3068 Add Rockset query runner. @igorcanadi, @arikfr +- #3105 Display frontend version. @rauchy ### Changed -* #2636 Rewrite query editor with React. @washort, @arikfr -* #2637 Convert edit-in-place component to React. @washort, @arikfr -* #2766 Suitable events are now being recorded server side instead of in the frontend. @alison985, @jezdez -* #2796 Change placement (right/bottom) of chart legend depending on chart width. @kravets-levko -* #2833 Uses server side sort order for tag list and show count of tagged items. @jezdez -* #2318 Support authentication for the URL data source. @jezdez -* #2884 Rename Yandex Metrika to Metrica. @jezdez -* #2909 MySQL: hide sys tables. @arikfr -* #2817 Consistently use simplejson for loading and dumping JSON. @jezdez -* #2872 Use Plotly's function to clean y-values (x may be category or date/time). @kravets-levko -* #2938 Auto focus tag input. @kyoshidajp -* #2927 Design refinements for queries pages. @kocsmy -* #2950 Show activity status in CLI user list. @GitSumito -* #2968 Presto data source: setting protocol (http/https), safe loading of error messages. @arikfr -* #2967 Show groups in CLI user list. @GitSumito -* #2603 MongoDB: Update requirements to support srv. @arikfr -* #2961 MongoDB: Skip system collections when loading schema. @arikfr -* #2960 Add timeout to various HTTP requests. @arikfr -* #2983 Databricks: New logo, updated name and enabled by default. @arikfr -* #2982 Table visualization: change default size to 25 and add more size options. @arikfr -* #2866 Redshift: Hide tables the configured user cannot access. @sjakthol -* #3058 Mustache: don't html-escape query parameters values. @kravets-levko -* #3079 Always use basic autocomplete, as well as the live autocomplete. @arikfr -* #3084 Support tel://, sms://, mailto:// links in query results. @zhujunsan -* #3083 Clickhouse: Add WITH TOTALS option support. @denisov-vlad -* #3063 Allow setting colors for bubble charts. @toph -* #3085 BigQuery: Switch to Standard SQL as the default. @kyoshidajp -* #3094 Tags autocomplete: Show note when creating a new label. @kravets-levko -* #2984 Autocomplete toggle improvements. @arikfr -* #3089 Open new tab when forking a query. @kyoshidajp -* #3126 MongoDB: add support for sorting columns. @arikfr -* #3128 Improve backoff algorithm of query results polling to speed it up. @arikfr -* #3125 Vertica: update driver & add support for connection timeout. @arikfr -* #3124 Support unicode in Postgres/Redshift schema. @arikfr -* #3138 Migrate all tags components to React. @kravets-levko -* #3139 Better manage permissions modal. @kocsmy -* #3149 Improve tag link colors and fix group tags on Users page. @kocsmy -* #3146 Update, replace and fix new alert destination logos so it fits better. @kocsmy -* #3147 Add and improve recent db logos that didn't fit in size properly. @kocsmy -* #3148 Fix label positioning on no found screen. @kocsmy -* #3156 json_dumps: add support for serializing buffer objects. @arikfr +- #2636 Rewrite query editor with React. @washort, @arikfr +- #2637 Convert edit-in-place component to React. @washort, @arikfr +- #2766 Suitable events are now being recorded server side instead of in the frontend. @alison985, @jezdez +- #2796 Change placement (right/bottom) of chart legend depending on chart width. @kravets-levko +- #2833 Uses server side sort order for tag list and show count of tagged items. @jezdez +- #2318 Support authentication for the URL data source. @jezdez +- #2884 Rename Yandex Metrika to Metrica. @jezdez +- #2909 MySQL: hide sys tables. @arikfr +- #2817 Consistently use simplejson for loading and dumping JSON. @jezdez +- #2872 Use Plotly's function to clean y-values (x may be category or date/time). @kravets-levko +- #2938 Auto focus tag input. @kyoshidajp +- #2927 Design refinements for queries pages. @kocsmy +- #2950 Show activity status in CLI user list. @GitSumito +- #2968 Presto data source: setting protocol (http/https), safe loading of error messages. @arikfr +- #2967 Show groups in CLI user list. @GitSumito +- #2603 MongoDB: Update requirements to support srv. @arikfr +- #2961 MongoDB: Skip system collections when loading schema. @arikfr +- #2960 Add timeout to various HTTP requests. @arikfr +- #2983 Databricks: New logo, updated name and enabled by default. @arikfr +- #2982 Table visualization: change default size to 25 and add more size options. @arikfr +- #2866 Redshift: Hide tables the configured user cannot access. @sjakthol +- #3058 Mustache: don't html-escape query parameters values. @kravets-levko +- #3079 Always use basic autocomplete, as well as the live autocomplete. @arikfr +- #3084 Support tel://, sms://, mailto:// links in query results. @zhujunsan +- #3083 Clickhouse: Add WITH TOTALS option support. @denisov-vlad +- #3063 Allow setting colors for bubble charts. @toph +- #3085 BigQuery: Switch to Standard SQL as the default. @kyoshidajp +- #3094 Tags autocomplete: Show note when creating a new label. @kravets-levko +- #2984 Autocomplete toggle improvements. @arikfr +- #3089 Open new tab when forking a query. @kyoshidajp +- #3126 MongoDB: add support for sorting columns. @arikfr +- #3128 Improve backoff algorithm of query results polling to speed it up. @arikfr +- #3125 Vertica: update driver & add support for connection timeout. @arikfr +- #3124 Support unicode in Postgres/Redshift schema. @arikfr +- #3138 Migrate all tags components to React. @kravets-levko +- #3139 Better manage permissions modal. @kocsmy +- #3149 Improve tag link colors and fix group tags on Users page. @kocsmy +- #3146 Update, replace and fix new alert destination logos so it fits better. @kocsmy +- #3147 Add and improve recent db logos that didn't fit in size properly. @kocsmy +- #3148 Fix label positioning on no found screen. @kocsmy +- #3156 json_dumps: add support for serializing buffer objects. @arikfr ### Fixed -* #2849 Fix invalid reference to alert.to_dict() in webhook. @wankdanker -* #2840 Improve counter visualization text scaling. @kravets-levko -* #2854 Widget titles are no longer rendered wrong on public dashboards. @kravets-levko -* #2318 Removed redundant exception handling in data sources since that's handled in the query backend. @jezdez -* #2886 Fix Javascript build that broke because registerAll tried to run EditInPlace component. @arikfr -* #2911 Don’t show “Add to dashboard” in dropdown to unsaved queries. @jezdez -* #2916 Fix export query results output file name. @gabrieldutra -* #2917 Fix output file name not changing after rename query. @gabrieldutra -* #2868 Address edge case when retrieving Glue schemas for Athena data source. @kadrach -* #2929 Fix: date value in a filter is duplicated. @combineads -* #2875 Unbreak charts with long legend break in horizontal mode. Update plotly.js. @kravets-levko -* #2937 Fix event recording in admin API backend. @kyoshidajp -* #2953 Minor fixes for the Clickhouse data source. @denisov-vlad -* #2941 Bring back fix to Box plot hover. @arikfr -* #2957 Apply missing CSS classes to EditInPlace component. @arikfr -* #2897 Show "Add description" only after saving the query. @arikfr -* #2922 Query page layout improvements for small screens. @kravets-levko -* #2956 Clickhouse: move timeout to params. @denisov-vlad -* #2964 Fix no tags shown when having empty set. @gabrieldutra -* #2757 Use full text search ranking when searching in list views. @jezdez -* #2969 Query Results data source: improved errors, quoted column names. @arikfr -* #2906 Preventing open redirection in loging process. @kyoshidajp -* #2867 TreasureData: Deduplicate column names. @zaimy -* #2994 Fix scheme of various URLs from http to https. @kyoshidajp -* #2992 Fix an invalid prop type warning in new version notifier. @kyoshidajp -* #3022 Fix Toolbox covering part of a chart. @kravets-levko -* #2998 Fix charts losing responsive features after refreshing the dashboard. @kravets-levko -* #3034 Postgres: handle NaN/Infinity values. @kravets-levko -* #2745 Sort columns with undefined values. @Yossi-a -* #3041 Sort CLI output of lists. @GitSumito -* #2803, #3006 Address various tag display issues on query list page. @kocsmy, @alison985 -* #3049 Fix edit-in-place component which ignored isEditable flag and didn't work on Groups page. @kravets-levko -* #2965 Google Analytics: Fix crash when no results are returned. @alexanderlz -* #3061 Fix table visualization so that the horizontal scrollbar is not be always visible. @kravets-levko -* #3076 Add white-space padding to separators in the footer. @burnash -* #2919 Fix URL data source to not require a URL. @arikfr -* #3098 Force AngularJS to update query editor properly. @washort -* #3100 Delete redundant regex segment in query result frontend. @zhujunsan -* #2978 Prevent the query update timestamp from changing when it is linked to new query results. @rauchy -* #3046 Fix query page header. @kravets-levko -* #3097 Mongo: Fix collection fields retreival bug when Views are present. @jodevsa -* #3107 Keep query text in local state for now. @washort -* #3111 Fix mobile padding issues on Query results. @kocsmy -* #3122 Show menu divider only if query is archived. @jezdez -* #3120 Fix tag counts for dashboards and queries. @jezdez -* #3141 Fix schema refresh to work on MySQL 8. @hoangphuoc25 -* #3142 Fix: editing dashboard title results in the visualizations being replaced by the loading markers. @kravets-levko +- #2849 Fix invalid reference to alert.to_dict() in webhook. @wankdanker +- #2840 Improve counter visualization text scaling. @kravets-levko +- #2854 Widget titles are no longer rendered wrong on public dashboards. @kravets-levko +- #2318 Removed redundant exception handling in data sources since that's handled in the query backend. @jezdez +- #2886 Fix Javascript build that broke because registerAll tried to run EditInPlace component. @arikfr +- #2911 Don’t show “Add to dashboard” in dropdown to unsaved queries. @jezdez +- #2916 Fix export query results output file name. @gabrieldutra +- #2917 Fix output file name not changing after rename query. @gabrieldutra +- #2868 Address edge case when retrieving Glue schemas for Athena data source. @kadrach +- #2929 Fix: date value in a filter is duplicated. @combineads +- #2875 Unbreak charts with long legend break in horizontal mode. Update plotly.js. @kravets-levko +- #2937 Fix event recording in admin API backend. @kyoshidajp +- #2953 Minor fixes for the Clickhouse data source. @denisov-vlad +- #2941 Bring back fix to Box plot hover. @arikfr +- #2957 Apply missing CSS classes to EditInPlace component. @arikfr +- #2897 Show "Add description" only after saving the query. @arikfr +- #2922 Query page layout improvements for small screens. @kravets-levko +- #2956 Clickhouse: move timeout to params. @denisov-vlad +- #2964 Fix no tags shown when having empty set. @gabrieldutra +- #2757 Use full text search ranking when searching in list views. @jezdez +- #2969 Query Results data source: improved errors, quoted column names. @arikfr +- #2906 Preventing open redirection in loging process. @kyoshidajp +- #2867 TreasureData: Deduplicate column names. @zaimy +- #2994 Fix scheme of various URLs from http to https. @kyoshidajp +- #2992 Fix an invalid prop type warning in new version notifier. @kyoshidajp +- #3022 Fix Toolbox covering part of a chart. @kravets-levko +- #2998 Fix charts losing responsive features after refreshing the dashboard. @kravets-levko +- #3034 Postgres: handle NaN/Infinity values. @kravets-levko +- #2745 Sort columns with undefined values. @Yossi-a +- #3041 Sort CLI output of lists. @GitSumito +- #2803, #3006 Address various tag display issues on query list page. @kocsmy, @alison985 +- #3049 Fix edit-in-place component which ignored isEditable flag and didn't work on Groups page. @kravets-levko +- #2965 Google Analytics: Fix crash when no results are returned. @alexanderlz +- #3061 Fix table visualization so that the horizontal scrollbar is not be always visible. @kravets-levko +- #3076 Add white-space padding to separators in the footer. @burnash +- #2919 Fix URL data source to not require a URL. @arikfr +- #3098 Force AngularJS to update query editor properly. @washort +- #3100 Delete redundant regex segment in query result frontend. @zhujunsan +- #2978 Prevent the query update timestamp from changing when it is linked to new query results. @rauchy +- #3046 Fix query page header. @kravets-levko +- #3097 Mongo: Fix collection fields retreival bug when Views are present. @jodevsa +- #3107 Keep query text in local state for now. @washort +- #3111 Fix mobile padding issues on Query results. @kocsmy +- #3122 Show menu divider only if query is archived. @jezdez +- #3120 Fix tag counts for dashboards and queries. @jezdez +- #3141 Fix schema refresh to work on MySQL 8. @hoangphuoc25 +- #3142 Fix: editing dashboard title results in the visualizations being replaced by the loading markers. @kravets-levko ### Other -* #2850 The setup scripts are now based on Ubuntu 18.04 LTS and Docker. @pashaxp, @arikfr -* #2985 Add Jest based tests to our stack. @arikfr -* #2999 Add netlify configuration. @arikfr -* #3000 Initial Cypress based E2E test infrastructure. @gabrieldutra -* #2898 Move Ant styles into a central location. @arikfr -* #2910 Fix webpack build error about BigMessage. @jezdez -* #2928 Speed up builds by skipping installing requirements_all_ds.txt in CI unit tests. @arikfr -* #2963 Fix tarball build failure. @emtwo -* #2996 Fix setup.sh failures when run as root. @arikfr -* #2989 Rearrange make targets. @koooge -* #3036 Update Flask-Admin to 1.5.2. @yoavbls -* #2901 Fix documentation links. @kravets-levko -* #3073 Remove only Redash containers in clean Make task. @ariarijp -* #3048 Remove pytest-watch dependency to workaround an issue with watchdog. @rauchy -* #2905 Update development docker-compose.yml file to use latest Redis and Postgres servers and specify working volume explictly. @Rovel -* #3032 Makefile: Add make targets for test. @koooge -* #2933 Switch to Webpack 4. @dmonego -* #2908 Update setup files. @arikfr -* #2946 Update snowflake_connector_python version. @arikfr -* #2773 Upgrade to Celery 4.2.1. @emtwo, @jezdez -* #2881 CircleCI: Make flake8 tests pass on Legacy Python and Python 3. @cclauss -* #2907 Remove unused dependencies (honcho, wsgiref). @arikfr -* #3039 Build docker image on master branch. @arikfr -* #3106 Fix registerAll failures after minification. @arikfr - +- #2850 The setup scripts are now based on Ubuntu 18.04 LTS and Docker. @pashaxp, @arikfr +- #2985 Add Jest based tests to our stack. @arikfr +- #2999 Add netlify configuration. @arikfr +- #3000 Initial Cypress based E2E test infrastructure. @gabrieldutra +- #2898 Move Ant styles into a central location. @arikfr +- #2910 Fix webpack build error about BigMessage. @jezdez +- #2928 Speed up builds by skipping installing requirements_all_ds.txt in CI unit tests. @arikfr +- #2963 Fix tarball build failure. @emtwo +- #2996 Fix setup.sh failures when run as root. @arikfr +- #2989 Rearrange make targets. @koooge +- #3036 Update Flask-Admin to 1.5.2. @yoavbls +- #2901 Fix documentation links. @kravets-levko +- #3073 Remove only Redash containers in clean Make task. @ariarijp +- #3048 Remove pytest-watch dependency to workaround an issue with watchdog. @rauchy +- #2905 Update development docker-compose.yml file to use latest Redis and Postgres servers and specify working volume explictly. @Rovel +- #3032 Makefile: Add make targets for test. @koooge +- #2933 Switch to Webpack 4. @dmonego +- #2908 Update setup files. @arikfr +- #2946 Update snowflake_connector_python version. @arikfr +- #2773 Upgrade to Celery 4.2.1. @emtwo, @jezdez +- #2881 CircleCI: Make flake8 tests pass on Legacy Python and Python 3. @cclauss +- #2907 Remove unused dependencies (honcho, wsgiref). @arikfr +- #3039 Build docker image on master branch. @arikfr +- #3106 Fix registerAll failures after minification. @arikfr ## v5.0.2 - 2018-10-18 ### Security -* Fix: prevent Open Redirect vulnerability. - +- Fix: prevent Open Redirect vulnerability. ## v5.0.1 - 2018-09-27 ### Added -* Added support for JWT authentication (for services like Cloudflare Access or Google IAP). +- Added support for JWT authentication (for services like Cloudflare Access or Google IAP). ### Changed -* Upgraded Celery version to 3.1.26 to make upgrade to Celery 4 easier. - +- Upgraded Celery version to 3.1.26 to make upgrade to Celery 4 easier. ## v5.0.0 - 2018-09-21 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. - ### Security -* Fix: don't expose Google OAuth client secret. @arikfr +- Fix: don't expose Google OAuth client secret. @arikfr ### Changed -* Improve mobile rendering of dashboards and queries. @kocsmy -* UI improvements for favorites and empty state. @arikfr -* Remove unnecessary X at the end of the query search. @kocsmy -* Add server-side sorting to dashboard list. @jezdez -* Sort queries in descending order. @jezdez -* Throw error when non-owner tries to add a user to dashboard permissions. @alison985 -* Propagate query execution errors from Celery tasks properly. @alison985 -* Reload the route when using the app header search input. @jezdez +- Improve mobile rendering of dashboards and queries. @kocsmy +- UI improvements for favorites and empty state. @arikfr +- Remove unnecessary X at the end of the query search. @kocsmy +- Add server-side sorting to dashboard list. @jezdez +- Sort queries in descending order. @jezdez +- Throw error when non-owner tries to add a user to dashboard permissions. @alison985 +- Propagate query execution errors from Celery tasks properly. @alison985 +- Reload the route when using the app header search input. @jezdez ### Fixed -* Fix: BigQuery default location is null and not US. @arikfr -* Fix: query embeds are broken. @arikfr -* Fix: typo in Celery log foramt. @ariarijp -* Use QuerySerializer in outdated queries list. @jezdez -* Fix: sometimes widgets are getting zero height. @kravets-levko -* Athena: Switch to simple_json to serialize NaN/Infinity values as nulls. @kravets-levko, @jezdez -* Fix: queries with parameters with no value breaking the scheduler. @arikfr -* Fix: MongoDB query results parser didn't support unicode keys. @arikfr -* Fix: Google Analytics schema wasn't loading in some cases. @arikfr -* Fix: date/time parameters not working as global param @kravets-levko. -* Fix: Widgets crumble when trying to move / resize a widget. @kravets-levko -* Fix: handling rows with "length" field with forOwn method. @yossi-a -* Fix: query selection not working on alert page. @sjakthol -* Fix: query_results for Embedded Parameters (removed deprecated to_dict function). @nasmithan -* Fix: unicode not supported in dashboard search. @combineads -* Fix: unicode not supported in users search. @arikfr +- Fix: BigQuery default location is null and not US. @arikfr +- Fix: query embeds are broken. @arikfr +- Fix: typo in Celery log foramt. @ariarijp +- Use QuerySerializer in outdated queries list. @jezdez +- Fix: sometimes widgets are getting zero height. @kravets-levko +- Athena: Switch to simple_json to serialize NaN/Infinity values as nulls. @kravets-levko, @jezdez +- Fix: queries with parameters with no value breaking the scheduler. @arikfr +- Fix: MongoDB query results parser didn't support unicode keys. @arikfr +- Fix: Google Analytics schema wasn't loading in some cases. @arikfr +- Fix: date/time parameters not working as global param @kravets-levko. +- Fix: Widgets crumble when trying to move / resize a widget. @kravets-levko +- Fix: handling rows with "length" field with forOwn method. @yossi-a +- Fix: query selection not working on alert page. @sjakthol +- Fix: query_results for Embedded Parameters (removed deprecated to_dict function). @nasmithan +- Fix: unicode not supported in dashboard search. @combineads +- Fix: unicode not supported in users search. @arikfr ### Other -* Add test for using saved parameters in scheduled queries. @alison985 -* Minor code smell cleanup. @jezdez -* Update QueryResultListResource docstring. @tdsmith -* Switch to CirlceCI 2.0 @jrbenny35, @arikfr -* Remove unnecessary init methods. @jezdez - +- Add test for using saved parameters in scheduled queries. @alison985 +- Minor code smell cleanup. @jezdez +- Update QueryResultListResource docstring. @tdsmith +- Switch to CirlceCI 2.0 @jrbenny35, @arikfr +- Remove unnecessary init methods. @jezdez ## v5.0.0-Beta - 2018-08-06 @@ -284,19 +355,19 @@ This is the first beta of the V5 release (and hopefully the last one). This vers 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. +- 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! @@ -304,82 +375,82 @@ And much more! ### Added -* #2712: Date/Time Range parameter type (@kravets-levko) -* #2482: Add support for ChatWork Alert Destination. (@matsumo) -* #2678: Explicit "Add Parameter" Button in Query Editor. (@kravets-levko) -* #2513: Add location property to BigQuery data source settings. (@kyoshidajp) -* #2616: Pie chart: support setting pie chart sector colors. (@kravets-levko) -* #2697: Date/Time parameters: support for "Now" as default value. (@kravets-levko) -* #2693: Enable search function in Query Editor. (@arikfr) -* #2573: Tagging and favorites for Queries and Dashboards (@arikfr) -* #2640: Keyboard shortcut to collapse query editor/schema browser (@kravets-levko) -* #2674: Add support for the Chrome Logger extension (@arikfr) -* #2653: Add redash db size to status page (@alison985) -* #2669: Store Athena query id with result metadata (@tdawber) -* #2546: Configuration for incorporating React components (@washort) -* #2533: New datasource: Yandex Metrika & AppMetrika (@denisov-vlad) -* #2536: Chart: formats for values, labels and tooltips (@kravets-levko) -* #2560: Introduce Policy object (@arikfr) -* #2380: Admin should be able to disable a user (@kravets-levko) -* #2509: Show custom date format on settings page (@kyoshidajp) +- #2712: Date/Time Range parameter type (@kravets-levko) +- #2482: Add support for ChatWork Alert Destination. (@matsumo) +- #2678: Explicit "Add Parameter" Button in Query Editor. (@kravets-levko) +- #2513: Add location property to BigQuery data source settings. (@kyoshidajp) +- #2616: Pie chart: support setting pie chart sector colors. (@kravets-levko) +- #2697: Date/Time parameters: support for "Now" as default value. (@kravets-levko) +- #2693: Enable search function in Query Editor. (@arikfr) +- #2573: Tagging and favorites for Queries and Dashboards (@arikfr) +- #2640: Keyboard shortcut to collapse query editor/schema browser (@kravets-levko) +- #2674: Add support for the Chrome Logger extension (@arikfr) +- #2653: Add redash db size to status page (@alison985) +- #2669: Store Athena query id with result metadata (@tdawber) +- #2546: Configuration for incorporating React components (@washort) +- #2533: New datasource: Yandex Metrika & AppMetrika (@denisov-vlad) +- #2536: Chart: formats for values, labels and tooltips (@kravets-levko) +- #2560: Introduce Policy object (@arikfr) +- #2380: Admin should be able to disable a user (@kravets-levko) +- #2509: Show custom date format on settings page (@kyoshidajp) ### Changed -* #2715: Improve users list page (@arikfr) -* #2710: Update Ant variables to fit Redash's style (@kocsmy) -* #2709: Move format button next Add New Param button. (@arikfr) -* #2664: Dashboard shows a spinner when query failed to load (@kravets-levko) -* #2626: Show real status when loading cached query result (@kravets-levko) -* #2663: Set column name implicitly when column name is blank (@ariarijp) -* #2695: Improve Date/DateTime type parameters (@kravets-levko) -* #2694: Block users with disposable email addresses (@arikfr) -* #2687: YAML: changed load to safe_load (@denisov-vlad) -* #2514: Update value parsing for google spreadsheets source (@atharvai) -* #2570: fixes query pagination alignment (@alison985) -* #2584: keep query result pagination out of scroll (@alison985) -* #2647: Improve Script Query Runner (@ariarijp) -* #2583: Query header improvements on widgets (@kocsmy) -* #2671: Save some space (@kocsmy) -* #2658: delaying schema filtering to improve responsiveness (@alison985) -* #2648: Update datasource documentation links (@Pablohn26) -* #2613: Improve Script Query Runner (@ariarijp) -* #2619: data source sort case insensitive (@alison985) -* #2604: Improve Google Spreadsheets Query Runner (@ariarijp) -* #2542: Closes #2541: x-axis improvements. (@emtwo) -* #2590: Remove redundant variables (@ariarijp) -* #2585: Show data only mode: allow to add and delete visualizations (@kravets-levko) -* #2549: Allow get_tables to see views and v10-style partitioned tables (@coreyhuinker) -* #2568: sort datasources alphabetically (@alison985) -* #2444: feat: show error if saml response cannot be parsed (@sjakthol) -* #2554: Display name to be delete (@kyoshidajp) -* #2510: Display confirmation dialog when deleting a item (@kyoshidajp) -* #2518: Design improvements (@kocsmy) -* #2520: Filter data sources in a data source input area (@kyoshidajp) +- #2715: Improve users list page (@arikfr) +- #2710: Update Ant variables to fit Redash's style (@kocsmy) +- #2709: Move format button next Add New Param button. (@arikfr) +- #2664: Dashboard shows a spinner when query failed to load (@kravets-levko) +- #2626: Show real status when loading cached query result (@kravets-levko) +- #2663: Set column name implicitly when column name is blank (@ariarijp) +- #2695: Improve Date/DateTime type parameters (@kravets-levko) +- #2694: Block users with disposable email addresses (@arikfr) +- #2687: YAML: changed load to safe_load (@denisov-vlad) +- #2514: Update value parsing for google spreadsheets source (@atharvai) +- #2570: fixes query pagination alignment (@alison985) +- #2584: keep query result pagination out of scroll (@alison985) +- #2647: Improve Script Query Runner (@ariarijp) +- #2583: Query header improvements on widgets (@kocsmy) +- #2671: Save some space (@kocsmy) +- #2658: delaying schema filtering to improve responsiveness (@alison985) +- #2648: Update datasource documentation links (@Pablohn26) +- #2613: Improve Script Query Runner (@ariarijp) +- #2619: data source sort case insensitive (@alison985) +- #2604: Improve Google Spreadsheets Query Runner (@ariarijp) +- #2542: Closes #2541: x-axis improvements. (@emtwo) +- #2590: Remove redundant variables (@ariarijp) +- #2585: Show data only mode: allow to add and delete visualizations (@kravets-levko) +- #2549: Allow get_tables to see views and v10-style partitioned tables (@coreyhuinker) +- #2568: sort datasources alphabetically (@alison985) +- #2444: feat: show error if saml response cannot be parsed (@sjakthol) +- #2554: Display name to be delete (@kyoshidajp) +- #2510: Display confirmation dialog when deleting a item (@kyoshidajp) +- #2518: Design improvements (@kocsmy) +- #2520: Filter data sources in a data source input area (@kyoshidajp) ### Fixed -* #2722: Elasticsearch: Don't send source_content_type parameter. (@arikfr) -* #2719: Remove closing input tags (@maxv) -* #2458: Get all tables in the BigQuery (@kyoshidajp) -* #2698: Make sure we return distinct data source values (@arikfr) -* #2315: Fix: pyHive type matches (@yuua) -* #2638: Dashboard stops rendering when adding widget with empty query (@kravets-levko) -* #2610: Fix export query results output file name (@gabrieldutra) -* #2574: commit query result to db before evaluating alerts (@mtrbean) -* #2580: add break-word wrap to add/edit text box on dashboard (@alison985) -* #2578: Fix connection error when you run "create_tables" (@ariarijp) -* #2572: remove extra menu line if query is archived (@alison985) -* #2526: Fix pivot hide control in dashboards (@deecay) -* #2511: Fixing signed_out.html template (@kocsmy) -* #2523: Frontend: fix boolean field with null value display as null. (@innovia) +- #2722: Elasticsearch: Don't send source_content_type parameter. (@arikfr) +- #2719: Remove closing input tags (@maxv) +- #2458: Get all tables in the BigQuery (@kyoshidajp) +- #2698: Make sure we return distinct data source values (@arikfr) +- #2315: Fix: pyHive type matches (@yuua) +- #2638: Dashboard stops rendering when adding widget with empty query (@kravets-levko) +- #2610: Fix export query results output file name (@gabrieldutra) +- #2574: commit query result to db before evaluating alerts (@mtrbean) +- #2580: add break-word wrap to add/edit text box on dashboard (@alison985) +- #2578: Fix connection error when you run "create_tables" (@ariarijp) +- #2572: remove extra menu line if query is archived (@alison985) +- #2526: Fix pivot hide control in dashboards (@deecay) +- #2511: Fixing signed_out.html template (@kocsmy) +- #2523: Frontend: fix boolean field with null value display as null. (@innovia) ### Other -* #2682: Add Zeit's now support to have preview builds for every PR (@arikfr) -* #2668: Upgrade bootstrap script to Redash 4.0.1 (@ariarijp) -* #2639: Add tests for SpreadSheets (@ariarijp) -* #2635: Add tests for Query Results (@ariarijp) -* #2537: Remove trailing semicolon (@sieben) +- #2682: Add Zeit's now support to have preview builds for every PR (@arikfr) +- #2668: Upgrade bootstrap script to Redash 4.0.1 (@ariarijp) +- #2639: Add tests for SpreadSheets (@ariarijp) +- #2635: Add tests for Query Results (@ariarijp) +- #2537: Remove trailing semicolon (@sieben) ## v4.0.1 - 2018-05-02 @@ -571,7 +642,6 @@ And much more! - Handling whitespace characters in Query Results data source. @ariarijp - [MySQL] Close cursor when cancellig the query. @jasonsmithj - ## v3.0.0 - 2017-11-13 ### Added @@ -617,7 +687,7 @@ And much more! - Salesforce: improve error messages we receive from the API. @akiray03 - Custom JS code visualization improvements. @deecay - DQL: Update version to 0.5.24. @aterreno -- Cassandra: get_schema support for both C* 2.x and 3.x, support for SortedSet type serialization. (@mfouilleul)) +- Cassandra: get_schema support for both C\* 2.x and 3.x, support for SortedSet type serialization. (@mfouilleul)) - Replace deprecated ng-annotate with babel plugin. @44px - Update Python dependencies to recent versions. @alison985 - Bootstrap script: create /opt/redash directory only if it doesn't exist. @isomura @@ -653,7 +723,6 @@ And much more! This is a patch release, that adds support for Redshift ACM certificates (see #2044 for details). - ## v2.0.0 - 2017-08-08 ### Added @@ -663,7 +732,7 @@ This is a patch release, that adds support for Redshift ACM certificates (see #2 - Add the propertyOrder field to specify order of data source settings. @rmakulov - Add Plotly based Boxplot visualization. @deecay - [Presto] Add: query cancellation support. @fbertsch -- [MongoDB] add $oids JSON extension. +- [MongoDB] add \$oids JSON extension. - [PostgreSQL] support for loading materialized views in schema. - [MySQL] Add option to hide SSL settings. - [MySQL] support for RDS MySQL and SSL. @@ -733,7 +802,7 @@ This is a patch release, that adds support for Redshift ACM certificates (see #2 - [Google Spreadsheets] handle distant future dates. - [SQLite] better handle utf-8 error messages. - Fix: don't remove locks for queries with task status of PENDING. -- Only split columns with __/:: that end with filter/MultiFilter. +- Only split columns with \_\_/:: that end with filter/MultiFilter. - Alert notifications fail (sometime) with a SQLAlchemy error. - Safeguard against empty query results when checking alert status. @danielerapati - Delete data source doesn't work when query results referenced by queries. @@ -752,7 +821,6 @@ This is a patch release, that adds support for Redshift ACM certificates (see #2 - PostgreSQL passwords with spaces were not supported. (#1056) - PivotTable wasn't updating after first save. - ## v1.0.3 - 2017-04-18 ### Fixed @@ -799,7 +867,7 @@ This is a patch release, that adds support for Redshift ACM certificates (see #2 - Fix: query embed dialog close button wasn't working @r0fls - Fix: make errors from Presto runner JSON-serializable @washort - Fix: race condition in query task status reporting @washort -- Fix: remove $$hashKey from Pivot table +- Fix: remove \$\$hashKey from Pivot table - Fix: map visualization had severe performance issue. - Fix: pemrission dialog wasn't rendering. - Fix: word cloud visualization didn't show column names. @@ -816,7 +884,7 @@ This is a patch release, that adds support for Redshift ACM certificates (see #2 ### Changed - [#1563](https://github.com/getredash/redash/pull/1563) Send events to webhook as JSON with a schema. -- [#1601] [Presto] friendlier error messages. (@aslotnick) +- [#1601][presto] friendlier error messages. (@aslotnick) - Move the query runner unavailable log message to be DEBUG level instead of WARNING, as it was mainly confusing people. - Remove "Send to Cloud" button from Plotly based visualizations. - Change Plotly's default hover mode to "Compare". @@ -825,7 +893,7 @@ This is a patch release, that adds support for Redshift ACM certificates (see #2 ### Fixed - [#1564] Fix: map visualization column picker wasn't populated. (@janusd) -- [#1597] [SQL Server] Fix: schema wasn't loading on case sensitive servers. (@deecay) +- [#1597][sql server] Fix: schema wasn't loading on case sensitive servers. (@deecay) - Fix: dashbonard owner couldn't edit his dashboard. - Fix: toggle_publish event wasn't logged properly. - Fix: events with API keys were not logged. @@ -840,7 +908,7 @@ This is a patch release, that adds support for Redshift ACM certificates (see #2 - Fix: extra whitespace created by the filters component. - Fix: query results cleanup task was trying to delete query objects. - Fix: alert subscriptions were not triggered. -- [DynamoDB] Fix: count(*) queries were broken. (@kopanitsa)) +- [DynamoDB] Fix: count(\*) queries were broken. (@kopanitsa)) - Fix: Redash is using too many database connections. - Fix: download links were not working in dashboards. - Fix: the first selection in multi filters was broken in dashboards. @@ -857,9 +925,9 @@ This is a patch release, that adds support for Redshift ACM certificates (see #2 This version has two big changes behind the scenes: -* Refactor the frontend to use latest (at the time) Angular version (1.5) along with better frontend pipeline based on) +- Refactor the frontend to use latest (at the time) Angular version (1.5) along with better frontend pipeline based on) WebPack. -* Refactor the backend code to use SQLAlchemy and Alembic, for easier migrations/upgrades.) +- Refactor the backend code to use SQLAlchemy and Alembic, for easier migrations/upgrades.) Along with that we have many fixes, additions, new data sources (Google Analytics, ClickHouse, Amazon Athena, Snowflake) and fixes to the existing ones (mainly ElasticSearch and Cassandra). @@ -942,7 +1010,7 @@ We're releasing a new upgrade script -- see [here](https://redash.io/help-onprem ### Added -- 61fe16e #1374: Add: allow '*' in REDASH_CORS_ACCESS_CONTROL_ALLOW_ORIGIN (Allen Short) +- 61fe16e #1374: Add: allow '\*' in REDASH_CORS_ACCESS_CONTROL_ALLOW_ORIGIN (Allen Short) - 2f09043 #1113: Add: share modify/access permissions for queries and dashboard (whummer) - 3db0eea #1341: Add: support for specifying SAML nameid-format (zoetrope) - b0ecd0e #1343: Add: support for local SAML metadata file (zoetrope) @@ -1006,7 +1074,6 @@ We're releasing a new upgrade script -- see [here](https://redash.io/help-onprem - 5d43cbe #1198: Change: add support for Standard SQL in BigQuery query runner (mystelynx) - 84d0c22 #1193: Change: modify the argument order of moment.add function call (Kenya Yamaguchi) - ### Fixed - d6febb0 #1375: Fix: Download Dataset does not work when not logged in (Joshua Dechant) @@ -1060,7 +1127,7 @@ The main features of this release are: Also, this release includes numerous smaller features, improvements, and bug fixes. -A big thank you goes to all who contributed code and documentation in this release: @AntoineAugusti, @James226, @adamlwgriffiths, @alexdebrie, @anthony-coble, @ariarijp, @dheerajrav, @edwardsharp, @machira, @nabilblk, @ninneko, @ordd, @tomerben, @toru-takahashi, @vishesh92, @vorakumar and @whummer. +A big thank you goes to all who contributed code and documentation in this release: @AntoineAugusti, @James226, @adamlwgriffiths, @alexdebrie, @anthony-coble, @ariarijp, @dheerajrav, @edwardsharp, @machira, @nabilblk, @ninneko, @ordd, @tomerben, @toru-takahashi, @vishesh92, @vorakumar and @whummer. ### Added @@ -1075,7 +1142,7 @@ A big thank you goes to all who contributed code and documentation in this relea - f64622d #1089: Add support for serialising UUID type within MSSQL #961 (@James226) - 857caab #1085: Feature: API to pause a data source (@arikfr) - 214aa3b #1060: Feature: support configuring user's groups with SAML (@vorakumar) -- e20a005 #1007: Issue#1006: Make bottom margin editable for Chart visualization (@vorakumar) +- e20a005 #1007: Issue#1006: Make bottom margin editable for Chart visualization (@vorakumar) - 6e0dd2b #1063: Add support for date/time Y axis (@tomerben) - b5a4a6b #979: Feature: Add CLI to edit group permissions (@ninneko) - 6d495d2 #1014: Add server-side parameter handling for embeds (@whummer) @@ -1121,7 +1188,7 @@ A big thank you goes to all who contributed code and documentation in this relea - e10ecd2 #1058: Bring back filters if dashboard filters are enabled (@AntoineAugusti) - 701035f #1059: Fix: DynamoDB having issues when setting host (@arikfr) - 2924d4f #1040: Small fixes to visualizations view (@arikfr) -- fec0d5f #1037: Fix: multi filter wasn't working with __ syntax (@dheerajrav) +- fec0d5f #1037: Fix: multi filter wasn't working with \_\_ syntax (@dheerajrav) - b066ce4 #1033: Fix: only ask for notification permissions if wasn't denied (@arikfr) - 960c416 #1032: Fix: make sure we return dashboards only for current org only (@arikfr) - b3844d3 #1029: Hive: close connection only if it exists (@arikfr) diff --git a/package-lock.json b/package-lock.json index 65aa9733a9..bc402d3cde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "redash-client", - "version": "7.0.0-beta", + "version": "7.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 620281bae0..8533ae3882 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "redash-client", - "version": "7.0.0-beta", + "version": "7.0.0", "description": "The frontend part of Redash.", "main": "index.js", "scripts": { diff --git a/redash/__init__.py b/redash/__init__.py index 790549de63..e4a3fef8d4 100644 --- a/redash/__init__.py +++ b/redash/__init__.py @@ -19,7 +19,7 @@ from redash.destinations import import_destinations -__version__ = '7.0.0-beta' +__version__ = '7.0.0' import os From 571eab08ad632b1c316ad7dd11a76b19637b0a54 Mon Sep 17 00:00:00 2001 From: Ran Byron Date: Sun, 17 Mar 2019 21:34:44 +0200 Subject: [PATCH 2/4] Update CHANGELOG.md Co-Authored-By: arikfr --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5379f24b7b..82d4bc7af6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ We're trying a new format for the CHANGELOG in this release. Focusing on the bigger changes, but for whoever interested, you can see all the changes [here](https://github.com/getredash/redash/compare/v6.0.0...master). -Besides all the features, bug fixes and improvements listed below we managed to convert a large portion of Redash's frontend code from Angular.js to React. You can see status in #3071. +Besides all the features, bug fixes and improvements listed below we managed to convert a large portion of Redash's frontend code from Angular.js to React. You can see status in [#3071](https://github.com/getredash/redash/issues/3071). This release was made possible with the help of 34 contributors. 🙇‍♂️ From 3f79b4461b2446b8e0bb4ae082b16308f3d7d8c6 Mon Sep 17 00:00:00 2001 From: Ran Byron Date: Sun, 17 Mar 2019 21:43:39 +0200 Subject: [PATCH 3/4] Apply suggestions from code review Co-Authored-By: arikfr --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82d4bc7af6..baec344e4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,24 +29,24 @@ You can now open the [Knowledge Base](https://redash.io/help) inside the applica - **Dashboard Parameters**: We improved the flow of adding queries with parameters to dashboards and now give you full control over how parameters are mapped. You no longer have to make sure all parameters have the same name or use the `Global` checkbox. We also added new options, like keeping the parameter local to the widget or setting a static value. [Read more in our Knowledge Base →](https://redash.io/help/user-guide/querying/query-parameters#Parameter-Mapping-on-Dashboards) - We added server side validation of parameter values for all parameter types, except for parameters of `text` type. All validated parameter types are considered safe. When a query is using safe parameters (or no parameters at all), View Only users can refresh it. -- Refresh of safe queries is done using the new results API endpoint, which takes only a query ID (and optionally parameter values) and does not need the query text. +- Refreshing safe queries is done using the new results API endpoint, which takes only a query ID (and optionally parameter values) and does not need the query text. ### Query Editor Improvements - Run only the highlighted query text: hit Execute after highlighting a portion of your query and only the selected portion will be sent to the database. This is useful for testing sub-SELECT statements and CTE's. -- Improved auto complete: add a dot . after a table name in the query editor and auto complete will only suggests columns on that table. +- Improved auto complete: add a dot . after a table name in the query editor and auto complete will only suggest columns on that table. - Autosave parameter configuration changes. - YAML syntax support (for data sources like Yandex Metrica). ### Improved Query Scheduler -The Query Scheduler got a face lift and some new options: you can pick the day a weekly schedule runs on and also set an end date after which the query will no longer execute on schedule. +The Query Scheduler got a face lift and some new options: you can pick a day for a weekly schedule to run on and also set an end date after which the query will no longer execute on schedule. ### Data Sources We added Apache Drill, Uptycs and a new JSON data source. Also fixed a few bugs in Athena's query runner and others. -### Users Management +### User Management The users page got revamped with a new look and feel and new features: From a63849a791918bc3540ef1c9e940d692cf07b399 Mon Sep 17 00:00:00 2001 From: Ran Byron Date: Sun, 17 Mar 2019 21:51:52 +0200 Subject: [PATCH 4/4] Apply suggestions from code review Co-Authored-By: arikfr --- CHANGELOG.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index baec344e4e..cbefdec544 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,17 +48,17 @@ We added Apache Drill, Uptycs and a new JSON data source. Also fixed a few bugs ### User Management -The users page got revamped with a new look and feel and new features: +The users page got revamped with a new look and feel and few new features: -- An indication when the user was last active. +- An indication when a user was last active. - Show if an invited user hasn't finished the setup process yet (Pending Invitations section). - You can now generate a new API key for users, if there's a concern it was compromised. ### Admin -- New Celery queues status screens to replace the old Queries Status, which should better reflect the status of running queries. +- New Celery queues status screens, replacing the old Queries Status and better reflecting the status of running queries. - Make the queue name for schema refresh job configurable. The default used to be hard coded `schemas`, which is not available on all setups. Now it's `celery`. -- The `gevent` library is installed by default, and you can setup gunicorn to use `gevent` based workers. +- The `gevent` library is installed by default, and you can now setup gunicorn to use `gevent` based workers. - New Docker entrypoint command to do a health check for a worker process. - Flask-Admin is no longer setup or supported. @@ -66,7 +66,7 @@ The users page got revamped with a new look and feel and new features: - New Alert destination: Google Hangouts Chat. - When downloading results from the results API it will set a user friendly filename for the downloaded file. -- Add Archived Queries section to queries list. +- Archived Queries section added to the queries list. ### Bug Fixes