Changelog
### 2.2.0
```
- CORS are now handled by Flask-CORS instead of Flask-RestPlus[2485](https://github.com/opendatateam/udata/pull/2485)
- Oauth changes [2510](https://github.com/opendatateam/udata/pull/2510):
- Authorization code Grant now support PKCE flow
- New command to create an OAuth client
- :warning: Implicit grant is no longer supported
- :warning: Deletion workflow changes [2488](https://github.com/opendatateam/udata/pull/2488):
- Deleting a resource now triggers the deletion of the corresponding static file
- Deleting a dataset now triggers the deletion of the corresponding resources (including community resources) and their static files
- Adding a celery job `purge-orphan-community-resources` to remove community resources not linked to a dataset. This should be scheduled regularly.
- Adding a migration file to populate resources fs_filename new field. Scripts to delete the orphaned files are available [here](https://gist.github.com/quaxsze/dc089e4ecd2e00f82acea573d8d2cfb9).
- Show traceback for migration errors [2513](https://github.com/opendatateam/udata/pull/2513)
- Add `schema` field to ressources. This field can be filled based on an external schema catalog [2512](https://github.com/opendatateam/udata/pull/2512)
- Add 2 new template hooks: `base.modals` (base template) and `dataset.resource.card.extra-buttons` (dataset resource card) [2514](https://github.com/opendatateam/udata/pull/2514)
```
### 2.1.3
```
- Fix internal links in markdown when not starting w/ slash [2500](https://github.com/opendatateam/udata/pull/2500)
- Fix JS error when uploading a resource in certain conditions [2483](https://github.com/opendatateam/udata/pull/2483)
```
### 2.1.2
```
- Add specific query for each model metrics [203](https://github.com/opendatateam/udata-piwik/pull/203)
```
### 2.1.1
```
- Remove object's id in error log message in order to have a cleaner message [195](https://github.com/opendatateam/udata-piwik/pull/195)
```
### 2.1.0
```
- Changed metrics system [185](https://github.com/opendatateam/udata-piwik/pull/185):
- Metrics are now stored into InfluxDB before being injected in udata's objects
- Udata piwik accesses influxDB throught [udata-metrics](https://github.com/opendatateam/udata-metrics)
- The periodic job `piwik-update-metrics` needs to be scheduled in addition to existing jobs, in order to retrieve the views metrics in udata's objects
- The command `update-metrics` was added to trigger the metrics injection manually
```
### 2.0.4
```
- Fix export-csv command (py3 compat) [2472](https://github.com/opendatateam/udata/pull/2472)
```
### 2.0.3
```
- :warning: Security fix: fix XSS in markdown w/ length JS filter [2471](https://github.com/opendatateam/udata/pull/2471)
```
### 2.0.2
```
- [fix] Do not expect a json response from tracking api [192](https://github.com/opendatateam/udata-piwik/pull/190)
```
Links
- PyPI: https://pypi.org/project/udata
- Changelog: https://pyup.io/changelogs/udata/
- Repo: https://github.com/opendatateam/udata
This PR updates udata from 2.0.1 to 2.2.0.
Changelog
### 2.2.0 ``` - CORS are now handled by Flask-CORS instead of Flask-RestPlus[2485](https://github.com/opendatateam/udata/pull/2485) - Oauth changes [2510](https://github.com/opendatateam/udata/pull/2510): - Authorization code Grant now support PKCE flow - New command to create an OAuth client - :warning: Implicit grant is no longer supported - :warning: Deletion workflow changes [2488](https://github.com/opendatateam/udata/pull/2488): - Deleting a resource now triggers the deletion of the corresponding static file - Deleting a dataset now triggers the deletion of the corresponding resources (including community resources) and their static files - Adding a celery job `purge-orphan-community-resources` to remove community resources not linked to a dataset. This should be scheduled regularly. - Adding a migration file to populate resources fs_filename new field. Scripts to delete the orphaned files are available [here](https://gist.github.com/quaxsze/dc089e4ecd2e00f82acea573d8d2cfb9). - Show traceback for migration errors [2513](https://github.com/opendatateam/udata/pull/2513) - Add `schema` field to ressources. This field can be filled based on an external schema catalog [2512](https://github.com/opendatateam/udata/pull/2512) - Add 2 new template hooks: `base.modals` (base template) and `dataset.resource.card.extra-buttons` (dataset resource card) [2514](https://github.com/opendatateam/udata/pull/2514) ``` ### 2.1.3 ``` - Fix internal links in markdown when not starting w/ slash [2500](https://github.com/opendatateam/udata/pull/2500) - Fix JS error when uploading a resource in certain conditions [2483](https://github.com/opendatateam/udata/pull/2483) ``` ### 2.1.2 ``` - Add specific query for each model metrics [203](https://github.com/opendatateam/udata-piwik/pull/203) ``` ### 2.1.1 ``` - Remove object's id in error log message in order to have a cleaner message [195](https://github.com/opendatateam/udata-piwik/pull/195) ``` ### 2.1.0 ``` - Changed metrics system [185](https://github.com/opendatateam/udata-piwik/pull/185): - Metrics are now stored into InfluxDB before being injected in udata's objects - Udata piwik accesses influxDB throught [udata-metrics](https://github.com/opendatateam/udata-metrics) - The periodic job `piwik-update-metrics` needs to be scheduled in addition to existing jobs, in order to retrieve the views metrics in udata's objects - The command `update-metrics` was added to trigger the metrics injection manually ``` ### 2.0.4 ``` - Fix export-csv command (py3 compat) [2472](https://github.com/opendatateam/udata/pull/2472) ``` ### 2.0.3 ``` - :warning: Security fix: fix XSS in markdown w/ length JS filter [2471](https://github.com/opendatateam/udata/pull/2471) ``` ### 2.0.2 ``` - [fix] Do not expect a json response from tracking api [192](https://github.com/opendatateam/udata-piwik/pull/190) ```Links
- PyPI: https://pypi.org/project/udata - Changelog: https://pyup.io/changelogs/udata/ - Repo: https://github.com/opendatateam/udata